Dynamic DNS warn error

Hello I am just trying to understand why I get an error message when IPv6 is used in the dyndns procedure

111047       : Registered IP '2001:1648:4302:2621:d4c7:2de36:6656:f346' detected
 111047  info : Rerun IP check at 2022-02-25 11:10
 111047       : Detect local IP on 'interface'
 111047       : #> ip -o addr show dev pppoe-wan scope global >/var/run/ddns/IPv6.dat 2>/var/run/ddns/IPv6.err
 111047       : Local IP '2001:1648:4302:2621:d4c7:2de36:6656:f346' detected on interface 'pppoe-wan'
 111048       : Forced Update - L: '2001:1648:4302:2621:d4c7:2de36:6656:f346' == R: '2001:1648:4302:2621:d4c7:2de36:6656:f346'
 111048       : #> /usr/bin/wget-ssl --hsts-file=/tmp/.wget-hsts -nv -t 1 -O /var/run/ddns/IPv6.dat -o /var/run/ddns/IPv6.err -6 --ca-directory=/etc/ssl/certs --no-proxy 'https://api.dynu.com/nic/update?hostname=user-agent-string.net&myipv6=2001:1648:4302:2621:d4c7:2de36:6656:f346&username=skjdfhks&password=***PW***'
 111049       : DDNS Provider answered:
 111049  info : Forced update successful - IP: '2001:1648:4302:2621:d4c7:2de36:6656:f346' send
 111050       : Waiting 300 seconds (Check Interval)
 111550       : Detect registered/public IP
 111550       : #> /usr/bin/host -t AAAA -6 user-agent-string.net  >/var/run/ddns/IPv6.dat 2>/var/run/ddns/IPv6.err
 111550  WARN : NO valid IP found
 111550  WARN : Get registered/public IP for 'user-agent-string.net' failed - retry 1/0 in 60 seconds
 111650       : #> /usr/bin/host -t AAAA -6 user-agent-string.net  >/var/run/ddns/IPv6.dat 2>/var/run/ddns/IPv6.err
 111651  WARN : NO valid IP found

You can see it is sent the IPv6 once correctly to the dyndns provider and then there is the error I can not see IPv6 in the overview

The error messages told you:

You should check your IPv6 connectivity on the router.

Is your domain user-agent-string.net?
Looks like you configuration is broken, could you share the file here, please?

1 Like

Yes, thank you for your help, do you mean the network or the ddns config? which is immediately undecided to me, why is the /usr/bin/host executed and not ip -o addr show dev pppoe-wan scope global, to determine the IPv6 address?

Post the DDNS config, please.

The script is trying to ask outside for the IP address associated with the domain, to check that it matches with the current IP address on the interface.

1 Like

Yes, the DNS resolution via /usr/bin/host works with IPv4 and IPv6, but only if the DNS servers out there are working properly. The DDNS config is perfectly fine I've found.
Dynu.com is probably a dubious DNS service provider. Because I got completely out of control DNS requests about it. From time to time a request is possible and then some internet pages are displayed that are not my domain. Now it gets even more interesting, after I close my account at Dynu.com, an IPv4 Address of Dynu.com is now routed to my domain via DNS. That's really crazy

I need to know what the script /usr/bin/host does it seems to have a bug because the DDNS IPv4 is read incorrectly? What exactly happens when I call /usr/bin/host -t A? And how can I view the host file legibly?

Will you post your DDNS config?

1 Like