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

Which interface for DDNS updates

idahomike55
Level 1
Level 1

I have an 1841 with an HWIC-1ADSL card.  I have the basic setup working and it passes traffic correctly from my internal network to the internet and back through a pfSense box.  When setting up other services such as dynamic DNS updates or VPN, I find tons of examples how but they mostly use ethernet interfaces in and out of the router. I have an ATM interface with a Dialer0 interface setup with all the pertinent connection info for my dynamic IP DSL service.  My question is when setting up some of these other features such as the DDNS updates do I configure that on the Dialer0 interface or the ATM0/0/0 interface?

Here is part of my config.  The first 2 lines under the Dialer0 section is what I'm wondering about.

interface FastEthernet0/0
ip address 10.10.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly
speed auto
full-duplex
no cdp enable
no mop enabled
!
interface FastEthernet0/1
ip address 10.10.1.1 255.255.255.0
duplex auto
speed auto
no cdp enable
!
interface ATM0/0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface Dialer0
ip ddns update hostname {HOSTNAME}.dyndns.org
ip ddns update myupdate
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
ppp chap hostname {USERNAME}
ppp chap password 0 {PASSWORD}
ppp pap sent-username {USERNAME} password 0 {PASSWORD}
ppp ipcp dns request accept

Thanks

1 Accepted Solution

Accepted Solutions

Hello,

as Deepak mentioned, the dialer is where the config goes. You obviously also need:

ip dns server
ip name-server 8.8.8.8
ip name-server 8.8.8.4
ip ddns update method dyndns
 HTTP
 add http://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<a>
 interval maximum 1 0 0 0

View solution in original post

4 Replies 4

Deepak Kumar
VIP Alumni
VIP Alumni

Configure on interface Dialer0. Your configuration is correct on right interface. There are some more commands on router "config mode". 

Regards,

Deepa Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thanks for your response, just wanted to make sure I was on the right track.

Hello,

as Deepak mentioned, the dialer is where the config goes. You obviously also need:

ip dns server
ip name-server 8.8.8.8
ip name-server 8.8.8.4
ip ddns update method dyndns
 HTTP
 add http://username:password@members.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<a>
 interval maximum 1 0 0 0

idahomike55
Level 1
Level 1

I had some of this but not the name server settings.

Thanks for the response

Review Cisco Networking for a $25 gift card