How to find the hostname of an IP using /etc/hosts if it has the mapping on Linux?

Common DNS queries like ping will first get the IP of a hostname if it exists in /etc/hosts.

How to find the hostname of an IP using /etc/hosts if it has the mapping on Linux?

The host IP will skip the /etc/hosts as I tested.

asked Jun 8 by anonymous

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...