republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Cisco » [Config] DynDNS.org on Cisco 871
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
pix and fragment riddle »
« [H/W] 3rd party memory upgrades for 870 series  
AuthorAll Replies


I_Route
Premium,VIP
join:2003-09-19
Merrimack, NH


4 edits
reply to mthoward
Re: [Config] DynDNS.org on Cisco 871

Under the interface you have to tell it to use the method "DynDNS", and the hostname to update.

I do not use this but got it working last night.
ip ddns update method DynDNS
HT TP
add ht tp: //usrnm|password@<s>/nic/update?system=dyndns&hostname=jforhan-cisco.homeip.net&myip=<a>
interval maximum 10 0 0 0

ip host members.dyndns.org 63.208.196.95

interface FastEthernet0/1
ip ddns update hostname jforhan-cisco.homeip.net
ip ddns update DynDNS host members.dyndns.org
ip address dhcp

The ip host entry populates the "s" in "less than and greater than signs" (POS posting software is code happy. Any way to turn this shit off? LOL) since I was getting DNS lookup timeout. Seems the code tries the update before the IP gets bound to the interface. I suppose you can not put a host entry and subsiquent resolutions would work fine.

I just hard coded the hostname since using DHCP will often change it and Adelphia uses the assigned address as part of the hostname, etc., etc.

The first update did not work however as it did not know where "members.dyndns.org" was. Also, it tries before the adress is actuall bound. Subsiquent updates worked fine.

I lowered the max interval from 28 days to just under the length of the DHCP lease I got from the ISP. In my case the lease is 12 hours. I set the interval to 10.

001018: Nov 2 06:19:56.823 EST: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (172.25.1.11)
C2651XM#
001019: Nov 2 06:23:48.708 EST: DYNDNSUPD: Adding DNS mapping for jforhan-cisco.homeip.net 68.232.199.168 server 63.208.196.95
001020: Nov 2 06:23:48.708 EST: HTTPDNS: Update add called for jforhan-cisco.homeip.net 68.232.199.168
001021: Nov 2 06:23:48.708 EST: HTTPDNSUPD: Session ID = 0x4F
001022: Nov 2 06:23:48.708 EST: HTTPDNSUPD: URL = '»username:password@63.208.196.95/···.199.168'
001023: Nov 2 06:23:48.708 EST: HTTPDNSUPD: Sending request
001024: Nov 2 06:23:48.800 EST: HTTPDNSUPD: Response for update jforhan-cisco.homeip.net 68.232.199.168

001025: Nov 2 06:23:48.800 EST: HTTPDNSUPD: DATA START

001026: Nov 2 06:23:48.800 EST: HTTPDNSUPD: DATA END, Status is Response data recieved, successfully
001027: Nov 2 06:23:48.800 EST: HTTPDNSUPD: Call returned SUCCESS for update jforhan-cisco.homeip.net 68.232.199.168
001028: Nov 2 06:23:48.804 EST: DYNDNSUPD: Another update completed (outstanding=0, total=0)
001029: Nov 2 06:23:48.804 EST: HTTPDNSUPD: Clearing all session 79 info

System image file is "flash:c2600-adventerprisek9-mz.124-4.9.T"

HTH

Later,
Jeff
--
There are 10 types of people, those that understand binary, and those that don't.

mthoward

join:2005-10-12
Andover, MA


1 edit
I_Route,

Separately, went into the CLI and blew away the config set up by SDM.

I then mimicked your config from above ... no joy.

I am not seeing any DYNDNS-related log entries in my log file.

I changed the max interval to once-per-minute ... no joy.

Cisco IOS Software, C870 Software (C870-ADVIPSERVICESK9-M), Version 12.4(2)T2, RELEASE SOFTWARE (fc3)
...
ip host members.dyndns.org 63.208.196.95
...
ip ddns update method DynDNS
HTTP
add ht tp://UUUUU:XXXXX@members.dyndns.org/nic/updatesystem=dyndns&hostname=<h>&myip=<a>
remove ht tp://UUUUU:XXXXX@members.dyndns.org/nic/updatesystem=dyndns&hostname=<h>&myip=<a>
interval maximum 0 0 1 0
!
...
interface FastEthernet4
description $ES_WAN$$FW_OUTSIDE$$ETH-WAN$
ip ddns update hostname cisco871.dyndns.org
ip ddns update DynDNS
ip address dhcp client-id FastEthernet4
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip inspect DEFAULT100 out
ip virtual-reassembly
ip route-cache flow
duplex auto
speed auto
!
...

