Mapping the Name of the Router to IP Addresses
While using the Domain Name System (DNS) is an easier and more scalable way to resolve IP addresses from hostnames, you might want to manually map the hostname to a static IP address for the following reasons:
You might not have a DNS entry for the device.
You might not want the computer to contact the DNS server to resolve a particular IP address—you might use this particular IP address frequently, or it might be just for testing or development purposes.
To map a device’s hostname to one or more IP addresses: