HomeCisco networkingCisco routerConfigure a Cisco router to use DNS

Configure a Cisco router to use DNS


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.

Quinn McHenry
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.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!