Updating dyndns automatically from Linux

If you have an account at the eminent service dyndns.com, you can update it automatically from your host by using this method:

Start by installing ddclient like this:

sudo apt install ddclient

The installer will ask you questions about password and which hostnames to update.

The result will be a file /etc/ddclient.conf that looks similar to this one:

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

protocol=dyndns2
use=web, web=checkip.dyndns.com, web-skip='IP Address'
server=members.dyndns.org
login=xxxxxxxxx
password='xxxxxxxxx'
fsh.homedns.org,swish.homedns.org,fsh.dnsalias.com

You can update this file manually later, and restart the ddclient with:

sudo service ddclient restart

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.