This is a good article on the subject:

-----Original Message-----
From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx]On
Behalf Of Walden H. Leverich
Sent: Tuesday, October 24, 2006 1:09 PM
To: PC Technical Discussion for iSeries Users
Subject: Re: [PCTECH] Use HOSTS file to block ad/mal wares?

Wow, I've never heard of this.  Do all browsers "refer" 
to the hosts file, or just IE? 

Hosts has nothing to do with the browser, but rather IP in general.
Before looking to DNS for a name-to-IP mapping the IP stack will look in
the hosts file. All this trick is doing is telling IP that the IP
address for is so the browser then asks
for the file instead of asking the "correct" server. 

Keep in mind though, this will effect your attempt to access anything on
that machine, not just the web, but for ad-blocking that's probably


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.