I intend to run a debian server at home, it will host various websites, SSH server and email.
I have a dynamic IP address and I am unwilling to pay the extra for a static IP.
I was thinking I could probably get around the DNS issue if I ran my own name server and used something like no-ip to set auto-updated nameserver addresses for my registered domains, eg:
On the registrar:
john-hunt.com (and my other domains) nameservers = johnns1.noip.com & johnns2.noip.com
johnns1.noip.com, johnns2.noip.com -> my dynamic IP
Which will make sure that the nameservers for my domains are always pointing to my machine at home.
I will run BIND or something similar on the home machine to actually serve up the DNS records.
The real problem I have is that I don't quite know how I'd configure BIND (or tinydns or whatever) to accept and apply updates when my IP address changes.. I can think of a way to bodge it (poll & ping johnns1.noip.com to get my IP address, then grep on the zonefiles and reload every 5 minutes..) but that doesn't feel very solid.
Does anyone have any experience in this area? I had a look at no-ip's enhanced services but they want $25 for hosting records for every domain (and I have quite a few).
Asked by John Hunt
(858 rep)
Jul 17, 2014, 12:37 PM
Last activity: Sep 1, 2018, 11:55 PM
Last activity: Sep 1, 2018, 11:55 PM