13.2. The /etc/host.conf file

You should also check that your /etc/host.conf file is correctly set up. This should look like
order hosts,bind
multi on

This tells the resolver to use information in the host file before it sends queries to the DNS for resolution.