|
|
Why do this?
I plead naivete -- it seems to me that the main benefits of this would be [a] managing a local network
and [b] providing caching/backup for DNS. I know there are better reasons, but I'm mostly unaware of them. The main reason I use the hosts file on my NT box (what? BSD-ness on NT? Ye gods! And
Sweet. Not what it's there for, I'm sure, but very nice all the same.
Here's my NT hosts file. It's the same format as it would be on any other system, so you should be
# Copyright (c) 1993-1995 Microsoft Corp.[NOTE: long list of hosts deleted; email babbage directly (by clicking on the linked username) if you'd like a copy of the whole file]. You get the idea. Any site you want to filter out, just add a line like "127.0.0.1 ads.offendingsite.com", and you'll never see it on a web page again, nicely replaced by (if you're running a local webserver) an easily ignored "404 not found" page.
CDDB/freedb and ad blocking tricks
What I would like to do is modify the way iTunes (and other programs) access the database
of song titles. There are instructions for doing so in OS 9.1 by playing with the hosts,
but no instructions for OS X, here:
http://www.cam.org/~cwatson/freedb/freedb.html
There are unix style hosts files for this CD trick that I will now be able to try with Mac OS X.
http://www.freedb.org/sections.php?op=viewarticle&artid=46
A list of ad domains for hosts files is maintained at:
http://www.ecst.csuchico.edu/~atman/spam/adblock.shtml
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.44 seconds |
|