Dynamic DNS setup on home linux server

What I use this for and what it is

I have a domain registered on dynu.com (fake example: kangaroogarlic.dynu.net) and after I install the client on my home server, it updates dynu.com with my home ip address, periodically. So kangaroogarlic.dynu.net is always going to point to my home ip address. If I reboot the modem and I get a new ip from my ISP, then my linux server will detect that with the ipupdateclient and let dynu.com know. They will then change the ip for kangaroogarlic.dynu.net to be my home ip again. This is useful because I use a remote service to monitor that domain to verify if it is up or down (pingable or not). If my ip changes I don’t have to update the remote service because my linux server updates the domain, and the remote service monitors the domain. Wherever my linux server is physically located it will check its public ip and update dynu.net. So if I move the linux server to my neighbor’s house, soon thereafter kangaroogarlic.dynu.net will be pointing to their home ip address on their modem.

Side note: if you want to be able to ping your modem from the internet, you may have to login to your modem to allow pings from outside. Typically this is off by default so you can’t get tons of pings sent to you, disrupting your internet connection. In the advanced settings of my modem I was able to enable ‘Respond to Ping Request from WAN.’ This is not a major security or quality of service issue.

https://en.wikipedia.org/wiki/Dynamic_DNS

  • More information as to what dynamic dns is.

Instructions

  1. Register a free domain (requires registering a username and password with dynu.com)
  2. Install the client on your linux server