Introduction
When using Linux, especially in a virtual environment, often devops may face with a necessity of accessing its host by the name, not by IP address. The reason is clear: once a DHCP server leases a new IP address, you have to change your configuration.