DDNS: dynu/ IPv4

upgraded x86 to RC4 and almost everything works - thank-you to all contributors :slight_smile:

The one issue is with DDNS using dynu.com on ipv4. ipv6 with dynu.com succeeds, and ipv4 with changeip.com also works. Please let me know what further information (if any) is required?

Mon Dec 30 17:46:37 2024 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: xxx.xxx
Mon Dec 30 17:46:37 2024 user.warn ddns-scripts[5803]: xxx_xxx_ipv4: NO valid IP found
Mon Dec 30 17:46:37 2024 user.warn ddns-scripts[5803]: xxx_xxx_ipv4: Get registered/public IP for 'xxx.xxx' failed - retry 1/0 in 60 seconds
Mon Dec 30 17:46:37 2024 user.notice ddns-scripts[9474]: xxx_xxx_ipv4: PID '9474' started at 2024-12-30 17:46
Mon Dec 30 17:46:37 2024 user.notice ddns-scripts[5803]: xxx_xxx_ipv4: PID '5803' terminated by 'SIGTERM' at 2024-12-30 17:46
Mon Dec 30 17:46:37 2024 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: xxx.xxx
Mon Dec 30 17:46:37 2024 user.warn ddns-scripts[9474]: xxx_xxx_ipv4: NO valid IP found
Mon Dec 30 17:46:44 2024 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: xxx.xxx
173636       : ************ ************** ************** **************
 173636  note : PID '5803' started at 2024-12-30 17:36
 173636       : ddns version  : 2.8.2-52
 173636       : uci configuration:
ddns.xxx_xxx_ipv4.cacert='/etc/ssl/certs'
ddns.xxx_xxx_ipv4.check_unit='minutes'
ddns.xxx_xxx_ipv4.domain='xxx.xxx'
ddns.xxx_xxx_ipv4.enabled='1'
ddns.xxx_xxx_ipv4.force_unit='minutes'
ddns.xxx_xxx_ipv4.interface='wan'
ddns.xxx_xxx_ipv4.ip_network='wan'
ddns.xxx_xxx_ipv4.ip_source='network'
ddns.xxx_xxx_ipv4.lookup_host='xxx.xxx'
ddns.xxx_xxx_ipv4.password='***PW***'
ddns.xxx_xxx_ipv4.retry_unit='seconds'
ddns.xxx_xxx_ipv4.service_name='dynu.com'
ddns.xxx_xxx_ipv4.use_https='1'
ddns.xxx_xxx_ipv4.use_ipv6='0'
ddns.xxx_xxx_ipv4.use_syslog='2'
ddns.xxx_xxx_ipv4.username='xxxdynu'
ddns.xxx_xxx_ipv4=service
 173636       : verbose mode  : 0 - run normal, NO console output
 173636       : check interval: 600 seconds
 173636       : force interval: 4320 seconds
 173636       : retry interval: 60 seconds
 173636       : retry max count : 0 times
 173636       : No old process
 173636       : last update: never
 173636       : Detect registered/public IP
 173636       : #> /usr/bin/nslookup xxx.xxx  >/var/run/ddns/xxx_xxx_ipv4.dat 2>/var/run/ddns/xxx_xxx_ipv4.err
 173636  WARN : NO valid IP found
 173636  info : Starting main loop at 2024-12-30 17:36
 173636       : Detect current IP on 'network'
 173636       : Current IP '112.199.240.81' detected on network 'wan'
 173636       : Update needed - L: '112.199.240.81' <> R: ''
 173636       : Force communication via IP '112.199.240.81'
 173636       : #> /usr/bin/wget --hsts-file=/tmp/.wget-hsts -nv -t 1 -O /var/run/ddns/xxx_xxx_ipv4.dat -o /var/run/ddns/xxx_xxx_ipv4.err --bind-address=112.199.240.81 --ca-directory=/etc/ssl/certs --no-proxy 'https://api.dynu.com/nic/update?hostname=xxx.xxx&myip=112.199.240.81&username=xxxdynu&password=***PW***'
 173637       : DDNS Provider answered:
good 112.199.240.81
 173637  info : Update successful - IP '112.199.240.81' send
 173637  info : Forced update successful - IP: '112.199.240.81' send
 173637       : Waiting 600 seconds (Check Interval)
 174637       : Detect registered/public IP
 174637       : #> /usr/bin/nslookup xxx.xxx  >/var/run/ddns/xxx_xxx_ipv4.dat 2>/var/run/ddns/xxx_xxx_ipv4.err
 174637  WARN : NO valid IP found
 174637  WARN : Get registered/public IP for 'xxx.xxx' failed - retry 1/0 in 60 seconds
 174637       : ************ ************** ************** **************
 174637  note : PID '9474' started at 2024-12-30 17:46
 174637       : ddns version  : 2.8.2-52
 174637       : uci configuration:
