Search This Blog

2010-07-05

DynDns on Cisco IOS

So, recently i've been using a cisco router as my main WAN device in my home network. I'm working my way though some configuration (even with tons of cisco experience you'll run into a ton of issues you wouldn't expect).

I wanted to put DynDns on my device as it would make remote administration as well as VPNing in a ton easier. Here is the site I used as a reference to complete the task. It is amazingly explained command for command, shows common problems with config, and goes through the verification.

http://andyraven.wordpress.com/2008/07/17/ddns-dyndns-on-cisco-ios

From Global Config:
1. ip ddns update method <identity-name>
2. HTTP
3. add http://<username>:<password>@members.dyndns.org/nic/update?system=dyndns&hostname=<myhostname>&myip=
4. remove http://<username>:<password>@members.dyndns.org/nic/update?system=dyndns&hostname=<myhostname>&myip=
5. interval maximum 28 0 0 0
6. <identity-name> = any name of your choice, I use “DynDNS”, it’s just an identifier
7. <username> and <password> = replace with your ddns details
8. <myhostname> = the hostname you chose when signing up for DDNS

<identity-name> = any name of your choice, I use “DynDNS”, it’s just an identifier
<username> and <password> = replace with your ddns details
<myhostname> = the hostname you chose when signing up for DDNS

In the WAN int configuration, include the following:
ip ddns update hostname
ip ddns update host members.dyndns.org

Verification:
sh ip ddns update
sh ip ddns update method

Debug:
debug ip ddns update method
terminal monitor

IMPORTANT:
Domain Lookup needs to be turned on in your router or a static route

Turn on Domain Lookup:
ip name-server
ip domain lookup
OR
Static IP:
ip host members.dyndns.org 62.308.196.95

Note: You may also have trouble entering the “?” in the http url as obviously this character has a special use, simply type “Ctrl-V” and then “?” and it will not be interpreted as a help query.

Please go to the site to view a description of what each command actually does and for a list of possible fixes and common mistakes.

No comments:

Post a Comment