The ipv6 host command configures IPv6 static DNS entries.
The undo ipv6 host command deletes IPv6 static DNS entries.
By default, no IPv6 static DNS entry is configured.
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. |
Usage Scenario
When device functions as a DNS client and requests the IPv6 address mapping a domain name, the device searches for the specified domain name in the static DNS table to obtain the mapping IPv6 address. The ipv6 host command configures IPv6 static DNS entries.
Precautions
Each domain name supports a maximum of 1 IPv6 address.