Configuring the IPv6 Static Domain Name Resolution
Context
A static domain name resolution table is manually set up, describing the mappings between domain names and IPv6 addresses. Some common domain names are added to the table. Static domain name resolution can be performed based on the static domain name resolution table. To obtain the IPv6 address by resolving a domain name, the client searches the static domain name resolution table for the specified domain name. In this manner, the efficiency of domain name resolution is improved.
Procedure
- Run system-view
The system view is displayed.
- Run ipv6
The IPv6 function is enabled.
By default, a device is disabled from forwarding IPv6 unicast packets.
- Run ipv6 host host-name ipv6-address
IPv6 static DNS entries are configured.
By default, no IPv6 static DNS entry is configured.
Each domain name supports a maximum of eight IPv6 addresses.