Cisco Routers and Dynamic DNS
Posted by Josh on Thu 19 Aug 2010Categories: Cisco , Cisco Routers , Voice LAB - [6] 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

August 21st, 2010 at 1:08 pm
why not?:
ip ddns update method DYNDNS
HTTP
add http://user:pass@members.dyndns.org/nic/updatesystem=dyndns&hostname=host.dyndns.tv&myip=
August 21st, 2010 at 6:20 pm
option12,
It is really just my personal preference.
1) I have domains hosted with freedns
2) I have had real stability issues with dyndns.
3) FreeDNS has more public domains to choose from.
4) There are already plenty of dyndns posts already written.
Josh
August 23rd, 2010 at 8:50 am
I love that, nice use of SLAs!
September 4th, 2010 at 12:54 am
[...] install, a quiet hotel room can be a great place to study. In a previous post, you learned how to configure your Cisco router for dynamic DNS. This post will show you how to configure remote access vpn on a Cisco router to access your home [...]
November 17th, 2010 at 5:11 am
great post,
can’t wait to try it!
thanks
November 17th, 2010 at 6:12 am
[...] Fonte: blindhog.net Categories: Cisco, Internet, Redes Tags: afraid.org, Cisco @en, ddns, dns, freedns, ip sla Comentários (0) Trackbacks (0) Escrever um comentário Trackback [...]