<

IPv4 DDNS for dns.he.net on Cisco IOS

Published on
10,006 Points
4,006 Views
Last Modified:
Approved
As dyndns has reduced the capabilities of the free service, I looked around for other free providers of Dynamic DNS service.

After testing several I decided to move my DNS hosting to Hurricane Electric as then domains that require dynamic hostnames can be managed with dynamic A records instead of the CNAME required when using the dyndns free service.

The configuration as below is for IPv4 dynamic addressing as provided by most Internet Service Providers on ADSL or Cable (broadband) connections when using the free DNS and DDNS service as provided by dns.he.net

The below has been tested on a Cisco 1812 running c181x-advipservicesk9-mz.151-4.M4.bin on a BT FTTC connection which uses PPPoE over VDSL where the PPPoE interface has a dynamic address. It has also been tested on a Cisco 877 running c870-advipservicesk9-mz.151-4.M4.bin on several other UK ADSL and ADSL2+ connections

It does not cover changing the IPv4 termination address for a he.net IPv6 Tunnel.

In Global mode

ip ddns update method <method-name>
 HTTP
  add http://<f.q.d.n>:<password>@ipv4.dyn.dns.he.net/nic/update?hostname=<h>&myip=<a>

Open in new window


Then on the dynamic addressed interface (usually Dialer 1)
 ip ddns update hostname <f.q.d.n>
 ip ddns update <method-name> host ipv4.dyn.dns.he.net

Open in new window



<method-name> This is the name that you want to give the DDNS update, I usually use dyn.he.net
<f.q.d.n> This is fully qualified domain name that is configured for Dynamic DNS on the dns.he.net control panel
<password> This is the password for the fully qualified domain name that is configured for Dynamic DNS on the dns.he.net control panel
<h> This is an internal Cisco IOS variable for the hostname that it gets from the configuration on the interface
<a> This is an internal Cisco IOS variable for the dynamic address on the interface  

Presuming that the method name is dyn.he.net, the hostname being used is router.domain.com and the password is SuperSecretPassword the completed configuration commands should look something like this

In Global mode

ip ddns update method dyn.he.net
 HTTP
  add http://router.domain.com:SuperSecretPassword@ipv4.dyn.dns.he.net/nic/update?hostname=<h>&myip=<a>

Open in new window


Then on the dynamic addressed interface (usually Dialer 1)
 ip ddns update hostname router.domain.com
 ip ddns update dyn.he.net host ipv4.dyn.dns.he.net

Open in new window


It is not possible to copy and paste all of the config directly into a console session as the line that begins with "add" contains a question mark.

To enter a question mark <?> in IOS press and hold ctrl, press v, release both then press ?
0
Comment
Author:ArneLovius
0 Comments

Featured Post

IT Degree with Certifications Included

Aspire to become a network administrator, network security analyst, or computer and information systems manager? Make the most of your experience as an IT professional by earning your B.S. in Network Operations and Security.

Join & Write a Comment

There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month