I am having a really hard time getting ddclient
(which updates OpenDNS with my current IP address) to work. I have it running as a daemon, but it never succeeds in updating my IP address at openDNS
.
To troubleshoot, I am running ddclient
from the command line as follows.
(In these examples, values in square brackets [] are stand-ins for the real values for security reasons)
My /etc/ddclient.conf
contains:
use=web, web=checkip.dyndns.org/, web-skip='IP Address'
server=updates.opendns.com
protocol=dyndns2
login=[my login]
password=[my password]
Home
When I run:
sudo ddclient -daemon=0 -debug -verbose -noquiet
I get:
WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
...
WARNING: skipping update of Home from <nothing> to [my real ip].
WARNING: last updated <never> but last attempt on Tue Oct 4 08:38:32 2011 failed.
If I rm
the cache file, ddclient
does work once, but then it fails on subsequent times.