Cisco R&S: How to configure a Router to be a DNS server

Posted on Updated on


! Enable DNS  on the router

G00-2811-01(config)#ip dns server

! Enable dns spoofing

G00-2811-01(config)#ip dns spoofing

! Enable domain lookup

G00-2811-01(config)#ip domain-lookup

! Configure the external servers

ip name-server 195.5.128.130
ip name-server 195.5.128.137

! (Optional) Configure the domain name

G00-2811-01(config)#ip domain name me.com

! Configure the pool to use the routers sub interface as dns-server

G00-2811-01(config)#ip dhcp pool Guest_Pool
G00-2811-01(dhcp-config)#dns-server 10.1.1.254

! Verify the domain name

G00-2811-01#term mon
G00-2811-01#debug domain

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s