The dns-server command configures a DNS server address for the DHCPv6 address pool.
The undo dns-server command deletes the configured DNS server address.
By default, no DNS server address is configured for the IPv6 address pool.
Parameter |
Description |
Value |
---|---|---|
ipv6-address |
DNS server IPv6 address configured for the DHCPv6 address pool. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
Usage Scenario
The dns-server command is used on DHCPv6 servers. Before a host accesses the Internet, a DNS server needs to resolve the accessed domain name to an IP address. The DHCPv6 server needs to specify the IPv6 address of the DNS server for the global address pool so that the DHCPv6 client can be connected to the Internet. The DHCPv6 server specifies the IPv6 address of the DNS server when allocating IPv6 addresses to the clients.
Precautions