This is a good article on the subject:
http://www.sherylcanter.com/articles/oreilly_20040330_HostsPac.php

-----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 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 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.