Cisco DDNS with namecheep

First make sure you have correctly set up DDNS in the name cheep console.
You can test it with the following simple URL :-

http://dynamicdns.park-your-domain.com/update?host=HOSTNAME&domain=DOMAINNAME&password=PASSWORDip=IPADDRESS

Where :-
HOSTNAME = the host name of the machine eg machine.domainname.com
DOMAINNAME = the domain name eg domainname.com
PASSWORD = the API password from namecheep, not your namecheep password
IPADDRESS = IP address you want to send to namecheep

Once you get a success message back from browsing to that URL you are ready to configure the Cisco IOS.

You need to parts, one on the external interface and one to set up the DDNS provider.

First we set up the provider section :-
I use the IP address as I do not have DNS configured on the Cisco, I use an internal BIND server.
Also note :-
ip=<a> is a Cisco substition for the interface’s IP.
The “method” can be called anything you want.
I want it to update every 15 minutes hence the interval command.

# conf t
!
ip ddns update method namecheap
 HTTP
  add http://74.81.78.59/update?host=HOSTNAME&domain=DOMAINNAME&password=PASSWORD&ip=<a>
 interval maximum 0 0 15 0
!

Second part is we add it to the external interface, in my case Dialer 0.

# conf t
!
ip ddns update namecheap
!

Exit from the config syntax.
Turn on debugging :-
# debug ip ddns update

Restart the physical interface that the Dialer is bound to. FastEthernet0 in my case. :-

# clear pppoe int Fa0

Check the logs and see what happens, if you entered everything right it should be up and running.
You can also check that IOS has parsed everything right by issuing this command :-
# show ip ddns update method

Advertisements

2 Responses to “Cisco DDNS with namecheep”

  1. cixelsyd Says:

    You’ve got a typo in your web addresses here, should be “&ip=” not “=ip=”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: