DDNS.org - ddclient configuration


This dynDNS configuration applies to:
Brand ddclient
Model All Versions
Official Website https://github.com/ddclient/ddclient
Configuration to use Provided Configuration

DDNS.ORG ddclient configuration

{primary} To configure a ddclient package with DDNS.org service you should use put the provided configuration in /etc/ddclient.conf and start ddclient with command ddclient.

  • Step 1

    Download ddclient package using your package management commands.

    For example on AMI, RedHat and Centos, use

    yum install ddclient

    or, on Ubuntu and Debian, type

    apt-get install ddclient

    If you are using Windows you can download a Windows Application here: https://ddns.org/clients/ddclient-1.2.0.exe. In this case you don't need a configuration file.

  • Step 2

    Substitute in the following configuration file your values for YOURUSERNAME, YOURPASSWORD, YOURHOSTNAME.

    You can find the current values in your ddns.org account

# use ssl connection. You need ssl-library for this. Set ssl=no if you don't have ssl-library.
ssl=yes                                 

###
### NO NEED TO MODIFY DEFAULT VALUES
###
# check IP changes every 300 seconds
daemon=300
# log update msgs to syslog
syslog=yes
# save daemon PID in this file
pid=/var/run/ddclient.pid
# get public ip from external service
use=web, web=checkip.dyndns.it, web-skip='IP Address'          
# set update server
server=update.ddns.org
protocol=dyndns2

###
### CHANGE YOURUSERNAME, YOURPASSWORD, YOURHOSTNAME with
###
### Find current values for your hostname at https://ddns.org/dashboard/host/configuration
###
# your update username
login=YOURUSERNAME
# your update password
password=YOURPASSWORD
#and here write your hostname to update
YOURHOSTNAME
  • Step 3

    Run the configuration using the command:

    ddclient

    ddclient will check for IP changes and send an update as soon as it detects one, maintaining your hostname updated.

Troubleshooting

If you want to test the configuration, you can run the application in foreground, using the following command:

ddclient -foreground -v

You can also clear the ddclient cache, where ddclient puts the last IP sent to the server. Cache is located in file /var/cache/ddclient/ddclient.cache, and you can remove it with command:

rm /var/cache/ddclient/ddclient.cache

After removing the cache file, ddclient will send an update on next run.

Conclusion

If have doubts or problems configuring the ddclient software with DDNS.org you can check the Troubleshooting page or contact the support from your account using the Support Request form.