ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
48
| DHCP Commands
DHCP Server
– 1637
dns-server This command specifies 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)#
domain-name This command specifies the domain name for a DHCP client. Use the no
form to remove the domain name.
SYNTAX
domain-name domain
no domain-name
domain - Specifies the domain name of the client.
(Range: 1-32 characters)
DEFAULT SETTING
None
COMMAND MODE
DHCP Pool Configuration
EXAMPLE
Console(config-dhcp)#domain-name sample.com
Console(config-dhcp)#