After settling into my new home recently, I finally got around to cleaning up the mess of cables dangling from my garage wall where the NBN (fibre-to-the-premise) connection was installed. My previous home internet IP was static so it’d been a while since I needed to set up a dynamic DNS service. To get this up and running quickly, I installed NC DNS Updater on macOs – however, I wanted to move this service off of my Macbook Pro so that the hostname alway points to the correct address, regardless of where or what my Macbook is doing. ERX to the rescue!

The Ubiquiti EdgeRouter X handles the PPPOE auth (on eth0) with my ISP and the remaining 4 ports are configured as a basic switch with the ERX handing out local IPs. I’m only using eth1 at the moment running to my Ubiquiti Unifi AC Pro (located in the roof cavity, powered by POE) but I’ll soon be booting up a couple of Linux web servers and services which require remote access. I tried to follow a couple of guides to setting up a Dynamic DNS service on the ERX but none were clear enough to get me up and running without considerable trial and error. So, my aim is to help you set up a DDNS service using the EdgeRouter X GUI. Read on…

Before we get started, this article assumes that you’ve enabled the Dynamic DNS service in your Namecheap dashboard — you’ll need the password they supply in a moment. If not, see How do I enable Dynamic DNS for a domain?and How do I set up a Host for Dynamic DNS?

  1. Click ‘Services’ in the main navigation menu, then select the ‘DNS’ tab. Click the ‘+ Add DDNS Interface’ button.

2. Select eth0 as the interface. In my case, I also had the option to select ‘pppoe0’ but we’ll stick with the former.

3. Next, set the web dropdown to ‘URL’ and enter the following domain:

dynamicdns.park-your-domain.com/getip

Leave Web-skip blank.

4. Select namecheap as the service from the dropdown

5. For the hostname field, if you’re using the root domain (ie. example.com), enter @ or *. If you’re using a subdomain, enter just the hostname value. For example, if you had subdomain.example.com, you would enter subdomain.

6. The login value is your root domain (ie. example.com)

7. Copy the password supplied by Namecheap after enabling the Dynamic DNS service and paste it in the password field.

Your Dynamic DNS Password from Namecheap

Leave the Protocol option as is.

8. Enter the below address as the Server:

dynamicdns.park-your-domain.com

Your configuration should look something like this…

9. Finally, click apply! Once the changes have been saved successfully, select the ‘Log Monitor’ from the ‘Toolbox’ dropdown. If everything went smoothly you should see a similar message to the one below.

Good luck!