ddclient is a open-source client program written in Perl to update DNS entries on Dynamic DNS Servers. It supports a number of different routers and dynamic DNS servers.

Website: http://sourceforge.net/projects/ddclient/


You can install it on Debian-based systems with the command:

While installing, it will ask you to configure at least one DNS service. You can change this again later by restarting the configuration program or by manually modifying the config file.


After installing, you can run it with all the default settings by typing

To print a list of all discovered IPs you can use the command:

For more commands, see the Usage page on SourceForge.

Config File

The configuration file for ddclient is at /etc/ddclient.conf.


A typical configuration file for http://dnsdynamic.org/ is:

where you replace YOUR-LOGIN (e.g. myname@gmail.com), YOUR-PASSWORD (e.g. 1234), and YOUR-DOMAIN  (e.g. test.flashserv.net). YOUR-DOMAIN gets replaced with the domain name you choose when you set up your dynamic DNS service.

This sets ddclient to run as a daemon (service) and check/update the dynamic IP every 60s.

Posted: October 22nd, 2013 at 9:59 am
Last Updated on: November 29th, 2017 at 12:30 pm

Leave a Reply