Configure DynDNS Dynamic DNS in Cisco Router

This article shows you how to configure DDNS on Cisco Router that receives dynamic Public IP address from Internet provider. After setting this up, your router can be accessed from anywhere via Domain Name.

DynDNS Update
Internet Connection is terminated on Cisco Router

// Configure DNS Servers so router can resolve domain names

(config)# ip name-server
(config)# ip name-server

// Configure DDNS update Service and choose HTTP method for communicating with DDNS provider.

(config)# ip ddns update mthod ddynsupdate
(DDNS-update-method)# HTTP

// This below syntax is for DynDNS provider. The syntax varies for each DDNS provider so you need to get the information from the provider.
// In order to insert ? symbol, press Ctrl+V and then type ? symbol

(DDNS-HTTP)# add<h>&myip=<a>

// Configure DNS update Interval as 12 hours

(DDNS-HTTP)# interval maximum 0 12 0 0

// Enable DDNS on public interface

(config)# interface dialer0
(config-if)# ip ddns update hostname
(config-if)# ip ddns update myddns

// Save configuration

# write memory

// After completing the setup, reload router for DDNS update service to initiate.

# reload



// Enable debug of DDNS service in the Cisco router to review if the update is happening properly and troubleshoot further.

All in One WordPress Hosting
HostGator $2.75 per month
24/7/365 Technical Support, Free Site Building Tools, 4500 Website Templates, Free Shopping Cart Software, Ideal for WordPress, 45 Day Money Back Guarantee
Starts at 30$ per month
All in One WordPress Hosting
High optimized WordPress hosting, secure firewall, HTTPS, Backup, hack-fix guarantee and many others at 30$ per month
# debug ip ddns update

// Router logs clearly tell you what is happening in the background and you will logs similar to below.

# show logging

000042: *Dec 20 20:48:44.174 PCTime: HTTPDNSUPD: DATA END, Status is Response data recieved, successfully
000043: *Dec 20 20:48:44.174 PCTime: HTTPDNSUPD: Call returned SUCCESS, update of <=> succeeded
000044: *Dec 20 20:48:44.174 PCTime: DYNDNSUPD: Another update completed (outstanding=0, total=0)
000045: *Dec 20 20:48:44.174 PCTime: HTTPDNSUPD: Clearing all session 9 info
000046: *Dec 20 20:56:22.497 PCTime: %LOGIN-3-TOOMANY_AUTHFAILS: Too many Login Authentication failures have occurred in the last one minute on the line 10.
000047: *Dec 20 20:56:41.897 PCTime: DYNDNSUPD: Adding DNS mapping for <=>
000048: *Dec 20 20:56:41.897 PCTime: HTTPDNS: Update add called for <=>
000049: *Dec 20 20:56:41.897 PCTime: HTTPDNSUPD: Session ID = 0xA
000050: *Dec 20 20:56:41.897 PCTime: HTTPDNSUPD: URL = ''
000051: *Dec 20 20:56:41.897 PCTime: HTTPDNSUPD: Sending request
000052: *Dec 20 20:56:49.213 PCTime: HTTPDNSUPD: Response for update <=>
000053: *Dec 20 20:56:49.213 PCTime: HTTPDNSUPD: DATA START nochg

// “show ip ddns update” command might probably show as “not available” but you do not need to worry as long as you receive proper logs.

Related Post

Menu Title