Configure a Cisco router to use DNS

Posted January 1, 2004 by Quinn McHenry in Cisco router

Last Updated on

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

DNS servers:
Primary domain name:
Search domains:

use the following commands:

conf t
ip domain-lookup
ip name-server
ip name-server
ip domain-name
ip domain-list

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.


About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply