Configure a Cisco router to use DNS

Home -> Networking -> Cisco -> Routers

22578 views

From the computer of: qmchenry (339 recipes)
Created: Jan 01, 2004


0 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

To configure a Cisco router to use the following DNS information:

DNS servers:
    10.12.20.53
    10.12.30.51
Primary domain name:
    tech-recipes.com
Search domains:
    life-recipes.com


use the following commands:

conf t
ip domain-lookup
ip name-server 10.12.20.53
ip name-server 10.12.30.51
ip domain-name tech-recipes.com
ip domain-list life-recipes.com
^Z


The domain-list command sets the primary domain name associated with your device. This domain name will be added to relatively qualified names (host name only searches) when performing DNS queries.

The domain-list command allows additional domain names to be searched with DNS queries.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Configure Cisco router as an NTP server
  Configure Cisco router to set time from NTP server
  Configure IGRP routing on a Cisco router
  Configure Cisco router as a basic DHCP server
  Configure RIP routing on a Cisco router
  OSPF Authentication on Cisco Routers
  Using reload to safely configure remote Cisco routers
  Assign or configure IP addresses on Cisco routers
  Configure EIGRP routing on a Cisco router
  Configure ATM on a Cisco Router

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.