Hello,
I have this error on a Rpi4 installation with an official snapshot from spring this year (5.4.113 Kernel) and the as of now most actual "[Rpi4 < $(community_build)] (Rpi4 < $(community_build) - #1722 by Frozburn)". Since error is the same in both I post here.
This is my /etc/config/ddns:
config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option ddns_rundir '/var/run/ddns'
option ddns_logdir '/var/log/ddns'
config service 'ServerService_fallen4'
option enabled '1'
option lookup_host 'fallen4.mig19.de'
option use_ipv6 '0'
option update_url 'https://robot.s-dns.de/scripts/dynamic_dns.php?zone=[DOMAIN]&zone_password=[PASSWORD]&host=[USERNAME]'
option ip_source 'network'
option use_syslog '2'
option check_unit 'minutes'
option force_unit 'minutes'
option retry_unit 'seconds'
option domain 'mig19.de'
option username 'fallen4'
option password 'PASS'
option dns_server 'pns04.dcsix.net'
config service 'myddns_ipv6'
option update_url 'http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]'
option lookup_host 'yourhost.example.com'
option domain 'yourhost.example.com'
option username 'your_username'
option password 'your_password'
option use_ipv6 '1'
option interface 'wan6'
option ip_source 'network'
option ip_network 'wan6'
option enabled '0'
The service in question is "ServerService_fallen4", the myddns_ipv6 is not active yet.
I get "BIND host error: '1'" in the log:
125645 : #> /usr/bin/host -t A fallen4.mig19.de pns04.dcsix.net >/var/run/ddns/ServerService_fallen4.dat 2>/var/run/ddns/ServerService_fallen4.err
125645 ERROR : BIND host error: '1'
125645 :
125645 WARN : Get registered/public IP for 'fallen4.mig19.de' failed - retry 6/0 in 60 seconds
On the command line the lookup works fine, though:
# /usr/bin/host -t A fallen4.mig19.de pns04.dcsix.net
Using domain server:
Name: pns04.dcsix.net
Address: 185.136.99.195#53
Aliases:
Host fallen4.mig19.de not found: 3(NXDOMAIN)
What could be the culprit for the host error code, which does not count on command line when manually executed?
Regards
Konsti