Featured Post

HOW TO: Install VPN server on Ubuntu when server is behind firewall

The whole point in this post is to run your own VPN service, and allow you to connect remote devices to your home network. To start off yo...

Oct 8, 2015

Configuring ddclient on Ubuntu Server to work with Dynu.com

I use dynu.com for determining my public IP address, I use a public IP address for Plex among many other things. dynu.com offers a completely free service, with no requirements to log in every 30 days, so this suits my needs perfectly.

Originally I installed an DDNS update client on my Windows box, but it suffers from flaky RAM and BSOD, so I decided to install the service on my Plex Media Server. It was a simple enough task, but I figured I should write down the step in case it can help anyone else.

Fist, install ddclient on your Ubuntu box:

sudo apt-get install ddclient

Then configure the ddclient:

sudo nano /etc/ddclient.conf

The contents should be similar to the following, using your username, password, domain name obviously:

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
protocol=dyndns2
use=web, web=checkip.dynu.com/, web-skip='IP Address'
server=api.dynu.com
login=username
password='password'
domain.dynu.com

You can also determine the update interval by specifying the following in ddclient.conf:

# check every 60 seconds
daemon=60

Hope this is of some use for you. Thanks for reading.