Logan Marchione has a great series of articles about the Ubiquiti EdgeRouter. I was interested in particular to setting up DuckDNS as a dynamic DNS provider. He covered that well using the command line.
I’m not sure why I couldn’t get it to work, but for some reason a handful of the commands were generating errors in my configuration. I set out to figure it out using the GUI. It wasn’t hard, just took looking at Logan’s article and dissecting it a bit.
PreRequisite: You must sign up for DuckDNS service. Get logged in and create your hostname and create your token.
- Go to Dynamic DNS settings page in the GUI of your EdgeRouter.
- Services -> DNS
- Create a new DDNS Interface and choose your WAN interface. Mine is eth2.
- Choose Custom as the service and give it a friendly name
- Put in your hostname without the duckdns.org in hostname
- Login username is ‘nouser’ / Password is your account token.
- Protocol is dyndns2
- Server is www.duckdns.org
Apply that change and you should be in business.
You can always see the status by opening up console to your router and issuing the following command:
show dns dynamic status
interface : eth2 ip address : X.X.X.X host-name : MyHostname last update : Sun Sep 24 17:57:40 2017 update-status: good
Now you’re all set.