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/hosts.conf seems to search previously in hosts file

order hosts,bind
multi on

What's wrong?

link|improve this question
feedback

migrated from stackoverflow.com Nov 20 '10 at 17:14

This question came from our site for professional and enthusiast programmers.

2 Answers

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

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown