Dynamic DNS - a domain on a server with a changing IP..

Want to run a server on a changing IP? Dynamic DNS (DDNS) is the solution. A guide to configuring the DDNS service and ddclient so your domain always works.

dynamic dns

Users of Neostrada-type connections (ADSL), dial-up and others can run a web server or any other network service on their computer, even if their IP address changes (e.g. with every connection to the network or periodically at set intervals). Using the right application, every time you get a new IP, it will be updated in your domain's DNS settings. Your domain will follow wherever your IP address goes. This is where the Dynamic Domain Name System service comes in. Dynamic DNS functionality allows the IP address in the DNS settings for a given domain to be updated every time your computer receives a new IP. The DDNS service is provided by many providers. In its basic version, sufficient for the configuration described above, it is usually free. The most commonly used ones are: www.dyndns.com or www.no-ip.com. I will focus on dyndns.com. The first step is to register on the dyndns.com website. We download the program that will update our IP in the database - ddclient. Next we choose the service on dyndns.com, in our case:
My Services --> Host Services --> Hostname - the name of our host, check Wildcard and finally enter our current IP. Finally, we run the ddclient program. On first run, a configurator may appear asking for the login and password provided during registration on dyndns.com. If we cannot use the online configurator. After installation, check whether ddclient is in the startup scripts; if not, we need to add it ourselves to rc.local.