Configure a Cisco router to use DNS

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: Cisco router  


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.

 

2 Comments -


  1. Anonymous said on February 3, 2010

    how to configure without any diagram ?

  2. Eliezer said on December 21, 2010

    thanks very much ;-)

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -