The ipv6 host command configures an IPv6 static DNS entry.
The undo ipv6 host command deletes an IPv6 static DNS entry.
By default, no IPv6 static DNS entry is configured.
ipv6 host host-name ipv6-address [ vpn-instance vpn-instance-name ]
undo ipv6 host host-name [ ipv6-address [ vpn-instance vpn-instance-name ] ]
Parameter |
Description |
Value |
---|---|---|
host-name |
Specifies the host name. |
The value is a string of 1 to 255 case-sensitive characters without any space. The value must contain at least one letter, and can consist of letters, digits, hyphens (-), dots (.), and underscores (_). |
ipv6-address |
Specifies the IPv6 address mapping the host name. |
The value consists of 128 octets, which are classified into 8 groups. Each group contains 4 hexadecimal numbers in the format X:X:X:X:X:X:X:X. |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
The value must be an existing VPN instance name. |
Usage Scenario
When requesting the IPv6 address mapping a domain name, the DNS client searches for the specified domain name in the static DNS table to obtain the corresponding IPv6 address. The ipv6 host command configures an IPv6 static DNS entry.
Precautions
Each domain name supports a maximum of eight IPv6 addresses.