Command Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 DHCP Configuration Commands
Huawei Technologies Proprietary
6-21
Description
Using the dns-list command, you can configure a list of DNS servers in a global DHCP
address pool. Using the undo dns-list command, you can remove one or all DNS
server addresses from the global address pool.
By default, no DNS server address is configured.
If you configure DNS server list for multiple times, the latest DNS server list replaces
the previous one.
For the related commands, see dhcp server dns-list and dhcp server ip-pool.
Example
# Assign the DNS server address 1.1.1.254 to global DHCP address pool 0.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-0] dns-list 1.1.1.254
6.2.19 domain-name
Syntax
domain-name domain-name
undo domain-name
View
DHCP address pool view
Parameter
domain-name: Domain name to be assigned to DHCP clients using the global DHCP
address pool, which is a string of 3 to 50 characters.
Description
Using the domain-name command, you can specify the domain name to be assigned
to clients using the DHCP address pool. Using the undo domain-name command, you
can delete the domain name configuration of the global DHCP address pool.
By default, no domain name is configured for clients.
For the related commands, see dhcp server ip-pool and dhcp server domain-name.
Example
# Specify “mydomain.com” as the domain name to be assigned to the clients using
global DHCP address pool 0.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-0] domain-name mydomain.com