Linux – why /etc/hosts don’t effect to the firefox on Ubuntu 10.04

hosts-filelinuxUbuntu

I tried to block some hosts to load from them ads and scripts.
for example in /etc/hosts:

127.0.0.1 web-visor.com
0.0.0.0   c1.web-visor.com

Why after editing and saving the file, firefox (after restart) still load this sites (not from cache of course)?

My /etc/host.conf seems to search previously in hosts file

order hosts,bind
multi on

What's wrong?

Best Answer

host.conf is obsolete, look in nsswitch.conf .

Related Question