07-13-2012 02:20 AM - edited 03-07-2019 07:45 AM
Hi,
Having trouble with DDNS on the Cisco 851, trying to get it to connect with my own DDNS server which works fine with the software client so I'm trying to get it to work with a Cisco router.
Here are some of the relevant bits of the config:
ip name-server a.b.c.d
ip ddns update method pindyn
HTTP
add http://blah%40myregistereddomain.co.uk:password@myddnserverip/nic/update?hostname=<h>&myip=<a>
interval maximum 0 0 1 0
I had to use %40 in my username for the @ otherwise I would get a host failure. If I tried to do this or the equivalent for the question mark I'd get a wrong syntax error in my debug so I used control v before entering the @ after the password and for the ? after update.
interface FastEthernet4
ip ddns update myddnshostname.co.uk
ip ddns update pindyn
The output of the debug ip ddns update command is:
*Jun 8 09:42:01.975: DYNDNSUPD: Adding DNS mapping for myddnshostname.co.uk <=> my.dynamic.ip.address
*Jun 8 09:42:01.975: HTTPDNS: Update add called for supporttest.pindyn.co.uk <=> my.dynamic.ip.address
*Jun 8 09:42:01.975: HTTPDNSUPD: Session ID = 0x20
*Jun 8 09:42:01.975: HTTPDNSUPD: URL = 'http://blah%40myregistereddomain.co.uk:password@myddnsserver/nic/update?hostname=myddnshostname.co.uk&myip=my.dynamic.ip.address'
*Jun 8 09:42:01.975: HTTPDNSUPD: Sending request
*Jun 8 09:42:01.995: HTTPDNSUPD: Response for update myddnshostanme.co.uk <=> my.dynamic.ip.address
*Jun 8 09:42:01.995: HTTPDNSUPD: DATA START
911
*Jun 8 09:42:01.995: HTTPDNSUPD: DATA END, Status is Response data recieved, successfully
*Jun 8 09:42:01.995: HTTPDNSUPD: Call returned SUCCESS for update myddnshostanme.co.uk <=> my.dynamic.ip.address
*Jun 8 09:42:01.995: DYNDNSUPD: Another update completed (outstanding=0, total=0)
*Jun 8 09:42:01.999: HTTPDNSUPD: Clearing all session 32 info
On my DDNS server httpd accesslogs I see the router connecting and getting a 200 repsonse which I believe is normal and if I copy and paste the url into my browser it updates fine.,
Does anyone know what the "911" means after the Data Start command as I rthink this may help with the fix?
Thanks
07-13-2012 04:34 AM
Hi,
Problem fixed with a firmware update
08-21-2012 11:51 AM
What software version worked for you?
08-22-2012 03:23 AM
c850-advsecurityk9-mz.124-15.T7.bin
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