The method works great.  Been using it for months.  Some of the sites I block 
are:
127.0.0.1 ads.telegraph.co.uk
127.0.0.1 ad.uk.tangozebra.com
127.0.0.1 ds.serving-sys.com
127.0.0.1       a.tribalfusion.com
127.0.0.1       adfarm.mediaplex.com
127.0.0.1       s0b.bluestreak.com
127.0.0.1       ad.doubleclick.net
127.0.0.1       ad.ca.doubleclick.net
 
Neil Palmer, Cambridge, Ontario, Canada
 
(This account not monitored for personal mail,
remove the last two letters before @ for that)


----- Original Message ----
From: Walden H. Leverich <WaldenL@xxxxxxxxxxxxxxx>
To: PC Technical Discussion for iSeries Users <pctech@xxxxxxxxxxxx>
Sent: Tuesday, October 24, 2006 4:09:01 PM
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 www.myad.com is 127.0.0.1 so the browser then asks 127.0.0.1
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
fine.

-Walden




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2022 by midrange.com 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.