You are not logged in.

#1 2008-09-28 20:23:37

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

How to get ddclient working with dyndns?

Hello
I have installed ddclient and have the following file in '/etc/conf.d/ddclient'. I know that this file is read by the ddclient service since it gives an error if the syntax is not correct here.

## ddclient configuration file
daemon=600                  # check every 600 seconds
custom=yes
#mail-failure=ravster3@hotmail.com # Mail failed updates to user
pid=/var/run/ddclient.pid   # record PID in file.

## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.org, #web-skip='Current IP Address: '

## Default options
protocol=dyndns2
server=members.dyndns.org

wildcard=yes
static=no

## Dynamic DNS hosts
host=mywebsite
host=myotherwebsitename

I have ddclient listed in rc.conf, but it doesn't update the ip addresses, even when I restart the ddclient service manually.

When I do

ddclient -file /etc/conf.d/ddclient -verbose -debug

manually as root, the IP addresses get updated without any problems.

I would like to know if I am missing something in the config file that would explain why the ddclient service is not able to do the updating by itself.

Thank you.

Last edited by ravster (2009-04-04 14:23:58)

Offline

#2 2008-09-29 21:51:47

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: How to get ddclient working with dyndns?

I think that '# webskip ' bit is wrong. Try removing the #

Offline

#3 2008-09-30 16:30:37

Farbror.Fainted
Member
Registered: 2008-09-21
Posts: 7

Re: How to get ddclient working with dyndns?

Check the startup script so it really looks for /etc/conf.d/ddclient and not /etc/ddclient.conf

Since it works when you run it manually when you specify a config file to read..

Offline

#4 2008-09-30 19:09:24

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: How to get ddclient working with dyndns?

When I remove the '#' in front of the webskip, I get the following when restarting the service.

]# /etc/rc.d/ddclient restart
/etc/conf.d/ddclient: line 8: web-skip=Current IP Address: : command not found
/etc/conf.d/ddclient: line 8: web-skip=Current IP Address: : command not found
:: Stopping ddclient                                                     [DONE] 
/etc/conf.d/ddclient: line 8: web-skip=Current IP Address: : command not found
:: Starting ddclient                                                     [DONE]

This is the same even if I change from ' to " outside the "Current IP Address: " bit.

Having different code in '/etc/ddclient.conf' has no effect on the error message, so I think the script does look at '/etc/conf.d/ddclient'.

Offline

#5 2009-07-25 14:10:09

maroxe
Member
Registered: 2009-02-05
Posts: 53

Re: How to get ddclient working with dyndns?

sudo rm /tmp/ddclient.cache

Offline

Board footer

Powered by FluxBB