cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3409
Views
0
Helpful
4
Replies

DDNS 892 router behind nat ISP

Yordi Mahieu
Level 1
Level 1

                   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

https://###login-name###:###pasword###@members.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<A>

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 ?

1 Accepted Solution

Accepted Solutions

paolo bevilacqua
Hall of Fame
Hall of Fame

Do not send IP all all, remove myip= from string.

Dyndns will then use the source IP of the update received.

View solution in original post

4 Replies 4

paolo bevilacqua
Hall of Fame
Hall of Fame

Do not send IP all all, remove myip= from string.

Dyndns will then use the source IP of the update received.

I will try this asap (day after tomoro i am at location)

i will keep you update.

thanks!!

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)

Make sure you receive DSN server from ISP, or configure them manually, and have 'ip domain-lookup'.

Review Cisco Networking for a $25 gift card