Link to home
Create AccountLog in
Routers

Routers

--

Questions

--

Followers

Top Experts

Avatar of emilgas
emilgasπŸ‡ΊπŸ‡Έ

Setup DynDns With Cisco 1841 Router
My Router is not sending updates to the DYnDNS.org. I set it up, but when the ip address changes the router doesn't do anything here is what I have in my code:
ip ddns update method DYNDNS
 HTTP
  add http://username:password@members.dyndns.org/nic/updatesystem=dyndns&hostname=myhost.gotdns.com&myip=<a>
 interval minimum 0 1 0 0

Open in new window

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Istvan KalmarIstvan KalmarπŸ‡­πŸ‡Ί

HI,

Plese refer this page howto do it:

http://www.petri.co.il/csc_configuring_dynamic_dns_in_cisco_ios.htm

please configure update:

interval maximum 1 0 0 0

Best regards,
Istvan

Hi

what configuration do you have on the WAN interface?

Avatar of Istvan KalmarIstvan KalmarπŸ‡­πŸ‡Ί

nothing......

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Istvan KalmarIstvan KalmarπŸ‡­πŸ‡Ί

please di it step by step as the link said....

you'll need

1) in global configuration
ip domain name <your domain name>


2)
ip ddns update DYNDNS

3) your router will need a method of resolving "members.dyndns.org"

on the interface you want to perform dynamic dns.

4)
you can also perform a ddns debug with the following command.

deb ip ddns update

don't forget the "term mon" if you doing this from telnet or ssh otherwise you won't see the debug results.

My previous post is incorrect.

1) in global configuration
ip domain name <your domain name>

2)
ip ddns update DYNDNS
on the interface you want to perform dynamic dns.

3) your router will need a method of resolving "members.dyndns.org"

4)
you can also perform a ddns debug with the following command.

deb ip ddns update

don't forget the "term mon" if you doing this from telnet or ssh otherwise you won't see the debug results.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

Still does not work. Here is what I get after I turned on debug ip ddns update. Here are some odd things that I noticed; right after DATA START it sas abuse, what is that?
I also see Router.charter.com several times. My ISP is Charter, but what does that have anything to do with it.

MyRouter#
*Sep  7 19:44:20.279: DYNDNSUPD: Adding DNS mapping for Router.charter.com <=> 71.94.128.68
*Sep  7 19:44:20.279: HTTPDNS: Update add called for Router.charter.com <=> 71.94.128.68
*Sep  7 19:44:20.279: HTTPDNSUPD: Session ID = 0x1F
*Sep  7 19:44:20.279: HTTPDNSUPD: URL = 'http://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=emilgas.gotdns.com&myip=71.94.128.68'
*Sep  7 19:44:20.279: HTTPDNSUPD: Sending request
*Sep  7 19:44:20.567: HTTPDNSUPD: Response for update Router.charter.com <=> 71.94.128.68
 
*Sep  7 19:44:20.567: HTTPDNSUPD: DATA START
abuse
*Sep  7 19:44:20.567: HTTPDNSUPD: DATA END, Status is Response data recieved, successfully
*Sep  7 19:44:20.567: HTTPDNSUPD: Call returned SUCCESS for update Router.charter.com <=> 71.94.128.68
*Sep  7 19:44:20.567: DYNDNSUPD: Another update completed (outstanding=0, total=0)
*Sep  7 19:44:20.567: HTTPDNSUPD: Clearing all session 31 info
MyRouter#

Open in new window


Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

Ok don't worry about the abuse. I figured that one out. I had set the update interval for 30 seconds so I can constantly see the changes that I made. So the hostname was blocked for abuste. I just fixed it on DynDNS website.

Hi,

I think you need to substitute your username and password in the http URL. Did you create an account when you registered with dyndns.org?

Β 

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Which name are you trying to register?

ping emilgas.gotdns.com

Pinging emilgas.gotdns.com [71.94.128.68] with 32 bytes of data:

