24-Port Layer 3 Switch Management Guide
C
OMMAND
L
INE
I
NTERFACE
4-108
dns-server
Use this command to specify the Domain Name System (DNS) IP servers
available to a DHCP client. Use the no form to remove the DNS server
list.
Syntax
dns-server address1 [address2]
no dns-server
• address1 - Specifies the IP address of the primary DNS server.
• address2 - Specifies the IP address of the alternate DNS server.
Default Setting
None
Command Mode
DHCP Pool Configuration
Usage Guidelines
• If DNS IP servers are not configured for a DHCP client, the client
cannot correlate host names to IP addresses.
• Servers are listed in order of preference (starting with address1 as the
most preferred server).
Example
Console(config-dhcp)#dns-server 10.1.1.253 192.168.3.19
Console(config-dhcp)#