DDNS and Cloudfront

Hello :wave:

I have cloudfront working properly it seems using DDNS, however I keep on seeing this error message in my logs and I'm not sure why:

141408 WARN : Updating IP at DDNS provider failed - starting retry 174/0

That counter just keeps on increasing.. not sure why as it seems the update is being done.

141408       : Detect registered/public IP
141408       : #> /usr/bin/host -t A hostname.MyDomainOnCloudflare.com 1.1.1.1 >/var/run/ddns/cloudflare.dat 2>/var/run/ddns/cloudflare.err
141408       : Registered IP '104.21.85.214' detected
141408  WARN : Updating IP at DDNS provider failed - starting retry 174/0
141408       : Detect local IP on 'web'
141408       : #> /usr/bin/wget --hsts-file=/tmp/.wget-hsts -nv -t 1 -O /var/run/ddns/cloudflare.dat -o /var/run/ddns/cloudflare.err --ca-directory=/etc/ssl/certs --no-proxy 'https://ipv4.wtfismyip.com/text'
141408       : Local IP '18*.***.34.206' detected on web at 'https://ipv4.wtfismyip.com/text'
141408       : Update needed - L: '18*.***.34.206' <> R: '104.21.85.214'
141408       : parsing script '/usr/lib/ddns/update_cloudflare_com_v4.sh'
141408       : #> /usr/bin/curl -RsS -o /var/run/ddns/cloudflare.dat --stderr /var/run/ddns/cloudflare.err --capath /etc/ssl/certs --noproxy '*' --header 'X-Auth-Email: myEmail@myemailprovider.com'  --header 'X-Auth-Key: ***PW***'  --header 'Content-Type: application/json'  --request GET 'https://api.cloudflare.com/client/v4/zones?name=MyDomainOnCloudflare.com'
141409       : #> /usr/bin/curl -RsS -o /var/run/ddns/cloudflare.dat --stderr /var/run/ddns/cloudflare.err --capath /etc/ssl/certs --noproxy '*' --header 'X-Auth-Email: myEmail@myemailprovider.com'  --header 'X-Auth-Key: ***PW***'  --header 'Content-Type: application/json'  --request GET 'https://api.cloudflare.com/client/v4/zones/1a502ee9550b37c35af33b668ad0ebbc/dns_records?name=hostname.MyDomainOnCloudflare.com&type=A'
141409       : IPv4 at CloudFlare.com already up to date
141409  info : Update successful - IP '18*.***.34.206' send
141409  info : Forced update successful - IP: '18*.***.34.206' send
141409       : Waiting 600 seconds (Check Interval)

This is my DDNS config:

config service 'cloudflare'
        option service_name 'cloudflare.com-v4'
        option use_ipv6 '0'
        option enabled '1'
        option lookup_host 'hostname.MyDomainOnCloudflare.com'
        option use_syslog '2'
        option check_unit 'minutes'
        option force_unit 'minutes'
        option retry_unit 'seconds'
        option domain 'hostname@MyDomainOnCloudflare.com'
        option username 'myEmail@myemailprovider.com'
        option password '***************************'
        option use_https '1'
        option cacert '/etc/ssl/certs'
        option dns_server '1.1.1.1'
        option interface 'wan'
        option ip_source 'web'
        option ip_url 'https://ipv4.wtfismyip.com/text'

any ideas?

Nobody has had this issue before?
DDNS appears to be functioning properly, however I keep on seeing rust error message. :thinking:

Are there any details?

nope it's empty. :frowning:

I've compared my settings with other ppl who use this service and I can't see anything that could be causing this error..

The only thing I see is when it checks to see if an update is required.. it "thinks" the IP is wrong since at the last update the DNS entry was updated to 1 of CF's proxy servers.. and not the actual WAN IP I have assigned.