Re: ddclient not working
On Tue, 06 Dec 2011 15:15:48 -0600, Hugo Vanwoerkom wrote:
> Camaleón wrote:
>> On Mon, 05 Dec 2011 07:34:01 -0600, Hugo Vanwoerkom wrote:
>>> I use ddclient to update the IP of my server in dyndns, but it doesn't
>>> work: the IP does not get set. It has been working for years.
>>> I have to go manually into dyndns and set the IP and the one that it
>>> has is stale.
>>> All I see is:
>>> hugo@HDBB:~$ ps ax | grep -i ddclient
>>> 1792 ? S 0:00 ddclient - sleeping for 50 seconds
>>> There are no ddclient messages in syslog.
>>> ii ddclient 3.8.0-11.3 address
>>> updating utility for dynamic DNS services
>>> How does one debug this?
>> I've never used this application before, but you can try what ddclient
>> web page says ("Documentation" section)¹ and launch it in debug+verbose
>> ddclient -daemon=0 -debug -verbose -noquiet ***
> Instead I started looking for when it worked correctly and what the
> ddclient.config was at that moment. Then I copied that .config over and
> that made it work correctly.
> Which brings up an interesting question: what are the answers you have
> to give to dpkg-reconfigure in order to end up with a desired
> ddclient.config? I.e. I know the .config I want but I don't know how to
> get that through dpkg-reconfigure.
By using "reverse engineering"? :-)
Make a diff between the two files and you will have a clue on what can be
> The desirec ddclient.config is:
> use=web, web=checkip.dyndns.com, web-skip='IP Address'
> But I don't know how to get there with dpkg-reconfigure.
Then you have to keep under lock the ".config" file that works and save
it as a treasure so it survives between updates/upgrades. That way you
can forget about "dpkg-reconfigure".
> In the meantime I have changed the ddclient script in /etc/init.d to
> have -verbose in the OPTIONS. But I may have to add the other 2 that you
Be careful with this, maybe the daemon is so verbose that floods your