Last Updated: February 25, 2016
·
11.79K
· rojocoloro

ddclient + no-ip

Install ddclient Dynamic DNS Client on Linux

wget http://cdn.dyndns.com/ddclient.tar.gz

tar -xzvf ddclient.tar.gz

cd ddclient-3.7.3/

mkdir /etc/ddclient

mkdir /var/cache/ddclient

cp ddclient /usr/local/sbin

cp sample-etc_ddclient.conf /etc/ddclient

/ddclient.conf

cp sample-etcrc.dinit.d_ddclient /etc/rc.d/init.d
/ddclient
chkconfig --add ddclient

cd ..

rm -rf ddclient-3.7.3/

Configuring with no-ip

Now edit the /etc/ddclient/ddclient.conf file:

vim /etc/ddclient/ddclient.conf

use=web, web=checkip.dyndns.com/, web-skip='IP Address'

protocol=dyndns2
server=dynupdate.no-ip.com
login=yourusername
password=your
password
your_domain.com

Now start the ddclient daemon:

/etc/init.d/ddclient start

You can check status and troubleshoot using:

/etc/init.d/ddclient status
/etc/init.d/ddclient stop

tail /var/log/messages