Watch this video: https://www.youtube.com/watch?v=iuDCuUEmKF4
Its not perfect... but it will help
I used namecheap as my dynamic DNS provider. You can enable it on a domain by going to Manage Domains > (click your domain) > Dynamic DNS (bottom left). You can use a subdomain, so don't worry about enabling it for the whole domain.
I created a subdomain called dyn.mysite.com
What I installed:
apt-get install ddclient libio-socket-ssl-perl
What files I editied:
Here is what my working file looks like:
# Configuration file for ddclient generated by debconf # # /etc/ddclient.conf protocol=namecheap ssl=yes use=web, web=myip.dnsdynamic.org server=dynamicdns.park-your-domain.com login=peterjolson.com password='a18c7640132741a7b9e0da03d4c828b4' dyn
Explaination of the config file
use=web, web=myip.dnsdynamic.orgline makes it look at that url to get my ip. When you first install ddclient, it sets the
use=line to use the ethernet device, which you probably don't want to do.
- the very last line is the sub domain I want to use. My domain will be dyn.mysite.com.
- if you want to use the regular domain, change the
Test the config:
Then check namecheap.com to see if the IP was changed.
- a good url to check external IP: http://myip.dnsdynamic.org/
Other files to look at:
nano /etc/default/ddclient # this looks like the youtube video by default