This tutorial will show you how to configure ddclient on Raspbian and Ubuntu.Many tutorials don't explain what to do if your server is behind a router, but this one will.Log into namecheap and select the relevant domain, then choose "Dynamic DNS" under Miscellaneous settings.Use the radio buttons to enable dynamic DNS, and then make a note of the password.This article on OS X Daily was quite helpful to determine a quick dig command to accomplish this.Create the script used in the If things worked, then the entry in Google Domains will now show your IP address.The one I am going to use is called ddclient, it's free and open source, and written in Perl.Use this command to install ddclient: If you're not using namecheap, then this section will be different, but the concept is the same regardless of DNS provider.
This contrib has some additional features like the ability to select the method on how the detect the external IP address and the ability to publish arbitrary domain names (i.e. Download the latest rpm version from In many cases, you really do not need to use ddclient or some variation of it eg sme7-ddclient or smeserver-ddclient You can use the built in dynamic client for your main domain (accessible by running Configure this server from the admin console).
Stéphane de Labrusse AKA Stephdl This contrib is the official and maintained version for SME Server 8, some Free or paid services of dynamic dns had been incorporated to the contribs. Use this panel to configure domain records you wish to keep updated with your dynamic IP using the ddclient contrib First you need to create a domain in the server-manager (domains panel) which must match the domain you set with your dynamic dns provider.
For example if the domain you made at DTdns is : You have to create a relevant domain with this name.
This time though, I didn't have that option, and I didn't want to configure a dynamic dns client on that router either, so I had to set it up on the server itself.
Some DNS providers offer their own dynamic DNS clients, but most of them are proprietary.
Then create CNAME entries in external DNS records which point at the main domain name.