Download latest ddclient from sourceforge.net
$ wget http://download.sourceforge.net/ddclient/ddclient-3.8.1.tar.gz
STEP 2:
Expand the tarball
$ tar zxvf ddclient-3.8.1.tar.gz
STEP 3:
You will have ddclient-3.8.1 directory in you current directory. You have to copy ddclient to /usr/sbin directory.
$ cp ddclient /usr/sbin
STEP 4:
Create a directory for ddclient configuration file under /etc
$ mkdir /etc/ddclient
STEP 5:
Now, we have to create a configuration file for ddclient.
$ nano /etc/ddclient/ddclient.conf
and, put configuration as shown below.
# Configuration file for ddclient generated
#
# /etc/ddclient.conf
daemon=300
pid=/var/run/ddclient.pid
ssl=yes
protocol=zoneedit1
use=if, if=ppp1
server=dynamic.zoneedit.com
login=your-zoneedit-login-name
password='your-password'
www.domain.com
subdomain.domain.com
mail.domain.com
### EOF: ddclient.conf
My configuration file using ppp1 as reference for IP number changes,
use=if, if=ppp1
STEP 6:
Follow this commands to test, start and set ddclient in daemon mode.
$ ddclient -daemon=0 -query
$ cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
$ /sbin/chkconfig --add ddclient
STEP 6:
Create ddclient cache directory
$ mkdir /var/cache/ddclient
ddclient will log cache in the directory under ddclient.cache filename.
STEP 7:
Test your config
$ ddclient -daemon=0 -debug -verbose -noquiet
All done...
No comments:
Post a Comment
Put a nice comments.. or kabooommm.!