The dns server ipv6 command configures the IPv6 address of a DNS server.
The undo dns server ipv6 command deletes the IPv6 address of a DNS server.
By default, no IPv6 addresses of DNS servers are configured.
dns server ipv6 ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ]
undo dns server ipv6 ipv6-address [ interface-type interface-number ] [ vpn-instance vpn-instance-name ]
Parameter |
Description |
Value |
---|---|---|
ipv6-address |
Specifies the IPv6 address for a DNS server. |
The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X. |
interface-type interface-number |
Specifies the type and number of an outbound interface that communicates with the DNS server. |
- |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
The value must be an existing VPN instance name. |
Usage Scenario
The DNS client must work with the DNS server to implement dynamic domain name resolution. You can run the dns server ipv6 command to specify the IPv6 address of the DNS server. The DNS client sends requests to the specified DNS server for domain name resolution.
During dynamic domain name resolution, the switch sends a domain name resolution request to the DNS servers according to the order in which they were configured. If the domain name resolution request on the first DNS server times out, the device sends the request to the next DNS server.
Precautions
The IPv6 address of the DNS server must be a global unicast address or link-local address.
A maximum of six DNS server IP (IPv4 and IPv6) addresses can be configured on the switch.
If vpn-instance vpn-instance-name is specified, the system sends domain name resolution requests only to the DNS servers bound to the specified VPN instance.