Fregi Ventum - 2014-04-10

Greetings. :)

I am having an issue with ddclient and the zoneedit1 protocol. If I utilize the "use=if" or "use=web" options, which correctly identify the IP address, it does not seem to be passing that ip into the ddclient.cache file. I consistently get the error "WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''"

Debug output from both the IF and WEB uses are as follows (sensitive info replaced):

Example for if=eth0:

DEBUG:    get_ip: using if, eth0 reports xxx.xxx.xxx.xxx
DEBUG:    
DEBUG:     nic_zoneedit1_update -------------------
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 2061.
DEBUG:    proxy  = 
DEBUG:    url    = http://www.zoneedit.com/auth/dynamic.html?host=xxxxxxxxxxxxx.com&dnsto=xxx.xxx.xxx.xxx
DEBUG:    server = www.zoneedit.com

Example for Web Discovery:

DEBUG:    proxy  = 
DEBUG:    url    = http://legacy.zoneedit.com/checkip.html/
DEBUG:    server = legacy.zoneedit.com
DEBUG:    get_ip: using web, http://legacy.zoneedit.com/checkip.html/ reports xxx.xxx.xxx.xxx
DEBUG:    
DEBUG:     nic_zoneedit1_update -------------------
Use of uninitialized value in concatenation (.) or string at /usr/sbin/ddclient line 2061.
DEBUG:    proxy  = 
DEBUG:    url    = http://www.zoneedit.com/auth/dynamic.html?host=xxxxxxxxxxxxx.com&dnsto=xxx.xxx.xxx.xxx
DEBUG:    server = www.zoneedit.com

If I utilize the “#use=ip, ip=xxx.xxx.xxx.xxx # via static IP’s” line instead, it correctly updates my ddclient.cache file with this specified IP, there are no errors, and zoneedit updates correctly. Of course, this essentially means I am statically setting my ip in the ddclient.conf file, thus no longer making it a dynamic updater. :-)

Example of the broken ddclient.cache file (noting the missing info after ip=) which triggers the "Invalid Value for keyword 'ip' = ''" error:

atime=1397137126,host=xxxxxxxxxxxxxxx.com,ip=,mtime=0,status=noconnect,warned-min-error-interval=0,warned-min-interval=0,wtime=0 xxxxxxxxxxxxx.com

I also have some DynDNS entries (I have completely removed them from the ddclient.conf for troubleshooting) and they are able to correctly set the IP using “WEB” and “IF” using the “dyndns2” protocol.

Below is my ddclient.conf file (again, sensitive data removed). You will notice that I have www.zoneedit.com as my “server=“ line, as that dynamic.zoneedit.com is no longer answering.

daemon=300              # check every 300 seconds
syslog=yes              # log update msgs to syslog
mail=system.alerts@xxxxxxxxxxxx.com # mail all msgs to root
mail-failure=xxxx@xxxxxxxxxxxx.com  # mail failed update msgs to root
pid=/var/run/ddclient.pid       # record PID in file.
ssl=yes                 # use ssl-support.  Works with
                    # ssl-library
#
#use=ip,                     ip=127.0.0.1   # via static IP's
use=if,              if=eth0        # via interfaces
#use=web                    # via web
#

##
## DynDNS (dyndns.org)
##
#protocol=dyndns2                                # default protocol
#server=members.dyndns.org                       # default server
#login=xxxxxxxx                                  # default login
#password=xxxxxxx                                # default password
#xxxxxxxx.mine.nu,                       \
#xxxxx.mine.nu,                          \
#xxxxxxxx.kicks-ass.net,                 \
#xxxxxxxxxxxxxx.kicks-ass.net,           \
#xxxxxxxxxxxxx.mine.nu
#mx=mx.for.your.host                # default MX
#backupmx=yes|no                # host is primary MX?
#wildcard=yes|no                # add wildcard CNAME?

##
## ZoneEdit (zoneedit.com)
##

protocol=zoneedit1          \
server=www.zoneedit.com                 \
login=xxxxxxxx                          \
password=xxxxxxxx                       \
xxxxxxxxxxxxx.com

Thanks for any help you may be able to offer.