First: I have looked up my question on many sites on the Internet. I've even seen a couple that claimed to have found the 'fix'... but they didn't say what it was! :-(
I have set a few IPs that I use frequently into the hosts file - to save the 3-4 seconds resolution time on each lookup.
My problem is simply that the hosts file is not being read. Pinging always resolves via DNS. Anyone know where the problem lies?
I have checked the nsswitch.conf. All appears to be OK...
###
passwd: compat
group: compat
hosts: files mdns_minimal [NOTFOUND=return] dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files
bootparams: files
automount: files nis
aliases: files
###
###
Excerpt from hosts file...
###
###
173.194.112.149 mail.google.com googlemail.l.google.com
173.194.112.150 mail.google.com googlemail.l.google.com
173.194.113.85 googlemail.com
173.194.113.86 googlemail.com
213.57.23.15 google.com plus.google.com support.google.com www3.l.google.com
213.57.23.19 google.com plus.google.com support.google.com www3.l.google.com
###
Thanks for your help!
I have set a few IPs that I use frequently into the hosts file - to save the 3-4 seconds resolution time on each lookup.
My problem is simply that the hosts file is not being read. Pinging always resolves via DNS. Anyone know where the problem lies?
I have checked the nsswitch.conf. All appears to be OK...
###
passwd: compat
group: compat
hosts: files mdns_minimal [NOTFOUND=return] dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files
bootparams: files
automount: files nis
aliases: files
###
###
Excerpt from hosts file...
###
###
173.194.112.149 mail.google.com googlemail.l.google.com
173.194.112.150 mail.google.com googlemail.l.google.com
173.194.113.85 googlemail.com
173.194.113.86 googlemail.com
213.57.23.15 google.com plus.google.com support.google.com www3.l.google.com
213.57.23.19 google.com plus.google.com support.google.com www3.l.google.com
###
Thanks for your help!