ddns.xxx_xxx_ipv4.cacert='/etc/ssl/certs'
ddns.xxx_xxx_ipv4.check_unit='minutes'
ddns.xxx_xxx_ipv4.domain='xxx.xxx'
ddns.xxx_xxx_ipv4.enabled='1'
ddns.xxx_xxx_ipv4.force_unit='minutes'
ddns.xxx_xxx_ipv4.interface='wan'
ddns.xxx_xxx_ipv4.ip_network='wan'
ddns.xxx_xxx_ipv4.ip_source='network'
ddns.xxx_xxx_ipv4.lookup_host='xxx.xxx'
ddns.xxx_xxx_ipv4.password='***PW***'
ddns.xxx_xxx_ipv4.retry_unit='seconds'
ddns.xxx_xxx_ipv4.service_name='dynu.com'
ddns.xxx_xxx_ipv4.use_https='1'
ddns.xxx_xxx_ipv4.use_ipv6='0'
ddns.xxx_xxx_ipv4.use_syslog='2'
ddns.xxx_xxx_ipv4.username='xxxdynu'
ddns.xxx_xxx_ipv4=service
 174637       : verbose mode  : 0 - run normal, NO console output
 174637       : check interval: 600 seconds
 174637       : force interval: 4320 seconds
 174637       : retry interval: 60 seconds
 174637       : retry max count : 0 times
 174637       : 'SIGTERM' was send to old process
 174637  note : PID '5803' terminated by 'SIGTERM' at 2024-12-30 17:46
 174637       : last update: 2024-12-30 17:36
 174637       : Detect registered/public IP
 174637       : #> /usr/bin/nslookup xxx.xxx  >/var/run/ddns/xxx_xxx_ipv4.dat 2>/var/run/ddns/xxx_xxx_ipv4.err
 174637  WARN : NO valid IP found
 174637  info : Starting main loop at 2024-12-30 17:46
 174637       : Detect current IP on 'network'
 174637       : Current IP '112.199.240.81' detected on network 'wan'
 174637       : Update needed - L: '112.199.240.81' <> R: ''
 174637       : Force communication via IP '112.199.240.81'
 174637       : #> /usr/bin/wget --hsts-file=/tmp/.wget-hsts -nv -t 1 -O /var/run/ddns/xxx_xxx_ipv4.dat -o /var/run/ddns/xxx_xxx_ipv4.err --bind-address=112.199.240.81 --ca-directory=/etc/ssl/certs --no-proxy 'https://api.dynu.com/nic/update?hostname=xxx.xxx&myip=112.199.240.81&username=xxxdynu&password=***PW***'
 174638       : DDNS Provider answered:
nochg
 174638  info : Update successful - IP '112.199.240.81' send
 174638  info : Forced update successful - IP: '112.199.240.81' send
 174638       : Waiting 600 seconds (Check Interval)
 175638       : Detect registered/public IP
 175638       : #> /usr/bin/nslookup xxx.xxx  >/var/run/ddns/xxx_xxx_ipv4.dat 2>/var/run/ddns/xxx_xxx_ipv4.err
 175638  WARN : NO valid IP found
 175638  WARN : Get registered/public IP for 'xxx.xxx' failed - retry 1/0 in 60 seconds
 175738       : #> /usr/bin/nslookup xxx.xxx  >/var/run/ddns/xxx_xxx_ipv4.dat 2>/var/run/ddns/xxx_xxx_ipv4.err
 175738  WARN : NO valid IP found
 175738  WARN : Get registered/public IP for 'xxx.xxx' failed - retry 2/0 in 60 seconds
 175838       : #> /usr/bin/nslookup xxx.xxx  >/var/run/ddns/xxx_xxx_ipv4.dat 2>/var/run/ddns/xxx_xxx_ipv4.err
 175839  WARN : NO valid IP found
 175839  WARN : Get registered/public IP for 'xxx.xxx' failed - retry 3/0 in 60 seconds

First make sure you see the correct address(es) on dynu portal.
Then run on OpenWrt and show the output:

nslookup {your FQDN}
nslookup {your FQDN} 8.8.8.8

Don't hide too much for privacy.