[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Grant Sewell wrote:
Cheers Pete.
Yep, there is indeed a ddclient.cache file in /etc/ddclient, and it does show the IP address that was correct last time it was run (I have since disabled it in cron). Tried it in debug mode. Here's the output:
# ddclient -daemon=0 -syslog -verbose -debug retry === opt ====
DEBUG: get_ip: using web, checkip.dyndns.org/ reports xx.xxx.xx.xxx SUCCESS: thymox.dyndns.org: skipped: IP address was already set to xx.xxx.xx.xxx. Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1210. ddclient: cannot execute command | sendmail -oi root.
Grant,
Now, I got myself unblocked, but I'm pretty certain that if I uncomment the line(s) in my crontab entry then I'll get blocked again quickly. Here's the relevant section of my crontab:
###################################################################### ## ddclient is an IP address updater for www.dyndns.org ## $Header: /cvsroot/ddclient/ddclient/sample-etc_cron.d_ddclient,v 1.2 2004/12/03 07:30:44 wimpunk Exp $ ###################################################################### ## minute 0-59 ## hour 0-23 ## day of month 1-31 ## month 1-12 (or names, see below) ## day of week 0-7 (0 or 7 is Sun, or use names) ###################################################################### ## force an update twice a month (only if you are not using daemon-mode) ## #30 23 1,15 * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet -force ## ###################################################################### ## foce an update every hour just to make sure! ## 0 0 * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet -force ###################################################################### ## retry failed updates every hour (only if you are not using daemon-mode) ## #0 * * * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet retry
I had both of them uncommented. I am not using it in daemon mode because there's little point... my IPCop box cannot detect on it's own when the IP changes, hence I am using ddclient.
Cheers,
Pete
Cheers.
Grant.
-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html