setting up ddclient

NoOp glgxg at sbcglobal.net
Wed Jan 9 18:34:21 UTC 2008


On 01/09/2008 09:12 AM, Wade Smart wrote:
> NoOp wrote:
>> On 12/21/2007 04:38 AM, Wade Smart wrote:
>>> 12212007 0636 GMT-6
>>>
>>> By starting the client as sudo (which I wasnt donig) changing a few of 
>>> the x=y values I was able to finally get ddclient working. I have been 
>>> watching system log to see when it connects and it seems to be doing 
>>> fine. Im also watching the site as well.
>>>
>>> Thanks for the help.
>>>
>>> Wade
>>>
>> 
>> Good. However, if you are having to do it that way, ddclient will not
>> automatically start again if you log out/reboot.  Unless of course you
>> modify the /etc/ddclient.conf with daemon= and /etc/default/ddclient
>> to run_daemon="true".
>> 
> 
> 01092008 1109 GMT-6
> 
> I received an email again asking if me to renew my domain. I thought my 
> client had been running but its not. I tried to start it and I received 
> this error:
> WARNING:  caught SIGTERM; exiting
> regards,
>     ddclient at wadesmart (version 3.7.3)
> 
> 
> This is my ddclient.conf file:
> # Configuration file for ddclient generated by debconf
> #
> # /etc/ddclient.conf
> 
> run_daemon='true'
> daemon=300
> pid=/var/run/ddclient.pid
> protocol=dyndns2
> use=web
> server=members.dyndns.org
> login= loginname
> password='password'
> wadesmart.homelinux.com
> 
> mail-failure=root
> mail=root
> syslog=yes
> 
> I know it was working but for some reason it stopped on Dec 22nd.
> 
> Wade
> 

The problem is the use=web line and the missing dyndns servername. The
file should be:

# /etc/ddclient.conf
daemon=300
pid=/var/run/ddclient.pid
ssl=yes
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
login=your-username
password=your-password
protocol=dyndns2
server=members.dyndns.org
wadesmart.homelinux.com

You should also add ssl=yes and use ssl to send this info to dyndns so
that your password is encrypted!

That should fix the problem, let me know if it does not.

Gary

Note: some folks think that dyndns is working because they get a ping
back from the IP address. Just remember, after the IP is re-leased to
someone else, you may be pinging the other guy's machine that is now
using your old IP address... The best way to check is to monitor the
https://www.dyndns.com/account/services/hosts/ page for a few days after
installing ddclient, particularly after reboot and or modem/router
on/off etc.











More information about the ubuntu-users mailing list