11-17-2014 07:08 PM - edited 03-05-2019 12:11 AM
I have a Cisco 1841 router with 12.4 on it. I am trying to set it up to work with freedns.afraid.org dynamic dns. I saw a video on how to do it on a 2600 series router but it has a different command set than my 1800 series. Can anyone shed some light on how to properly set this up?
Thank you
11-18-2014 05:34 PM
Josh at blindhog.net has a video showing how to do this exact thing. You can find it here.
He uses an IP SLA process with an HTTP GET mechanism to do the updates, but this should be easily adaptable to an IP DDNS configuration too.
11-19-2014 05:38 PM
I found that article as well. The problem is when I am in config mode and type in ip sla 1 and press enter my only options are exit and icmp-echo. I can't find the http get mechanism to complete this. Any ideas? I am on 124-15.t13b.bin
11-19-2014 09:52 PM
Might be able to do it with IP DDNS. What if you try something like this?
ip ddns update method DDNS_FreeDNS HTTP add http://freedns.afraid.org?SHA_Key interval maximum 90 0 0 0 ! interface WAN ip ddns update DDNS_FreeDNS
This will update using the provided URL whenever the interface comes up, changes addresses or keeps the same address beyond the specified interval.
Normally, the address and hostname are passed in the URL, but if FreeDNS has the hostname predefined and is assuming the address based on the source of the update request, it should work.
01-29-2017 04:34 PM
Just in case:
Full URI from Cisco router is different because it replaces the domain with the actual IP. And FreeDns doesn´t like, it says: HTTP/1.1 404 Not Found (text/html)
The only way I found:
ip sla 1
http get http://freedns.afraid.org/dynamic/update.php?dk1UGUVURXXXXXXXXXXXXVVaNTc6MTYwOTY3MTE=
frequency 7200
ip sla schedule 1 life forever start-time now
Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide