DHCP C
OMMANDS
4-165

domain-name

Use this command to specify 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-3 2 characters)
Default Setting
None
Command Mode
DHCP Pool Configuration
Example

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
Console(config-dhcp)#domain-name sample.com
Console(config-dhcp)#