Home Cisco networking Cisco router Configure 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.

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

error: Content is protected !!