Reply from 71.94.128.68: bytes=32 time=221ms TTL=241
Reply from 71.94.128.68: bytes=32 time=226ms TTL=241
Reply from 71.94.128.68: bytes=32 time=213ms TTL=241
Reply from 71.94.128.68: bytes=32 time=212ms TTL=241

Ping statistics for 71.94.128.68:
Β  Β  Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Β  Β  Minimum = 212ms, Maximum = 226ms, Average = 218ms

Is the problem resolved?

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

well, I do have my username and password in the URL it just that I took it out before posting it. You got the reply back from emilgas.gotdns.com because I manually update the dns.
But here is what I got another abuse letter from dyndns because my router is trying to update frequently. So I know my router is doing what it is supposed to do, but not sure why it is not actually updating the DNS.
Humm.... something is wrong with their service and cisco

Avatar of Istvan KalmarIstvan KalmarπŸ‡­πŸ‡Ί

it is working with cisco, we use it, and it is working....

Good.

was ip ddns update DYNDNS missing from your WAN interface?

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Istvan KalmarIstvan KalmarπŸ‡­πŸ‡Ί

example:

ip ddns update method dyndns
Β HTTP
Β  add http://xxxx:yyyyy@members.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<a>
Β  remove http://xxxx:yyyyy@members.dyndns.org/nic/updatesystem=dyndns&hostname=<h>&myip=<a>
!

interface FastEthernet4
Β description outside interface
Β ip dhcp client update dns server none
Β ip ddns update dyndns

Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

No it was there. Whatever was mentioned above I had it. My problem is mysterious.
But I was missing the ? in the following line under IP DDNS UPDATE METHOD DYNDNS
add http://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=myhost.gotdns.com&myip=<a>

Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

I have one question for you
The last part of the url has hostname=<h>&myip=<a> right?
where does it get the <h> from? is it the hostname of the router that is specified by the hostname command or it is the ip domain-name command?
is it better to just but the hostname in the URL rather than <h>? For example
'http://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=emilgas.gotdns.com&myip=<a>

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


I think its what you specify with the following command on the interface

ip ddns update hostname example.dyndns.org

but I think you've hardcoded yours in the URL which is fine.

Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

I have ip ddns update dyndns statement under my interface just like Ikalmar mentioned above

You need both

ip ddns update hostname emilgas.gotdns.com
ip ddns update DYNDNS

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of rochey2009rochey2009

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of emilgasemilgasπŸ‡ΊπŸ‡Έ

ASKER

I have exactly like you have upthere, Except I changed the interval max and min to 7 0 0 0 for it to update at leaset once a week. Now how will my router know if the IP address changed? Usually it changes everytime you reload the router. Will the DynDNS method run everytime it has been reloaded.
Now I'm going to have to wait 7 days before I can actually see if it had been updated? Last time I set it to update every hour, and I got an abuse notification. LOL
The only confirmation I have is to look at the DynDns website directly to see when it actually got updated. (LOOK Below)

New-Picture.jpg

Every time your router gets a new dhcp lease it should send a dynamic dns update (and every seven days of course). Have you asked dyndns.org why your receiving the abuse message?

please can you post another debug.

thanks.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Q: What Is An Abusive Update?
A: Updates should only be performed when your IP address has changed. We allow users to modify or "touch" their host every 28 days to prevent their hosts from expiring. Everything else is abusive.

make sure you set your update intervals to 28 days

interval maximum 28 0 0 0
interval minimum 28 0 0 0
Routers

Routers

--

Questions

--

Followers

Top Experts

A router is a networking device that forwards data packets between computer networks. Routers perform the "traffic directing" functions on the Internet. The most familiar type of routers are home and small office cable or DSL routers that simply pass data, such as web pages, email, IM, and videos between computers and the Internet. More sophisticated routers, such as enterprise routers, connect large business or ISP networks up to the powerful core routers that forward data at high speed along the optical fiber lines of the Internet backbone. Though routers are typically dedicated hardware devices, use of software-based routers has grown increasingly common.