Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
Go to file
2012-09-30 13:39:42 -04:00
data Updated to the September 21 2012 version from http://someonewhocares.org/hosts/ 2012-09-28 15:53:36 -04:00
docs DOcs folder and first entry: hostsLocations.md 2012-04-12 16:47:09 -04:00
hosts Merge and deduce of all sources. Result: 22210 unique host entries. 2012-09-28 16:01:53 -04:00
readme.md Added a rfirst eadMe to the repo. 2012-09-30 13:39:42 -04:00

#Amalgamated hosts file

A hosts file, named hosts (with no file extension), is a plain-text file used by all operating systems to map hostnames to IP addresses.

In most operating systems, the hosts file is preferential to DNS. Therefore if a host name is resolved by the hosts file, the request never leaves your computer.

Having a smart hosts file goes a long way towards blocking malware, adware, and other irritants.

For example, to nullify requests to some doubleclick.net servers, adding these lines to your hosts file will do it:

# block doubleClick's servers
127.0.0.1 ad.ae.doubleclick.net
127.0.0.1 ad.ar.doubleclick.net
127.0.0.1 ad.at.doubleclick.net
127.0.0.1 ad.au.doubleclick.net
127.0.0.1 ad.be.doubleclick.net
# etc...

Source of host data amalgamated

Currently the hosts files from the following locations are amalgamated and de-duped to create one large consolidated hosts file.

Currently this hosts file contains 22210 unique entries.

Location of your hosts file

To modify your current hosts file, look for it in the following places:

Mac OS X, iOS: /etc/hosts

Windows: %SystemRoot%\system32\drivers\etc\hosts