Configuring Static DNSv6 Entries
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 DNS server searches the static domain name resolution table. 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 host name can be mapped to eight IPv6 addresses.