In this post, I will show you how I configured dynamic DNS client (ddclient) on Linux (Ubuntu) to simultaneously update DynDns and Zonedit accounts with multiple hosts. I recently switched my routers. My previous router (Linksys WRT-320N) ran DD-WRT but my current one (ASUS RT-N13U) runs its own firmware, which by the way is very well designed I think.
My Linksys router had two DDNS update applications running. My zoneedit account was updated using the DD-WRT’s DDNS feature. My dyndns.com account was updated using ddclient.
Currently, my ASUS router allows only one DNS provider and one host, which does not work for me. So I had to modify / expand my ddclient.conf to work with both providers.
Dynamic DNS Client (ddclient) Configuration
sudo vi /etc/ddclient.conf
Add / edit as described below:
# Configuration file for ddclient generated by debconf # # /etc/ddclient.conf # DynDns.com protocol=dyndns2 use=web, web=checkip.dyndns.com, web-skip='IP Address' server=members.dyndns.org login=xxxxxx password='xxxxx' domain1.com,domain2.org,domain3.net # Zoneedit pid=/var/run/ddclient.pid protocol=zoneedit1 use=web, web=dnspark server=dynamic.zoneedit.com login=xxxxx password='xxxxxxx' domain4.com,domain5.info,domain6.biz
Save the file and exit. Stop ddclient and start again:
sudo /etc/init.d/ddclient stop sudo ddclient -verbose
Check the output to confirm if everything was updated correctly.