You need a space in there between "127.0.0.1" and "ads.doubleclick.net". The line should read:

127.0.0.1 ads.doubleclick.net

Comments in the hosts file begin with '#'

There's a good site for pre-written hosts files:

http://winhelp2002.mvps.org/hosts.htm

Also contains a lot of troubleshooting information. Apparently Windows Vista and Windows 7 don't want to let you make changes to the hosts file.


From: Ecke PDML

In Windows, open C:\windows\system32\drivers\etc\hosts in notepad and
add a line that says 127.0.0.1ads.doubleclick.net then restart your
computer and links to that server will go straight to nirvana =)

2011/6/29 Bob Sullivan <[email protected]>:
> Bruce,
> Oh you gotta give us more details on that!
> Regards, ?Bob S.
>
> On Tue, Jun 28, 2011 at 7:07 PM, Bruce Walker <[email protected]> wrote:
>> On 11-06-27 1:09 PM, Tim Bray wrote:
>>>
>>> I just clicked on a PESO hosted on photo.net. ?It popped up an
>>> interstitial ad that I had to view or dismiss before I could see the
>>> picture. [...]
>>
>> I'm no fan of photo.net, but I've never seen these popups and I see very few
>> of the banner ads, so I've been a bit puzzled about all the fuss.
>>
>> So while looking at Dave Brooks' latest shots I investigated to see what was
>> happening -- of course! ?Years ago I configured my DSL router (pfSense) to
>> return "host not found" replies to all domain-name lookups for
>> doubleclick.net, which happens to cover the majority of ads at photo.net.
>> ?So no popups, and empty whitespace where the banner ads usually go for all
>> the computers in the house. ?DNS proxies are a wonderful thing. ;-)
>>


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1388 / Virus Database: 1516/3734 - Release Date: 06/29/11


--
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to