EdgeRouter - Built-in Dynamic DNS


Readers will learn how to configure Dynamic DNS on the EdgeRouter using the built-in services.

Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Device used in this article:

Dynamic DNS

Back to Top

The following Dynamic DNS services are available for use in EdgeOS:

  • Afraid (requires server to be hard-coded)
  • Dnspark
  • Dslreports
  • Dyndns
  • Easydns
  • Namecheap
  • Noip
  • Sitelutions (requires serial number to be set as the hostname)
  • Zoneedit

See the Custom Dynamic DNS article for instructions on how to configure a custom Dynamic DNS service. 

CLI: Access the EdgeRouter Command Line Interface.

1. Enter configuration mode.


2. Add the Dynamic DNS service and the login credentials.

set service dns dynamic interface eth0 service <dyndnsservice> host-name <host>
set service dns dynamic interface eth0 service <dyndnsservice> login <username>
set service dns dynamic interface eth0 service <dyndnsservice> password <password>

3. Configure the location of the Dynamic DNS server.

set service dns dynamic interface eth0 service <dyndnsservice> server <server>
NOTE: This step is required when using afraid.org.

4. Commit the changes and save the configuration.

commit ; save

You can verify the status of the Dynamic DNS service with the show dns dynamic status operational mode command. By default, EdgeOS will only update Dynamic DNS when the IP address actually changes. To force and update, use the update dns dynamic interface <interface-name> operational command.

Related Articles

Back to Top

Intro to Networking - How to Establish a Connection Using SSH

EdgeRouter - Custom Dynamic DNS

We're sorry to hear that!