I can get mys hosts file entries to resolve and changes to the hosts file don't show up on nslookup. I'm running Ubuntu
Some search engine blogs are saying that the hosts file isn't checked by DNS lookups but that is exactly what I want it for.
So my nsswitch.conf.conf is
#hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
hosts: files dns
protocols: db files
services: db files
ethers: db files
rpc: db files
If I insert an entry into /etc/hosts; say
(in this instance the IP is non existant
** server can't find kvt: NXDOMAIN
I can ping the host entry kvt but nslookup or dig fails
to find it. This is extremely useful for local addresses but I am suspecting that Ubuntu and others have discontinued this. I really don't want to install my own DNS server.