Configuring static domain name resolution
Static domain name resolution allows applications such as Telnet to contact hosts by using host names instead of IPv4 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 IPv4 address. The most recent configuration for a host name takes effect.
You can configure the following:
IPv4 DNS entries for both public network and VPN instances.
A maximum of 1024 IPv4 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-IPv4 address mapping. | ip host host-name ip-address [ vpn-instance vpn-instance-name ] | By default, no host name-to-IPv4 address mappings exist. |