I am using
show logging
in order to view the log entries ...

Q: Is there another/better way to view the log entries?

Regardless, I am not seeing any entries related to ddns. If I temporarily unplug the ethernet cable for my FastEthernet4 (WAN) connection, then I see the line go down & back up, followed by DHCP assignment ... but nothing related to ddns

Thanks in advance,

Miguel


I_Route
Premium,VIP
join:2003-09-19
Merrimack, NH

Enable ddns update debugging:

Router#debug ip ddns update

Then either watch the parser (if using console) or issue "term mon" from an SSH/telnet session and you will see the debugs.

ne difference I noticed was you do not have the host option under your FE4 interface:

ip ddns update DynDNS host members.dyndns.org

I also hard coded the hostname I used at DynDNS.com in to the update and did not use the "h" option.

HTH

Later,
Jeff
--
There are 10 types of people, those that understand binary, and those that don't.

mthoward

join:2005-10-12
Andover, MA

Thank you for showing me how to enable debugging of ddns.

I found that I did not have the question marks (?) in my URLs.

I thought that I had checked that ... given the difficulty of entering question marks through the CLI (Ctl-V ?) ... but you can see in the listing above that they are not there updatesystem instead of update?system

My issues are getting slowly resolved ... but it is an arduous process.

Miguel


I_Route
Premium,VIP
join:2003-09-19
Merrimack, NH

Oh, I thought you had the (?) in your config.

Do this:

1. Create a text file with the correct command line syntax for the four lines:

ip ddns update method DynDNS
HTTP
add ht tp://usename:password@<s>/nic/update?system=dyndns&hostname=YOURHOSTNAMEHERE&myip=<a>
interval maximum 10 0 0 0

2. Save the file as ddns.cfg or something you can remember

3. Place the file in your tftp root directory. (I use PumKin tftp server on my laptop. You can select where the files are served from)

4. On your router, copy from tftp to your running-config. Select your tftp server address and the file you created above. This will copy the entries from the text file to your running config and you will now have the (?) in the right place.

HTH

Later,
Jeff

--
There are 10 types of people, those that understand binary, and those that don't.

mthoward

join:2005-10-12
Andover, MA

That is what I was trying to do when I uncovered another problem.

I cannot tftp the full config because it croaks upon seeing the rsa certificate data.

Your message says that when I do a copy tftp: running-config then it does not need to be a full config ... I did not realize that ... I have ordered 3 Cisco books.


I_Route
Premium,VIP
join:2003-09-19
Merrimack, NH

That is correct. It will copy whatever is in the text file you tftp and it will NOT over-write the other portions of the config.

Perhaps you could come to our Boxborough facility for a tour one day. I travel allot but I am here occasionally......

Later,
Jeff
--
There are 10 types of people, those that understand binary, and those that don't.
Forums » Equipment Support » Hardware By Brand » Ciscopix and fragment riddle »
« [H/W] 3rd party memory upgrades for 870 series  


Thursday, 03-Dec 12:46:26 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [162] Comcast Releasing Promised Usage Meter
· [121] Avast Antivirus Has Gone Mad
· [103] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [80] Latest Consumer Reports Survey Not Kind To AT&T
· [70] Baltimore To Ban Lazy Cable Installs
· [65] Comcast Makes NBC Universal Acquisition Official
· [63] Broadband Killed The Game Console
· [55] Rogers Unveils The ISP Dream Model
· [47] ACTA: Global Three Strikes
· [42] Cable Industry's 'Adoption Plus': Altruism Or PR Stunt?
Most people now reading
· False positive in Avast! or is it real? [Security]
· Many Sites Unreachable [Rogers]
· Warrior tank seem underpowered these days [World of Warcraft]
· [TWC] Audio/Video outage in Brooklyn [Time Warner Cable TV/Voice]
· [Rant] Disrespect of PTO [Rants, Raves, and Praise]
· Quality/longevity of 15A 120V receptacles [Home Repair & Improvement]
· Microsoft actively urges IE 6 users to upgrade [Security]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· [ Classes] 3.2.2 Rogue [World of Warcraft]
· necessary to have a comcast net connection to retain the com [Comcast HSI]