Package: ddclient Version: 3.8.3-1.1 Severity: normal Dear Maintainer,
I'm using a config file like this: --- 8< ----------------------------------- usev6=if, if=tunipred protocol=nsupdate server=dnsmaster.nirgal.com password=/root/dyndns/Kdynamic.test.+163+31401.key zone=dyn.nirgal.com ttl=60 test.dyn.nirgal.com --- 8< ----------------------------------- But this fails with this message: --- 8< ----------------------------------- DEBUG: get_ip: using if, tunipred reports 2001:123:456:789::1 INFO: forcing updating test.dyn.nirgal.com because no cached entry exists. DEBUG: DEBUG: nic_nsupdate_update ------------------- INFO: setting IP address to 2001:123:456:789::1 for test.dyn.nirgal.com UPDATE: updating test.dyn.nirgal.com UPDATE: nsupdate command is: /usr/bin/nsupdate -k /root/dyndns/Kdynamic.test.+163+31401.key -d UPDATE: nsupdate instructions are: UPDATE: server dnsmaster.nirgal.com UPDATE: zone dyn.nirgal.com. UPDATE: update delete test.dyn.nirgal.com. A UPDATE: update add test.dyn.nirgal.com. 60 A 2001:123:456:789::1 UPDATE: send Creating key... 19-Oct-2017 16:55:37.705 dns_rdata_fromtext: buffer-0x7fa7ab69a590:1: near '2001:123:456:789::1': bad dotted quad invalid rdata format: bad dotted quad syntax error ddclient: failed closing | /usr/bin/nsupdate -k /root/dyndns/Kdynamic.test.+163+31401.key -d.() FAILED: updating test.dyn.nirgal.com --- 8< ----------------------------------- The commands are wrongs because ipv6 requieres AAAA records and not A records. If I change A by AAAA in /usr/sbin/ddclient on lines 4062 and 4063, the program now works correctly for IPv6 (but obviously it is then broken for IPv4). --- /usr/sbin/ddclient 2017-10-19 16:55:25.896653060 +0200 +++ /usr/sbin/ddclient6 2017-10-19 17:02:50.108664579 +0200 @@ -4059,8 +4059,8 @@ EoINSTR1 foreach (@hosts) { $instructions .= <<EoINSTR2; -update delete $_. A -update add $_. $config{$_}{'ttl'} A $ip +update delete $_. AAAA +update add $_. $config{$_}{'ttl'} AAAA $ip EoINSTR2 } $instructions .= <<EoINSTR3; Thank you for taking care of ddclient. :) -- System Information: Debian Release: 9.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages ddclient depends on: ii debconf [debconf-2.0] 1.5.61 ii lsb-base 9.20161125 ii perl 5.24.1-3+deb9u2 Versions of packages ddclient recommends: ii libio-socket-ssl-perl 2.044-1 ddclient suggests no packages.