dns-server
Syntax
dns-server ipv6-address
undo dns-server ipv6-address
View
DHCPv6 address pool view
Default level
2: System level
Parameters
ipv6-address: Specifies the IPv6 address of a DNS server.
Description
Use dns-server to specify a DNS server for the client.
Use undo dns-server to remove the specified DNS server.
No DNS server address is specified by default.
You can configure multiple DNS server addresses by using the dns-server command repeatedly.
The precedence of the specified DNS servers depends on the configuration sequence. The formerly specified DNS server takes precedence over the latter one.
NOTE: You can configure up to eight DNS servers in an address pool. | ||
Examples
# Specify the DNS server address to be assigned to the client as 2:2::3.
<Sysname> system-view [Sysname] ipv6 dhcp pool 1 [Sysname-dhcp6-pool-1] dns-server 2:2::3