cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18620
Views
10
Helpful
2
Replies

Cisco IOS Router 837 - Configure DDNS / Dynamic DNS

sramraj2000
Level 1
Level 1

I have an Internet link, connected to my Cisco Router. The package I subscribed for comes with a dynamic IP Address. I was told, if I need to remote access into the Cisco Router, I need to enable the DDNS feature. Can this be done on a Cisco Router? I was informed this feature isn't supported. Please help me

1 Accepted Solution

Accepted Solutions

Hi Bro

Yes, Cisco ASA and Cisco IOS Router do support DDNS. Just make sure you've the correct IOS version, which you could refer to this Cisco URL http://www.cisco.com/en/US/docs/ios/12_3/12_3y/12_3ya8/gt_ddns.html#wp1202953.

Please refer to the config below done with dyndns.org;

!

hostname INT-RTR1
!
ip domain name dyndns.org
ip name-server 8.8.8.8
!
ip ddns update method DynDNS
HTTP
  add http://ramraj:cisco123@members.dyndns.org/nic/update?system=dyndns&hostname=&myip=>
  interval maximum 30 0 0 0
  interval minimum 30 0 0 0
!
interface Dialer1
ip ddns update hostname INT-RTR1.dyndns.org
ip ddns update DynDNS
!

Note: hostname = INT-RTR1.dyndns.org was the host added/registered in the dyndns.org website.

Note: Press Ctrl + V, only then typing the symbol ? when adding the CLI add http://______________ above.

Note: ramraj:cisco123 is merely an example of a login credentials in dyndns.org.


You could also refer to this URL for further details http://www.petri.co.il/csc_configuring_dynamic_dns_in_cisco_ios.htm

P/S: If you this this comment is useful, please do rate them nicely :-)

Warm regards,
Ramraj Sivagnanam Sivajanam

View solution in original post

2 Replies 2

Hi Bro

Yes, Cisco ASA and Cisco IOS Router do support DDNS. Just make sure you've the correct IOS version, which you could refer to this Cisco URL http://www.cisco.com/en/US/docs/ios/12_3/12_3y/12_3ya8/gt_ddns.html#wp1202953.

Please refer to the config below done with dyndns.org;

!

hostname INT-RTR1
!
ip domain name dyndns.org
ip name-server 8.8.8.8
!
ip ddns update method DynDNS
HTTP
  add http://ramraj:cisco123@members.dyndns.org/nic/update?system=dyndns&hostname=&myip=>
  interval maximum 30 0 0 0
  interval minimum 30 0 0 0
!
interface Dialer1
ip ddns update hostname INT-RTR1.dyndns.org
ip ddns update DynDNS
!

Note: hostname = INT-RTR1.dyndns.org was the host added/registered in the dyndns.org website.

Note: Press Ctrl + V, only then typing the symbol ? when adding the CLI add http://______________ above.

Note: ramraj:cisco123 is merely an example of a login credentials in dyndns.org.


You could also refer to this URL for further details http://www.petri.co.il/csc_configuring_dynamic_dns_in_cisco_ios.htm

P/S: If you this this comment is useful, please do rate them nicely :-)

Warm regards,
Ramraj Sivagnanam Sivajanam

Hi Everyone

I've been told that DynDNS now requires credit card, as it's no longer FREE. Please use www.no-ip.com instead. Shown below is a sample working configuration;

 

!
version 12.4
service nagle
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
service sequence-numbers
!
hostname R1
!
enable password cisco
!
ip domain name no-ip.org
ip name-server 8.8.8.8
ip ddns update method ddns-noip1
 HTTP

  add http://lifeisgreat2014:cisco123@dynupdate.no-ip.com/nic/update?hostname=<h>
 interval minimum 0 0 1 0
 interval maximum 1 0 0 0

!
interface FastEthernet0/0
 description ### Facing ISP ( WAN) ###
 ip ddns update hostname r1.no-ip.org
 ip ddns update ddns-noip1

 ip address negotiate
!
interface FastEthernet0/1
 description ### LAN ###
 ip address 10.151.100.1 255.255.255.0
!
no ip http server
no ip http secure-server
ip dns server
!
control-plane
!
line con 0
line aux 0
line vty 0 4
!
scheduler allocate 20000 1000
ntp clock-period 17179773
ntp server 211.233.40.78
ntp server 61.153.197.226
ntp server 202.150.213.154 prefer

!
end

 

Note: If your WAN facing interface is getting a dynamic Public IP from the ISP, then you should add the <a> as shown below. 

  add http://test123:cisco123@dynupdate.no-ip.com/nic/update?hostname=<h>&myip=<a>

 

However, if your WAN facing interface is getting a dynamic Private IP, then this sample is OK i.e. without the <a>

 

Please refer to this URL

http://www.noip.com/support/knowledgebase/using-your-cisco-router-with-no-ip-dynamic-dns-services/

Warm regards,
Ramraj Sivagnanam Sivajanam
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: