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

Innuendo
Premium
join:2002-12-20
reply to mthoward
Re: [Config] DynDNS.org on Cisco 871

mthoward,
Are you using the CLI or SDM?

mthoward

join:2005-10-12
Andover, MA

I have not found anything in SDM for managing ddns.

Therefore, I am using the CLI.

I have done some experiments trying to follow

»www.cisco.com/en/US/products/ps6···1ba.html

and

»www.cisco.com/en/US/products/ps6···p1109464

I put in the following commands:

ip ddns update method DynDNS
HTTP
add ht tp://myUsername:secret@members.dyndns.org/nic/update?system=dyndns&hostname=testmth&myip=<a>
interval maximum 28 0 0 0
!

Note: I explicitly inserted a space in ht tp in this posting because the url-recognition code in the forum software was turning it into a URL. But this is not in my config.

My test entry at dyndns.org is not getting updated ...

Q: Do I need to explicitly put in something to kick-start the ddns updates?

I am not comfortable with the <a> designation that the examples use. It is supposed to substitute in an address, but ...

Q: Where is the assocation that identifies which interface should be used for the dyndns update?

They identify a maximum interval, but it is not clear to me how frequently they are going to update. The dyndns folks do not want people updating entries unless the IP addr has changed. Therefore, it seems to me that there should be a query URL in addition to an update URL. I am somewhat concerned that the Cisco will update unnecessarily ... and cause me headaches.

Thanks for your help.

Miguel


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


4 edits
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  


Monday, 30-Nov 17:27:25 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
· [36] Broadband Killed The Game Console
· [26] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
· [25] Rural Carriers Quickly Embracing Fiber
· [20] Baltimore To Ban Lazy Cable Installs
· [19] Midcontinent Socked With Easement Lawsuit
· [14] Charter Exits Chapter 11
· [3] Monday Morning Links
Most people now reading
· Is Microsoft Technet ok to use for my family PC's? [Microsoft Help]
· Are GPS's better today? [General Questions]
· Portable power for blackouts? [Home Repair & Improvement]
· [Internet] Gaming problem for "Heroes of Newerth" ( New bell Upd [Bell Canada]
· Dr. Tim Ball On the Significance of the CRU Hacked Documents [Canadian Chat]
· Fun screwing with PuG raids. [World of Warcraft]
· filling an in-ground pool [Home Repair & Improvement]
· Windows 7 boot manager editing questions [Microsoft Help]
· Wind getting a little more aggressive [TekSavvy]
· [Newsgroups] Newzleech down? [Filesharing Software]