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:
Each host name maps to only one IPv4 address. The most recent configuration for a host name takes effect.
You can configure a maximum of 1024 IPv4 DNS entries..
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 | By default, no host name-to-IPv4 address mappings exist. |