HP VPN Firewall Appliances Network Management Command Reference
167
Syntax
dns-list ip-address&<1-8>
undo dns-list { ip-address | all }
Default
No DNS server address is specified.
Views
DHCP address pool view
Default command level
2: System level
Parameters
ip-address&<1-8>: Specifies DNS servers. &<1-8> means you can specify up to eight DNS server
addresses separated by spaces.
all: Specifies all DNS server addresses to be removed.
Usage guidelines
If you execute the dns-list command multiple times, the most recent configuration takes effect.
Examples
# Specify the DNS server address 10.1.1.254 for the DHCP client in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] dns-list 10.1.1.254
Related commands
• dhcp server ip-pool
• display dhcp server tree
domain-name
Use domain-name to specify a domain name in a DHCP address pool.
Use undo domain-name to remove the specified domain name.
Syntax
domain-name domain-name
undo domain-name
Default
No domain name suffix is specified.
Views
DHCP address pool view
Default command level
2: System level