This post is based on my previous blog post, Updating DNS Entries (with nsupdate or alternative implementations) – Run Your Own DDNS, and on Cédric Félizard’s post “Your Own Dynamic DNS“.
Running your own DynDNS (DDNS) server is easy when you have your own domain registered and an own Linux server up and running. A
.de domain, for example, costs only about 6 EUR per year if you register at an inexpensive domain hoster in Germany. Let’s say you have registered example.com. Now you can use a subdomain such as d.example.com to contain all your dynamic IPs. An individual host could then be named something like
eric.d.example.com. The advantage of using a subdomain
.d.example.com instead of
example.com itself is that you can refer the authority for this subdomain to your own server while the upper zone
example.com can still be managed by the DNS hoster.
The following sections will describe how to set this up in detail.