Configuring Static Name Resolution
sudo vi /etc/hosts- Append a new line.
- Add the IP address of the host and the hostname.
- Add all of the hosts.
- For example
IP HOSTNAME.localnet.com HOSTNAME - Make sure the configuration is the same on all hosts.
sudo vi /etc/hostsIP HOSTNAME.localnet.com HOSTNAME