Jay Taylor's notes
back to listing indexblindhog.net » Cisco Routers and Dynamic DNS
[web search]
Original source (www.blindhog.net)
Clipped on: 2013-03-05
Cisco Routers and Dynamic DNS
Posted by Josh on Thu 19 Aug 2010Categories: Cisco , Cisco Routers , Voice LAB - [12] Comments
This short post demonstrates using ‘ip sla’ and freedns.afraid.org for dynamic dns.
If you are not familiar with FreeDNS, it is simply a free / shared dns host. Individuals voluntarily host their domains on the FreeDNS servers and allow other users to create dns subdomains with their domain name.
Here are the steps
- Create an account with the FreeDNS website
- Add a new subdomain
- Click the ‘Registry’ link
- Click on a domain you would like to link to…e.g. mooo.com
- Enter text in the subdomain field … e.g. blindhog
- Get the dynamic dns url
- Click the ‘Dynamic DNS’ link
- Right-Click on the ‘Direct URL’ link next to your new subdomain and select ‘Copy Link Location’
- Paste this link into notepad. We will use it later.
- Login to your cisco router and get into config mode.
- Configure an ‘http get’ based sla monitorNote: Only enter the first part of the url (before the question mark) and do not hit enter. Press ‘ctrl+v’ then enter the second half of the url including the question mark. If you do not use ‘ctrl+v’ before the question mark will be used to display options of the ‘http get’ command.
ip sla 1
http get http://freedns.afraid.org/dynamic/update.php?VEc..Or
ip sla monitor 1
type http operation get url http://freedns.afraid.org/dynamic/update.php?VEc..
- Create a new ip sla schedule to activate the update.
ip sla schedule 1 lifetime forever start-time now
Orip sla monitor schedule 1 life forever start-time now
- Use the following commands to troubleshoot
show ip sla configuration
show ip sla statisticsdebug ip sla trace
debug ip sla errorOr
show ip sla monitor configuration
show ip sla monitor statisticsdebug ip sla monitor trace
debug ip sla monitor error