View Single Post
  #13 (permalink)  
Old 11-28-2008, 07:48 AM
Bill Brock Bill Brock is offline
Outstanding Member
 
Posts: 684
Default nsswitch.comf

As phoenix stated, for the DNS directive, "files" needs to come before "dns". This tells apps to look at the hosts file first before checking a DNS server.

Your host.conf file also needs an entry: order hosts, bind

Some software checks the host.conf and some look at the nsswtich.conf file.

Either way it is usually best for the hosts file to be queried before DNS.
Reply With Quote