hosts.file The hosts file is a computer file used by an operating system to map hostnames to IP addresses. This method is one of several methods used by an operating system to locate network nodes on a computer network. Spybot Search and Destroy is using this technique when you click on immunize button behind the scene.

Found at http://someonewhocares.org/hosts/

Use this file to prevent your computer from connecting to selected internet hosts. This is an easy and effective way to

  • protect you from many types of spyware,
  • reduces bandwidth use,
  • blocks certain pop-up traps,
  • prevents user tracking by way of "web bugs" embedded in spam,
  • provides partial protection to IE from certain web-based exploits
  • blocks most advertising you would otherwise be subjected to on the internet.

There is a version of this file that uses 0.0.0.0 instead of 127.0.0.1 available at http://someonewhocares.org/hosts/zero/. On some machines this may run minutely faster, however the zero version may not be compatible with all systems.

This file must be saved as a text file with no extension. (This means it that the file name should be exactly as below, without a ".txt" appended.). Let me repeat, the file should be named "hosts" NOT "hosts.txt".

For Windows 9x and ME

place this file at "C:\Windows\hosts"

For NT, Win2K and XP

use "C:\windows\system32\drivers\etc\hosts" or "C:\winnt\system32\drivers\etc\hosts"

For Linux, Unix, or OS X place this file at "/etc/hosts". You will require root access to do this. Saving this file to "~/hosts" will allow you to run something like "sudo cp ~/hosts /etc/hosts".

Ubuntu

Users who experience trouble with apt-get should consult http://ubuntuforums.org/archive/index.php/t-613521.html

OS/2

Copy the file to "%ETC%\HOSTS" and in the CONFIG.SYS file, ensure that the line "SET USE_HOSTS_FIRST=1" is included.

BeOS / Zeta / Haiku

Place it at "/boot/beos/etc/hosts"

Netware system

The location is System\etc\hosts"

For Macintosh (pre OS X)

Place it in the Mac System Folder or Preferences folder and reboot. (something like HD:System Folder:Preferences:Hosts)

Alternatively you can save it elsewhere on your machine, then go to the TCP/IP control panel and click on "Select hosts file" to read it in.As well, note that the format is different on old macs, soplease visit http://someonewhocares.org/hosts/mac/ for mac format

If there is a domain name you would rather never see, simply add a line that reads "127.0.0.1 machine.domain.tld". This will have the effect of redirecting any requests to that host to your own computer. For example this will prevent your browser from downloading banner ads, or sendingyour information back to a company.

comments powered by Disqus

You might like also

I also get caught in the Spam infographics business
TechCrunch has an interesting article “the Truth about infographics” Turns out that those info graphics that are so popular these days are part of an incredibly sophisticated keyword-spamming operation! Which is convenient, because, honestly, we are all kind of getting a little tired of them. Technically, just add a rel="nofollow" to the href link provided (I change the link for Google Revenues Streams infographic) So that for sure my last info graphics published. But this one is really interesting. …
3236 Days ago
Next frontier Bank Scammers are now using Viadeo, LinkedIn and XING
Scam Money Transfers - Banks, Bank Managers They now create wrong account, with wrong titles and references just to cheat users. Then they send this kind of letter to users FROM; DR. BENJAMIN DEBRAH Hello Cédric Walter, I am DR. BENJAMIN DEBRAH a citizen of GHANA .I have in my bank the existence of a big amount of money that belongs to a customer, Mr. Daniel Walter and who happen to have the same surname as yours .The fund is …
3246 Days ago
I am a victim of HTTP Referrer attacks...
I look today at my statistics, trying to discover some strange URLs (maybe an attack, I recommend You to do it) or tracking Referrer of my visitors in order to see who is back linking me, or where someone is talking about me.I found 201 referrer coming from a famous hardcore movie site, 201? this is not a hazard. Going there for the sake of truth (;-)) I found that they are offering free porn images, video and I immediately …
4808 Days ago
Comment lutter contre le spam?
Definition: On défnit le spam comme étant l'envoi non solicité de mails à des centaines, des milliers ou des millions d'utilisateurs au hasard. Ces messages propose des biens matériels, des services financiers, des fichiers importants et même de la pornographie. Les technologies internet étant en perpétuelle évolution, le spam évolue en même temps. On a même vu des spammeurs attaquer des forums de discussions en y postant des messages sans rapport avec les sujets.Cette page va être constamment mise à …
5432 Days ago