ddclient set up on Centos 5 server

macxsanity

Well-Known Member
Joined
Mar 17, 2009
Messages
336
i have a firewall with two Nics that i have installed shorewall on now my client wants me to install ddclient so that the firewall can be accessed via dyndns, i am having probems when i try to start the ddclient service from the command prompt, please good pwople can any one who has experiance in this type of set up please give me any trouble shooting advise or any solution ......:wtf:
 

Grim147

Well-Known Member
Joined
Mar 18, 2010
Messages
328
can you give abit more information , like what error you getting if you are ? and maybe your ddclient config (hash out your passwords) aswell as what interface you wanting to associate? throw out your /sbin/ifconfig while you at it
 

fixx

Well-Known Member
Joined
Feb 13, 2006
Messages
278
First of all use rpmforge to install it with cause that will install an rc script for you.

Download rpmforge from here

http://rpmrepo.org/RPMforge/Using

Then do a yum clean all
yum install -y ddclient

vi /etc/ddclient/ddclient.conf and remove everything thats in there and use the following sample config

daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
ssl=yes # use ssl-support. Works with
# ssl-library
use=if, if=ppp0 # via interfaces
login=DDCLIENTUSER # default login
password=DDCLIENTPASSWORD
server=members.dyndns.org, \
protocol=dyndns2 \
YOURHOST.dyndns.org


Then /etc/init.d/ddclient start

and Bam, it just works. :)
 

fixx

Well-Known Member
Joined
Feb 13, 2006
Messages
278
Remember to actually install the rpmforge rpm :)

rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
 
Top