Command Manual – Network Protocol 
Quidway S8500 Series Routing Switches  Chapter 4  DHCP Configuration Commands
 
Huawei Technologies Proprietary 
4-5 
4.2.3  dhcp server dns-list 
Syntax 
In VLAN interface view: 
dhcp server dns-list ip-address [ ip-address ] 
undo dhcp server dns-list { ip-address | all } 
In system view: 
dhcp server dns-list ip-address [ ip-address ] { interface vlan-interface vlan-id [ to 
vlan-interface vlan-id ] | all } 
undo dhcp server dns-list { ip-address | all } { interface vlan-interface vlan-id [ to 
vlan-interface vlan-id ] | all } 
View 
VLAN interface view, system view 
Parameter 
ip-address: IP address of a DHCP server. You can specify up to eight IP addresses 
(separated by spaces) in one command. 
interface  vlan-interface  vlan-id [ to  vlan-interface  vlan-id ]: Specifies one VLAN 
interface, or a range of VLAN interfaces. 
all: Specifies all VLAN interfaces or all configured IP addresses. 
Description 
Use the dhcp server dns-list command to configure one or more DNS server 
addresses for the DHCP address pool of current VLAN interface, or for the DHCP 
address pool(s) of  the specified VLAN interface(s). 
Use the undo dhcp server dns-list command to remove one or more DNS server 
addresses configured for the DHCP address pool of current VLAN interface, or for the 
DHCP address pool(s) of the specified VLAN interface(s). 
By default, no DNS server address is configured. 
With eight DNS server addresses already configured, if you add a new DNS server 
address by executing the dhcp server dns-list command, the newly configured one 
overwrites the oldest one. 
Related command: dns-list. 
Example 
# Configure the DNS server address 1.1.1.254 for the DHCP address pool of VLAN 
interface 1. 
<Quidway> system-view