why /etc/hosts don't effect to my firefox on Ubuntu 10.04?

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?


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


Does your Firefox use proxy? /etc/hosts SHOULD effect your Firefox (I tested it). What is the result of pinging those addresses?