Configuring static domain name resolution
Static domain name resolution allows applications such as Telnet to contact hosts by using host names instead of IPv6 addresses.
Follow these guidelines when you configure static domain name resolution:
For the public network or a VPN instance, each host name maps to only one IPv6 address. The most recent configuration for a host name takes effect.
You can configure the following items:
IPv6 DNS entries for both public network and VPN instances.
A maximum of 1024 IPv6 DNS entries for the public network or each VPN instance.
To configure static domain name resolution:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure a host name-to-IPv6 address mapping. | ipv6 host host-name ipv6-address [ vpn-instance vpn-instance-name ] | By default, no host name-to-IPv6 address mappings exist. |