cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
290
Views
0
Helpful
1
Replies

dns-server syntax / options

j_friedrich
Level 1
Level 1

Hi guys,

     I want to use the following for the dns-server option on the 2821.

Currently, I am trying to configure it as such:

dns-server 4.2.2.2 PPP GIG0/1

There is the GIG0/1 ISP IP, a L2TP link thru the Virtual-ppp1 interface.

Ideas?

Thx.

1 Reply 1

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Fred,

Try this kind of config.

Int Gi 0/1 WAN-outside
Int Gig0/0 LAN-inside

ip dhcp pool xyz
   network 192.168.5.0 255.255.255.0
   default-router 192.168.5.1
   dns-server 192.168.0.3 4.2.2.2
   domain-name noname.com

no ip domain lookup
ip domain name noname.com
ip name-server 4.2.2.2


interface GigabitEthernet0/1
ip address xxx.xxx.xxx.xxx(Provider ip) 255.255.255.0
ip nbar protocol-discovery
ip pim dense-mode
ip nat outside
duplex auto
speed auto
no cdp enable

interface GigabitEthernet0/0
ip address 192.168.0.245(LAN iP) 255.255.255.0
ip nbar protocol-discovery
ip nat inside
duplex auto
speed auto
no cdp enable

Note: these ip is for only for example.change accoring to yours.

Regards

please rate if it helps.

Review Cisco Networking products for a $25 gift card