Right now, on my Ubuntu 14.04 desktop, for testing purposes I've changed the /etc/hosts
file to something very simple:
127.0.0.1 localhost
127.0.0.1 something
However, this simple configuration fails to appear in a host
run:
$ host something
Host something not found: 3(NXDOMAIN)
host
doesn't use/etc/hosts
but only queries the DNS servers in/etc/resolv.conf
or given at the command line.