EdgeRouter - Built-in Dynamic DNS


Overview


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

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

Configuring the Built-in Dynamic DNS Service


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.

configure

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 and force an update of the Dynamic DNS service using the commands below:

show dns dynamic status
update dns dynamic interface <interface-name>

By default, EdgeOS will only update Dynamic DNS when the IP address actually changes.


Related Articles


Back to Top

EdgeRouter - Custom Dynamic DNS

Intro to Networking - How to Establish a Connection Using SSH


We're sorry to hear that!