Configure Dynamic DNS Client (ddclient) to Update DynDns and Zoneedit Simultaneously

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

Edit ddclient.conf:

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.

Be the 1 in 200,000. Help us sustain what we do.
25 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)

Anand

Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.