In /etc/nsswitch.conf, which directive specifies which databases to search for host name lookups?
Answer: hosts
Explanation/Reference:
hosts defines where namelookup commands like hostname, will look for the information. The line in /etc/nsswitch.conf typically reads hosts: files dns which would indicate that first /etc/hosts would be searched for the hostname, and only then would a DNS-Server be contacted.