10-22-2012 02:01 PM - edited 03-04-2019 05:55 PM
Hello,
i have a cisco 892 router that is behind a NAT/ROUTER/DHCP device of the ISP.
i need to configure DDNS but i get a privat ip on the Cisco "WAN" interface.
i need a local ip/port to be available from the outside.
i have configured de ddns service methode (Dyndns)
ip ddns update method DynDNS
HTTP
add
interval maximum 28 0 0 0
interval minimum 28 0 0 0
and at the wan interface i use this ddns methode
ip ddns update hostname ###my-dyndns.dyndns.org
ip ddns update DynDNS
yes i use https, i have the encryption key instald.
PROBLEM: This wil send the private ip of de "wan" interface and that wil not work. <A> in de connection string wil be my private wan ip i get from the dhcp of the ISP .... ik can add a static rout on the ISP, but can not disable the router function (like bridging....)
Question: is it possible (with script or someting, MY IP LOOKUP) that the cisco router know's his real public ip, and that this ip is used to update Ddns ?
Solved! Go to Solution.
10-22-2012 02:07 PM
Do not send IP all all, remove myip= from string.
Dyndns will then use the source IP of the update received.
10-22-2012 02:07 PM
Do not send IP all all, remove myip= from string.
Dyndns will then use the source IP of the update received.
10-22-2012 02:15 PM
I will try this asap (day after tomoro i am at location)
i will keep you update.
thanks!!
10-31-2012 10:06 AM
i have try this, but in debug ip ddns updat i get following line.
Oct 31 17:02:09.718: DYNDNSUPD: Adding DNS mapping for MYHOSTNAME.dyndns.org <=> 192.168.0.245
Oct 31 17:02:09.718: HTTPDNS: Update add called for MYHOSTNAME.dyndns.org <=> 192.168.0.245
Oct 31 17:02:09.718: HTTPDNSUPD: Session ID = 0x54
Oct 31 17:02:09.718: HTTPDNSUPD: URL = 'https://USERID:PASSWORD@members.dyndns.org/nic/update?system=dyndns&hostname=MYHOSTNAME.dyndns.org'
Oct 31 17:02:09.718: HTTPDNSUPD: Sending request... status='Host name resolution failed', tid=0
i have change the interval max to 5 min (so that i can debug it)
11-01-2012 12:19 PM
Make sure you receive DSN server from ISP, or configure them manually, and have 'ip domain-lookup'.
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