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?
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.
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?
Dear Eduperez,
i have the same issue than the original poster >> ddns: WARN : NO valid IP found.
Strange but if i restart the router, everything is OK, the ddns script works!
After that (600 sec) if the ddns wants to update:
Detect registered/public IP
072941 : #> /usr/bin/nslookup gthbo.ddns.net >/var/run/ddns/myddns_ipv4.dat 2>/var/run/ddns/myddns_ipv4.err
072941 WARN : NO valid IP found
Is it possible that this has something to do with my unbound config?
Until now i used dnsmasq, and it worked (with exact the same config of ddns).
wow, thank ou frollic!!
i made an exception to the unbound conf:
config zone 'fwd_noip'
option enabled '1'
option zone_type 'forward_zone'
option fallback '1'
list server '8.8.8.8@53#dns.google'
list zone_name 'gthbo.ddns.net'
And now its working like dream
Question: with this exception, i hope only this lookup is allowed through plain dns?
All the other dns lookups are made through tls ?
OK, i tried with unbound change and i think i found it.
Changed the config: add_wan_fqdn from 1 to 0 and now nslookup can resolve gthbo.ddns.net
I don't know where i read about this setup , but it's working (sadly, i don't know what is it for...)