![Huawei Quidway S8500 Series Command Manual Download Page 230](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479230.webp)
Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-22
Field
Description
expired
The valid period of the leased IP addresses in the
address pool, including number of days, hours and
minutes
gateway-list
The list of outbound gateways configured for the DHCP
clients
dns-list
The list of DNS servers configured for the DHCP clients
domain-name
The domain name configured for the DHCP clients
nbns-list
The NetBIOS server configured for the DHCP clients
4.2.19 dns-list
Syntax
dns-list ip-address
[
ip-address
]
undo dns-list
{
ip-address
|
all
}
View
DHCP address pool view
Parameter
ip-address
: IP address of a DNS server. You can specify up to eight IP addresses
(separated by spaces) in one command.
all
: Specifies all configured DNS server IP addresses.
Description
Use the
dns-list
command to configure one or more DNS server IP addresses for a
global DHCP address pool.
Use the
undo dns-list
command to remove one or all DNS server IP addresses
configured for a global DHCP address pool.
By default, no DNS server IP address is configured for a global DHCP address pool.
With eight DNS server addresses already configured, if you add a new one by
executing the
dns-list
command, the new one overwrites the oldest one.
Related command:
dhcp server dns-list
,
dhcp server ip-pool
.
Example
# Configure a DNS server with an IP address of 1.1.1.254 for the global DHCP address
pool 0.
<Quidway> system-view