Setup ddclient for no-ip.com

From wiki.linuxonlinehelp.eu
Jump to navigation Jump to search

Sample working ddclient.conf for no-ip.com, Server behind Firewall + Routers

# Configuration file for ddclient generated by hand!
#
# /etc/ddclient.conf
daemon=600                              # check every 10 min
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

# Global Settings!
# Check by WEB (wget/http)
use=web
web=checkip.dyndns.com  
web-skip='Current IP Address:'
protocol=noip                       #not "dyndns2"


#Domain 1
server=dynupdate.no-ip.com
login=username1
password='passwd1'
site1.no-ip.org

#Domain 2
server=dynupdate.no-ip.com
login=username2
password='passwd2'
site2.no-ip.org

Check the daemon program with:

ddclient -daemon=0 -debug -verbose -noquiet 2 /etc/ddclient.conf

Login to no-ip.com and check changes! If ok do:

$sudo service ddclient restart