Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-24-2005, 03:24 PM   #1
Registered: Oct 2003
Posts: 156

Rep: Reputation: 15
ddclient will not update

after the system boots I grep and see the following process running

"perl -w /usr/sbin/ddclient -daemon 300 -syslog"

To me, that translates into, I am going to update dyndns every 300 seconds and write my output to my syslog.

Nothing is getting written to syslog.

"ddclient -daemon=0 -debug -verbose -noquiet" This runs sucessfully.

Its almost as if I need to set up a cron job to run the above command every so often to update dyndns, but I shouldnt have to. Why isnt ddclient not updating or writing to my syslog.

Here is my current config.

#use=if, if=eth0
use=web,, web-skip='IP Address'

Thanks in advance,

Old 04-25-2005, 11:59 PM   #2
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
maybe it is a firewall problem.
Old 04-26-2005, 10:40 AM   #3
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
ddclient only does an update when the IP address changes, unless you call for a forced update. It only writes to the syslog when it starts, stops, does an IP update or attempts to do an update and the IP address has not changed. The real test is whether it updates dyndns within 5 min. of an IP address change.

Think about it for a minute. Would you really want something writing a syslog entry every 5 min. saying “I’m OK”?
Old 04-29-2005, 03:10 PM   #4
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
This makes sense, except the IP address of this box never changes, it has network address and I use port forwarding on my router to direct me to this box. The IP address obtain by my router is the router I need updated.

How should I resolve this issue, Should I set up a cron-job for every 1-2hrs?

Thx again,

Old 04-29-2005, 03:30 PM   #5
Registered: Aug 2003
Posts: 150

Rep: Reputation: 15
according to your config, you're getting the ip from which returns your external address. Look at /var/cache/ddclient/ddclient.cache to see what ip it's seeing/setting.
Old 04-29-2005, 04:04 PM   #6
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
ddclient couldn’t care less what the box IP is.

Every 5 min, it compares the probe of the IP source to what is in /etc/ddclient/ddclient.cache (ddclient-3.6.6). If the source IP address changed, then it updates dyndns and ddclient.cache.

Regarding running ddclient as a cron job, if you set ddclient up using the RedHat-style rc configuration as described in the README file, it is running as a daemon and does not need to be restarted periodically.

cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
/sbin/chkconfig --add ddclient
/etc/rc.d/init.d/ddclient start

If you did not install ddclient that way, then Yes, you need to periodically run it.

Maybe you are getting a bad IP reading. Try running:

ddclient -daemon=0 -query

and you will get a listing of all the IP addresses supplied by the various use= options available for getting the inbound ip address. I set up ddclient to read the router directly.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ddclient hirts123 Slackware 1 08-31-2005 05:29 AM
ddclient will not update boyd98 Linux - Networking 3 04-29-2005 03:31 PM
ddclient socks Linux - Software 5 10-17-2004 03:36 AM
ddclient doralsoral Linux - Software 3 04-19-2004 10:14 AM
I need help with 'ddclient' hecresper *BSD 3 05-06-2003 06:20 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration