Compare commits

...
512 Commits
Author SHA1 Message Date
Steven Black aed8c73822 Release 2.4.2 2019-05-04 22:44:20 -04:00
Steven Black 9cf32f6e57 Updates from tiuxo, yoyo.org, and Badd-Boyz. 2019-05-04 22:43:51 -04:00
Steven Black 5459f91833 Release 2.4.1 2019-05-02 10:55:11 -04:00
Steven Black 9d25326cf2 Updates from tiuxo, clefspeare13, yoyo.org, someonewhocares.org, KADhosts, CoinBlockerList, and Badd-Boyz. 2019-05-02 10:54:47 -04:00
Steven Black fffd9af405 Release 2.4.0 2019-04-25 16:48:39 -04:00
Steven Black c3118fcae2 Updates from fakenews, yoyo.org, someonewhocares.org, KADhosts, and Badd-Boyz. 2019-04-25 16:48:02 -04:00
Steven Black 192a4f7642 Merge pull request #962 from brianclemens/add_tiuxo_hosts
add a few hostlists
2019-04-25 10:45:02 -04:00
Brian Clemens 349980b6bd moved to own folder 2019-04-25 18:59:52 +09:00
Brian Clemens b41da035f3 add tiuxo hosts 2019-04-25 18:44:00 +09:00
Steven Black 41be41f1d0 Remove the .vscode folder, which has no business here. 2019-04-23 19:23:59 -04:00
Steven Black 6c8f725821 Release 2.3.13 2019-04-17 20:45:17 -04:00
Steven Black 16f2db0a19 Updates from sinfonietta, yoyo.org, someonewhocares.org, KADhosts, CoinBlockerList, and Badd-Boyz. 2019-04-17 20:44:13 -04:00
Steven Black a16298a3ff Merge pull request #952 from ddalex/master
Adding parentelement
2019-04-15 09:57:03 -04:00
Alex Damian c1cace3904 Adding parentelement
ParentElement.tk is a springboard that identifies the browser
and serves targeted malware. Managed to crash my iPad
2019-04-11 23:39:12 +01:00
Steven Black e61335f7e1 Release 2.3.12 2019-04-11 10:36:25 -04:00
Steven Black a4e65c93ec Updates from sinfonietta, yoyo.org, mvps.org, KADhosts, CoinBlockerList, and Badd-Boyz. 2019-04-11 10:36:07 -04:00
Steven Black 7f2152cde6 Release 2.3.11 2019-04-07 20:48:16 -04:00
Steven Black f4e81b3117 Updates from yoyo.org, KADhosts, and Badd-Boyz. 2019-04-07 20:47:56 -04:00
Steven Black 51d48d0e53 Release 2.3.10 2019-04-02 10:46:57 -04:00
Steven Black 1d3155a0b5 new data from yoyo.org, someonewhocares.org, KADhosts, and Badd-Boyz. 2019-04-02 10:46:35 -04:00
Steven Black fb14d572ef Adding ads30.adcolony.com, closes Issue #942. 2019-03-30 10:15:53 -04:00
Steven Black ad5ff07bf2 Release 2.3.9 2019-03-26 23:12:10 -04:00
Steven Black ff8739aad1 Updates from clefspeare13, yoyo.org, someonewhocares.org, someonewhocares.org, and KADhosts. 2019-03-26 23:11:36 -04:00
Steven Black ebecd49237 Release 2.3.8 2019-03-21 21:11:38 -04:00
Steven Black c3f0463d20 Updates from sinfonietta, clefspear13, yoyo.org, someonewhocares.org, KADhosts, Badd-Boyz, and add.Dead. 2019-03-21 21:11:03 -04:00
Steven Black d0c30e77a2 Merge pull request #933 from DanNixon/patch-1
Add misspelling of amazon.co.uk
2019-03-16 18:17:24 -04:00
Dan Nixon 159e14a156 Add misspelling of amazon.co.uk
Adds a potential misspelling of amazon.co.uk and some ad pages it redirects to.
2019-03-16 21:11:10 +00:00
Steven Black 46268431b4 Release 2.3.7 2019-03-15 17:59:01 -04:00
Steven Black b6d4ff5f25 Updates from sinfonietta, yoyo.org, someonewhocares.org, mvps.org, KADhosts, and Badd-Boyz. 2019-03-15 17:58:41 -04:00
Steven Black ca308932ce Release 2.3.6 2019-03-06 21:05:02 -05:00
Steven Black 34df0c48eb Updates from yoyo.org, someonewhocares.org, KADhosts, and BaddBoyz. 2019-03-06 21:04:42 -05:00
Steven Black b7d496e964 Release 2.3.5 2019-03-02 11:57:37 -05:00
Steven Black 64af8e1cfd Updates from yoyo.org, someonewhocares.org, and KADhosts. 2019-03-02 11:56:48 -05:00
Steven Black a79b8df37e Release 2.3.4 2019-02-24 23:44:12 -05:00
Steven Black e55afb8cb4 Updated from yoyo.org, someonewhocares.org, malwaredomainlist.com, and KADhosts. 2019-02-24 23:43:40 -05:00
Steven Black dcc5d6d1a7 Release 2.3.3 2019-02-18 13:55:27 -05:00
Steven Black cd4092a599 Updates from Clefspeare13, yoyo.org, mine, someonewhocares.org, KADhosts, CoinBlockerList, and add.Risk. 2019-02-18 13:55:04 -05:00
Steven Black a6d019d0cd Merge pull request #919 from ScriptTiger/master
IP Logger and URL Shortener Tracking Services
2019-02-12 23:56:12 -05:00
ScriptTiger 12f0710ea8 IP Logger and URL Shortener Tracking Services
Added domains associated with Grabify IP Logger (https://grabify.link/) and IP Logger URL Shortener (https://iplogger.org/)
2019-02-12 13:59:53 +08:00
Steven Black 70fbf2245c Release 2.3.2 2019-02-11 22:52:42 -05:00
Steven Black 7c02fb2e35 Updates from sinfonietta, clefspeare13, yoyo.org, someonewhocares.org, mvps.org, and KADhosts. 2019-02-11 22:52:23 -05:00
Steven Black c0dd835958 Release 2.3.1 2019-02-06 10:29:55 -05:00
Steven Black cc91583bc8 New data from yoyo.org, KADhosts, someonewhocares.org, and CoinBlockerList. 2019-02-06 10:29:32 -05:00
Steven Black 38b3de7a79 Release 2.3.0 2019-01-29 20:07:57 -05:00
Steven Black 97d3065543 Updates from KADhosts. 2019-01-29 20:06:00 -05:00
Steven Black 74c2bfbcbd Update release-it to version 10.0.7. 2019-01-29 20:03:25 -05:00
Steven Black 8a4d8b037d Merge pull request #905 from funilrys/issue-904
Fix issue when we meet something like `0.0.0.0 `.   Merging!  Closes #904.
2019-01-29 19:33:55 -05:00
funilrys 90420ae751 Fix issue when we meet something like 0.0.0.0
This patch fix StevenBlack/hosts#904
2019-01-30 01:08:59 +01:00
Steven Black 1da0da2882 Update release-it to v.10. 2019-01-26 10:54:17 -05:00
Steven Black 9175d957e0 Release 2.2.3 2019-01-26 10:51:06 -05:00
Steven Black b2caf0616f Updates from yoyo.org, someonewhocares.org, and KADhosts. 2019-01-26 10:50:40 -05:00
Steven Black c6fc7ddc8c Add four domains, closes #899 and #900. 2019-01-26 10:26:52 -05:00
Steven Black 45afdf0775 Release 2.2.2 2019-01-22 00:08:25 -05:00
Steven Black b60e9e03ce Updates from yoyo.org, and someonewhocares.org. 2019-01-22 00:08:04 -05:00
Steven Black 4d9b648691 Release 2.2.1 2019-01-13 23:05:31 -05:00
Steven Black 2daf2b0352 Updates from sinfonietta, and someonewhocares.org. 2019-01-13 23:04:44 -05:00
Steven Black 98e5b0a06e Happy new year. 2019-01-13 23:02:44 -05:00
Steven Black cc71463569 Merge pull request #887 from 0xflotus/patch-2
fixed existence in template
2019-01-13 22:57:05 -05:00
0xflotus b3fbc7c43e fixed existence in template 2019-01-14 00:46:06 +01:00
Steven Black dfe998b87f Issue #880: placing all the conviva domains together, for now. 2019-01-12 17:07:17 -05:00
Steven Black 9f374d10d0 Release 2.2.0 2019-01-10 10:55:42 -05:00
Steven Black 53148b6242 Update release-it to version 9.7.0. 2019-01-10 10:51:48 -05:00
Steven Black 3d192fb98c updates from someonewhocares.org. Dropping list by lightswitch05. 2019-01-10 10:46:44 -05:00
Steven Black 6e1c186f5e Merge pull request #882 from lightswitch05/remove-sentry.io
Removed my list from this project per #881
2019-01-10 10:39:32 -05:00
Daniel 6b06465bc8 Removed my list from this project per #881 2019-01-10 10:19:18 -05:00
Steven Black 3a84cf33f9 Merge pull request #877 from ghostduck/master
Specify encoding to UTF-8 when opening source file
2019-01-05 23:02:40 -05:00
Duck 5c69826a98 Change "utf8" to "UTF-8" in params for encoding in updateHostFile.py 2019-01-05 23:08:46 +08:00
Duck df29ed238f Specify encoding to UTF-8 when opening source file 2019-01-05 19:11:01 +08:00
Steven Black e9f696b935 Release 2.1.25 2019-01-04 20:43:08 -05:00
Steven Black 9febbba276 Updates from yoyo.org, someonewhocares.org, lightswitch05, and KADhosts. 2019-01-04 20:42:36 -05:00
Steven Black bcd66b2015 Remove cfvod.kaltura.com. This closes #802. 2018-12-31 15:11:40 -05:00
Steven Black 6671211fac Removing cdnapi.kaltura.com, closes Issue #870. 2018-12-31 14:23:38 -05:00
Steven Black 117034cada Release 2.1.24 2018-12-30 15:54:38 -05:00
Steven Black 420b104b35 Updating data from CoinblockerList, responding to Issue #869. 2018-12-30 15:54:20 -05:00
Steven Black 0d9c70300f Reverting the change introcuced in PR #868. This closes #869. 2018-12-30 15:51:49 -05:00
Steven Black a8c9fa0b34 Release 2.1.23 2018-12-29 18:57:09 -05:00
Steven Black f5a70c0f0c Updates from yoyo.org, someonewhocares.org, malwaredomainlist.com, lightswitch05, KADhosts, and CoinBlockerList. 2018-12-29 18:56:39 -05:00
Steven Black 5bd9e321d8 Merge pull request #868 from FadeMind/patch-2
CoinBlockerList: using main hosts file
2018-12-29 16:22:29 -05:00
FadeMind 9f571fd585 CoinBlockerList: using main hosts file
@StevenBlack  IMHO better is using main big hosts file for prevent cryptominers instead of basic browser hosts file (smaller). Works for me.
2018-12-29 21:52:34 +01:00
Steven Black 4f68efdeda Remove lepodownload.mediatek.com from my ad-hoc list. 2018-12-28 13:01:31 -05:00
Steven Black f604b1e7c4 Release 2.1.22 2018-12-23 21:13:22 -05:00
Steven Black cf12a5200c Updates from yoyo.org, someonewhocares.org, and lightswitch05. 2018-12-23 21:12:50 -05:00
Steven Black a87064b428 Merge pull request #864 from xetorixik/master
Telemetry - Office - November 2018 update
2018-12-23 21:07:47 -05:00
xetorixik 6392065518 Telemetry - Office - November update
Telemetry update from the Network requests in Office for Mac list.
2018-12-24 00:35:21 +01:00
Steven Black b6346cbf7a Update release-it to version 8.4.2. 2018-12-15 12:47:42 -05:00
Steven Black 0dd81a5cae Release 2.1.21 2018-12-15 12:46:38 -05:00
Steven Black b737ce3fd7 Updates from yoyo.org, and lightswitch05. 2018-12-15 12:46:15 -05:00
Steven Black 348f1a81fe Release 2.1.20 2018-12-11 11:33:22 -05:00
Steven Black bd93bc08e2 New updates from yoyo.org, someonewhocares.org, lightswitch05, KADhosts, and add.risk. 2018-12-11 11:33:07 -05:00
Steven Black 3f7bfc059b Add goooooooooogle.com, closes issue #851. 2018-12-09 17:15:45 -05:00
Steven Black 3a3d58b7ac Merge pull request #836 from spirillen/patch-1
Changes to the time.strftime to make it more accurate
2018-12-07 12:03:04 -05:00
spirillen ddf5a72906 Replaced (UTC) with %Z
I've changed as suggested in https://github.com/StevenBlack/hosts/pull/836#issuecomment-440452979 by @funilrys

The reason I choose NOT to convert this into ISO-8601 is, that we read date.time in different ways depending on with side on the pond we live. By using the "%d %B %Y %H:%M:%S (%Z)" Full date/time this issue is eliminated  and any confusion on how to read the date is no longer existent. The ISO-8601 is good for active pages, as the date ordering is to be manipulated by interface.

Alternative to this is we should add extra lines/info about the date.time ordering, do to this i found this as the easiest way to give this information
2018-12-07 14:31:52 +01:00
Steven Black 82e8febbe4 Removing secure.footprint.net. 2018-12-06 00:20:33 -05:00
Steven Black 55789a40bd Release 2.1.19 2018-12-04 08:59:40 -05:00
Steven Black f0a9692c17 Updates from yoyo.org, lightswitch05, and Badd-Boyz. 2018-12-04 08:59:19 -05:00
Steven Black 423cd3d152 Add popup site. 2018-12-01 13:12:08 -05:00
Steven Black 2c6b47fbd7 Upgrade the release-it package. 2018-11-29 23:19:20 -05:00
Steven Black 10bba14590 Release 2.1.18 2018-11-29 23:17:56 -05:00
Steven Black 1194e1cd1e Updates from sinfonietta, someonewhocares.org, lightswitch05, Badd-Boyz, and add.risk. 2018-11-29 23:17:36 -05:00
Steven Black 8f32865d24 Merge pull request #845 from matkoniecz/fix-gitignore
remove existing file from .gitignore
2018-11-27 08:59:54 -05:00
Mateusz Konieczny e26481d90c remove existing file from .gitignore
listing existing files in .gitignore has no effects
that are desirable

especially - modifications of tracked files listed in gitignore are not ignored

main effect is confusing people using code

fixes #660
2018-11-27 13:23:47 +01:00
Steven Black b1fad010a6 Release 2.1.17 2018-11-26 14:23:34 -05:00
Steven Black b59510383e Updates from sinfonietta, yoyo.org, someonewhocares.org, lightswitch05, Badd-Boyz, and add-risk. 2018-11-26 14:23:10 -05:00
Steven Black 9dca2bc2b7 Issue #844: partial fix – block misspelled Microsoft domains. 2018-11-26 14:10:27 -05:00
Steven Black 7c1d46b203 Release 2.1.16 2018-11-21 11:19:38 -05:00
Steven Black 8fed35b85c Updates from lightswitch05, and Badd-Boyz. 2018-11-21 11:19:12 -05:00
Steven Black 4e6e5eeded Merge pull request #840 from borisschapira/logout-host
Exclude massive logout sites
2018-11-21 11:13:25 -05:00
Boris SCHAPIRA 0935e6e7f3 Exclude massive logout sites 2018-11-21 16:39:49 +01:00
spirillen a2989eedc8 Changes to the time.strftime to make it more accurate
Since some host files might need to be updated more frequently it's more appropriate to show timezone and the exact time for last build, hince changed the order of month and date to %d %B
2018-11-20 23:19:19 +01:00
Steven Black e07dcb2431 Release 2.1.15 2018-11-20 11:47:42 -05:00
Steven Black 259a819cc1 Tweak package.json so release-it doesn't complain. 2018-11-20 11:47:26 -05:00
Steven Black c9a4a55fbb Remove pushargs key in release-it.json. 2018-11-20 11:39:36 -05:00
Steven Black 4b542d110c Release 2.1.15 2018-11-20 11:38:06 -05:00
Steven Black 8ad480cf8d Fix typo in .release-it.json. 2018-11-20 11:37:40 -05:00
Steven Black fb45bdd8aa Update release-it to version 8.0.0. 2018-11-20 11:35:35 -05:00
Steven Black f8bc74f89a Updates from yoyo.org, someonewhocares.org, malwaredomainlist.com, lightswitch05, KADhosts, and Badd-Boyz. 2018-11-20 11:27:05 -05:00
Steven Black 7f9281ce1a GPG sign release-it tags and pushes, too. See https://github.com/webpro/release-it#extra-arguments. 2018-11-17 14:52:55 -05:00
Steven Black 22e13de02b Release 2.1.14 2018-11-14 11:29:12 -05:00
Steven Black 46c5407bf1 Updates from sinfonietta, yoyo.org, someonewhocares.org, lightswitch05, KADHosts, CoinBlockerList, and Badd-Boyz. 2018-11-14 11:28:41 -05:00
Steven Black a60464a86d Add cradver.livejasmin.com. 2018-11-09 11:49:09 -05:00
Steven Black 0e91eae4b0 Add icloud.com-locations.in. This closes #817. 2018-11-06 15:40:38 -05:00
Steven Black db01feb59c Release 2.1.13 2018-11-02 14:14:57 -04:00
Steven Black e843392f27 updates from yoyo.org and lightswitch05. 2018-11-02 14:14:37 -04:00
Steven Black a02dfd85ef Release 2.1.12 2018-11-01 11:07:07 -04:00
Steven Black 9e46722317 Updates from yoyo.org, someonewhocares.org, lightswitch05, Badd-Boyz, add.risk, add-dead, and sinfonietta. 2018-11-01 11:05:37 -04:00
Steven Black a4036f856a Merge pull request #816 from anudeepND/master
New hotstar.com analytics
2018-11-01 10:27:48 -04:00
Steven Black 842195d6ec Merge pull request #821 from xstnztk/fixPythonVersion
Python version 3.5 sufficient
2018-11-01 10:26:30 -04:00
xstnztk fdfdefd176 Python version 3.5 sufficient
Python version 3.7 is actually not required for building one's own
hosts file. According to the CI configuration, any version >= 3.5
should work.

Tested with Python 3.6.6 on Ubuntu 18.04.
2018-11-01 13:06:21 +01:00
Anudeep 212c44fce0 Added hotstar.com analytics 2018-10-24 08:16:42 +05:30
Steven Black 101a5ee2ab Release 2.1.11 2018-10-23 09:36:40 -04:00
Steven Black 6559bbfea7 Updates from lightswitch05 and Badd-Boyz. 2018-10-23 09:36:20 -04:00
Steven Black 1671dda503 Release 2.1.10 2018-10-22 11:25:11 -04:00
Steven Black fd7e3e4cc7 updates from toto.org, someonewhocares.org, malwaredomainlist.com, lightswitch05, CoinBlockerList, Badd-Boyz, and add.2o7Net. 2018-10-22 11:24:49 -04:00
Steven Black 0cc023e709 Release 2.1.9 2018-10-14 22:33:30 -04:00
Steven Black 49f5a65c52 Updates from yoyo.org, someonewhocares.org, lightswitc05, and KADhosts. 2018-10-14 22:33:06 -04:00
Steven Black b3e159c16b Release 2.1.8 2018-10-09 22:02:39 -04:00
Steven Black 5bf352cdcb Updates from sinfonietta, someonewhocares.org, lightswitch05, Badd-Boyz, and add.Risk. 2018-10-09 22:02:14 -04:00
Steven Black 65b33c326f Merge pull request #796 from xetorixik/master
Telemetry - Windows 10 1803 - September update
2018-10-06 18:00:29 -04:00
xetorixik a9e25ffee4 Telemetry - Windows 10 1803 - September update
v10c.events.data.microsoft.com

New telemetry endpoint for Windows 10, version 1803, also known as Windows 10 April 2018 Update.
Since KB4458469 (September 2018 update) and higher.

As written: https://docs.microsoft.com/en-us/windows/deployment/update/windows-analytics-get-started
This one should be added immediately.
2018-10-06 02:33:09 +02:00
Steven Black ea78dd36c3 Release 2.1.7 2018-10-05 14:21:38 -04:00
Steven Black 5a544828c3 Updates from yoyo.org, someonewhocares.org, lightswitch05, KADhosts, Badd-Boyz, and add.Risk. 2018-10-05 14:21:10 -04:00
Steven Black b92fa130c5 Release 2.1.6 2018-10-02 09:36:11 -04:00
Steven Black f6d1272da0 updates from yoyo.org, someonewhocares.org, mvps.org, malwaredomainlist.org, lightswitch05.com, coinblockerlist.com, and Badd-Boyz. 2018-10-02 09:35:47 -04:00
Steven Black 38c342f7db Merge pull request #794 from JamesKingdom/patch-1
Add statful.com
2018-10-02 08:44:35 -04:00
James Kingdom 0a9a2a3b9d Add statful.com
(closes #637 )
2018-10-02 12:59:17 +01:00
Steven Black 904b878509 Merge pull request #793 from ScriptTiger/patch-1
Added some domains for BidGear
2018-10-01 09:58:57 -04:00
ScriptTiger 4a86a14cbb Added "media.complex.com" and "api.b2c.com" 2018-10-01 18:35:39 +08:00
ScriptTiger b2d3a88770 Added "track.adtrue.com" 2018-09-30 00:26:04 +08:00
ScriptTiger cce7500ac9 Added some domains for BidGear 2018-09-30 00:18:43 +08:00
Steven Black 1a6fd33e74 Release 2.1.5 2018-09-23 10:36:35 -04:00
Steven Black 498b7c1c9c Updates from sinfonietta, yoyo.org, someonewhocares.org, and lightswitch05. 2018-09-23 10:36:18 -04:00
Steven Black 7ee00ffb1f Release 2.1.4 2018-09-18 23:50:36 -04:00
Steven Black 1e9311b935 Updates from someonewhocares.org, lightswitch05, and Badd-Boyz. 2018-09-18 23:50:19 -04:00
Steven Black 26af6ba1db Adding myfrecams.com. 2018-09-18 14:54:49 -04:00
Steven Black ea7d542a14 Merge pull request #783 from 0xflotus/patch-2
fixed 'desirable'
2018-09-17 08:56:36 -04:00
0xflotus fc2b4b7e3a fixed 'desirable' 2018-09-17 13:56:44 +02:00
Steven Black 4e14e65647 Issue #774: fix – add adscan.yelabapp.com. 2018-09-16 12:03:51 -04:00
Steven Black c46bf451d1 Release 2.1.3 2018-09-16 11:56:40 -04:00
Steven Black 648df8f811 new data from yoyo.org, someonewhocares.org, and lightswitch05. 2018-09-16 11:56:14 -04:00
Steven Black 1553048103 Release 2.1.2 2018-09-13 19:05:51 -04:00
Steven Black 5f47f1ffe7 Updates from yoyo.org, someonewhocares.org, lightswitch05, KADhosts, CoinBlockerList, and Badd-Boyz. 2018-09-13 19:05:38 -04:00
StevenBlack 5774db32a8 Addition to #779 and #777: fix – update the reame template, documenting the flipped default for the -k flag. 2018-09-13 18:55:34 -04:00
Steven Black e909f8144e Merge pull request #779 from funilrys/issue-777
Fix of the extra line and the way we manage lines with comments at the end
2018-09-13 18:53:19 -04:00
funilrys c0d661f388 Review of the notion of keepdomaincomments
This patch fix StevenBlack/hosts#777

This patch:
  * Change the default state of keepdomaincomments.
    * Indeed, comments are now displayed by default.
    * But if you don't need comments, feel free to use the argument.
  * Delete the requirement input when calling the `-k` argument.
  * Update tests case regarding the new state of keepdomaincomments.
2018-09-14 00:15:56 +02:00
Steven Black 755fe082fa Merge pull request #778 from xetorixik/master
Analytics.ff.avast.com / CCleaner / Avast
2018-09-13 17:59:15 -04:00
xetorixik 1f62bc3778 Add analytics.ff.avast.com / CCleaner / Avast
Even though I opted for opt-out of analytics viewing data, usage is still being tracked.
As the "Help improve CCleaner by sending anonymous usage data" is automatically checked again at every restart.

This is confirmed by the firewall logs.
Therefore this one should be added immediately.

No host-block-list contains this analytics entry, hence this commit.
2018-09-13 23:50:00 +02:00
funilrys ec362d81c5 Deletion of the extra \n after each (and especially commented) line.
This patch partially fix StevenBlack/hosts#777 .
2018-09-13 09:17:45 +02:00
Steven Black 91b2240ff6 Release 2.1.1 2018-09-08 21:55:12 -04:00
Steven Black 13f1869d6e Configure release-it to sign its commits. 2018-09-08 21:54:58 -04:00
Steven Black 1a6c1fb55e Updates from yoyo.org, someonewhocares.org, lightswitch05, and Badd-Boyz. 2018-09-08 21:42:37 -04:00
StevenBlack ed6f65d970 Issue #733: fix – more robust if the .example files are missing. 2018-09-08 21:19:51 -04:00
Steven Black 429cc64f29 Merge pull request #772 from gfyoung/house-cleaning
Minor house-cleaning
2018-09-07 01:16:15 -04:00
gfyoung 92442955bc Minor house-cleaning
* No parentheses single-line string
* Remove builtins function, which was
really for Python 2.x compatibility
2018-09-06 21:12:48 -07:00
Steven Black 5ee118faf1 Release 2.1.0 2018-09-06 23:48:08 -04:00
Steven Black dda5b87192 Updates from lightswitch05. 2018-09-06 23:45:54 -04:00
Steven Black fc5e0640a7 Merge pull request #771 from gfyoung/python-support-docs
Update docs to say we support Python 3.5+
2018-09-06 23:42:35 -04:00
gfyoung e99c7bbf44 Update docs to say we support Python 3.5+
Python 3.5 and 3.6 are still alive and well supported.
2018-09-06 17:15:33 -07:00
Steven Black 275590fcbb Merge pull request #736 from gfyoung/copy-example-files
Use example files to allow proper git-ignoring
2018-09-06 16:07:29 -04:00
gfyoung d8df5f1dc4 Use example files to allow proper git-ignoring
The following files:

* myhosts
* blacklist
* whitelist

can be all be modified by the user for personal usage.
However, git is tracking these files since they exist
in the repository, which makes it difficult to do so
without accidentally pushing one's own customizations.

This commit converts those examples to ".example" files,
which serve as the defaults if one of the files listed
above does not exist.

Closes gh-144.
2018-09-06 12:20:37 -07:00
Steven Black fbbd071611 Release 2.0.0 2018-09-06 00:02:56 -04:00
Steven Black 3adadd9a9a Updates from sinfonietta, someonewhocares.org, MalwareDomainlist.com, lightswitch05, and Badd-Boyz. 2018-09-05 23:59:09 -04:00
Steven Black ad9c3c80b2 Add Python 3.7 requirement clarification to the readme_template. 2018-09-05 23:53:59 -04:00
funilrys 0d0ee1bcdc Deletion of mock as it is now built-in 2018-09-05 23:53:58 -04:00
funilrys 39e829b716 Introduction of python 3.7 into the CI tests
Signed-off-by: funilrys <contact@funilrys.com>
2018-09-05 23:53:58 -04:00
funilrys 0782145b8e Deletion of python2 related information 2018-09-05 23:53:58 -04:00
funilrys e2be45842b Deletion of unneeded comments 2018-09-05 23:53:58 -04:00
funilrys f54a27103c Exlicitly set the python interpreter to use 2018-09-05 23:53:58 -04:00
funilrys 9ef1e4a1fc Deletion of unneeded comment 2018-09-05 23:53:58 -04:00
StevenBlack 79e755b77d Remove a Python 3 reference since Python 3 is now explicitly rerquired. 2018-09-05 23:53:58 -04:00
StevenBlack 05e0e5baeb Update the reame_template for Python 3. 2018-09-05 23:53:57 -04:00
funilrys 7c2da6044e Deletion of unneeded comment 2018-09-05 23:53:57 -04:00
funilrys 782a178596 This patch fix https://github.com/StevenBlack/hosts/pull/730#discussion_r205657347 2018-09-05 23:53:57 -04:00
funilrys f5ef7e02d7 Fixing flake8 issues 2018-09-05 23:53:57 -04:00
funilrys e246960c43 Fixing flake8 issues 2018-09-05 23:53:57 -04:00
funilrys a49fc7af44 Deletion of sys as it is unuseed
Also:

  * Fixing flake8 issue
2018-09-05 23:53:57 -04:00
funilrys deed6786ef Fix syntax error produced by last commit 2018-09-05 23:53:57 -04:00
funilrys 62ccd5b084 Deletion of decode_line() as it is not required anymore in python 3
Also:
  * Deletion of any PY3 references
2018-09-05 23:53:57 -04:00
funilrys 58db5143ed Deletion of future dependencies
Also:
  * deletion of raw_input
2018-09-05 23:53:35 -04:00
funilrys d60754db68 Update of the version of beautifulsoup4 2018-09-05 23:53:34 -04:00
funilrys abeb28e6fa Deletion of mock as it is now built-inÃ. 2018-09-05 23:53:34 -04:00
funilrys 95529c9b1e Update of the version of lxml
This patch fix StevenBlack/hosts#751
2018-09-05 23:53:34 -04:00
funilrys edb4f57da4 Fix flake8 issue.
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:53:11 -04:00
funilrys eb37488a16 Sorting and update of imports && deletion of Python2 related logic
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:53:11 -04:00
funilrys bcb1434ecd Introduction of an exception saying that we do not support Python 2 anymore.
This patch is the begining of https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:52:15 -04:00
funilrys 11d8c064ac Deletion of unneeded comment 2018-09-05 23:51:29 -04:00
funilrys 52e25bf7b9 This patch fix https://github.com/StevenBlack/hosts/pull/730#discussion_r205657347 2018-09-05 23:51:29 -04:00
funilrys 4d6f1d9065 Fixing flake8 issues 2018-09-05 23:51:29 -04:00
funilrys 816bc35f99 Reformating of lint.sh as ${PYTHON_VERSION} should not have a 2.x version (cf: .travis.yml) 2018-09-05 23:51:29 -04:00
funilrys 6a28f41fdc Fixing flake8 issues 2018-09-05 23:51:29 -04:00
funilrys cce40a8cc4 Deletion of sys as it is unuseed
Also:

  * Fixing flake8 issue
2018-09-05 23:51:29 -04:00
funilrys 9cc719fd72 Fix syntax error produced by last commit 2018-09-05 23:51:29 -04:00
funilrys 4b92652576 Sorting of the dependencies 2018-09-05 23:51:28 -04:00
funilrys 4cd4b8167a Deletion of decode_line() as it is not required anymore in python 3
Also:
  * Deletion of any PY3 references
2018-09-05 23:51:28 -04:00
funilrys 1692f5b759 Sorting of the dependencies 2018-09-05 23:51:28 -04:00
funilrys 928bb5201c Deletion of future dependencies
Also:
  * deletion of raw_input
2018-09-05 23:51:28 -04:00
funilrys 8f9e80422b Update of the version of beautifulsoup4 2018-09-05 23:51:28 -04:00
funilrys ddf80f064b Deletion of mock as it is now built-inÃ. 2018-09-05 23:51:28 -04:00
funilrys 261555716e Update of the version of lxml
This patch fix StevenBlack/hosts#751
2018-09-05 23:51:28 -04:00
funilrys d93e67db63 Deletion of python 2 reference in the readme_template.md
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:51:27 -04:00
funilrys 03bc1636b2 Deletion of the Python 2 requirements.txt
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:51:27 -04:00
funilrys 8ebad236c6 Fix flake8 issue.
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:51:27 -04:00
funilrys d526f3356f Deletion of Python 2.7 from the CI tests.
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:51:27 -04:00
funilrys 05c2c6c825 Sorting and update of imports && deletion of Python2 related logic
This patch is related to https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:51:27 -04:00
funilrys 943d0d732d Introduction of an exception saying that we do not support Python 2 anymore.
This patch is the begining of https://github.com/StevenBlack/hosts/issues/729
2018-09-05 23:51:27 -04:00
Steven Black 1656df776a Release 1.4.49 2018-09-04 11:16:36 -04:00
Steven Black 38113e6a2a Updates from Sinfonietta, yoyo.org, someonewhocares.org, and Badd-Boyz. 2018-09-04 11:15:17 -04:00
Steven Black a7d0902868 Release 1.4.48 2018-08-29 22:55:10 -04:00
Steven Black 3fba2aad35 Updates from yoyo.org, someonewhocares.org, lightswitch05, KADhosts, CoinBlockerList, and Badd-Boyz. 2018-08-29 22:51:32 -04:00
Steven Black ec41eb1fa6 Release 1.4.47 2018-08-25 23:59:55 -04:00
Steven Black 521777278a Updates from lightswitch05 and CoinBlockerList. 2018-08-25 23:57:53 -04:00
Steven Black 2d160925f2 Release 1.4.46 2018-08-24 11:53:03 -04:00
Steven Black 7cebf12a27 Updates from yoyo.org, someonewhocares.org, lighswitch05, KADhosts, CoinBlockerList, and Badd-Boyz. 2018-08-24 11:52:32 -04:00
StevenBlack 02a4d1277c Issue #750: fix – Adjust the Ubuntu reset to . 2018-08-23 11:01:22 -04:00
Steven Black eb86def58a Release 1.4.45 2018-08-22 10:37:34 -04:00
Steven Black 5c4b50e643 Updates from someonewhocares.org, lightswitch05, KADhosts, and Badd-Boyz. 2018-08-22 10:37:13 -04:00
Steven Black b4c311de22 Release 1.4.44 2018-08-19 16:03:52 -04:00
Steven Black 96f0635ed0 Updates from sinfonietta, yoyo.org, someonewhocares.org, and lightswitch05. 2018-08-19 16:03:28 -04:00
StevenBlack efa9fbc9d0 Release 1.4.43 2018-08-13 20:36:46 -04:00
StevenBlack fb5493c22f Updates from yoyo.org, someonewhocares.org, lightswitch05, KADHosts, and CoinBlockerList. 2018-08-13 20:36:24 -04:00
StevenBlack 7a7becf136 Release 1.4.42 2018-08-08 23:21:21 -04:00
StevenBlack 724967eddb Updates from yoyo.org, somonewhocares.org, lightswitch05, KADhosts, and CoinBlockerList. 2018-08-08 23:20:47 -04:00
Steven Black 3360057708 Merge pull request #737 from gfyoung/skip-flake8-python2.x
Skip flake8 check on Python on 2.7
2018-08-08 23:08:14 -04:00
StevenBlack 9c91762543 Correct typo. This closes #738. 2018-08-08 10:21:50 -04:00
gfyoung a2a7d12448 Skip flake8 check on Python on 2.7
flake8 is broken with Python 2.7, but
we have all other builds linting, so
not an issue for us.
2018-08-07 00:14:56 -07:00
Steven Black 7a2ecfccff Merge pull request #743 from anudeepND/master
New phishing sites
2018-08-05 14:34:06 -04:00
Anudeep ecce205609 Added phishing sites 2018-08-05 22:53:37 +05:30
Steven Black 876fa2bc99 Merge pull request #738 from gfyoung/free-bsd-docs
Add docs for DNS cache for FreeBSD
2018-08-05 10:48:24 -04:00
gfyoung 8062b28490 Add docs for DNS cache for FreeBSD
Closes gh-157.
2018-08-03 10:43:37 -07:00
Steven Black 6553e70541 Release 1.4.41 2018-08-01 21:41:53 -04:00
Steven Black 2e885317c3 new data from someonewhocares.org, lightswitch05, and KADhosts. 2018-08-01 21:41:34 -04:00
StevenBlack a95434b646 Two new domains I have come across. 2018-08-01 16:43:40 -04:00
StevenBlack 59c2bd671e Normalize my hosts list to 0.0.0.0. 2018-08-01 16:42:14 -04:00
StevenBlack d0af61d0ef Release 1.4.40 2018-07-30 19:12:40 -04:00
StevenBlack f9d450d15b Updates from yoyo.org, someonewhocares.org, lightswitch05, and CoinBlockerList. 2018-07-30 19:10:05 -04:00
StevenBlack 158b9b5e81 Release 1.4.39 2018-07-26 15:08:42 -04:00
StevenBlack 1a1c2c9f7d Small tweak to the readme_template.md file. 2018-07-26 15:08:04 -04:00
StevenBlack b1e7107f03 Updates from yoyo.org, someonewhocares.org, and lightswitch05. 2018-07-26 15:06:21 -04:00
StevenBlack 78eed5ae2c Issue #729: fix - add a notice to the readme_template.md that we are soon dropping support for Python 2. 2018-07-26 15:04:29 -04:00
Steven Black 38432519c7 Merge pull request #726 from lightswitch05/feature/switch-to-https
Update malwaredomainlist and someonewhocares to use https.
2018-07-23 17:15:44 -04:00
Steven Black 5ada5a7725 Merge pull request #723 from anudeepND/master
New telemetry domains
2018-07-23 17:14:35 -04:00
Anudeep 78a7e0e92b Added talk99.cn domains
https://github.com/StevenBlack/hosts/issues/725
2018-07-23 21:18:53 +05:30
Daniel e4e0dd21f0 Update malwaredomainlist and someonewhocares to use https. 2018-07-23 09:57:12 -04:00
StevenBlack 699127b037 Release 1.4.38 2018-07-23 09:23:10 -04:00
StevenBlack a18189faf0 Updates from yoyo.org, someonewhocares.org, lightswitch05, KADhosts, CoinBlockerList, and Badd-Boyz. 2018-07-23 09:22:41 -04:00
Anudeep 4071af2e18 Removed analytics.twitter.com - already blocked 2018-07-20 20:10:40 +05:30
Anudeep b237a86ccf New telemetry domains 2018-07-20 20:05:55 +05:30
StevenBlack bb9a732aa1 Release 1.4.37 2018-07-16 20:53:49 -04:00
StevenBlack e75e4d483a Updates from yoyo.org, UncheckyAds, someonewhocares.org, lightswitch05, KADhosts, CoinBlockerList, and add.Spam, add.Risk, and add.Dead. 2018-07-16 20:53:29 -04:00
StevenBlack 74f7e979e5 Release 1.4.36 2018-07-11 23:56:48 -04:00
StevenBlack 92e25984e7 Updates from someonewhocares.org, mvps.org, lightswitch05, CoinBlockerList, and Badd-Boyz. 2018-07-11 23:56:28 -04:00
StevenBlack c164e687f6 Release 1.4.35 2018-07-09 20:53:23 -04:00
StevenBlack 8a1a4ad77f Updates from Sinfonietta, someonewhocares.org, and lightswitch05. 2018-07-09 20:53:02 -04:00
StevenBlack b8a9821a6e Release 1.4.34 2018-07-06 16:45:15 -04:00
StevenBlack 3f6b6ce2c6 Updates from yoyo.org, someonewhocares.org, lightswitch05, and CoinBlockerList. 2018-07-06 16:45:03 -04:00
Steven Black 66250c252d Release 1.4.33 2018-07-04 00:22:52 -04:00
Steven Black 849887a4df Updates from sinfonietta, and lightswitch05. 2018-07-04 00:22:31 -04:00
Steven Black 25832ebd85 Issue #701: fix - block the userstyles chrome extension. 2018-07-04 00:18:42 -04:00
Steven Black 39d68845b2 Merge pull request #702 from anudeepND/master
TVPage domains
2018-07-03 13:12:52 -04:00
Anudeep 9af70297dd Added tvpage domains 2018-07-03 20:06:48 +05:30
StevenBlack 2e59d4c900 Release 1.4.32 2018-06-30 10:09:23 -04:00
StevenBlack 1026878f04 New data from clefspeare13, yoyo.org, and lightswitch05. 2018-06-30 10:09:06 -04:00
StevenBlack f13f51831f www.bet365.com – scum site associated with FIFA 2018 streaming. 2018-06-30 10:07:05 -04:00
StevenBlack 4a46ca54fe Another scum site associated with FIFA 2018 streaming. 2018-06-30 10:05:59 -04:00
StevenBlack cf84dde588 More FIFA 2018 scum. 2018-06-28 15:30:58 -04:00
StevenBlack e5ff7316c4 Release 1.4.31 2018-06-28 14:36:24 -04:00
StevenBlack 6aec9a021e New data from sinfonietta, someonewhocares.org, lightswitch05, and CoinBlockerList. 2018-06-28 14:36:13 -04:00
StevenBlack eace7978b1 Release 1.4.30 2018-06-28 14:33:28 -04:00
StevenBlack a43b4dcdf0 FIFA 2018 scum. 2018-06-28 14:33:06 -04:00
Steven Black 7b9ee75cc3 Merge pull request #694 from EduardoBautista/patch-1
Mention that Hulu.com will be excluded if running --auto
2018-06-28 09:53:22 -04:00
Eduardo Bautista 28c8ebca1c Mention that Hulu.com will be excluded if running --auto 2018-06-28 02:09:46 -05:00
Steven Black c999983bee Merge pull request #680 from xetorixik/master
Update cws.conviva.com tracking method
2018-06-25 22:00:00 -04:00
xetorixik dc75f6deb9 Update commit
Update commit as discussed here https://github.com/StevenBlack/hosts/pull/680#issuecomment-399800313 and advised there: https://github.com/StevenBlack/hosts/pull/680#pullrequestreview-131409108
2018-06-26 03:46:18 +02:00
Steven Black e09b6c14b1 Release 1.4.29 2018-06-24 20:31:52 -04:00
Steven Black f7e978ec9e updates from yoyo.org, lightswitch05, and CoinBlockerList. 2018-06-24 20:31:36 -04:00
Steven Black 48c9f2ba3f Merge pull request #677 from anudeepND/master
Xiaomi tracking and suspicious domains
2018-06-24 20:14:27 -04:00
Steven Black 9452bda0c9 Merge pull request #682 from someonefamous/patch-2
Fix typos in readme template
2018-06-23 23:41:27 -04:00
someonefamous f96833b33b Fix typos in readme template
Fixes a couple of typos in readme (template), and updates 2 places that refer to the hosts file as a 'folder'.
2018-06-24 13:28:36 +10:00
xetorixik 637c2d9d98 Update cws.conviva.com tracking method
As shown at https://github.com/StevenBlack/hosts/pull/587 cws.conviva.com is already present.
The problem is that the conviva.com tracking method has changed so the blacklist should be changed.

Previously, cws.conviva.com tracked non-generic by cws.conviva.com.
This has changed to unique, specific via be43a77aab46b0546578grgrtgr3d4ba6506d488.cws.conviva.com (example).

Various programs like Ad-blockers have the possibility to use wildcards.
In order to keep it so generally working, it seems wise to block the entire domain.

I tested it with Horizon (local TV service provider), and even though I opted for opt-out of analitics viewing data, it is still being tracked.
Therefore this one should be added immediately.
2018-06-23 20:52:31 +02:00
Anudeep 429f0a324c Added flash.sec.intl.miui.com 2018-06-23 12:08:31 +05:30
Anudeep 7890e431bc Xiaomi tracking and suspicious domains 2018-06-23 12:00:32 +05:30
StevenBlack ada6d19216 Release 1.4.28 2018-06-20 10:23:23 -04:00
StevenBlack fbf299692a New data from someonewhocares.org, and lightswitch05. 2018-06-20 10:23:10 -04:00
StevenBlack 26d74f7537 Remove domains with invalid underscores in their names. This fixes #674. 2018-06-19 19:07:02 -04:00
StevenBlack 5e9ca3c8fd Release 1.4.27 2018-06-18 21:12:19 -04:00
StevenBlack 8645172583 New data from someonewhocares.org, and lightswitch05. 2018-06-18 21:11:53 -04:00
Steven Black 70a195a776 Merge pull request #671 from mebigfatguy/master
update readme to include instructions for clearing dns cache on Mint
2018-06-18 21:02:43 -04:00
Steven Black 2246df0c0b Merge pull request #672 from Edern76/patch-1
Added RedShell analytics domains to blocked hosts.
2018-06-18 16:35:25 -04:00
Dave Brosius e004045111 update readme to include instructions for clearing dns cache on Linux Mint 2018-06-18 14:53:12 -04:00
Gawein LE GOFF e8592cc019 Added RedShell analytics domains to blocked hosts. 2018-06-18 20:36:08 +02:00
StevenBlack cc797e202e Release 1.4.26 2018-06-17 23:42:41 -04:00
StevenBlack 5b6be38e65 Updates from Lightswitch05, and CoinBlockerList. 2018-06-17 23:42:20 -04:00
StevenBlack 8f11e312ba Nullifying commit 1d1c36cd of Issue #669. 2018-06-17 23:33:45 -04:00
Steven Black 0dc4df1f43 Merge pull request #669 from dnmTX/master
sub domains from: adsafeprotected.com|zeroredirect.com|amazon.com
2018-06-17 20:47:08 -04:00
dnmTX bf2b400122 Update hosts 2018-06-17 17:52:38 -05:00
dnmTX 1d1c36cd00 sub domains from: adsafeprotected.com | zeroredirect.com | amazon.com[in test] 2018-06-17 17:32:09 -05:00
Steven Black 016b40d4b5 Merge pull request #667 from dnmTX/master
exoclick.com
2018-06-17 00:04:06 -04:00
dnmTX 764e793661 ero-advertising.com -> missed one 2018-06-16 22:13:15 -05:00
dnmTX 9f902a3c2c Merge pull request #1 from dnmTX/dnmTX-#664
exoclick.com/extra
2018-06-16 16:53:36 -05:00
dnmTX fd417433a8 exoclick.com/extra
additional exoclick.com sub domains by @dnmTX (my first PR yo)
2018-06-16 16:52:18 -05:00
Steven Black 62b04203bb Release 1.4.25 2018-06-16 12:04:25 -04:00
Steven Black 3bce8ed7c9 Update from yoyo.org. 2018-06-16 12:04:10 -04:00
Steven Black 0596e830cf New domains provided by @dnmTX; this closes Issue #663. 2018-06-16 11:55:13 -04:00
StevenBlack cef806b626 Regenerate readme files. 2018-06-14 23:56:08 -04:00
StevenBlack 1ea3817b9a Add Pi-hole under 'Interesting Applications'. 2018-06-14 23:54:41 -04:00
StevenBlack ba01881b1a Regenerate the readme files. 2018-06-14 23:43:43 -04:00
StevenBlack 0998b9aeb4 Make the logo by @Tobaloidee a link to his profile page. 2018-06-14 23:42:40 -04:00
StevenBlack 8818d1a7ac Minor tweaks to the readme template. 2018-06-14 23:40:43 -04:00
StevenBlack 2dcdb268b5 Release 1.4.24 2018-06-14 23:37:22 -04:00
StevenBlack dfe127cd0f New release after removing connect.facebook.net from the default list. 2018-06-14 23:37:11 -04:00
StevenBlack 26d027d3ed Issue #656: fix – remove connect.facebook.net from the default list. 2018-06-14 23:33:55 -04:00
StevenBlack e494aa1666 Release 1.4.23 2018-06-14 19:09:45 -04:00
StevenBlack d3bb0edb1d New update from lightswitch05 to resolve issue with Fortnite. Also fix oversight that lightswitch05 raw host file itself was not previously included in the repo. 2018-06-14 19:09:29 -04:00
StevenBlack 05e4b61a26 Release 1.4.22 2018-06-14 14:19:33 -04:00
StevenBlack 3cc5aba515 New data from yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-06-14 14:19:01 -04:00
StevenBlack 52bcae8059 Two new ad servers. 2018-06-14 14:16:01 -04:00
StevenBlack ec87b11274 Unblock, reluctantly, g.alicdn.com. This closes #658. 2018-06-14 08:29:25 -04:00
Steven Black 33326817df Release 1.4.21 2018-06-10 14:45:04 -04:00
Steven Black d8fd3a142c New data from CoinBlockerList. 2018-06-10 14:44:51 -04:00
Steven Black fa43b98147 Merge pull request #652 from anudeepND/master
Domains related to notorious banking trojan called Emotet
2018-06-09 22:17:41 -04:00
Anudeep 14ed7d51e5 Added new domains 2018-06-09 20:40:19 +05:30
Steven Black 27873fc85b Merge pull request #651 from funilrys/issue.644
Introduction of `Start xx` and `End xxx`
2018-06-09 06:47:06 -04:00
funilrys 6de96c5537 Introduction of Start xx and End xxx
This patch fix #644
2018-06-09 11:35:48 +02:00
StevenBlack e39887e34f Release 1.4.20 2018-06-08 20:55:23 -04:00
StevenBlack 077fa888e1 New updates from sinfoniette, yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-06-08 20:55:11 -04:00
Steven Black 42e952be48 Merge pull request #648 from anudeepND/master
UC apps telemetry
2018-06-07 10:07:52 -04:00
Anudeep 2201c88702 Added new domains 2018-06-07 18:54:21 +05:30
StevenBlack 1b5463e974 Release 1.4.19 2018-06-05 21:19:34 -04:00
StevenBlack ac2d625581 New updates from someonewhocares.org, and CoinBlockerLists. 2018-06-05 21:19:14 -04:00
StevenBlack 9493415e2d CoinBlockerList has moved to Gitlab. This closes Issue #646. 2018-06-05 21:16:15 -04:00
Steven Black b3fc4c3c65 Remove vestigial folder. 2018-06-03 22:10:11 -04:00
StevenBlack 69924807cb Make the badges link to sensible destinations. 2018-06-02 17:32:17 -04:00
StevenBlack 29e66a9b68 Refresh the readme files. 2018-06-02 17:20:51 -04:00
StevenBlack d3fe8168fc Rearrange the badges into two rows. 2018-06-02 17:19:58 -04:00
StevenBlack fede90002a Release 1.4.18 2018-06-02 17:13:40 -04:00
StevenBlack 92f1446c22 Updates from sinfonietta, yoyo.org, and CoinBlockerList. 2018-06-02 17:13:18 -04:00
StevenBlack 284d90f7ce Badges are cool. 2018-06-02 17:11:30 -04:00
StevenBlack 798d7473ec Release 1.4.17 2018-05-30 09:59:11 -04:00
StevenBlack df17be0fe7 Updates from sinfonietta, yoyo.org, someonewhocares.org, and CoinBlockerList 2018-05-30 09:58:52 -04:00
Steven Black 485a73df23 Merge pull request #633 from lightswitch05/feature/lightswitch5-block-list
Include lightswitch05 hosts files list, adding 989 more domains.
2018-05-25 10:18:51 -04:00
Daniel White f8a737e5d6 Include lightswitch05 block list, adding 989 more domains. 2018-05-25 09:49:37 -04:00
Steven Black 7fc0c6b6b9 Merge pull request #632 from anudeepND/master
Android devices ship with pre-installed malware
2018-05-24 13:30:15 -04:00
Anudeep 9b1c91fdca Additional domains
Added pull-3045.kxcdn.com and abd.cosiloon.com
2018-05-24 19:07:36 +05:30
Anudeep 7c17cfdd6a Added new domains 2018-05-24 18:59:21 +05:30
Steven Black cf1b80ea0a Merge pull request #627 from gfyoung/centos-docs
Doc / Check for Centos restart
2018-05-23 10:10:05 -04:00
Steven Black 3cc43ce1ee Merge pull request #628 from ScriptTiger/patch-1
Corrected format of Rollbar domains
2018-05-23 10:08:54 -04:00
ScriptTiger 5cf4b15403 Corrected format of Rollbar domains
The black hole address was absent, causing the script to not read them.
2018-05-23 22:00:21 +08:00
gfyoung e66c2cb37e Doc / Check for Centos restart
Closes gh-622.
2018-05-22 21:53:56 -04:00
StevenBlack 2277d90944 Release 1.4.16 2018-05-22 15:03:48 -04:00
StevenBlack db89457f33 Updates from someonewhocares.org, and CoinBlockerList. 2018-05-22 15:03:28 -04:00
Steven Black 3bf5c1ee10 Merge pull request #626 from Tobaloidee/master
Updated the Readme.md and Uploaded the SVG & PNG files of the new LOGO
2018-05-22 11:29:51 -04:00
tobaloidee 3337e58575 delete new logo blank 2018-05-22 05:26:31 +08:00
tobaloidee 5d76a24c8e uploaded the new logo files
contains SVG & PNG files of the new logo
2018-05-22 05:25:44 +08:00
tobaloidee ea49c7396b Create new logo 2018-05-22 05:24:32 +08:00
tobaloidee 5bd39b2249 Updated with the new Logo 2018-05-22 05:23:52 +08:00
Steven Black 58b88cf090 Release 1.4.15 2018-05-19 21:38:36 -04:00
Steven Black e2611a5c8f Updates from sinfonietta, yoyo.org, someonewhocares.org, and Badd-Boyz. 2018-05-19 21:38:22 -04:00
Steven Black ddf16765a7 Merge pull request #623 from ScriptTiger/patch-1
Rollbar Error Tracking and Crash Reporting
2018-05-19 10:06:31 -04:00
ScriptTiger 5550a01187 Rollbar Error Tracking and Crash Reporting 2018-05-19 11:18:50 +08:00
Steven Black 7893ce8021 Merge pull request #620 from anudeepND/master
Kuik adware domains
2018-05-18 10:42:16 -04:00
Anudeep f9b72fd3c0 Added new domains 2018-05-18 11:52:40 +05:30
StevenBlack 5046fcd669 Release 1.4.14 2018-05-17 15:36:56 -04:00
StevenBlack 285365043c New data from someonewhocares.org, CoinBlockerList, and Badd-Boyz. 2018-05-17 15:36:41 -04:00
Steven Black 51e9797791 Merge pull request #614 from anudeepND/master
New ads and tracking domains
2018-05-17 15:26:03 -04:00
StevenBlack 15ec6d709d Issue #613: formatting – fix quotes so source doesn't mess with encoding. 2018-05-16 09:21:34 -04:00
Anudeep da0768877d Added new ads and tracking domains 2018-05-15 10:43:58 +05:30
StevenBlack 5270a43158 Release 1.4.13 2018-05-13 23:53:03 -04:00
StevenBlack bf54e0c276 Updates from malwaredomainlist.com and Badd-Boyz. 2018-05-13 23:52:53 -04:00
StevenBlack 10e61eaed9 Documentation: clarify the role of extensions, and how they work. 2018-05-13 23:46:22 -04:00
StevenBlack 9a890f0ec5 Add betpromo247.com. 2018-05-13 23:17:05 -04:00
Steven Black ba40722c3b Merge pull request #610 from xetorixik/master
Adservice.google.nl
2018-05-12 12:45:46 -04:00
xetorixik 23872cc343 Adservice.google.nl
Several country based ad sites are already blocked like adservice.google.com, adservice.google.com.au.
Found  a new one: adservice.google.nl
2018-05-12 17:49:44 +02:00
Steven Black 58eca74514 Release 1.4.12 2018-05-12 10:23:00 -04:00
Steven Black d86ddaaa2d Updates from Sinfonietta, yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-05-12 10:22:44 -04:00
StevenBlack 1736bed646 Release 1.4.11 2018-05-08 15:23:23 -04:00
StevenBlack ddf386757b Updates from yoyo.org, someonewhocares.org, CoinBlockerList, and Badd-Boyz. 2018-05-08 15:23:01 -04:00
StevenBlack bd870230f1 Release 1.4.10 2018-05-05 22:28:30 -04:00
StevenBlack aa60fb8642 Updates from sinfonietta, and yoyo.org. 2018-05-05 22:28:13 -04:00
StevenBlack 4715b0e388 Comment a plaintext line, see [this comment](https://github.com/StevenBlack/hosts/commit/2b54683feb3d0409b7ac7f205c46696afa73dfe3#r28856144). 2018-05-04 10:48:29 -04:00
Steven Black ab0473c8ae Merge pull request #599 from xetorixik/master
Telemetry - Office 2016
2018-05-04 00:03:59 -04:00
xetorixik 2b54683feb Telemetry - Office 2016
Telemetry endpoints for Office 2016.
As written: https://support.office.com/en-us/article/network-requests-in-office-2016-for-mac-afdae969-4046-44b9-9adb-f1bab216414b
This one should be added immediately.

Tested with Office 365 on Mac and Windows.
2018-05-03 21:48:21 +02:00
Steven Black 41aa1ed914 Release 1.4.9 2018-05-02 21:13:34 -04:00
Steven Black bc07cfbd1f Updates from yoyo.org, someonewhocares.org, and Badd-Boyz. 2018-05-02 21:13:23 -04:00
Steven Black a05416e0bb Merge pull request #598 from xetorixik/master
Telemetry - Windows 10 version 1803
2018-05-02 21:07:47 -04:00
xetorixik 81847b54b9 Telemetry - Windows 10, version 1803
New telemetry endpoint for Windows 10, version 1803, also known as Windows 10 April 2018 Update.
https://docs.microsoft.com/en-us/windows/deployment/update/windows-analytics-get-started
2018-05-02 06:07:33 +02:00
Steven Black 919d27acf2 Release 1.4.8 2018-04-30 19:48:53 -04:00
Steven Black fc3d0f4057 Updates from Sinfonietta, yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-04-30 19:48:32 -04:00
Steven Black f39bf5be42 Merge pull request #594 from anudeepND/master
New analytics sites
2018-04-29 10:20:21 -04:00
Anudeep bbe349083b Added new domains 2018-04-29 08:55:01 +05:30
Steven Black 266c8960e6 Release 1.4.7 2018-04-25 23:35:44 -04:00
Steven Black de06787f88 Updates from sinfonietta, CoinBlockerList, and Badd-Boyz. 2018-04-25 23:35:30 -04:00
StevenBlack 60504c50f1 Release 1.4.6 2018-04-24 11:37:51 -04:00
StevenBlack 1d8c05a7d3 Updates from someonewhocares.org. 2018-04-24 11:37:34 -04:00
StevenBlack e9401ae405 Add msmetrics.ws.sonos.com. 2018-04-24 11:35:59 -04:00
StevenBlack 8596b47922 Add camsoda.com. 2018-04-24 10:10:22 -04:00
Steven Black 7bd1c7d0a4 Merge pull request #588 from anudeepND/master
Block ads on Voot streaming app
2018-04-23 10:28:54 -04:00
Steven Black 7bf8472a21 Merge pull request #587 from xetorixik/master
Add cws.conviva.com
2018-04-23 10:27:55 -04:00
Steven Black e741b66879 Merge pull request #475 from paxperscientiam/patch-3
Phishy
2018-04-23 10:21:23 -04:00
Anudeep 99d493d7ce Block ads on Voot streaming app 2018-04-23 12:02:07 +05:30
xetorixik d06da2920e Add cws.conviva.com
Add cws.conviva.com Analytics Architecture.
A Unique Measurement and Analytics Architecture for the Next Generation of TV

Tested. Won't affects videos.
2018-04-22 23:47:30 +02:00
StevenBlack b7e0f2c3a5 Release 1.4.5 2018-04-22 15:29:13 -04:00
StevenBlack 335baaf59f New update, removed two brightcove domains. 2018-04-22 15:28:59 -04:00
StevenBlack ba4d54f1b7 Remove two brightcove.com domains. This closes Issue #585. 2018-04-22 15:24:04 -04:00
StevenBlack 24da1f0901 Release 1.4.4 2018-04-21 12:11:51 -04:00
StevenBlack 5483d5ae9c Updates from yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-04-21 12:11:22 -04:00
Steven Black 725d4560eb Merge pull request #581 from xetorixik/master
Windows 10 'Connected User Experience' Telemetry
2018-04-21 11:02:05 -04:00
xetorixik 932d8408e5 Update
Almost forgot 0.0.0.0.
Fixed.
2018-04-21 14:34:52 +02:00
Steven Black 1a94bea1dd Merge pull request #580 from anudeepND/master
New ad and telemetry sites
2018-04-20 22:53:53 -04:00
xetorixik 071284bdd5 Windows 10 'Connected User Experience' Telemetry
As written over here https://docs.microsoft.com/en-us/windows/configuration/configure-windows-diagnostic-data-in-your-organization and there https://docs.microsoft.com/en-us/windows/deployment/update/windows-analytics-get-started

Windows uses various domains for telemetry.
2018-04-21 03:27:21 +02:00
Anudeep 1e52f6dd0d Added new domains 2018-04-20 23:02:06 +05:30
Steven Black 6303ace670 Release 1.4.3 2018-04-19 14:43:13 -04:00
Steven Black ee54527421 Updates from Sinfonietta, clefspeare13, yoyo.org, someonewhocares.org, and Badd-Boyz. 2018-04-19 14:42:52 -04:00
Steven Black 025e1ed35c Merge pull request #577 from xetorixik/master
Analytics.publitas.com – closes #576.
2018-04-19 14:39:37 -04:00
xetorixik 2625171823 Analytics.publitas.com
Adding analytics.publitas.com as it is used as data Analytics.
Discussion > https://github.com/StevenBlack/hosts/issues/576
2018-04-19 19:58:45 +02:00
StevenBlack 62fb100d48 Release 1.4.2 2018-04-17 10:53:36 -04:00
StevenBlack 3ff9b5c452 Hosts updates from clefspeare13, sinfonietta, and yoyo.org. 2018-04-17 10:53:19 -04:00
StevenBlack 108555584f Release 1.4.1 2018-04-16 22:24:52 -04:00
StevenBlack 280e938a55 new data from yoyo.org, someonewhocares.org, mvps.org, CoinBlockerList, and Badd-Boyz. 2018-04-16 22:24:33 -04:00
StevenBlack c8ff0bfa8e Release 1.4.0 2018-04-16 22:21:46 -04:00
Steven Black 652e823938 Merge pull request #556 from FadeMind/patch-1
updateHostsFile.py: add new ipv6 variants
2018-04-16 22:17:12 -04:00
Steven Black 01d70f2abb Merge pull request #571 from anudeepND/master
Removed sentry.io
2018-04-16 22:13:47 -04:00
Anudeep 8986a9ad40 Removed sentry.io
https://github.com/StevenBlack/hosts/issues/568
2018-04-17 07:15:32 +05:30
StevenBlack c45cb1ae53 Issue #567: fix – add videoplayer.vice.technology. 2018-04-16 16:20:21 -04:00
StevenBlack 8c568bc05a Release 1.3.20 2018-04-12 16:59:49 -04:00
StevenBlack 565309e8c0 New data from StevenBlack, someonewhocares.org, and CoinBlockerList. 2018-04-12 16:59:39 -04:00
StevenBlack 70179819df New pop-under sites. 2018-04-12 16:56:44 -04:00
StevenBlack c767bedba3 Release 1.3.19 2018-04-08 23:50:35 -04:00
StevenBlack c65d0ef692 New data from someonehwocares.org, yoyo.org, and Badd-Boyz. 2018-04-08 23:49:42 -04:00
StevenBlack 757c1e52bf Issue #562: fix - remove rogue character in the hosts file. 2018-04-08 19:20:20 -04:00
Steven Black fc5f5557ee Merge pull request #561 from anudeepND/master
New telemetry sites
2018-04-07 17:50:13 -04:00
Anudeep eb0c76b8dd Added new domains 2018-04-08 00:04:46 +05:30
StevenBlack c07398b1e3 More yahoo finance domains. 2018-04-06 15:24:56 -04:00
StevenBlack dec690a35e Release 1.3.18 2018-04-06 15:02:48 -04:00
StevenBlack b31b83540c Updates from yoyo.org and Badd-Boyz. 2018-04-06 15:02:37 -04:00
StevenBlack f97f602826 Domains stinking up yahoo finance. 2018-04-06 15:00:39 -04:00
StevenBlack af887ab479 Release 1.3.17 2018-04-05 15:00:31 -04:00
StevenBlack 10cd3d05c5 New data from CoinBlockerList. 2018-04-05 15:00:08 -04:00
StevenBlack 2bf164cda7 Issue #552: fix – dropping the StreamingAds repo. This closes #552. 2018-04-05 14:58:02 -04:00
StevenBlack 5a715ba572 Release 1.3.16 2018-04-04 11:27:21 -04:00
StevenBlack e6fa849bb0 New data from yoyo.org, StevenBlack, someonewhocares.org, malwaredomainlist.com, and Badd-Boyz. 2018-04-04 11:27:11 -04:00
StevenBlack e2237a5950 Issue #558: fix - remove edge.api.brightcove.com. 2018-04-04 11:25:14 -04:00
Steven Black 7849fd6600 Merge pull request #557 from anudeepND/master
Blocked ads on Hotstar streaming apps
2018-04-03 09:05:37 -04:00
Anudeep 37ee6d1a0a Added hotstar ad domains 2018-04-03 12:26:33 +05:30
StevenBlack 251a52abbe Release 1.3.15 2018-04-02 21:18:04 -04:00
StevenBlack ac9c8c9aa0 New data from someonewhocares.org and CoinBlockerList. 2018-04-02 21:17:48 -04:00
StevenBlack 9c36f3cda7 Dropping Tyzbit repo. This closes Issue #555. 2018-04-02 21:16:31 -04:00
FadeMind d7e29d9289 updateHostsFile.py: add new ipv6 variants
Based on someonewhocares.org hosts schema
2018-04-02 19:07:56 +02:00
StevenBlack 3a69edfe6a Release 1.3.14 2018-04-02 12:42:23 -04:00
StevenBlack d86022e091 New data from several sources – StreamingAds, someonewhocares.org, CoinBlockerlist, Badd-Boyz, and others. 2018-04-02 12:41:07 -04:00
StevenBlack 464b3abe67 Adding asap.sharethrough.com 2018-04-02 12:21:27 -04:00
StevenBlack 4193015544 Release 1.3.13 2018-03-30 10:43:48 -04:00
StevenBlack 50322ca0d8 New data from yoyo.org, StreamingAds, and malwaredomainlist.com. 2018-03-30 10:43:38 -04:00
StevenBlack 0602177e28 Release 1.3.12 2018-03-29 15:40:14 -04:00
StevenBlack deaddff979 Updates from fakenews, yoyo.org, someonewhocares.org, and malwaredomainlist.com. 2018-03-29 15:39:58 -04:00
StevenBlack 59a924626e Release 1.3.11 2018-03-28 23:05:00 -04:00
StevenBlack 9fe6f6f9bd New data from yoyo.org, someonewhocares.org, CoinBlockerList, and add.Risk. 2018-03-28 23:04:28 -04:00
StevenBlack bfcb52f8f8 Add the StreamingAds repo to our data sources. 2018-03-28 23:02:27 -04:00
StevenBlack 01f4fb8eba Release 1.3.10 2018-03-26 20:02:40 -04:00
StevenBlack 181a062b78 New data from yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-03-26 20:02:17 -04:00
StevenBlack 5e80691abe Release 1.3.9 2018-03-24 10:53:06 -04:00
StevenBlack 753ffb17f9 New data from yoyo.org. 2018-03-24 10:52:25 -04:00
StevenBlack bf17d63023 Dropping the bjornstar source until we can sort fringe issues. 2018-03-24 10:45:17 -04:00
StevenBlack 6a64f1e8f4 Release 1.3.8 2018-03-23 15:50:17 -04:00
StevenBlack 3928137f94 New data from tyzbit and yoyo.org. 2018-03-23 15:49:27 -04:00
StevenBlack ef2117e284 Release 1.3.7 2018-03-23 11:34:10 -04:00
StevenBlack ba10e05a8e New data from yoyo.org and tyzbit. 2018-03-23 11:33:14 -04:00
StevenBlack aca5d14bea New data from bjornstar. 2018-03-23 11:31:32 -04:00
Steven Black fee3bc905c Merge pull request #545 from tyzbit/tyzbit-gist-source
Re-Source and Update Tyzbit Hosts list
2018-03-23 11:30:05 -04:00
Steven Black 6675018ba2 Merge pull request #546 from FadeMind/master
bjornstar hosts init merge.  This closes #543
2018-03-23 11:19:55 -04:00
fademind 80d14b5fd5 bjornstar hosts init merge 2018-03-23 16:15:56 +01:00
tyzbit d04492f032 re-source and update tyzbit hosts 2018-03-23 10:49:15 -04:00
tyzbit f9368580f1 Merge pull request #2 from StevenBlack/master
Sync from master
2018-03-23 10:46:26 -04:00
StevenBlack b0d518ab0b Release 1.3.6 2018-03-22 20:39:58 -04:00
StevenBlack 6ae2923c7e new data from yoyo.org, CoinBlockerList, and Badd-Boyz. 2018-03-22 20:38:52 -04:00
StevenBlack cd19ae4915 Release 1.3.5 2018-03-20 18:00:52 -04:00
StevenBlack fa1dc03636 New data from CoinBlockerList. 2018-03-20 18:00:09 -04:00
StevenBlack 774c9fefd1 Issue #234: adding taboola ad domains. 2018-03-20 17:58:06 -04:00
StevenBlack e62a580867 Release 1.3.4 2018-03-19 23:50:56 -04:00
StevenBlack 8a2a6f8ce5 New data from yoyo.org, someonewhocares.org, and CoinBlockerList. 2018-03-19 23:50:09 -04:00
StevenBlack a5142db731 Our Flake8 linter's max-line-length constraint is now 120, so taking advantage of that. 2018-03-19 23:48:22 -04:00
StevenBlack 494c14f6e6 Add link to Releases on Github in our generated hosts. Closes #524 2018-03-19 23:47:25 -04:00
Steven Black 5b99de074a Invoke flake8 linter via command-line switches. 2018-03-17 23:41:50 -04:00
Steven Black 0a42c21c13 Fix lint issue. 2018-03-17 23:41:24 -04:00
Steven Black 2eb73c3606 Add .flake8 config file, with a more relaxed line length. 2018-03-17 23:34:10 -04:00
Steven Black 7c79fa7f2f Fixes for linting errors. 2018-03-17 23:33:44 -04:00
Steven Black ba58ddb4b2 Updated readme files. 2018-03-17 23:17:33 -04:00
Steven Black 9d55b3297a Changes to update.json files to take up less horizontal space in readme tables. 2018-03-17 23:16:37 -04:00
Steven Black 8a5aed4648 Release 1.3.3 2018-03-17 23:07:09 -04:00
Steven Black c580c8f559 New data from yoyo.org. 2018-03-17 23:06:02 -04:00
Steven Black f83a5311ab Include source data issues links to help folks to report problems. 2018-03-17 23:04:57 -04:00
Chris 3c0bba41e1 updated per scriptiger
Thanks @ScriptTiger
2018-02-25 23:54:59 -05:00
Chris 2b3a27dbc7 Phishy
Presently, `http://play.ceromobi.club/raffle/en/vs2-opt/index.html` will present you with a phony facebook game. Actually, I just one $1000.

It then directs you to another domain: `consumerproductsusa.com`. After submitting an email address, it then took me to `amarktflow.com`.

In response, I got this charming response (LOL): `https://www.dropbox.com/s/u0jy0xtm1cdjsfd/Screenshot%202018-01-20%2012.38.54.png?dl=0`

It's gets scammier after that.

What do you know about those other two domains?
2018-01-20 12:41:45 -05:00
tyzbit 459ccd9540 Merge pull request #1 from StevenBlack/master
Catching up with master
2016-06-08 19:00:15 -04:00
86 changed files with 220187 additions and 492167 deletions
-1
View File
@@ -4,7 +4,6 @@ myhosts
blacklist
whitelist
readmeData.json
hosts
hosts-*
/web.config
/__pycache__
+3 -1
View File
@@ -1,6 +1,8 @@
{
"src": {
"tagName": "v%s"
"tagName": "v%s",
"commitArgs": "-S",
"tagArgs": "-S"
},
"github": {
"release": true
+1 -1
View File
@@ -18,9 +18,9 @@ os:
- osx
env:
- PYTHON_VERSION="2.7"
- PYTHON_VERSION="3.5"
- PYTHON_VERSION="3.6"
- PYTHON_VERSION="3.7"
before_install:
- export PATH="$HOME/miniconda3/bin:$PATH"
File diff suppressed because it is too large Load Diff
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, gambling, porn, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 68,911 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 58,027 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,58 +60,62 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -102,10 +123,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -132,9 +149,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -210,11 +226,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -259,9 +275,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -322,7 +338,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -332,6 +350,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -378,6 +413,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
File diff suppressed because it is too large Load Diff
+102 -66
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, gambling, porn extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 67,764 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 55,740 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,57 +60,60 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -101,10 +121,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -131,9 +147,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -209,11 +224,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -258,9 +273,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -321,7 +336,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -331,6 +348,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -377,6 +411,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
File diff suppressed because it is too large Load Diff
+100 -64
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, gambling, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 59,373 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 44,483 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,55 +60,58 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -99,10 +119,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -129,9 +145,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -207,11 +222,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -256,9 +271,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -319,7 +334,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -329,6 +346,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -375,6 +409,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
File diff suppressed because it is too large Load Diff
+98 -63
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, gambling extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 58,226 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 42,195 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,54 +60,56 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -98,10 +117,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -128,9 +143,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -206,11 +220,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -255,9 +269,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -318,7 +332,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -328,6 +344,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -374,6 +407,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
File diff suppressed because it is too large Load Diff
+103 -66
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, porn, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 67,399 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 55,759 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,57 +60,61 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -101,10 +122,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -131,9 +148,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -209,11 +225,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -258,9 +274,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -321,7 +337,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -331,6 +349,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -377,6 +412,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+14245 -29623
View File
File diff suppressed because it is too large Load Diff
+101 -65
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, porn extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 66,252 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 53,472 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,56 +60,59 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -100,10 +120,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -130,9 +146,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -208,11 +223,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -257,9 +272,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -320,7 +335,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -330,6 +347,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -376,6 +410,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
File diff suppressed because it is too large Load Diff
+99 -63
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 57,861 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 42,215 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,54 +60,57 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -98,10 +118,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -128,9 +144,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -206,11 +221,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -255,9 +270,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -318,7 +333,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -328,6 +345,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -374,6 +408,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+8438 -27814
View File
File diff suppressed because it is too large Load Diff
+97 -62
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with fakenews extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 56,714 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 39,927 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,53 +60,55 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -97,10 +116,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -127,9 +142,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -205,11 +219,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -254,9 +268,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -317,7 +331,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -327,6 +343,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -373,6 +406,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
File diff suppressed because it is too large Load Diff
+103 -66
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with gambling, porn, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 68,238 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 57,357 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,57 +60,61 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -101,10 +122,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -131,9 +148,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -209,11 +225,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -258,9 +274,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -321,7 +337,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -331,6 +349,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -377,6 +412,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+15002 -29623
View File
File diff suppressed because it is too large Load Diff
+101 -65
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with gambling, porn extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 67,091 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 55,070 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,56 +60,59 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -100,10 +120,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -130,9 +146,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -208,11 +223,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -257,9 +272,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -320,7 +335,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -330,6 +347,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -376,6 +410,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+10637 -28131
View File
File diff suppressed because it is too large Load Diff
+99 -63
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with gambling, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 58,700 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 43,813 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,54 +60,57 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -98,10 +118,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -128,9 +144,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -206,11 +221,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -255,9 +270,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -318,7 +333,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -328,6 +345,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -374,6 +408,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+9197 -27816
View File
File diff suppressed because it is too large Load Diff
+97 -62
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with gambling extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 57,553 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 41,525 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,53 +60,55 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -97,10 +116,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -127,9 +142,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -205,11 +219,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -254,9 +268,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -317,7 +331,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -327,6 +343,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -373,6 +406,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+15679 -29930
View File
File diff suppressed because it is too large Load Diff
+102 -65
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with porn, social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 66,726 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 55,089 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,56 +60,60 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -100,10 +121,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -130,9 +147,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -208,11 +224,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -257,9 +273,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -320,7 +336,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -330,6 +348,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -376,6 +411,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+14240 -29615
View File
File diff suppressed because it is too large Load Diff
+100 -64
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with porn extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 65,579 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 52,802 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,55 +60,58 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -99,10 +119,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -129,9 +145,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -207,11 +222,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -256,9 +271,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -319,7 +334,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -329,6 +346,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -375,6 +409,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+9875 -28123
View File
File diff suppressed because it is too large Load Diff
+98 -62
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with social extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 57,188 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 41,545 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,53 +60,56 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -97,10 +117,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -127,9 +143,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -205,11 +220,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -254,9 +269,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -317,7 +332,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -327,6 +344,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -373,6 +407,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
View File
+1 -1
View File
@@ -3,4 +3,4 @@
echo "Linting repository..."
source activate hosts
flake8
flake8 --max-line-length 120
+1 -1
View File
@@ -5,4 +5,4 @@ conda create -n hosts python=$PYTHON_VERSION || exit 1
source activate hosts
echo "Installing packages..."
conda install mock flake8 beautifulsoup4 lxml
conda install flake8 beautifulsoup4 lxml
+8 -22294
View File
File diff suppressed because it is too large Load Diff
+1954 -36
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1,9 +1,9 @@
{
"name": "CoinBlocker",
"description": "Simple lists that can help prevent cryptomining in the browser or other applications",
"homeurl": "https://github.com/ZeroDot1/CoinBlockerLists",
"homeurl": "https://gitlab.com/ZeroDot1/CoinBlockerLists",
"frequency": "frequently",
"issues": "https://github.com/ZeroDot1/CoinBlockerLists/issues",
"url": "https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser",
"issues": "https://gitlab.com/ZeroDot1/CoinBlockerLists/issues",
"url": "https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser",
"license": "GPLv3"
}
}
+1634 -1213
View File
File diff suppressed because it is too large Load Diff
+863 -269
View File
File diff suppressed because it is too large Load Diff
-5
View File
@@ -1,13 +1,8 @@
### Extra rules for @StevenBlack 's hosts project
### https://github.com/FadeMind/hosts.extras
### UncheckyAds
0.0.0.0 cdn.appround.biz
0.0.0.0 cdn.download.sweetpacks.com
0.0.0.0 cdn.insta.playbryte.com
0.0.0.0 cdn.msdwnld.com
0.0.0.0 cdn.mypcbackup.com
0.0.0.0 d3oxtn1x3b8d7i.cloudfront.net
0.0.0.0 inno.bisrv.com
0.0.0.0 installer.betterinstaller.com
0.0.0.0 installer.filebulldog.com
+181 -9
View File
@@ -1,27 +1,28 @@
### Extra rules for @StevenBlack 's hosts project
### https://github.com/FadeMind/hosts.extras
### 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content.
### http://www.makeuseof.com/tag/that-mysterious-2o7-net-tracking-cookie-all-you-need-to-know/
### https://en.wikipedia.org/wiki/Omniture
0.0.0.0 102.112.207.net
0.0.0.0 102.112.2o7.net
0.0.0.0 102.122.2o7.net
0.0.0.0 10xhellometro.112.2o7.net
0.0.0.0 1105governmentinformationgroup.122.2o7.net
0.0.0.0 112.2o7.net
0.0.0.0 192.168.112.2o7.net
0.0.0.0 192.168.122.2o7.net
0.0.0.0 1und1internetag.d3.sc.omtrdc.net
0.0.0.0 2o7.net
0.0.0.0 3gupload.112.2o7.net
0.0.0.0 aarp.122.2o7.net
0.0.0.0 abcotv.hb.omtrdc.net
0.0.0.0 acanales.sc.omtrdc.net
0.0.0.0 acckalaharinet.112.2o7.net
0.0.0.0 aclu.tt.omtrdc.net
0.0.0.0 acpmagazines.112.2o7.net
0.0.0.0 actontv.122.2o7.net
0.0.0.0 adbrite.122.2o7.net
0.0.0.0 adobe.tt.omtrdc.net
0.0.0.0 adobecorp.sc.omtrdc.net
0.0.0.0 adp.112.2o7.net
0.0.0.0 advertisementnl.112.2o7.net
0.0.0.0 advertisingcom.122.2o7.net
0.0.0.0 aehistory.112.2o7.net
0.0.0.0 aetnaaetnaprod2018.112.2o7.net
0.0.0.0 aetv.112.2o7.net
0.0.0.0 affargenus.112.2o7.net
0.0.0.0 affilcrtopcolle.112.2o7.net
@@ -31,11 +32,19 @@
0.0.0.0 agmsnag.112.2o7.net
0.0.0.0 agwebshots.112.2o7.net
0.0.0.0 agyahooag.112.2o7.net
0.0.0.0 ajinomoto.d1.sc.omtrdc.net
0.0.0.0 albanytimesunion.122.2o7.net
0.0.0.0 alchemyworldwide.tt.omtrdc.net
0.0.0.0 allbritton.122.2o7.net
0.0.0.0 amadeus.d2.sc.omtrdc.net
0.0.0.0 amazoncustomerservice.d2.sc.omtrdc.net
0.0.0.0 amazonmerchants.122.2o7.net
0.0.0.0 amazonservices.122.2o7.net
0.0.0.0 amazonshopbop.122.2o7.net
0.0.0.0 amazonwebservices.d2.sc.omtrdc.net
0.0.0.0 amazonwebservicesinc.tt.omtrdc.net
0.0.0.0 amazonwebstore.122.2o7.net
0.0.0.0 amcglobal.sc.omtrdc.net
0.0.0.0 amdvtest.112.2o7.net
0.0.0.0 americaneagleoutfitt.tt.omtrdc.net
0.0.0.0 ameritradeamerivest.112.2o7.net
@@ -93,11 +102,15 @@
0.0.0.0 aolwpnscom.122.2o7.net
0.0.0.0 aolwpnswhatsnew.112.2o7.net
0.0.0.0 aolyedda.122.2o7.net
0.0.0.0 aoncomprod.122.2o7.net
0.0.0.0 apdigitalorg.112.2o7.net
0.0.0.0 apdigitalorgovn.112.2o7.net
0.0.0.0 apnonline.112.2o7.net
0.0.0.0 aporg.112.2o7.net
0.0.0.0 ariba.112.2o7.net
0.0.0.0 arthurmiddletoncapit.tt.omtrdc.net
0.0.0.0 asadventure.tt.omtrdc.net
0.0.0.0 asco.d2.sc.omtrdc.net
0.0.0.0 associatedcontent.112.2o7.net
0.0.0.0 atlanticmedia.122.2o7.net
0.0.0.0 atlassian.122.2o7.net
@@ -115,9 +128,13 @@
0.0.0.0 autoanythingcom.112.2o7.net
0.0.0.0 autobytel.112.2o7.net
0.0.0.0 autobytelcorppopup.112.2o7.net
0.0.0.0 autocarcomprod.112.2o7.net
0.0.0.0 autodesk.tt.omtrdc.net
0.0.0.0 autoscout24.112.2o7.net
0.0.0.0 autoweb.112.2o7.net
0.0.0.0 avgtechnologies.112.2o7.net
0.0.0.0 aviraoperations.d3.sc.omtrdc.net
0.0.0.0 aviva.112.2o7.net
0.0.0.0 avon.112.2o7.net
0.0.0.0 awarenesstech.122.2o7.net
0.0.0.0 babycentercom.112.2o7.net
@@ -125,6 +142,9 @@
0.0.0.0 bankwest.112.2o7.net
0.0.0.0 bbc.112.2o7.net
0.0.0.0 bbg.d1.sc.omtrdc.net
0.0.0.0 bbg.sc.omtrdc.net
0.0.0.0 bbvacolombia.sc.omtrdc.net
0.0.0.0 bcbsks.com.102.112.2o7.net
0.0.0.0 bellglobemediapublishing.122.2o7.net
0.0.0.0 belointeractive.122.2o7.net
0.0.0.0 bertelwissenprod.122.2o7.net
@@ -137,22 +157,32 @@
0.0.0.0 bhgremodel.112.2o7.net
0.0.0.0 bhgscrap.112.2o7.net
0.0.0.0 bigpond.122.2o7.net
0.0.0.0 bitdrive.112.2o7.net
0.0.0.0 bizjournals.112.2o7.net
0.0.0.0 blethenmaine.112.2o7.net
0.0.0.0 bmwmoter.122.2o7.net
0.0.0.0 bnk30livejs.112.2o7.net
0.0.0.0 bnkholic.112.2o7.net
0.0.0.0 bnkicomv2.112.2o7.net
0.0.0.0 bnkr8dev.112.2o7.net
0.0.0.0 bonintnewsktarcom.112.2o7.net
0.0.0.0 bonneville.112.2o7.net
0.0.0.0 bonniercorp.122.2o7.net
0.0.0.0 boostmobile.112.2o7.net
0.0.0.0 borders.112.2o7.net
0.0.0.0 boscovs.com.ssl.sc.omtrdc.net
0.0.0.0 bostoncommonpress.112.2o7.net
0.0.0.0 bostonscientificcorporation.112.2o7.net
0.0.0.0 brangista.122.2o7.net
0.0.0.0 brightcove.112.2o7.net
0.0.0.0 brighthouse.122.2o7.net
0.0.0.0 britishskybroadcasti.tt.omtrdc.net
0.0.0.0 bruceclay.112.2o7.net
0.0.0.0 btbusiness.d1.sc.omtrdc.net
0.0.0.0 btbusiness.tt.omtrdc.net
0.0.0.0 btcom.112.2o7.net
0.0.0.0 btigspresalessandt.112.2o7.net
0.0.0.0 budgetcarhire.112.2o7.net
0.0.0.0 builderonlinecom.112.2o7.net
0.0.0.0 businessweekpoc.112.2o7.net
0.0.0.0 buycom.122.2o7.net
@@ -177,6 +207,7 @@
0.0.0.0 capella.122.2o7.net
0.0.0.0 carbonite.tt.omtrdc.net
0.0.0.0 care2.112.2o7.net
0.0.0.0 carfax.112.2o7.net
0.0.0.0 carlsonradisson.112.2o7.net
0.0.0.0 cartoonnetwork.122.2o7.net
0.0.0.0 cba.122.2o7.net
@@ -187,14 +218,20 @@
0.0.0.0 cbs.112.2o7.net
0.0.0.0 cbscom.112.2o7.net
0.0.0.0 cbsdigitalmedia.112.2o7.net
0.0.0.0 cbsinteractive.hb.omtrdc.net
0.0.0.0 cbsnfl.112.2o7.net
0.0.0.0 cbspgatour.112.2o7.net
0.0.0.0 cbsspln.112.2o7.net
0.0.0.0 cbstelevisiondistribution.112.2o7.net
0.0.0.0 cbtnuggets.tt.omtrdc.net
0.0.0.0 ccrgaviscom.112.2o7.net
0.0.0.0 cdc.112.2o7.net
0.0.0.0 cdn.tt.omtrdc.net
0.0.0.0 cengagecsinfosec.112.2o7.net
0.0.0.0 centricabritishgas.d3.sc.omtrdc.net
0.0.0.0 cfr.112.2o7.net
0.0.0.0 chacha.112.2o7.net
0.0.0.0 channel4.com.ssl.sc.omtrdc.net
0.0.0.0 chchoice.112.2o7.net
0.0.0.0 chghowardjohnson.112.2o7.net
0.0.0.0 chgsupereight.112.2o7.net
@@ -206,8 +243,11 @@
0.0.0.0 ciaocom.122.2o7.net
0.0.0.0 ciaoshopcouk.122.2o7.net
0.0.0.0 ciaoshopit.122.2o7.net
0.0.0.0 cisco.112.2o7.net
0.0.0.0 cisco.sc.omtrdc.net
0.0.0.0 ciscolearningnetwork.tt.omtrdc.net
0.0.0.0 ciscowebex.112.2o7.net
0.0.0.0 citicorpcreditservic.tt.omtrdc.net
0.0.0.0 citimobile.d2.sc.omtrdc.net
0.0.0.0 classicvacations.112.2o7.net
0.0.0.0 classmatescom.112.2o7.net
0.0.0.0 clubmed.112.2o7.net
@@ -215,6 +255,7 @@
0.0.0.0 cmp.112.2o7.net
0.0.0.0 cmpdotnetjunkiescom.112.2o7.net
0.0.0.0 cmpglobalvista.112.2o7.net
0.0.0.0 cmpmedica.112.2o7.net
0.0.0.0 cmtvia.112.2o7.net
0.0.0.0 cnetasiapacific.122.2o7.net
0.0.0.0 cnetaustralia.122.2o7.net
@@ -265,6 +306,7 @@
0.0.0.0 cpusall.112.2o7.net
0.0.0.0 crain.d1.sc.omtrdc.net
0.0.0.0 createthegroup.122.2o7.net
0.0.0.0 creditagricole.tt.omtrdc.net
0.0.0.0 creditcardscom.112.2o7.net
0.0.0.0 cri.d1.sc.omtrdc.net
0.0.0.0 cruisecritic.112.2o7.net
@@ -273,9 +315,12 @@
0.0.0.0 ctvmaincom.112.2o7.net
0.0.0.0 ctvsmokinggun.112.2o7.net
0.0.0.0 ctvtsgtv.112.2o7.net
0.0.0.0 cunda.d3.sc.omtrdc.net
0.0.0.0 cwnetworkmparticle.112.2o7.net
0.0.0.0 cwportal.112.2o7.net
0.0.0.0 cxociocom.112.2o7.net
0.0.0.0 cxocomdev.112.2o7.net
0.0.0.0 cyberagent.122.2o7.net
0.0.0.0 cyberdefender.122.2o7.net
0.0.0.0 dailyheraldpaddockpublication.112.2o7.net
0.0.0.0 daimlerag.122.2o7.net
@@ -290,10 +335,14 @@
0.0.0.0 denverpost.112.2o7.net
0.0.0.0 deseretdigitalmedia.tt.omtrdc.net
0.0.0.0 deseretnews.112.2o7.net
0.0.0.0 developjapan.122.2o7.net
0.0.0.0 dexdexprod.112.2o7.net
0.0.0.0 dgag.112.2o7.net
0.0.0.0 dillards.112.2o7.net
0.0.0.0 directtv.tt.omtrdc.net
0.0.0.0 dis.d1.sc.omtrdc.net
0.0.0.0 discovercard.112.2o7.net
0.0.0.0 disneyinternational.hb.omtrdc.net
0.0.0.0 divx.112.2o7.net
0.0.0.0 dixonscouk.112.2o7.net
0.0.0.0 dmcontactmanagement.122.2o7.net
@@ -305,6 +354,8 @@
0.0.0.0 dotsterdotsteraug08.112.2o7.net
0.0.0.0 dreamhome.112.2o7.net
0.0.0.0 duluthtrading.tt.omtrdc.net
0.0.0.0 dummy.112.2o7.net
0.0.0.0 dunandbradstreet.122.2o7.net
0.0.0.0 eaeacom.112.2o7.net
0.0.0.0 eagamesuk.112.2o7.net
0.0.0.0 eaglemiles.112.2o7.net
@@ -320,8 +371,12 @@
0.0.0.0 ehadvicedev.112.2o7.net
0.0.0.0 eharmony.112.2o7.net
0.0.0.0 eharmony.tt.omtrdc.net
0.0.0.0 ehealthinsurance.tt.omtrdc.net
0.0.0.0 eleconomista.d1.sc.omtrdc.net
0.0.0.0 electronicarts.112.2o7.net
0.0.0.0 elkjop.112.2o7.net
0.0.0.0 eloqua.122.2o7.net
0.0.0.0 eluniversalmx.sc.omtrdc.net
0.0.0.0 emc.122.2o7.net
0.0.0.0 enterprisemediagroup.112.2o7.net
0.0.0.0 entrepreneur.122.2o7.net
@@ -331,6 +386,7 @@
0.0.0.0 eremedia.112.2o7.net
0.0.0.0 eset.122.2o7.net
0.0.0.0 espndotcom.tt.omtrdc.net
0.0.0.0 eucpviveusaprod.112.2o7.net
0.0.0.0 eurostar.122.2o7.net
0.0.0.0 eventbrite.122.2o7.net
0.0.0.0 evepdaggiesports.112.2o7.net
@@ -366,12 +422,14 @@
0.0.0.0 fbfredericksburgcom.112.2o7.net
0.0.0.0 figlobal.112.2o7.net
0.0.0.0 fim.122.2o7.net
0.0.0.0 flipkart.d1.sc.omtrdc.net
0.0.0.0 flyingmag.com.122.2o7.net
0.0.0.0 ford.112.2o7.net
0.0.0.0 foxamw.112.2o7.net
0.0.0.0 foxcom.112.2o7.net
0.0.0.0 foxidol.112.2o7.net
0.0.0.0 foxinteractivemedia.122.2o7.net
0.0.0.0 foxnews.tt.omtrdc.net
0.0.0.0 furniturecom.112.2o7.net
0.0.0.0 furnlevitz.112.2o7.net
0.0.0.0 fusetv.112.2o7.net
@@ -383,8 +441,11 @@
0.0.0.0 geosign.112.2o7.net
0.0.0.0 gifastcompanycom.112.2o7.net
0.0.0.0 giftscom.122.2o7.net
0.0.0.0 gigamon.sc.omtrdc.net
0.0.0.0 gigamon.tt.omtrdc.net
0.0.0.0 gjfastcompanycom.112.2o7.net
0.0.0.0 gjincscobleizer.112.2o7.net
0.0.0.0 gmglobalt3sites.112.2o7.net
0.0.0.0 gmgmacfs.112.2o7.net
0.0.0.0 gmgmacmortgage.112.2o7.net
0.0.0.0 gmgmcom.112.2o7.net
@@ -419,7 +480,9 @@
0.0.0.0 guthyrenker.tt.omtrdc.net
0.0.0.0 hallmarkibmcom.112.2o7.net
0.0.0.0 harconsumer.112.2o7.net
0.0.0.0 harlandclarke.d1.sc.omtrdc.net
0.0.0.0 harpo.122.2o7.net
0.0.0.0 harrahs.112.2o7.net
0.0.0.0 harrahscom.112.2o7.net
0.0.0.0 haymarketbusinesspublications.122.2o7.net
0.0.0.0 hchrmain.112.2o7.net
@@ -434,6 +497,7 @@
0.0.0.0 hickoryfarms.112.2o7.net
0.0.0.0 highbeam.122.2o7.net
0.0.0.0 himedia.112.2o7.net
0.0.0.0 his.112.2o7.net
0.0.0.0 hisnakiamotors.122.2o7.net
0.0.0.0 hm.d1.sc.omtrdc.net
0.0.0.0 hollywood.122.2o7.net
@@ -446,6 +510,7 @@
0.0.0.0 hswmedia.122.2o7.net
0.0.0.0 hulu.112.2o7.net
0.0.0.0 huludev.112.2o7.net
0.0.0.0 hyperlinktech.122.2o7.net
0.0.0.0 ibibo.112.2o7.net
0.0.0.0 ice.112.2o7.net
0.0.0.0 iconhealthfitness.tt.omtrdc.net
@@ -456,11 +521,13 @@
0.0.0.0 imeem.112.2o7.net
0.0.0.0 imiliving.122.2o7.net
0.0.0.0 incisivemedia.112.2o7.net
0.0.0.0 independentdigital.d3.sc.omtrdc.net
0.0.0.0 indigio.122.2o7.net
0.0.0.0 infoworldmediagroup.112.2o7.net
0.0.0.0 infrastrategy.122.2o7.net
0.0.0.0 infratotalduicom.122.2o7.net
0.0.0.0 insiderpagescom.122.2o7.net
0.0.0.0 insightenterprises.tt.omtrdc.net
0.0.0.0 instadia.112.2o7.net
0.0.0.0 intelcorpchan.112.2o7.net
0.0.0.0 intelcorperror.112.2o7.net
@@ -470,18 +537,28 @@
0.0.0.0 internetretailer.d2.sc.omtrdc.net
0.0.0.0 intouchsolutions.112.2o7.net
0.0.0.0 intuitinc.122.2o7.net
0.0.0.0 iodatadevice.d2.sc.omtrdc.net
0.0.0.0 ipcmarieclaireprod.122.2o7.net
0.0.0.0 ipcmedia.122.2o7.net
0.0.0.0 ipcnowprod.122.2o7.net
0.0.0.0 ipcuncut.122.2o7.net
0.0.0.0 ipcwebuserprod.122.2o7.net
0.0.0.0 ipcyachtingworldprod.122.2o7.net
0.0.0.0 iqdigitalmediamarketinggmbh.sc.omtrdc.net
0.0.0.0 isaca.sc.omtrdc.net
0.0.0.0 isaca.tt.omtrdc.net
0.0.0.0 itmedia.122.2o7.net
0.0.0.0 itv.112.2o7.net
0.0.0.0 iusacomlive.112.2o7.net
0.0.0.0 ivillageglobal.112.2o7.net
0.0.0.0 jaccs.122.2o7.net
0.0.0.0 jackpot.112.2o7.net
0.0.0.0 jade853gmbh.tt.omtrdc.net
0.0.0.0 jamecoelectronics.sc.omtrdc.net
0.0.0.0 jcb.sc.omtrdc.net
0.0.0.0 jcb.tt.omtrdc.net
0.0.0.0 jcom.122.2o7.net
0.0.0.0 jcrewcom.112.2o7.net
0.0.0.0 jcwhitney.112.2o7.net
0.0.0.0 jennycraig.112.2o7.net
0.0.0.0 jetbluecom2.112.2o7.net
@@ -498,14 +575,21 @@
0.0.0.0 journalregistercompany.122.2o7.net
0.0.0.0 jrcdelcotimescom.122.2o7.net
0.0.0.0 jrcom.112.2o7.net
0.0.0.0 jtt.sc.omtrdc.net
0.0.0.0 jtt.tt.omtrdc.net
0.0.0.0 kaboose.112.2o7.net
0.0.0.0 kaspersky.d3.sc.omtrdc.net
0.0.0.0 kbbmain.112.2o7.net
0.0.0.0 kelleybluebook.112.2o7.net
0.0.0.0 kerplat.112.2o7.net
0.0.0.0 keybank.112.2o7.net
0.0.0.0 kiplinger.112.2o7.net
0.0.0.0 konicaminoltahd.122.2o7.net
0.0.0.0 kopticom.122.2o7.net
0.0.0.0 lab88inc.112.2o7.net
0.0.0.0 lakeshore.d1.sc.omtrdc.net
0.0.0.0 landolakescomprod.112.2o7.net
0.0.0.0 landsend.112.2o7.net
0.0.0.0 laptopmag.122.2o7.net
0.0.0.0 lastminengb.112.2o7.net
0.0.0.0 laxnws.112.2o7.net
@@ -518,13 +602,19 @@
0.0.0.0 leaitworldprod.112.2o7.net
0.0.0.0 leeenterprises.112.2o7.net
0.0.0.0 legalzoom.tt.omtrdc.net
0.0.0.0 lenovoappssystemupdateprod.112.2o7.net
0.0.0.0 lenovosimpletapdev.112.2o7.net
0.0.0.0 leveragemarketing.112.2o7.net
0.0.0.0 lgelectronics.122.2o7.net
0.0.0.0 libertyglobalpaneu.tt.omtrdc.net
0.0.0.0 lintv.122.2o7.net
0.0.0.0 livedealcom.112.2o7.net
0.0.0.0 livenation.122.2o7.net
0.0.0.0 logitechlogitechglobal.112.2o7.net
0.0.0.0 lowes.tt.omtrdc.net
0.0.0.0 lucent.122.2o7.net
0.0.0.0 mailtribunecom.112.2o7.net
0.0.0.0 makemytrip.tt.omtrdc.net
0.0.0.0 mapscom2.112.2o7.net
0.0.0.0 marchofdimes.d2.sc.omtrdc.net
0.0.0.0 marinermarketing.112.2o7.net
@@ -535,7 +625,11 @@
0.0.0.0 mashable.d2.sc.omtrdc.net
0.0.0.0 mattressusa.122.2o7.net
0.0.0.0 maxim.122.2o7.net
0.0.0.0 mcafee12.tt.omtrdc.net
0.0.0.0 mcclatchy.112.2o7.net
0.0.0.0 mcdonaldscorporation.sc.omtrdc.net
0.0.0.0 mcdonaldscorporation.tt.omtrdc.net
0.0.0.0 mckinseyknowledge.122.2o7.net
0.0.0.0 mdjacksonville.112.2o7.net
0.0.0.0 mdpparents.112.2o7.net
0.0.0.0 mdstaugustine.112.2o7.net
@@ -548,6 +642,7 @@
0.0.0.0 medhelpinternational.112.2o7.net
0.0.0.0 mediabistro.112.2o7.net
0.0.0.0 mediabistrocom.112.2o7.net
0.0.0.0 mediacorp.112.2o7.net
0.0.0.0 medialogic.122.2o7.net
0.0.0.0 mediamatters.112.2o7.net
0.0.0.0 meetupdev.122.2o7.net
@@ -590,6 +685,7 @@
0.0.0.0 midsen.112.2o7.net
0.0.0.0 milbglobal.112.2o7.net
0.0.0.0 mitsubishi.112.2o7.net
0.0.0.0 mitsubishielectric.112.2o7.net
0.0.0.0 mkcthehomemarketplace.112.2o7.net
0.0.0.0 mkt10.122.2o7.net
0.0.0.0 mlarmani.122.2o7.net
@@ -647,13 +743,16 @@
0.0.0.0 msntrademarketing.112.2o7.net
0.0.0.0 msnwinonecare.112.2o7.net
0.0.0.0 mssbcprod.112.2o7.net
0.0.0.0 msstonojstechnet.112.2o7.net
0.0.0.0 mswindowswolglobal.112.2o7.net
0.0.0.0 mswlspcmktdev.112.2o7.net
0.0.0.0 mswmwpapolloprod.122.2o7.net
0.0.0.0 mtvn.112.2o7.net
0.0.0.0 multiply.112.2o7.net
0.0.0.0 multiview.122.2o7.net
0.0.0.0 mun.122.2o7.net
0.0.0.0 mxmacromedia.112.2o7.net
0.0.0.0 myfamilyancestry.112.2o7.net
0.0.0.0 myfamilycominc.tt.omtrdc.net
0.0.0.0 nandomedia.112.2o7.net
0.0.0.0 nascardigitalsap.d2.sc.omtrdc.net
0.0.0.0 nasdaq.122.2o7.net
@@ -671,12 +770,18 @@
0.0.0.0 natgeovideo.112.2o7.net
0.0.0.0 nationalbankofnewzea.tt.omtrdc.net
0.0.0.0 nationalgeographic.112.2o7.net
0.0.0.0 nationwide.sc.omtrdc.net
0.0.0.0 nautilus.d2.sc.omtrdc.net
0.0.0.0 nautilus.tt.omtrdc.net
0.0.0.0 nbagametimeprod.112.2o7.net
0.0.0.0 nbcume.sc.omtrdc.net
0.0.0.0 nbcuniversal.122.2o7.net
0.0.0.0 neber.112.2o7.net
0.0.0.0 nebnr.112.2o7.net
0.0.0.0 neccorp.112.2o7.net
0.0.0.0 neccorp.tt.omtrdc.net
0.0.0.0 neref.112.2o7.net
0.0.0.0 netappinc.tt.omtrdc.net
0.0.0.0 netgear.122.2o7.net
0.0.0.0 networksolutions.112.2o7.net
0.0.0.0 newcom.122.2o7.net
@@ -692,12 +797,16 @@
0.0.0.0 newyorkmagazine.112.2o7.net
0.0.0.0 nhl.112.2o7.net
0.0.0.0 nielsen.112.2o7.net
0.0.0.0 nihonkogakuin.122.2o7.net
0.0.0.0 nikefootball.112.2o7.net
0.0.0.0 nikefootballglobal.112.2o7.net
0.0.0.0 nikegoddess.112.2o7.net
0.0.0.0 nikehome.112.2o7.net
0.0.0.0 nikerunning.112.2o7.net
0.0.0.0 nikerunningglobal.112.2o7.net
0.0.0.0 nikkei.112.2o7.net
0.0.0.0 nikkei.d1.sc.omtrdc.net
0.0.0.0 nikonjp.112.2o7.net
0.0.0.0 njmvc.112.2o7.net
0.0.0.0 nmanchorage.112.2o7.net
0.0.0.0 nmbakersfieldca.112.2o7.net
@@ -732,6 +841,7 @@
0.0.0.0 novellcom.112.2o7.net
0.0.0.0 nsdldlese.112.2o7.net
0.0.0.0 nttcommunications.122.2o7.net
0.0.0.0 nyandcompany.com.ssl.sc.omtrdc.net
0.0.0.0 nydailynews.d1.sc.omtrdc.net
0.0.0.0 nysun.com.112.2o7.net
0.0.0.0 nytbglobe.112.2o7.net
@@ -761,7 +871,9 @@
0.0.0.0 onetoone.112.2o7.net
0.0.0.0 onlinegurupopularsitecom.112.2o7.net
0.0.0.0 oodpreprod.122.2o7.net
0.0.0.0 opinionlabcc.122.2o7.net
0.0.0.0 optimost.112.2o7.net
0.0.0.0 oracle.112.2o7.net
0.0.0.0 oraclecom.112.2o7.net
0.0.0.0 oracleglobal.112.2o7.net
0.0.0.0 oreck.tt.omtrdc.net
@@ -773,11 +885,14 @@
0.0.0.0 overstockcom.112.2o7.net
0.0.0.0 overturecom.112.2o7.net
0.0.0.0 overturecomvista.112.2o7.net
0.0.0.0 ozon.122.2o7.net
0.0.0.0 paloaltonetworks.d1.sc.omtrdc.net
0.0.0.0 pandasoftware.112.2o7.net
0.0.0.0 parade.122.2o7.net
0.0.0.0 parship.122.2o7.net
0.0.0.0 partygaming.122.2o7.net
0.0.0.0 partygamingglobal.122.2o7.net
0.0.0.0 patagonia.122.2o7.net
0.0.0.0 patrickhillery.112.2o7.net
0.0.0.0 paypal.112.2o7.net
0.0.0.0 pcconnectioncom.112.2o7.net
@@ -795,6 +910,7 @@
0.0.0.0 petfooddirect.d1.sc.omtrdc.net
0.0.0.0 pfizer.122.2o7.net
0.0.0.0 philips.112.2o7.net
0.0.0.0 philipslighting.d3.sc.omtrdc.net
0.0.0.0 phillyburbscom.112.2o7.net
0.0.0.0 phillycom.112.2o7.net
0.0.0.0 phillymedia.112.2o7.net
@@ -804,26 +920,34 @@
0.0.0.0 plsoyfoods.112.2o7.net
0.0.0.0 poacprod.122.2o7.net
0.0.0.0 poconorecordcom.112.2o7.net
0.0.0.0 poloralphlaurenlotusstg.112.2o7.net
0.0.0.0 popcapgames.122.2o7.net
0.0.0.0 popsci.com.122.2o7.net
0.0.0.0 postmedia.sc.omtrdc.net
0.0.0.0 powellsbooks.122.2o7.net
0.0.0.0 poweronemedia.122.2o7.net
0.0.0.0 preferredhotelgroup.d2.sc.omtrdc.net
0.0.0.0 premierfarnell.tt.omtrdc.net
0.0.0.0 premiumtv.122.2o7.net
0.0.0.0 primediabusiness.122.2o7.net
0.0.0.0 primemensfitness.112.2o7.net
0.0.0.0 primestarmagazine.112.2o7.net
0.0.0.0 primetimesolutions.tt.omtrdc.net
0.0.0.0 prisacom.112.2o7.net
0.0.0.0 prisacom.sc.omtrdc.net
0.0.0.0 prnewswire.122.2o7.net
0.0.0.0 productpartnersllc.tt.omtrdc.net
0.0.0.0 pulkauaiworld.112.2o7.net
0.0.0.0 pultheworldlink.112.2o7.net
0.0.0.0 questdsgsupport.112.2o7.net
0.0.0.0 questiacom.112.2o7.net
0.0.0.0 questsoftware.112.2o7.net
0.0.0.0 questsoftware.sc.omtrdc.net
0.0.0.0 qwestfull.112.2o7.net
0.0.0.0 rainbowmedia.122.2o7.net
0.0.0.0 rakuten.112.2o7.net
0.0.0.0 randmcnally.112.2o7.net
0.0.0.0 ranker.sc.omtrdc.net
0.0.0.0 rcci.122.2o7.net
0.0.0.0 rcntelecom.112.2o7.net
0.0.0.0 readersdigest.tt.omtrdc.net
@@ -832,6 +956,8 @@
0.0.0.0 recordeaglecom.112.2o7.net
0.0.0.0 recordnetcom.112.2o7.net
0.0.0.0 recordonlinecom.112.2o7.net
0.0.0.0 recruit.112.2o7.net
0.0.0.0 redhat.sc.omtrdc.net
0.0.0.0 registercom.122.2o7.net
0.0.0.0 registercom.tt.omtrdc.net
0.0.0.0 remodelingonlinecom.112.2o7.net
@@ -840,7 +966,9 @@
0.0.0.0 restoredchurchofgod.112.2o7.net
0.0.0.0 reunion.tt.omtrdc.net
0.0.0.0 reunioncom.112.2o7.net
0.0.0.0 riafinancial.d2.sc.omtrdc.net
0.0.0.0 ringcentral.112.2o7.net
0.0.0.0 ringcentral.tt.omtrdc.net
0.0.0.0 ringierag.112.2o7.net
0.0.0.0 riptownmedia.122.2o7.net
0.0.0.0 riverdeep.112.2o7.net
@@ -870,6 +998,7 @@
0.0.0.0 saxotechtylerpaper.122.2o7.net
0.0.0.0 saxotelegraph.122.2o7.net
0.0.0.0 saxotoledo.122.2o7.net
0.0.0.0 saxounionleader.112.2o7.net
0.0.0.0 saxowatertowndailytimes.122.2o7.net
0.0.0.0 saxowenworld.122.2o7.net
0.0.0.0 saxowesterncommunications.122.2o7.net
@@ -892,9 +1021,11 @@
0.0.0.0 searsholdings.tt.omtrdc.net
0.0.0.0 searskmartcom.112.2o7.net
0.0.0.0 seb.d1.sc.omtrdc.net
0.0.0.0 senshukai.122.2o7.net
0.0.0.0 sento.122.2o7.net
0.0.0.0 sevenoneintermedia.112.2o7.net
0.0.0.0 shawnewspapers.112.2o7.net
0.0.0.0 shell.tt.omtrdc.net
0.0.0.0 shopping.112.2o7.net
0.0.0.0 siemens.d1.sc.omtrdc.net
0.0.0.0 sixapart.112.2o7.net
@@ -902,8 +1033,10 @@
0.0.0.0 skyauction.122.2o7.net
0.0.0.0 skype.tt.omtrdc.net
0.0.0.0 slbbbcom.112.2o7.net
0.0.0.0 slickdeals.sc.omtrdc.net
0.0.0.0 sltravelcom.112.2o7.net
0.0.0.0 smartmoney.112.2o7.net
0.0.0.0 smbc.sc.omtrdc.net
0.0.0.0 smibs.112.2o7.net
0.0.0.0 smokingeverywhere.122.2o7.net
0.0.0.0 smokinggun.122.2o7.net
@@ -912,12 +1045,18 @@
0.0.0.0 snagajob.122.2o7.net
0.0.0.0 snapfish.112.2o7.net
0.0.0.0 sofmap.112.2o7.net
0.0.0.0 softbank.tt.omtrdc.net
0.0.0.0 softbankbb.122.2o7.net
0.0.0.0 softbankbb.d2.sc.omtrdc.net
0.0.0.0 softbanktechnology.112.2o7.net
0.0.0.0 softlayer.d1.sc.omtrdc.net
0.0.0.0 softonic.112.2o7.net
0.0.0.0 sonychina.112.2o7.net
0.0.0.0 sonycorporate.112.2o7.net
0.0.0.0 sonyelectronicssupportus.112.2o7.net
0.0.0.0 sonygs.112.2o7.net
0.0.0.0 sonymediasoftware.112.2o7.net
0.0.0.0 sonypanasia.112.2o7.net
0.0.0.0 sonyscei.112.2o7.net
0.0.0.0 southcoasttodaycom.112.2o7.net
0.0.0.0 spamfighter.112.2o7.net
@@ -927,6 +1066,7 @@
0.0.0.0 sprintglobal.112.2o7.net
0.0.0.0 stampscom.112.2o7.net
0.0.0.0 starz.122.2o7.net
0.0.0.0 stepstone.112.2o7.net
0.0.0.0 stpetersburgtimes.122.2o7.net
0.0.0.0 stubhub.122.2o7.net
0.0.0.0 stylincom.112.2o7.net
@@ -934,14 +1074,17 @@
0.0.0.0 summitbusinessmedia.112.2o7.net
0.0.0.0 sunglobal.112.2o7.net
0.0.0.0 superpages.122.2o7.net
0.0.0.0 superpagesdexknowsprod.122.2o7.net
0.0.0.0 surfline.112.2o7.net
0.0.0.0 survey.122.2o7.net
0.0.0.0 suzukimotor.112.2o7.net
0.0.0.0 svd.112.2o7.net
0.0.0.0 swsoft.122.2o7.net
0.0.0.0 sylvane.122.2o7.net
0.0.0.0 symantec.tt.omtrdc.net
0.0.0.0 sympmsnglobalen.112.2o7.net
0.0.0.0 sympmsnmusic.112.2o7.net
0.0.0.0 synacor.112.2o7.net
0.0.0.0 tacobell.d1.sc.omtrdc.net
0.0.0.0 tangomedia.112.2o7.net
0.0.0.0 tbstv.112.2o7.net
@@ -951,14 +1094,20 @@
0.0.0.0 techreview.112.2o7.net
0.0.0.0 tehomercacom.112.2o7.net
0.0.0.0 tel3adv.112.2o7.net
0.0.0.0 telateladivulgaprod.112.2o7.net
0.0.0.0 tele2nl.112.2o7.net
0.0.0.0 telefloracom.112.2o7.net
0.0.0.0 telefonicauk.d3.sc.omtrdc.net
0.0.0.0 telefonicauklimited.tt.omtrdc.net
0.0.0.0 telegraphmediagroup.d3.sc.omtrdc.net
0.0.0.0 telegraphmediagroupl.tt.omtrdc.net
0.0.0.0 telenor.112.2o7.net
0.0.0.0 tescostores.122.2o7.net
0.0.0.0 tgn.122.2o7.net
0.0.0.0 thayhiltonlongisland.112.2o7.net
0.0.0.0 thayhoteldelcoronado.112.2o7.net
0.0.0.0 thayvenetian.112.2o7.net
0.0.0.0 thechannelcompany.d1.sc.omtrdc.net
0.0.0.0 thedailystarcom.112.2o7.net
0.0.0.0 thegroup.112.2o7.net
0.0.0.0 thelibraryofcongress.122.2o7.net
@@ -991,11 +1140,15 @@
0.0.0.0 torstardigital.122.2o7.net
0.0.0.0 toyotamotorcorporation.122.2o7.net
0.0.0.0 toysrus.tt.omtrdc.net
0.0.0.0 tpciletsgo.112.2o7.net
0.0.0.0 trailblazers.122.2o7.net
0.0.0.0 trailerservicescom.112.2o7.net
0.0.0.0 trane-ir-corp-ingersollrand.112.2o7.net
0.0.0.0 trane.112.2o7.net
0.0.0.0 tranest-schlage-link.112.2o7.net
0.0.0.0 travidia.112.2o7.net
0.0.0.0 trendmicro.tt.omtrdc.net
0.0.0.0 trendmicrojp.d2.sc.omtrdc.net
0.0.0.0 tribuneinteractive.122.2o7.net
0.0.0.0 trinitymirror.112.2o7.net
0.0.0.0 truevalue.d2.sc.omtrdc.net
@@ -1003,11 +1156,15 @@
0.0.0.0 turnerclassic.112.2o7.net
0.0.0.0 turnersports.112.2o7.net
0.0.0.0 tvguide.112.2o7.net
0.0.0.0 ubm.tt.omtrdc.net
0.0.0.0 uolfreeservers.112.2o7.net
0.0.0.0 uoljunocom2.112.2o7.net
0.0.0.0 uolnetzeronet2.112.2o7.net
0.0.0.0 uolphotosite.112.2o7.net
0.0.0.0 upc.d2.sc.omtrdc.net
0.0.0.0 upi.112.2o7.net
0.0.0.0 ups.tt.omtrdc.net
0.0.0.0 usaa.tt.omtrdc.net
0.0.0.0 usatoday1.112.2o7.net
0.0.0.0 usbank.tt.omtrdc.net
0.0.0.0 usdm.122.2o7.net
@@ -1017,6 +1174,10 @@
0.0.0.0 vcommerce.112.2o7.net
0.0.0.0 vectrabank.112.2o7.net
0.0.0.0 verisignwildcard.112.2o7.net
0.0.0.0 veritasim.d1.sc.omtrdc.net
0.0.0.0 veritastechnologiesl.tt.omtrdc.net
0.0.0.0 verizontelecom.tt.omtrdc.net
0.0.0.0 verizonwireless.112.2o7.net
0.0.0.0 verizonwireless.tt.omtrdc.net
0.0.0.0 vermontteddybear.112.2o7.net
0.0.0.0 viaaddictingclips.112.2o7.net
@@ -1044,6 +1205,7 @@
0.0.0.0 viarnd.112.2o7.net
0.0.0.0 viasatsatelliteservices.112.2o7.net
0.0.0.0 viashockwave.112.2o7.net
0.0.0.0 viashockwavekeyhole.112.2o7.net
0.0.0.0 viaspike.112.2o7.net
0.0.0.0 viaukplayer.112.2o7.net
0.0.0.0 viavh1com.112.2o7.net
@@ -1051,14 +1213,21 @@
0.0.0.0 viavh1video.112.2o7.net
0.0.0.0 viay2m.112.2o7.net
0.0.0.0 victoriaadvocate.112.2o7.net
0.0.0.0 videorvrcip.112.2o7.net
0.0.0.0 videotroncom.112.2o7.net
0.0.0.0 vintacom.112.2o7.net
0.0.0.0 vintadream.112.2o7.net
0.0.0.0 virginmedia.112.2o7.net
0.0.0.0 virginmobile.122.2o7.net
0.0.0.0 virginmobileusa.tt.omtrdc.net
0.0.0.0 vision.d1.sc.omtrdc.net
0.0.0.0 vitacost.122.2o7.net
0.0.0.0 vocento.d3.sc.omtrdc.net
0.0.0.0 vodafonegroup.122.2o7.net
0.0.0.0 vodafoneindia.tt.omtrdc.net
0.0.0.0 vodafonenz.122.2o7.net
0.0.0.0 vodafoneuk.tt.omtrdc.net
0.0.0.0 vogelservices.122.2o7.net
0.0.0.0 volkswagen.122.2o7.net
0.0.0.0 vpmc.122.2o7.net
0.0.0.0 walgrns.112.2o7.net
@@ -1080,6 +1249,7 @@
0.0.0.0 westwickfarrow.122.2o7.net
0.0.0.0 whitecastle.122.2o7.net
0.0.0.0 wileypublishing.112.2o7.net
0.0.0.0 williamhill.tt.omtrdc.net
0.0.0.0 winecom.112.2o7.net
0.0.0.0 wineenthusiastcom.112.2o7.net
0.0.0.0 winmpmain.112.2o7.net
@@ -1093,6 +1263,8 @@
0.0.0.0 wwatchcomusa.112.2o7.net
0.0.0.0 wweconsumer.112.2o7.net
0.0.0.0 wwecorp2.112.2o7.net
0.0.0.0 www.ikea.122.2o7.net
0.0.0.0 www.nissan.d3.sc.omtrdc.net
0.0.0.0 xhealth.112.2o7.net
0.0.0.0 xhealthmobiltools.112.2o7.net
0.0.0.0 yamaha.122.2o7.net
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "add.2o7Net",
"description": "2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content.",
"description": "2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
"homeurl": "https://github.com/FadeMind/hosts.extras",
"frequency": "occasionally",
"issues": "https://github.com/FadeMind/hosts.extras/issues",
+6 -11
View File
@@ -1,25 +1,20 @@
### Extra rules for @StevenBlack 's hosts project
### https://github.com/FadeMind/hosts.extras
### Dead sites based on http://www.hostsfile.org/hosts.html content.
0.0.0.0 analytic-google.com
0.0.0.0 avast-downloads.com
0.0.0.0 blacksnake.com
0.0.0.0 europcareer.com
0.0.0.0 flashplayer-adobe.com
0.0.0.0 get-avast.com
0.0.0.0 google-docs.info
0.0.0.0 gooqleapi.com
0.0.0.0 iphonegames3g.com
0.0.0.0 jmp2click.com
0.0.0.0 microsoft-update.name
0.0.0.0 sunonsunday.co.uk
0.0.0.0 paypai.org
0.0.0.0 sunonsunday.com
0.0.0.0 thesunonsunday.co.uk
0.0.0.0 thesunonsunday.com
0.0.0.0 toolbar.wibiya.com
0.0.0.0 www.analytic-google.com
0.0.0.0 www.avast-downloads.com
0.0.0.0 www.europcareer.com
0.0.0.0 www.flashplayer-adobe.com
0.0.0.0 www.get-avast.com
0.0.0.0 www.google-docs.info
0.0.0.0 www.iphonegames3g.com
0.0.0.0 www.jmp2click.com
0.0.0.0 www.microsoft-update.name
0.0.0.0 wwwfacebook.com
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "add.Dead",
"description": "Dead sites based on http://www.hostsfile.org/hosts.html content.",
"description": "Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
"homeurl": "https://github.com/FadeMind/hosts.extras",
"frequency": "occasionally",
"issues": "https://github.com/FadeMind/hosts.extras/issues",
+2582 -2929
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "add.Risk",
"description": "Risk content sites based on http://www.hostsfile.org/hosts.html content.",
"description": "Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
"homeurl": "https://github.com/FadeMind/hosts.extras",
"frequency": "occasionally",
"issues": "https://github.com/FadeMind/hosts.extras/issues",
+74 -107
View File
@@ -1,107 +1,74 @@
### Extra rules for @StevenBlack 's hosts project
### https://github.com/FadeMind/hosts.extras
### SPAM sites based on http://www.hostsfile.org/hosts.html content.
# File generated with https://github.com/funilrys/PyFunceble
# Date of generation: Mon 12 Feb 14:02:56 UTC 2018
0.0.0.0 100.1qingdao.com
0.0.0.0 7minuteworkout.com
0.0.0.0 addshoppers.com
0.0.0.0 affiliatecashpile.go2jump.org
0.0.0.0 amoxicillin-amoxil-buy.com
0.0.0.0 arklighting.co
0.0.0.0 beaverday.biz
0.0.0.0 bigpayout.go2jump.org
0.0.0.0 brandedleadgeneration.com
0.0.0.0 buylasix-online.net
0.0.0.0 clicktshirtprinting.co.uk
0.0.0.0 creditauthpagev3.info
0.0.0.0 credomobile.com
0.0.0.0 dandingo.go2jump.org
0.0.0.0 defenderxtactical.com
0.0.0.0 divisioncore.com
0.0.0.0 ebaychristmas.com
0.0.0.0 email.otherinbox.com
0.0.0.0 fitnesshealthreporter.com
0.0.0.0 freeforums.org
0.0.0.0 generic-onlinenexium.net
0.0.0.0 genericnexium40mg.net
0.0.0.0 go2jump.org
0.0.0.0 gtradersoft.com
0.0.0.0 heartrevitalized.com
0.0.0.0 hudsonleadership.com
0.0.0.0 janeaustenjoy.com
0.0.0.0 jnwky.misterjoy.ru
0.0.0.0 lazyprofits.go2jump.org
0.0.0.0 link.credomobile.com
0.0.0.0 medtecchina.com
0.0.0.0 misterjoy.ru
0.0.0.0 motoren.ru
0.0.0.0 mydreamdegree.com
0.0.0.0 nero-us.com
0.0.0.0 news.nero-emea.com
0.0.0.0 news.nero-us.com
0.0.0.0 novastarled.com
0.0.0.0 offerscience.go2jump.org
0.0.0.0 online-buyprednisone.com
0.0.0.0 onlineloan-personal.net
0.0.0.0 otherinbox.com
0.0.0.0 pcbutts1-therealtruth.blogspot.com
0.0.0.0 playlott.com
0.0.0.0 pngjmz.misterjoy.ru
0.0.0.0 preligions.com
0.0.0.0 profitsitesbiz.com
0.0.0.0 quickloanbank.com
0.0.0.0 redhotfreebies.co.uk
0.0.0.0 reverse-mortgage-info.com
0.0.0.0 securesignupoffers.org
0.0.0.0 sghu.misterjoy.ru
0.0.0.0 stsoftware.biz
0.0.0.0 tekindustri.upnjatim.ac.id
0.0.0.0 thedatingconference.com
0.0.0.0 tinaborg.com
0.0.0.0 unionleisurewear.com
0.0.0.0 va.tawk.to
0.0.0.0 vntanktransport.com
0.0.0.0 vp5.sudohost.com.br
0.0.0.0 vydoxtrial.com
0.0.0.0 whiteboxin.com
0.0.0.0 www.7minuteworkout.com
0.0.0.0 www.addshoppers.com
0.0.0.0 www.arklighting.co
0.0.0.0 www.beaverday.biz
0.0.0.0 www.brandedleadgeneration.com
0.0.0.0 www.clicktshirtprinting.co.uk
0.0.0.0 www.creditauthpagev3.info
0.0.0.0 www.credomobile.com
0.0.0.0 www.defenderxtactical.com
0.0.0.0 www.divisioncore.com
0.0.0.0 www.fitnesshealthreporter.com
0.0.0.0 www.freeforums.org
0.0.0.0 www.go2jump.org
0.0.0.0 www.gtradersoft.com
0.0.0.0 www.heartrevitalized.com
0.0.0.0 www.hudsonleadership.com
0.0.0.0 www.janeaustenjoy.com
0.0.0.0 www.medtecchina.com
0.0.0.0 www.misterjoy.ru
0.0.0.0 www.motoren.ru
0.0.0.0 www.mydreamdegree.com
0.0.0.0 www.nero-us.com
0.0.0.0 www.novastarled.com
0.0.0.0 www.onlineloan-personal.net
0.0.0.0 www.otherinbox.com
0.0.0.0 www.oz-offers.com
0.0.0.0 www.playlott.com
0.0.0.0 www.profitsitesbiz.com
0.0.0.0 www.redhotfreebies.co.uk
0.0.0.0 www.securesignupoffers.org
0.0.0.0 www.stsoftware.biz
0.0.0.0 www.thedatingconference.com
0.0.0.0 www.tinaborg.com
0.0.0.0 www.tkdami.net
0.0.0.0 www.unionleisurewear.com
0.0.0.0 www.vntanktransport.com
0.0.0.0 www.vydoxtrial.com
0.0.0.0 www.whiteboxin.com
0.0.0.0 xyrjtq.misterjoy.ru
0.0.0.0 100.1qingdao.com
0.0.0.0 7minuteworkout.com
0.0.0.0 addshoppers.com
0.0.0.0 affiliatecashpile.go2jump.org
0.0.0.0 arklighting.co
0.0.0.0 bigpayout.go2jump.org
0.0.0.0 brandedleadgeneration.com
0.0.0.0 clicktshirtprinting.co.uk
0.0.0.0 creditauthpagev3.info
0.0.0.0 dandingo.go2jump.org
0.0.0.0 defenderxtactical.com
0.0.0.0 divisioncore.com
0.0.0.0 fitnesshealthreporter.com
0.0.0.0 freeforums.org
0.0.0.0 go2jump.org
0.0.0.0 gtradersoft.com
0.0.0.0 heartrevitalized.com
0.0.0.0 janeaustenjoy.com
0.0.0.0 lazyprofits.go2jump.org
0.0.0.0 medtecchina.com
0.0.0.0 motoren.ru
0.0.0.0 mydreamdegree.com
0.0.0.0 nero-us.com
0.0.0.0 news.nero-emea.com
0.0.0.0 news.nero-us.com
0.0.0.0 novastarled.com
0.0.0.0 offerscience.go2jump.org
0.0.0.0 onlineloan-personal.net
0.0.0.0 otherinbox.com
0.0.0.0 pcbutts1-therealtruth.blogspot.com
0.0.0.0 playlott.com
0.0.0.0 profitsitesbiz.com
0.0.0.0 redhotfreebies.co.uk
0.0.0.0 securesignupoffers.org
0.0.0.0 stsoftware.biz
0.0.0.0 tekindustri.upnjatim.ac.id
0.0.0.0 thedatingconference.com
0.0.0.0 tinaborg.com
0.0.0.0 unionleisurewear.com
0.0.0.0 va.tawk.to
0.0.0.0 vntanktransport.com
0.0.0.0 vydoxtrial.com
0.0.0.0 www.7minuteworkout.com
0.0.0.0 www.addshoppers.com
0.0.0.0 www.arklighting.co
0.0.0.0 www.brandedleadgeneration.com
0.0.0.0 www.clicktshirtprinting.co.uk
0.0.0.0 www.creditauthpagev3.info
0.0.0.0 www.defenderxtactical.com
0.0.0.0 www.divisioncore.com
0.0.0.0 www.fitnesshealthreporter.com
0.0.0.0 www.freeforums.org
0.0.0.0 www.go2jump.org
0.0.0.0 www.gtradersoft.com
0.0.0.0 www.heartrevitalized.com
0.0.0.0 www.janeaustenjoy.com
0.0.0.0 www.medtecchina.com
0.0.0.0 www.motoren.ru
0.0.0.0 www.mydreamdegree.com
0.0.0.0 www.nero-us.com
0.0.0.0 www.novastarled.com
0.0.0.0 www.onlineloan-personal.net
0.0.0.0 www.otherinbox.com
0.0.0.0 www.oz-offers.com
0.0.0.0 www.playlott.com
0.0.0.0 www.profitsitesbiz.com
0.0.0.0 www.securesignupoffers.org
0.0.0.0 www.stsoftware.biz
0.0.0.0 www.thedatingconference.com
0.0.0.0 www.tinaborg.com
0.0.0.0 www.tkdami.net
0.0.0.0 www.unionleisurewear.com
0.0.0.0 www.vntanktransport.com
0.0.0.0 www.vydoxtrial.com
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "add.Spam",
"description": "Spam sites based on http://www.hostsfile.org/hosts.html content.",
"description": "Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
"homeurl": "https://github.com/FadeMind/hosts.extras",
"frequency": "occasionally",
"issues": "https://github.com/FadeMind/hosts.extras/issues",
+1 -39
View File
@@ -1,6 +1,6 @@
# MalwareDomainList.com Hosts List #
# http://www.malwaredomainlist.com/hostslist/hosts.txt #
# Last updated: Wed, 07 Mar 18 15:29:21 +0000 #
# Last updated: Thu, 21 Feb 19 17:45:13 +0000 #
127.0.0.1 localhost
@@ -60,7 +60,6 @@
127.0.0.1 analxxxclipsyjh.dnset.com
127.0.0.1 anshrit.com
127.0.0.1 antalya.ru
127.0.0.1 apexgames.org
127.0.0.1 app.pho8.com
127.0.0.1 arkinsoftware.in
127.0.0.1 art-archiv.ru
@@ -69,7 +68,6 @@
127.0.0.1 associatesexports.com
127.0.0.1 atlcourier.com
127.0.0.1 atyss.barginginfrance.net
127.0.0.1 avokka.com
127.0.0.1 avppet.com
127.0.0.1 axisbuild.com
127.0.0.1 azoos.csheaven.com
@@ -148,7 +146,6 @@
127.0.0.1 d1.kuai8.com
127.0.0.1 d1054130-28095.cp.blacknight.com
127.0.0.1 d1171912.cp.blacknight.com
127.0.0.1 d32k27yvyi4kmv.cloudfront.net
127.0.0.1 d4.cumshots.ws
127.0.0.1 dancecourt.com
127.0.0.1 daralasnan.com
@@ -227,7 +224,6 @@
127.0.0.1 ex.technor.com
127.0.0.1 exclaim.goldenteamacademy.cl
127.0.0.1 executivecoaching.co.il
127.0.0.1 exsexytop.tk
127.0.0.1 extreembilisim.com
127.0.0.1 f.gj555.net
127.0.0.1 faiyazahmed.com
@@ -243,7 +239,6 @@
127.0.0.1 files.dsnetwb.com
127.0.0.1 finnhair.co.uk
127.0.0.1 firehouse651.com
127.0.0.1 fkhfgfg.tk
127.0.0.1 flashsavant.com
127.0.0.1 fo5.a1-downloader.org
127.0.0.1 fondazioneciampi.org
@@ -275,7 +270,6 @@
127.0.0.1 gyboo.cruisingsmallship.com
127.0.0.1 gylra.cruisingsmallship.com
127.0.0.1 h1666015.stratoserver.net
127.0.0.1 hana-naveh.com
127.0.0.1 hanulsms.com
127.0.0.1 hardcorepornparty.com
127.0.0.1 harshwhispers.com
@@ -284,7 +278,6 @@
127.0.0.1 helesouurusa.cjb.com
127.0.0.1 hexadl.line55.net
127.0.0.1 higher.dwebsi.tk
127.0.0.1 highflyingfood.com
127.0.0.1 hinsib.com
127.0.0.1 hmora.fred-build.tk
127.0.0.1 hnskorea.co.kr
@@ -337,7 +330,6 @@
127.0.0.1 izzy-cars.nl
127.0.0.1 japanesevehicles.us
127.0.0.1 jdfabrication.com
127.0.0.1 jeanlesigne.com
127.0.0.1 jeansvixens.com
127.0.0.1 jessisjewels.com
127.0.0.1 josip-stadler.org
@@ -369,7 +361,6 @@
127.0.0.1 landisbaptist.com
127.0.0.1 lay.elticket.com.ar
127.0.0.1 lcbcad.co.uk
127.0.0.1 leagleconsulting.com
127.0.0.1 lefos.net
127.0.0.1 legendsdtv.com
127.0.0.1 lexu.goggendorf.at
@@ -377,7 +368,6 @@
127.0.0.1 lifescience.sysu.edu.cn
127.0.0.1 likes.gisnetwork.net
127.0.0.1 linkforme.tk
127.0.0.1 live-dir.tk
127.0.0.1 livre.wasastation.fi
127.0.0.1 loft2126.dedicatedpanel.com
127.0.0.1 losas.cabanaslanina.com.ar
@@ -398,7 +388,6 @@
127.0.0.1 luggagepreview.com
127.0.0.1 lunaticjazz.com
127.0.0.1 luwyou.com
127.0.0.1 lydwood.co.uk
127.0.0.1 m2132.ehgaugysd.net
127.0.0.1 mahindrainsurance.com
127.0.0.1 mailboto.com
@@ -409,7 +398,6 @@
127.0.0.1 marx-brothers.mhwang.com
127.0.0.1 mathenea.com
127.0.0.1 maxisoft.co.uk
127.0.0.1 mbrdot.tk
127.0.0.1 mediatrade.h19.ru
127.0.0.1 mepra.blautechnology.cl
127.0.0.1 merrymilkfoods.com
@@ -471,7 +459,6 @@
127.0.0.1 nowina.info
127.0.0.1 ns1.the-sinner.net
127.0.0.1 ns1.updatesdns.org
127.0.0.1 ns2ns1.tk
127.0.0.1 nt-associates.com
127.0.0.1 nudebeachgalleries.net
127.0.0.1 nugly.barginginfrance.net
@@ -595,21 +582,14 @@
127.0.0.1 sanya.vipc2f.com
127.0.0.1 sarahdaniella.com
127.0.0.1 sasson-cpa.co.il
127.0.0.1 sayherbal.com
127.0.0.1 sbnc.hak.su
127.0.0.1 scaner-do.tk
127.0.0.1 scaner-figy.tk
127.0.0.1 scaner-file.tk
127.0.0.1 scaner-or.tk
127.0.0.1 scaner-sbite.tk
127.0.0.1 scaner-sboom.tk
127.0.0.1 scaner-sdee.tk
127.0.0.1 scaner-tfeed.tk
127.0.0.1 scaner-tgame.tk
127.0.0.1 scanty.colormark.cl
127.0.0.1 scdsfdfgdr12.tk
127.0.0.1 scream.garudamp3.com
127.0.0.1 sdg-translations.com
127.0.0.1 securitywebservices.com
127.0.0.1 seet10.jino.ru
127.0.0.1 semengineers.com
@@ -624,7 +604,6 @@
127.0.0.1 sgs.us.com
127.0.0.1 shoal.grahanusareadymix.com
127.0.0.1 shovi.frost-electric-supply.com
127.0.0.1 signready.com
127.0.0.1 silurian.cn
127.0.0.1 simpi.tourstogo.us
127.0.0.1 site-checksite.tk
@@ -728,7 +707,6 @@
127.0.0.1 slimxxxtubeyge.ddns.name
127.0.0.1 slimxxxtubeyhz.ddns.name
127.0.0.1 slimxxxtubeyza.ddns.name
127.0.0.1 smartify.org
127.0.0.1 smilll.depozit.hr
127.0.0.1 smrcek.com
127.0.0.1 sn-gzzx.com
@@ -740,7 +718,6 @@
127.0.0.1 spekband.com
127.0.0.1 sportsulsan.co.kr
127.0.0.1 spread.diadanoivabh.com.br
127.0.0.1 spykit.110mb.com
127.0.0.1 srslogisticts.com
127.0.0.1 ssl-6582datamanager.de
127.0.0.1 static.retirementcommunitiesfyi.com
@@ -754,7 +731,6 @@
127.0.0.1 sunny99.cholerik.cz
127.0.0.1 svetyivanrilski.com
127.0.0.1 svision-online.de
127.0.0.1 sysconcalibration.com
127.0.0.1 systemscheckusa.com
127.0.0.1 szinhaz.hu
127.0.0.1 tabex.sopharma.bg
@@ -772,7 +748,6 @@
127.0.0.1 teprom.it
127.0.0.1 terem.eltransbt.ro
127.0.0.1 testtralala.xorg.pl
127.0.0.1 textsex.tk
127.0.0.1 textspeier.de
127.0.0.1 thcextractor.com
127.0.0.1 thcvaporizer.com
@@ -782,7 +757,6 @@
127.0.0.1 timothycopus.aimoo.com
127.0.0.1 titon.info
127.0.0.1 tk-gregoric.si
127.0.0.1 toddscarwash.com
127.0.0.1 tomalinoalambres.com.ar
127.0.0.1 tophostbg.net
127.0.0.1 traff1.com
@@ -910,8 +884,6 @@
127.0.0.1 wallpapers91.com
127.0.0.1 warco.pl
127.0.0.1 wc0x83ghk.homepage.t-online.de
127.0.0.1 web-domain.tk
127.0.0.1 web-fill.tk
127.0.0.1 web-olymp.ru
127.0.0.1 web-sensations.com
127.0.0.1 webcashmaker.com
@@ -920,7 +892,6 @@
127.0.0.1 weboxmedia.by
127.0.0.1 websalesusa.com
127.0.0.1 websitebuildersinfo.in
127.0.0.1 welington.info
127.0.0.1 wetjane.x10.mx
127.0.0.1 wetyt.tourstogo.us
127.0.0.1 wfoto.front.ru
@@ -962,7 +933,6 @@
127.0.0.1 www.arkinsoftware.in
127.0.0.1 www.assculturaleincontri.it
127.0.0.1 www.atousoft.com
127.0.0.1 www.autoappassionati.it
127.0.0.1 www.bcservice.it
127.0.0.1 www.blueimagen.com
127.0.0.1 www.casamama.nl
@@ -992,7 +962,6 @@
127.0.0.1 www.fasadobygg.com
127.0.0.1 www.feiyang163.com
127.0.0.1 www.fiduciariobajio.com.mx
127.0.0.1 www.fiocchidiriso.com
127.0.0.1 www.flowtec.com.br
127.0.0.1 www.fotoidea.com
127.0.0.1 www.freemao.com
@@ -1011,7 +980,6 @@
127.0.0.1 www.hjaoopoa.top
127.0.0.1 www.hospedar.xpg.com.br
127.0.0.1 www.icybrand.eu
127.0.0.1 www.imagerieduroc.com
127.0.0.1 www.inevo.co.il
127.0.0.1 www.infra.by
127.0.0.1 www.jcmarcadolib.com
@@ -1023,7 +991,6 @@
127.0.0.1 www.litra.com.mk
127.0.0.1 www.lostartofbeingadame.com
127.0.0.1 www.lowes-pianos-and-organs.com
127.0.0.1 www.luce.polimi.it
127.0.0.1 www.lyzgs.com
127.0.0.1 www.m-barati.de
127.0.0.1 www.makohela.tk
@@ -1061,14 +1028,12 @@
127.0.0.1 www.racingandclassic.com
127.0.0.1 www.realinnovation.com
127.0.0.1 www.rebeccacella.com
127.0.0.1 www.reifen-simon.com
127.0.0.1 www.rempko.sk
127.0.0.1 www.riccardochinnici.it
127.0.0.1 www.ristoromontebasso.it
127.0.0.1 www.rokus-tgy.hu
127.0.0.1 www.roltek.com.tr
127.0.0.1 www.rooversadvocatuur.nl
127.0.0.1 www.rst-velbert.de
127.0.0.1 www.saemark.is
127.0.0.1 www.salentoeasy.it
127.0.0.1 www.sankyo.gr.jp
@@ -1084,7 +1049,6 @@
127.0.0.1 www.sitepalace.com
127.0.0.1 www.sj88.com
127.0.0.1 www.slivki.com.ua
127.0.0.1 www.smartgvcfunding.com
127.0.0.1 www.smartscan.ro
127.0.0.1 www.sonnoli.com
127.0.0.1 www.spris.com
@@ -1123,8 +1087,6 @@
127.0.0.1 www.zatzy.com
127.0.0.1 www.zctei.com
127.0.0.1 www.zyxyfy.com
127.0.0.1 www12.0zz0.com
127.0.0.1 www8.0zz0.com
127.0.0.1 xamateurpornlic.www1.biz
127.0.0.1 xicaxique.com.br
127.0.0.1 xindalawyer.com
+3 -3
View File
@@ -1,9 +1,9 @@
{
"name": "Malware Domain List",
"description": "Malware Domain List is a non-commercial community project.",
"homeurl": "http://www.malwaredomainlist.com/",
"homeurl": "https://www.malwaredomainlist.com/",
"frequency": "weekly",
"issues": "http://www.malwaredomainlist.com/contact.php",
"url": "http://www.malwaredomainlist.com/hostslist/hosts.txt",
"issues": "https://www.malwaredomainlist.com/contact.php",
"url": "https://www.malwaredomainlist.com/hostslist/hosts.txt",
"license": "'can be used for free by anyone'"
}
+90 -1184
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,9 +1,9 @@
{
"name": "Dan Pollock – someonewhocares.org",
"name": "Dan Pollock – [someonewhocares](https://someonewhocares.org)",
"description": "How to make the internet not suck (as much).",
"homeurl": "http://someonewhocares.org/hosts/",
"homeurl": "https://someonewhocares.org/hosts/",
"frequency": "frequently",
"issues": "hosts@someonewhocares.org",
"url": "http://someonewhocares.org/hosts/zero/hosts",
"url": "https://someonewhocares.org/hosts/zero/hosts",
"license": "non-commercial with attribution"
}
+2204
View File
File diff suppressed because it is too large Load Diff
+9
View File
@@ -0,0 +1,9 @@
{
"name": "Tiuxo hostlist - ads",
"description": "Categorized hosts files for DNS based content blocking",
"homeurl": "https://github.com/tiuxo/hosts",
"frequency": "occasional",
"issues": "https://github.com/tiuxo/hosts/issues",
"url": "https://raw.githubusercontent.com/tiuxo/hosts/master/ads",
"license": "CC BY 4.0"
}
-39
View File
@@ -1,39 +0,0 @@
127.0.0.1 ac3.msn.com
127.0.0.1 choice.microsoft.com
127.0.0.1 choice.microsoft.com.nsatc.net
127.0.0.1 compatexchange.cloudapp.net
127.0.0.1 corp.sts.microsoft.com
127.0.0.1 corpext.msitadfs.glbdns2.microsoft.com
127.0.0.1 cs1.wpc.v0cdn.net
127.0.0.1 diagnostics.support.microsoft.com
127.0.0.1 feedback.search.microsoft.com
127.0.0.1 feedback.windows.com
127.0.0.1 i1.services.social.microsoft.com
127.0.0.1 i1.services.social.microsoft.com.nsatc.net
127.0.0.1 oca.telemetry.microsoft.com
127.0.0.1 oca.telemetry.microsoft.com.nsatc.net
127.0.0.1 pre.footprintpredict.com
127.0.0.1 redir.metaservices.microsoft.com
127.0.0.1 services.wes.df.telemetry.microsoft.com
127.0.0.1 settings-sandbox.data.microsoft.com
127.0.0.1 sls.update.microsoft.com.akadns.net
127.0.0.1 sqm.df.telemetry.microsoft.com
127.0.0.1 sqm.telemetry.microsoft.com
127.0.0.1 sqm.telemetry.microsoft.com.nsatc.net
127.0.0.1 ssw.live.com
127.0.0.1 statsfe1.ws.microsoft.com
127.0.0.1 statsfe2.update.microsoft.com.akadns.net
127.0.0.1 survey.watson.microsoft.com
127.0.0.1 telecommand.telemetry.microsoft.com
127.0.0.1 telecommand.telemetry.microsoft.com.nsatc.net
127.0.0.1 telemetry.urs.microsoft.com
127.0.0.1 vortex-bn2.metron.live.com.nsatc.net
127.0.0.1 vortex-cy2.metron.live.com.nsatc.net
127.0.0.1 vortex-sandbox.data.microsoft.com
127.0.0.1 vortex-win.data.microsoft.com
127.0.0.1 vortex.data.microsoft.com
127.0.0.1 watson.live.com
127.0.0.1 watson.microsoft.com
127.0.0.1 watson.ppe.telemetry.microsoft.com
127.0.0.1 watson.telemetry.microsoft.com
127.0.0.1 watson.telemetry.microsoft.com.nsatc.net
-8
View File
@@ -1,8 +0,0 @@
{
"name": "tyzbit",
"description": "Microsoft tracking domains. A fork of this repo providing additional data.",
"homeurl": "https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts",
"frequency": "rarely",
"issues": "",
"url": "https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts"
}
+587 -222
View File
File diff suppressed because it is too large Load Diff
+3 -12
View File
@@ -35,7 +35,6 @@
0.0.0.0 awarenessact.com
0.0.0.0 awazetribune.com
0.0.0.0 awdnews.com
0.0.0.0 babylonbee.com
0.0.0.0 badcriminals.com
0.0.0.0 baltimoregazette.com
0.0.0.0 bb4sp.com
@@ -84,7 +83,6 @@
0.0.0.0 conservative101.com
0.0.0.0 conservativebyte.com
0.0.0.0 conservativedailypost.com
0.0.0.0 conservativedailypost.com
0.0.0.0 conservativefiringline.com
0.0.0.0 conservativefrontline.com
0.0.0.0 conservativepapers.com
@@ -175,7 +173,6 @@
0.0.0.0 holylandnutrition.com
0.0.0.0 humansarefree.com
0.0.0.0 ihavethetruth.com
0.0.0.0 ijr.com
0.0.0.0 illuminati-news.com
0.0.0.0 immediatesafety.org
0.0.0.0 imzansi.co.za
@@ -225,13 +222,13 @@
0.0.0.0 lucidawakenings.net
0.0.0.0 madashellnews.com
0.0.0.0 madworldnews.com
0.0.0.0 madworldnews.com
0.0.0.0 mainerepublicemailalert.com
0.0.0.0 makeamericagreattoday.com
0.0.0.0 mbynews.com
0.0.0.0 mckenziepost.com
0.0.0.0 mediamass.net
0.0.0.0 memoryholeblog.com
0.0.0.0 mindenszo.hu
0.0.0.0 moralmatters.org
0.0.0.0 mpidailymagazine.com
0.0.0.0 mrnewswatch.com
@@ -254,9 +251,10 @@
0.0.0.0 newshubs.info
0.0.0.0 newslo.com
0.0.0.0 newsmutiny.com
0.0.0.0 newsnow.co.za
0.0.0.0 newsnow17.com
0.0.0.0 newspunch.com
0.0.0.0 newstarget.com
0.0.0.0 newsthump.com
0.0.0.0 newswatch28.com
0.0.0.0 newswatch33.com
0.0.0.0 newswire-24.com
@@ -351,7 +349,6 @@
0.0.0.0 theforbiddenknowledge.com
0.0.0.0 thefreepatriot.org
0.0.0.0 thefreethoughtproject.com
0.0.0.0 thefreethoughtproject.com
0.0.0.0 thefrt.com
0.0.0.0 thehardtimes.net
0.0.0.0 theineptowl.com
@@ -371,7 +368,6 @@
0.0.0.0 therealstrategy.com
0.0.0.0 thereporterz.com
0.0.0.0 therightists.com
0.0.0.0 therightists.com
0.0.0.0 therundownlive.com
0.0.0.0 thesaker.is
0.0.0.0 theskunk.org
@@ -412,7 +408,6 @@
0.0.0.0 truthpoliticsnews.com
0.0.0.0 tv.infowars.com
0.0.0.0 twitchy.com
0.0.0.0 twitchy.com
0.0.0.0 uconservative.com
0.0.0.0 ufoholic.com
0.0.0.0 ultimateflashnews.com
@@ -552,11 +547,9 @@
0.0.0.0 www.johnnyrobish.com
0.0.0.0 www.kkk.com
0.0.0.0 www.landrypost.com
0.0.0.0 www.lgbtqnation.com
0.0.0.0 www.libertyvideos.com
0.0.0.0 www.lifezette.com
0.0.0.0 www.liftable.com
0.0.0.0 www.liveleak.com
0.0.0.0 www.lushforlife.com
0.0.0.0 www.mercola.com
0.0.0.0 www.militianews.com
@@ -648,7 +641,6 @@
0.0.0.0 www.truthdig.com
0.0.0.0 www.unz.com
0.0.0.0 www.usanewsflash.com
0.0.0.0 www.usanewsflash.com
0.0.0.0 www.usanewsinsider.com
0.0.0.0 www.usasupreme.com
0.0.0.0 www.uspoliticslive.com
@@ -659,7 +651,6 @@
0.0.0.0 www.viralthread.com
0.0.0.0 www.voltairenet.org
0.0.0.0 www.wakingtimes.com
0.0.0.0 www.washingtonexaminer.com
0.0.0.0 www.washingtonsblog.com
0.0.0.0 www.webdaily.com
0.0.0.0 www.wellaware1.com
+749 -2
View File
@@ -1,7 +1,8 @@
# Gambling hosts
# Title: Gambling hosts
# https://www.reddit.com/r/GlobalOffensiveGamble/comments/3d5fmr/list_of_csgo_gambling_websites/
# http://www.top100bookmakers.com/completelist.php
# Updated July 17, 2016
# https://raw.githubusercontent.com/lassekongo83/Frellwits-filter-lists/master/anti-casino-and-betting-hosts-file.txt
# Updated March 21, 2019
127.0.0.1 crownbet.com.au
127.0.0.1 crownbet.com
@@ -118,6 +119,8 @@
127.0.0.1 artemisbet10.com
127.0.0.1 asianbeta.com
127.0.0.1 www.asianbeta.com
127.0.0.1 atg.se
127.0.0.1 www.atg.se
127.0.0.1 axbet.com
127.0.0.1 www.axbet.com
127.0.0.1 bananajackpot.com
@@ -684,6 +687,8 @@
127.0.0.1 daisybingo.com
127.0.0.1 www.daisybingo.com
127.0.0.1 dakotacasino.com
127.0.0.1 dantoto.dk
127.0.0.1 www.dantoto.dk
127.0.0.1 dashbet.com
127.0.0.1 www.dashbet.com
127.0.0.1 desertnightscasino.co.uk
@@ -720,6 +725,8 @@
127.0.0.1 www.eccobet.com
127.0.0.1 ed3688.com
127.0.0.1 www.ed3688.com
127.0.0.1 eestiloto.ee
127.0.0.1 eestiloto.ee
127.0.0.1 efbet.com
127.0.0.1 www.efbet.com
127.0.0.1 egamingbets.com
@@ -772,6 +779,8 @@
127.0.0.1 www.favbet.com
127.0.0.1 favourit.com
127.0.0.1 www.favourit.com
127.0.0.1 fdj.fr
127.0.0.1 www.fdj.fr
127.0.0.1 flemingtonsportsbet.com.au
127.0.0.1 www.flemingtonsportsbet.com.au
127.0.0.1 fonbet.com
@@ -1129,6 +1138,8 @@
127.0.0.1 www.nitrogensports.eu
127.0.0.1 nordicbet.com
127.0.0.1 www.nordicbet.com
127.0.0.1 norsk-tipping.no
127.0.0.1 www.norsk-tipping.no
127.0.0.1 novibet.com
127.0.0.1 www.novibet.com
127.0.0.1 noxwin.com
@@ -1235,6 +1246,8 @@
127.0.0.1 www.redmilebets.com
127.0.0.1 redstarsports.eu
127.0.0.1 www.redstarsports.eu
127.0.0.1 rikstoto.no
127.0.0.1 www.rikstoto.no
127.0.0.1 rivalo.com
127.0.0.1 www.rivalo.com
127.0.0.1 roadbet.com
@@ -1276,6 +1289,8 @@
127.0.0.1 www.setantabet.com
127.0.0.1 sirbobet.com
127.0.0.1 www.sirbobet.com
127.0.0.1 sisal.it
127.0.0.1 www.sisal.it
127.0.0.1 sjbet.at
127.0.0.1 www.sjbet.at
127.0.0.1 skedina.com
@@ -1391,6 +1406,8 @@
127.0.0.1 www.supersportsbook.com
127.0.0.1 superusacasino.com
127.0.0.1 www.superusacasino.com
127.0.0.1 svenskaspel.se
127.0.0.1 www.svenskaspel.se
127.0.0.1 tab.co.nz
127.0.0.1 www.tab.co.nz
127.0.0.1 tab.com.au
@@ -1471,6 +1488,8 @@
127.0.0.1 www.vandersports.com
127.0.0.1 vbet.com
127.0.0.1 www.vbet.com
127.0.0.1 veikkaus.fi
127.0.0.1 www.veikkaus.fi
127.0.0.1 vernons.com
127.0.0.1 www.vernons.com
127.0.0.1 vestabet365.com
@@ -1545,3 +1564,731 @@
127.0.0.1 www.zebrabet.com.au
127.0.0.1 zetpoker.eu
127.0.0.1 www.zetpoker.eu
127.0.0.1 www.betonline.com
127.0.0.1 www.sportsbook.ag
127.0.0.1 www.lasvegassportsbetting.com
127.0.0.1 www.oddsshark.com
127.0.0.1 betting.betfair.com
127.0.0.1 www.offtrackbetting.com
127.0.0.1 m.skybet.com
127.0.0.1 sports.williamhill.com
127.0.0.1 vegas.williamhill.com
127.0.0.1 macau.williamhill.com
127.0.0.1 casino.williamhill.com
127.0.0.1 livecasino.williamhill.com
127.0.0.1 games.williamhill.com
127.0.0.1 bingo.williamhill.com
127.0.0.1 poker.williamhill.com
127.0.0.1 www.sportsbettingdime.com
127.0.0.1 www.sunbets.co.uk
127.0.0.1 www.sportsbookreview.com
127.0.0.1 www.pinnacle.com
127.0.0.1 sblp.intertops.eu
127.0.0.1 www.justbet.co
127.0.0.1 www.wagerweb.eu
127.0.0.1 danskespil.dk
127.0.0.1 www.bodog888.com
127.0.0.1 sports.bwin.com
127.0.0.1 global.138.com
127.0.0.1 www.winner.co.uk
127.0.0.1 en.expekt.com
127.0.0.1 sports.gamebookers.com
127.0.0.1 en.betclic.com
127.0.0.1 www.cloudbet.com
127.0.0.1 www.betcoin.ag
127.0.0.1 www.jetwin.com
127.0.0.1 www.bitcoinrush.io
127.0.0.1 sportsbet.io
127.0.0.1 betregal.com
127.0.0.1 www.betmonarch.com
127.0.0.1 www.betcruise.com
127.0.0.1 www.northbet.com
127.0.0.1 mybookie.ag
127.0.0.1 m.jetbull.com
127.0.0.1 www.betodds.ag
127.0.0.1 www.betplatinum.ag
127.0.0.1 www.gamingclub1.com
127.0.0.1 www.betmylines.com
127.0.0.1 www.alohasportsbook.com
127.0.0.1 www.bet2win.ag
127.0.0.1 www.bigcitysportsbook.com
127.0.0.1 balkanbet.co.rs
127.0.0.1 sport.netbet.co.uk
127.0.0.1 jojobet.com
127.0.0.1 betdna.com
127.0.0.1 www.parimatchplay1.com
127.0.0.1 www.actionbets.com
127.0.0.1 www.azcasino.com
127.0.0.1 sports.br.betboo.com
127.0.0.1 www.betsbc.com
127.0.0.1 www.linesmaker.eu
127.0.0.1 www.playersonly.ag
127.0.0.1 www.superbook.ag
127.0.0.1 www.mpcasino.com
127.0.0.1 www.vacasino.com
127.0.0.1 www.gotoentertainment.com
127.0.0.1 www.casinony.com
127.0.0.1 www.japancasino.com
127.0.0.1 www.dccasino.com
127.0.0.1 www.mexicocasino.com
127.0.0.1 www.bamasportsbook.com
127.0.0.1 www.indycasino.com
127.0.0.1 www.12bet.uk
127.0.0.1 www.wagerup.eu
127.0.0.1 www.crsportsbet.ag
127.0.0.1 zenitbet.com
127.0.0.1 www.admiralspot.com
127.0.0.1 www.livesports.ag
127.0.0.1 www.10bet.co.uk
127.0.0.1 www.mrgreen.com
127.0.0.1 casino.betway.com
127.0.0.1 livecasino.betway.com
127.0.0.1 sports.betway.com
127.0.0.1 vegas.betway.com
127.0.0.1 poker.betway.com
127.0.0.1 plus.betway.com
127.0.0.1 m.boylesports.com
127.0.0.1 www.karamba.com
127.0.0.1 www.unibet.co.uk
127.0.0.1 www.grosvenorcasinos.com
127.0.0.1 www.royalpanda.com
127.0.0.1 livebetting.bwin.com
127.0.0.1 thebettingguy.co.uk
127.0.0.1 www.betstars.uk
127.0.0.1 www.pokerstarscasino.uk
127.0.0.1 www.pokerstars.uk
127.0.0.1 www.uk-k8.com
127.0.0.1 energybet.com
127.0.0.1 wwin.com
127.0.0.1 www.stakers.com
127.0.0.1 www.32red.com
127.0.0.1 www.marathonbet.co.uk
127.0.0.1 sports.gentingcasino.com
127.0.0.1 www.redzonesports.bet
127.0.0.1 sports.vernons.com
127.0.0.1 casino.vernons.com
127.0.0.1 bingo.vernons.com
127.0.0.1 www.bethard.com
127.0.0.1 21bet.com
127.0.0.1 21casino.com
127.0.0.1 21prive.com
127.0.0.1 22bet.com
127.0.0.1 22betpartners.com
127.0.0.1 24bettle.com
127.0.0.1 666casino.com
127.0.0.1 777.com
127.0.0.1 7godscasino.com
127.0.0.1 7jackpots.com
127.0.0.1 888.com
127.0.0.1 agentspinner.com
127.0.0.1 ahacasino.com
127.0.0.1 ahtigames.com
127.0.0.1 alfcasino.com
127.0.0.1 barbadoscasino.com
127.0.0.1 b-bets.com
127.0.0.1 bertil.com
127.0.0.1 bestcasino.com
127.0.0.1 betfinal.com
127.0.0.1 bethard.com
127.0.0.1 betive.com
127.0.0.1 betser.com
127.0.0.1 betspawn.com
127.0.0.1 betzest.com
127.0.0.1 bgo.com
127.0.0.1 bingo.com
127.0.0.1 bobcasino.com
127.0.0.1 bobregister.com
127.0.0.1 buckandbutler.com
127.0.0.1 campeonbet.com
127.0.0.1 campobet.com
127.0.0.1 cashiopeia.com
127.0.0.1 cashmio.com
127.0.0.1 casilando.com
127.0.0.1 casimba.com
127.0.0.1 casiniabet.com
127.0.0.1 casinoandfriends.com
127.0.0.1 casinocalzone.com
127.0.0.1 casinocruise.com
127.0.0.1 casinoeuro.com
127.0.0.1 casinoheroes.com
127.0.0.1 casinojefe.com
127.0.0.1 casinoland.com
127.0.0.1 casinolasvegas.com
127.0.0.1 casinolasvegas.no
127.0.0.1 casinopop.com
127.0.0.1 casino-pp.net
127.0.0.1 casinoroom.com
127.0.0.1 casinostugan.com
127.0.0.1 casinotown.se
127.0.0.1 casinsi.com
127.0.0.1 casumo.com
127.0.0.1 chancehill.com
127.0.0.1 chanz.com
127.0.0.1 cheekywin.com
127.0.0.1 cherrycasino.com
127.0.0.1 codeta.com
127.0.0.1 coolbet.com
127.0.0.1 cozino.com
127.0.0.1 dealerscasino.com
127.0.0.1 diamond7casino.com
127.0.0.1 dreamjackpot.com
127.0.0.1 dreamvegas.com
127.0.0.1 dreamz.com
127.0.0.1 duelz.com
127.0.0.1 dunder.com
127.0.0.1 esportsbetting.com
127.0.0.1 euroslots.com
127.0.0.1 fansbet.com
127.0.0.1 fikacasino.com
127.0.0.1 flumecasino.com
127.0.0.1 folkeautomaten.com
127.0.0.1 frankcasino.com
127.0.0.1 frankfred.com
127.0.0.1 freakyvegas.com
127.0.0.1 fruitycasa.com
127.0.0.1 fsport.net
127.0.0.1 funcasino.com
127.0.0.1 gate777.com
127.0.0.1 genesiscasino.com
127.0.0.1 getlucky.com
127.0.0.1 glimmercasino.com
127.0.0.1 goliathcasino.com
127.0.0.1 hajper.com
127.0.0.1 hellocasino.com
127.0.0.1 heyspin.com
127.0.0.1 highroller.com
127.0.0.1 hopa.com
127.0.0.1 igame.com
127.0.0.1 igame.se
127.0.0.1 ikibu.com
127.0.0.1 instacasino.com
127.0.0.1 intercasino.com
127.0.0.1 jackpotcity.com
127.0.0.1 johnslots.com
127.0.0.1 justcasino.com
127.0.0.1 kaboo.com
127.0.0.1 kaiserslots.com
127.0.0.1 karamba.com
127.0.0.1 karjalakasino.com
127.0.0.1 karlcasino.com
127.0.0.1 lapalingo.com
127.0.0.1 legolas.bet
127.0.0.1 leovegas.com
127.0.0.1 letsbet.com
127.0.0.1 livelounge.com
127.0.0.1 lsbet690.com
127.0.0.1 luckland.com
127.0.0.1 luckycasino.com
127.0.0.1 luckydino.com
127.0.0.1 luckyland.co.uk
127.0.0.1 luckylouis.com
127.0.0.1 luckymeslots.com
127.0.0.1 luckyniki.com
127.0.0.1 luckywinslots.com
127.0.0.1 magicred.com
127.0.0.1 malinasports.com
127.0.0.1 mamamiabingo.com
127.0.0.1 mansionbet.com
127.0.0.1 mariacasino.com
127.0.0.1 metalcasino.com
127.0.0.1 miamidicecasino.com
127.0.0.1 miamidice.com
127.0.0.1 mobil6000.com
127.0.0.1 mobilautomaten.com
127.0.0.1 mobilebet.com
127.0.0.1 mobocasino.com
127.0.0.1 montecarlocasino.com
127.0.0.1 mr.bet
127.0.0.1 mrgreen.com
127.0.0.1 mrmega.com
127.0.0.1 mrmobi.com
127.0.0.1 mrplay.com
127.0.0.1 mrslot.com
127.0.0.1 mrwin.com
127.0.0.1 mychance.com
127.0.0.1 n1casino.com
127.0.0.1 nextcasino.com
127.0.0.1 nightrush.com
127.0.0.1 ninjacasino.com
127.0.0.1 noaccountcasino.com
127.0.0.1 norgesautomaten.com
127.0.0.1 norgesspill.com
127.0.0.1 norskeautomater.com
127.0.0.1 norskespilleautomater.com
127.0.0.1 nyspins.com
127.0.0.1 olaspill.com
127.0.0.1 olybet.eu
127.0.0.1 omniacasino.com
127.0.0.1 ovocasino.com
127.0.0.1 pinnacle.com
127.0.0.1 piratespin.com
127.0.0.1 playclub.com
127.0.0.1 playfrank.com
127.0.0.1 playgrandcasino.com
127.0.0.1 playojo.com
127.0.0.1 pocketvegas.co.uk
127.0.0.1 potsofluck.com
127.0.0.1 primeslots.com
127.0.0.1 promotions.epic.partners
127.0.0.1 queenvegas.com
127.0.0.1 redkings.com
127.0.0.1 redspins.com
127.0.0.1 ridika.com
127.0.0.1 rizk.com
127.0.0.1 rolla.com
127.0.0.1 royalpanda.com
127.0.0.1 royalslots.com
127.0.0.1 royrichie.com
127.0.0.1 rush777.com
127.0.0.1 scandibet.com
127.0.0.1 scasino.com
127.0.0.1 sirjackpot.com
127.0.0.1 slotplanet.com
127.0.0.1 slotsheaven.com
127.0.0.1 slotsino.co.uk
127.0.0.1 slotsmagic.com
127.0.0.1 slotsons.com
127.0.0.1 slotv.com
127.0.0.1 sloty.com
127.0.0.1 snabbare.com
127.0.0.1 speedybet.com
127.0.0.1 spela.com
127.0.0.1 spinit.com
127.0.0.1 spinland.com
127.0.0.1 spinprincess.com
127.0.0.1 spinrider.com
127.0.0.1 spinson.com
127.0.0.1 spinstation.com
127.0.0.1 spinzilla.com
127.0.0.1 storspelare.com
127.0.0.1 storspiller.com
127.0.0.1 surf.casino
127.0.0.1 sveacasino.se
127.0.0.1 svedalacasino.com
127.0.0.1 swedencasino.com
127.0.0.1 swedencasino.se
127.0.0.1 sverigeautomaten.com
127.0.0.1 sverigecasino.com
127.0.0.1 sverigekronan.com
127.0.0.1 thrills.com
127.0.0.1 toto2.com
127.0.0.1 ttr.casino
127.0.0.1 vegashero.com
127.0.0.1 verajohn.com
127.0.0.1 videoslots.com
127.0.0.1 vikingslots.com
127.0.0.1 viks.com
127.0.0.1 wildjackpots.com
127.0.0.1 vinnarum.com
127.0.0.1 wixstars.com
127.0.0.1 voodoodreams.com
127.0.0.1 wunderino.com
127.0.0.1 yakocasino.com
127.0.0.1 yeticasino.com
127.0.0.1 yobetit.com
127.0.0.1 zodiacu.com
127.0.0.1 www.21bet.com
127.0.0.1 www.21casino.com
127.0.0.1 www.21prive.com
127.0.0.1 www.22bet.com
127.0.0.1 www.22betpartners.com
127.0.0.1 www.24bettle.com
127.0.0.1 www.666casino.com
127.0.0.1 www.777.com
127.0.0.1 www.7godscasino.com
127.0.0.1 www.7jackpots.com
127.0.0.1 www.888.com
127.0.0.1 www.agentspinner.com
127.0.0.1 www.ahacasino.com
127.0.0.1 www.ahtigames.com
127.0.0.1 www.alfcasino.com
127.0.0.1 www.barbadoscasino.com
127.0.0.1 www.b-bets.com
127.0.0.1 www.bertil.com
127.0.0.1 www.bestcasino.com
127.0.0.1 www.betfinal.com
127.0.0.1 www.betive.com
127.0.0.1 www.betser.com
127.0.0.1 www.betspawn.com
127.0.0.1 www.betzest.com
127.0.0.1 www.bgo.com
127.0.0.1 www.bingo.com
127.0.0.1 www.bobcasino.com
127.0.0.1 www.bobregister.com
127.0.0.1 www.buckandbutler.com
127.0.0.1 www.campeonbet.com
127.0.0.1 www.campobet.com
127.0.0.1 www.cashiopeia.com
127.0.0.1 www.cashmio.com
127.0.0.1 www.casilando.com
127.0.0.1 www.casimba.com
127.0.0.1 www.casiniabet.com
127.0.0.1 www.casinoandfriends.com
127.0.0.1 www.casinocalzone.com
127.0.0.1 www.casinocruise.com
127.0.0.1 www.casinoeuro.com
127.0.0.1 www.casinoheroes.com
127.0.0.1 www.casinojefe.com
127.0.0.1 www.casinoland.com
127.0.0.1 www.casinolasvegas.com
127.0.0.1 www.casinolasvegas.no
127.0.0.1 www.casinopop.com
127.0.0.1 www.casino-pp.net
127.0.0.1 www.casinoroom.com
127.0.0.1 www.casinostugan.com
127.0.0.1 www.casinotown.se
127.0.0.1 www.casinsi.com
127.0.0.1 www.casumo.com
127.0.0.1 www.chancehill.com
127.0.0.1 www.chanz.com
127.0.0.1 www.cheekywin.com
127.0.0.1 www.cherrycasino.com
127.0.0.1 www.codeta.com
127.0.0.1 www.coolbet.com
127.0.0.1 www.cozino.com
127.0.0.1 www.dealerscasino.com
127.0.0.1 www.diamond7casino.com
127.0.0.1 www.dreamjackpot.com
127.0.0.1 www.dreamvegas.com
127.0.0.1 www.dreamz.com
127.0.0.1 www.duelz.com
127.0.0.1 www.dunder.com
127.0.0.1 www.esportsbetting.com
127.0.0.1 www.euroslots.com
127.0.0.1 www.fansbet.com
127.0.0.1 www.fikacasino.com
127.0.0.1 www.flumecasino.com
127.0.0.1 www.folkeautomaten.com
127.0.0.1 www.frankcasino.com
127.0.0.1 www.frankfred.com
127.0.0.1 www.freakyvegas.com
127.0.0.1 www.fruitycasa.com
127.0.0.1 www.fsport.net
127.0.0.1 www.funcasino.com
127.0.0.1 www.gate777.com
127.0.0.1 www.genesiscasino.com
127.0.0.1 www.getlucky.com
127.0.0.1 www.glimmercasino.com
127.0.0.1 www.goliathcasino.com
127.0.0.1 www.hajper.com
127.0.0.1 www.hellocasino.com
127.0.0.1 www.heyspin.com
127.0.0.1 www.highroller.com
127.0.0.1 www.hopa.com
127.0.0.1 www.igame.com
127.0.0.1 www.igame.se
127.0.0.1 www.ikibu.com
127.0.0.1 www.instacasino.com
127.0.0.1 www.intercasino.com
127.0.0.1 www.jackpotcity.com
127.0.0.1 www.johnslots.com
127.0.0.1 www.justcasino.com
127.0.0.1 www.kaboo.com
127.0.0.1 www.kaiserslots.com
127.0.0.1 www.karjalakasino.com
127.0.0.1 www.karlcasino.com
127.0.0.1 www.lapalingo.com
127.0.0.1 www.legolas.bet
127.0.0.1 www.leovegas.com
127.0.0.1 www.letsbet.com
127.0.0.1 www.livelounge.com
127.0.0.1 www.lsbet690.com
127.0.0.1 www.luckland.com
127.0.0.1 www.luckycasino.com
127.0.0.1 www.luckydino.com
127.0.0.1 www.luckyland.co.uk
127.0.0.1 www.luckylouis.com
127.0.0.1 www.luckymeslots.com
127.0.0.1 www.luckyniki.com
127.0.0.1 www.luckywinslots.com
127.0.0.1 www.magicred.com
127.0.0.1 www.malinasports.com
127.0.0.1 www.mamamiabingo.com
127.0.0.1 www.mansionbet.com
127.0.0.1 www.mariacasino.com
127.0.0.1 www.metalcasino.com
127.0.0.1 www.miamidicecasino.com
127.0.0.1 www.miamidice.com
127.0.0.1 www.mobil6000.com
127.0.0.1 www.mobilautomaten.com
127.0.0.1 www.mobilebet.com
127.0.0.1 www.mobocasino.com
127.0.0.1 www.montecarlocasino.com
127.0.0.1 www.mr.bet
127.0.0.1 www.mrmega.com
127.0.0.1 www.mrmobi.com
127.0.0.1 www.mrplay.com
127.0.0.1 www.mrslot.com
127.0.0.1 www.mrwin.com
127.0.0.1 www.mychance.com
127.0.0.1 www.n1casino.com
127.0.0.1 www.nextcasino.com
127.0.0.1 www.nightrush.com
127.0.0.1 www.ninjacasino.com
127.0.0.1 www.noaccountcasino.com
127.0.0.1 www.norgesautomaten.com
127.0.0.1 www.norgesspill.com
127.0.0.1 www.norskeautomater.com
127.0.0.1 www.norskespilleautomater.com
127.0.0.1 www.nyspins.com
127.0.0.1 www.olaspill.com
127.0.0.1 www.olybet.eu
127.0.0.1 www.omniacasino.com
127.0.0.1 www.ovocasino.com
127.0.0.1 www.piratespin.com
127.0.0.1 www.playclub.com
127.0.0.1 www.playfrank.com
127.0.0.1 www.playgrandcasino.com
127.0.0.1 www.playojo.com
127.0.0.1 www.pocketvegas.co.uk
127.0.0.1 www.potsofluck.com
127.0.0.1 www.primeslots.com
127.0.0.1 www.promotions.epic.partners
127.0.0.1 www.queenvegas.com
127.0.0.1 www.redkings.com
127.0.0.1 www.redspins.com
127.0.0.1 www.ridika.com
127.0.0.1 www.rizk.com
127.0.0.1 www.rolla.com
127.0.0.1 www.royalslots.com
127.0.0.1 www.royrichie.com
127.0.0.1 www.rush777.com
127.0.0.1 www.scandibet.com
127.0.0.1 www.scasino.com
127.0.0.1 www.sirjackpot.com
127.0.0.1 www.slotplanet.com
127.0.0.1 www.slotsheaven.com
127.0.0.1 www.slotsino.co.uk
127.0.0.1 www.slotsmagic.com
127.0.0.1 www.slotsons.com
127.0.0.1 www.slotv.com
127.0.0.1 www.sloty.com
127.0.0.1 www.snabbare.com
127.0.0.1 www.speedybet.com
127.0.0.1 www.spela.com
127.0.0.1 www.spinit.com
127.0.0.1 www.spinland.com
127.0.0.1 www.spinprincess.com
127.0.0.1 www.spinrider.com
127.0.0.1 www.spinson.com
127.0.0.1 www.spinstation.com
127.0.0.1 www.spinzilla.com
127.0.0.1 www.storspelare.com
127.0.0.1 www.storspiller.com
127.0.0.1 www.surf.casino
127.0.0.1 www.sveacasino.se
127.0.0.1 www.svedalacasino.com
127.0.0.1 www.swedencasino.com
127.0.0.1 www.swedencasino.se
127.0.0.1 www.sverigeautomaten.com
127.0.0.1 www.sverigecasino.com
127.0.0.1 www.sverigekronan.com
127.0.0.1 www.thrills.com
127.0.0.1 www.toto2.com
127.0.0.1 www.ttr.casino
127.0.0.1 www.vegashero.com
127.0.0.1 www.verajohn.com
127.0.0.1 www.videoslots.com
127.0.0.1 www.vikingslots.com
127.0.0.1 www.viks.com
127.0.0.1 www.wildjackpots.com
127.0.0.1 www.vinnarum.com
127.0.0.1 www.wixstars.com
127.0.0.1 www.voodoodreams.com
127.0.0.1 www.wunderino.com
127.0.0.1 www.yakocasino.com
127.0.0.1 www.yeticasino.com
127.0.0.1 www.yobetit.com
127.0.0.1 www.zodiacu.com
127.0.0.1 nationale-loterij.be
127.0.0.1 e-lotto.be
127.0.0.1 loterie-nationale.be
127.0.0.1 loterie.lu
127.0.0.1 e-loterie.ma
127.0.0.1 loterie.ma
127.0.0.1 eurobet.bg
127.0.0.1 nostrabet.com
127.0.0.1 efirbet.com
127.0.0.1 7777.bg
127.0.0.1 toto.bg
127.0.0.1 lutrija.hr
127.0.0.1 sazka.cz
127.0.0.1 klasselotteriet.dk
127.0.0.1 lotto.de
127.0.0.1 lotto24.de
127.0.0.1 lotto.gmx.net
127.0.0.1 lotto.web.de
127.0.0.1 dielottozahlende.net
127.0.0.1 tipp24.com
127.0.0.1 westlotto.de
127.0.0.1 lottoland.com
127.0.0.1 lotto-thueringen.de
127.0.0.1 thelotter.com
127.0.0.1 lottohelden.de
127.0.0.1 lotto-sh.de
127.0.0.1 faber.de
127.0.0.1 lotto-berlin.de
127.0.0.1 gambling.com
127.0.0.1 opap.gr
127.0.0.1 lotto.is
127.0.0.1 szerencsejatek.hu
127.0.0.1 multilotto.com
127.0.0.1 szuperlotto.com
127.0.0.1 lottery.ie
127.0.0.1 national-lottery.co.uk
127.0.0.1 latloto.lv
127.0.0.1 loto.mk
127.0.0.1 lutrija.co.me
127.0.0.1 postcodeloterij.nl
127.0.0.1 nederlandseloterij.nl
127.0.0.1 statsloterij.nederlandseloterij.nl
127.0.0.1 lotto.pl
127.0.0.1 multipasko.pl
127.0.0.1 megalotto.pl
127.0.0.1 lotto-centrum.com
127.0.0.1 jogossantacasa.pt
127.0.0.1 loto.ro
127.0.0.1 stoloto.ru
127.0.0.1 lutrija.rs
127.0.0.1 tipos.sk
127.0.0.1 etipos.sk
127.0.0.1 loterija.si
127.0.0.1 eloterija.si
127.0.0.1 e-stave.com
127.0.0.1 loteriasyapuestas.es
127.0.0.1 juegos.loteriasyapuestas.es
127.0.0.1 msl.ua
127.0.0.1 healthlottery.co.uk
127.0.0.1 lotto.cn
127.0.0.1 bet.hkjc.com
127.0.0.1 pais.co.il
127.0.0.1 takarakuji-official.jp
127.0.0.1 lldj.com
127.0.0.1 macau-slot.com
127.0.0.1 galacasino.com
127.0.0.1 cashsweep.com.my
127.0.0.1 magnum4d.my
127.0.0.1 damacai.com.my
127.0.0.1 sportstoto.com.my
127.0.0.1 online.singaporepools.com
127.0.0.1 lotterien.at
127.0.0.1 nlotto.co.kr
127.0.0.1 nlb.lk
127.0.0.1 dlb.lk
127.0.0.1 taiwanlottery.com.tw
127.0.0.1 lotto.mthai.com
127.0.0.1 mpi.gov.tr
127.0.0.1 lotoquebec.com
127.0.0.1 loteries.lotoquebec.com
127.0.0.1 espacejeux.com
127.0.0.1 portail.lotoquebec.com
127.0.0.1 olg.ca
127.0.0.1 home.olg.ca
127.0.0.1 lottery.olg.ca
127.0.0.1 proline.ca
127.0.0.1 olgslotsandcasinos.ca
127.0.0.1 playolg.ca
127.0.0.1 cgaming.olg.ca
127.0.0.1 lottomax.ca
127.0.0.1 lotenal.gob.mx
127.0.0.1 loteria.com.ec
127.0.0.1 nationallottery.co.za
127.0.0.1 mylotto.co.nz
127.0.0.1 www.nationale-loterij.be
127.0.0.1 www.e-lotto.be
127.0.0.1 www.loterie-nationale.be
127.0.0.1 www.loterie.lu
127.0.0.1 www.e-loterie.ma
127.0.0.1 www.loterie.ma
127.0.0.1 www.eurobet.bg
127.0.0.1 www.nostrabet.com
127.0.0.1 www.efirbet.com
127.0.0.1 www.7777.bg
127.0.0.1 www.toto.bg
127.0.0.1 www.lutrija.hr
127.0.0.1 www.sazka.cz
127.0.0.1 www.klasselotteriet.dk
127.0.0.1 www.lotto.de
127.0.0.1 www.lotto24.de
127.0.0.1 www.lotto.gmx.net
127.0.0.1 www.lotto.web.de
127.0.0.1 www.dielottozahlende.net
127.0.0.1 www.tipp24.com
127.0.0.1 www.westlotto.de
127.0.0.1 www.lottoland.com
127.0.0.1 www.lotto-thueringen.de
127.0.0.1 www.thelotter.com
127.0.0.1 www.lottohelden.de
127.0.0.1 www.lotto-sh.de
127.0.0.1 www.faber.de
127.0.0.1 www.lotto-berlin.de
127.0.0.1 www.gambling.com
127.0.0.1 www.opap.gr
127.0.0.1 www.lotto.is
127.0.0.1 www.szerencsejatek.hu
127.0.0.1 www.multilotto.com
127.0.0.1 www.szuperlotto.com
127.0.0.1 www.lottery.ie
127.0.0.1 www.national-lottery.co.uk
127.0.0.1 www.latloto.lv
127.0.0.1 www.loto.mk
127.0.0.1 www.lutrija.co.me
127.0.0.1 www.postcodeloterij.nl
127.0.0.1 www.nederlandseloterij.nl
127.0.0.1 www.statsloterij.nederlandseloterij.nl
127.0.0.1 www.lotto.pl
127.0.0.1 www.multipasko.pl
127.0.0.1 www.megalotto.pl
127.0.0.1 www.lotto-centrum.com
127.0.0.1 www.jogossantacasa.pt
127.0.0.1 www.loto.ro
127.0.0.1 www.stoloto.ru
127.0.0.1 www.lutrija.rs
127.0.0.1 www.tipos.sk
127.0.0.1 www.etipos.sk
127.0.0.1 www.loterija.si
127.0.0.1 www.eloterija.si
127.0.0.1 www.e-stave.com
127.0.0.1 www.loteriasyapuestas.es
127.0.0.1 www.juegos.loteriasyapuestas.es
127.0.0.1 www.msl.ua
127.0.0.1 www.healthlottery.co.uk
127.0.0.1 www.lotto.cn
127.0.0.1 www.bet.hkjc.com
127.0.0.1 www.pais.co.il
127.0.0.1 www.takarakuji-official.jp
127.0.0.1 www.lldj.com
127.0.0.1 www.macau-slot.com
127.0.0.1 www.galacasino.com
127.0.0.1 www.cashsweep.com.my
127.0.0.1 www.magnum4d.my
127.0.0.1 www.damacai.com.my
127.0.0.1 www.sportstoto.com.my
127.0.0.1 www.online.singaporepools.com
127.0.0.1 www.lotterien.at
127.0.0.1 www.nlotto.co.kr
127.0.0.1 www.nlb.lk
127.0.0.1 www.dlb.lk
127.0.0.1 www.taiwanlottery.com.tw
127.0.0.1 www.lotto.mthai.com
127.0.0.1 www.mpi.gov.tr
127.0.0.1 www.lotoquebec.com
127.0.0.1 www.loteries.lotoquebec.com
127.0.0.1 www.espacejeux.com
127.0.0.1 www.portail.lotoquebec.com
127.0.0.1 www.olg.ca
127.0.0.1 www.home.olg.ca
127.0.0.1 www.lottery.olg.ca
127.0.0.1 www.proline.ca
127.0.0.1 www.olgslotsandcasinos.ca
127.0.0.1 www.playolg.ca
127.0.0.1 www.cgaming.olg.ca
127.0.0.1 www.lottomax.ca
127.0.0.1 www.lotenal.gob.mx
127.0.0.1 www.loteria.com.ec
127.0.0.1 www.nationallottery.co.za
127.0.0.1 www.mylotto.co.nz
127.0.0.1 onetpedia.net
File diff suppressed because it is too large Load Diff
+18
View File
@@ -0,0 +1,18 @@
# Title: Snuff hosts
127.0.0.1 bitcheese.net
127.0.0.1 bestgore.com
127.0.0.1 horriblevideos.com
127.0.0.1 documentingreality.com
127.0.0.1 deathaddict.com
127.0.0.1 deathandreality.com
127.0.0.1 gorebrasil.com
127.0.0.1 goregrish.com
127.0.0.1 leakreality.com
127.0.0.1 theync.com
127.0.0.1 miscopy.com
127.0.0.1 mixtape.moe
127.0.0.1 elblogdelnarco.com
127.0.0.1 kaotic.com
127.0.0.1 ogrish.tv
127.0.0.1 thepinsta.com
File diff suppressed because it is too large Load Diff
+257
View File
@@ -0,0 +1,257 @@
0.0.0.0 002.pinknotora.net
0.0.0.0 ac-pink.net
0.0.0.0 babarooba.x.fc2.com
0.0.0.0 bbscamp.net
0.0.0.0 columbia-xxx.com
0.0.0.0 cymposium.com
0.0.0.0 deeps.net
0.0.0.0 dennou2.x.fc2.com
0.0.0.0 duga.jp
0.0.0.0 en.dmm.co.jp
0.0.0.0 eroerozip.com
0.0.0.0 esboss.com
0.0.0.0 explorejapan.pw
0.0.0.0 expo2.ranks1.apserver.net
0.0.0.0 fob.jp
0.0.0.0 hakusuiriki.tv
0.0.0.0 hitozumagazo.com
0.0.0.0 hiyoko0.x.fc2.com
0.0.0.0 home.uchu.co.jp
0.0.0.0 i-bbs.sijex.net
0.0.0.0 idolzone.blog137.fc2.com
0.0.0.0 inaka.x.fc2.com
0.0.0.0 jams.kir.jp
0.0.0.0 jitsuroku.kir.jp
0.0.0.0 jkdaisuki.ad55.net
0.0.0.0 kyobibbs.ranks1.apserver.net
0.0.0.0 live.fc2.com
0.0.0.0 lolip.org
0.0.0.0 magopro2.ero-spo.com
0.0.0.0 marrion-av.com
0.0.0.0 mother-av.com
0.0.0.0 mutekiya.net
0.0.0.0 nadeshiko.tv
0.0.0.0 niccori.jp
0.0.0.0 pics.dmm.com
0.0.0.0 shiroutotv.com
0.0.0.0 siroutoinfo.net
0.0.0.0 skyhighpremium.com
0.0.0.0 sougouwiki.com
0.0.0.0 spc.undo.jp
0.0.0.0 sportseye.muvc.net
0.0.0.0 ssl.ktfactory.co.jp
0.0.0.0 suppinpin.com
0.0.0.0 surebbs.ranks1.apserver.net
0.0.0.0 switch1.jp
0.0.0.0 teppan-av.com
0.0.0.0 top.togeko.net
0.0.0.0 toujyuku.ranks1.apserver.net
0.0.0.0 venus-av.com
0.0.0.0 www.100kabijin.com
0.0.0.0 www.3dvdiso.com
0.0.0.0 www.academic-co.jp
0.0.0.0 www.air-boob.com
0.0.0.0 www.akiba-online.com
0.0.0.0 www.akiba-web.com
0.0.0.0 www.aknr.com
0.0.0.0 www.alex-jg.co.jp
0.0.0.0 www.alicejapan.co.jp
0.0.0.0 www.amorz.com
0.0.0.0 www.animalijo.com
0.0.0.0 www.anna-and-hanako.jp
0.0.0.0 www.aquawave.co.jp
0.0.0.0 www.arashi-supergirl.com
0.0.0.0 www.arena-corp.com
0.0.0.0 www.aroma-p.com
0.0.0.0 www.art-sm.com
0.0.0.0 www.athenaeizou.co.jp
0.0.0.0 www.athenaeizou.com
0.0.0.0 www.attackers.net
0.0.0.0 www.attone.co.jp
0.0.0.0 www.audazweb.com
0.0.0.0 www.aurora-pro.com
0.0.0.0 www.av-a-box.com
0.0.0.0 www.av-apa.com
0.0.0.0 www.av-e-body.com
0.0.0.0 www.av-hibino.com
0.0.0.0 www.av-karma.com
0.0.0.0 www.av-opera.jp
0.0.0.0 www.avs-video.com
0.0.0.0 www.baby-baby-baby.cc
0.0.0.0 www.baltan-av.com
0.0.0.0 www.beauty-av.com
0.0.0.0 www.befreebe.com
0.0.0.0 www.bi-av.com
0.0.0.0 www.bibian-av.com
0.0.0.0 www.bigmorkal.com
0.0.0.0 www.bijinhyakka.jp
0.0.0.0 www.boots-yakata.com
0.0.0.0 www.bravo-bravo.net
0.0.0.0 www.btc.com
0.0.0.0 www.bullitt.jp
0.0.0.0 www.bz-zone.com
0.0.0.0 www.centervillage.co.jp
0.0.0.0 www.cheersuki.net
0.0.0.0 www.cherries.jp
0.0.0.0 www.choi-waru.com
0.0.0.0 www.cinemagic.co.jp
0.0.0.0 www.cocoa-soft.net
0.0.0.0 www.collector-web.com
0.0.0.0 www.comusume.net
0.0.0.0 www.crosscross.jp
0.0.0.0 www.crystal-eizou.jp
0.0.0.0 www.dasdas.jp
0.0.0.0 www.digital-ark.com
0.0.0.0 www.dmm.co.jp
0.0.0.0 www.dogma.co.jp
0.0.0.0 www.dse-web.com
0.0.0.0 www.dt01.co.jp
0.0.0.0 www.e-corona.com
0.0.0.0 www.elog-ch.net
0.0.0.0 www.emmanuelle-av.com
0.0.0.0 www.eroita.net
0.0.0.0 www.eroshearts.com
0.0.0.0 www.fa-pro.com
0.0.0.0 www.fantadream.com
0.0.0.0 www.fantasista-av.com
0.0.0.0 www.feitish.com
0.0.0.0 www.fitch-av.com
0.0.0.0 www.fullsail-av.com
0.0.0.0 www.fv-candy.co.jp
0.0.0.0 www.garcon-web.com
0.0.0.0 www.garcon1.com
0.0.0.0 www.gas-web.com
0.0.0.0 www.ge-kko.jp
0.0.0.0 www.glayz.co.jp
0.0.0.0 www.gloryquest.co.jp
0.0.0.0 www.gme-inc.net
0.0.0.0 www.hajimekikaku.com
0.0.0.0 www.hamajim.com
0.0.0.0 www.hatsudori.com
0.0.0.0 www.hmp.jp
0.0.0.0 www.hmvision.com
0.0.0.0 www.hot-et.com
0.0.0.0 www.hpsart.net
0.0.0.0 www.hrc-av.co.jp
0.0.0.0 www.hunter-pp.jp
0.0.0.0 www.i-dol.tv
0.0.0.0 www.ibworks.jp
0.0.0.0 www.ideapocket.com
0.0.0.0 www.ienergy1.com
0.0.0.0 www.ifrit-fv.net
0.0.0.0 www.indies-av.co.jp
0.0.0.0 www.j-model.co.jp
0.0.0.0 www.jade-net-home.com
0.0.0.0 www.jah.ne.jp
0.0.0.0 www.jewel-2001.com
0.0.0.0 www.jns-grp.net
0.0.0.0 www.kasakura.co.jp
0.0.0.0 www.kawaiikawaii.jp
0.0.0.0 www.kichu.jp
0.0.0.0 www.kirakira-av.com
0.0.0.0 www.km-produce.com
0.0.0.0 www.knights-visual.com
0.0.0.0 www.kobayashi-web.com
0.0.0.0 www.koyacho.com
0.0.0.0 www.ks-p.com
0.0.0.0 www.kuki.jp
0.0.0.0 www.kyosui.net
0.0.0.0 www.lady2.net
0.0.0.0 www.little-mango.com
0.0.0.0 www.love2bbs.com
0.0.0.0 www.lustrous2ft.com
0.0.0.0 www.madonna-av.com
0.0.0.0 www.maria-av.com
0.0.0.0 www.marx.co.jp
0.0.0.0 www.max-a.co.jp
0.0.0.0 www.maxing.jp
0.0.0.0 www.mediabank.co.jp
0.0.0.0 www.mgstage.com
0.0.0.0 www.milky-cat.com
0.0.0.0 www.milky.tv
0.0.0.0 www.milkyprin.com
0.0.0.0 www.milu-av.com
0.0.0.0 www.minimum-av.com
0.0.0.0 www.mobs.jp
0.0.0.0 www.moodyz.com
0.0.0.0 www.mousouzoku-av.com
0.0.0.0 www.mozakin.com
0.0.0.0 www.museum-next.jp
0.0.0.0 www.mutekimuteki.com
0.0.0.0 www.mvg.jp
0.0.0.0 www.nagae-style.com
0.0.0.0 www.nakedfilm.jp
0.0.0.0 www.nanpa-japan.jp
0.0.0.0 www.naturalhigh.co.jp
0.0.0.0 www.next11.co.jp
0.0.0.0 www.night24.com
0.0.0.0 www.non-non.info
0.0.0.0 www.nuruai.com
0.0.0.0 www.onair-e-net.com
0.0.0.0 www.oppai-av.com
0.0.0.0 www.otona-times.com
0.0.0.0 www.p-fw.co.jp
0.0.0.0 www.p-jade.com
0.0.0.0 www.palplanning.com
0.0.0.0 www.pierrot-net.jp
0.0.0.0 www.pinknotora.net
0.0.0.0 www.plum-web.com
0.0.0.0 www.pornograph.jp
0.0.0.0 www.premium-beauty.com
0.0.0.0 www.prestige-av.com
0.0.0.0 www.r-e-d.jp
0.0.0.0 www.radix-net.com
0.0.0.0 www.ran-maru.com
0.0.0.0 www.realworks.tv
0.0.0.0 www.rocket-inc.net
0.0.0.0 www.rookie-av.jp
0.0.0.0 www.royalart.co.jp
0.0.0.0 www.ruby-av.com
0.0.0.0 www.s-cute.com
0.0.0.0 www.s1s1s1.com
0.0.0.0 www.sadistic-v.com
0.0.0.0 www.saiminou.com
0.0.0.0 www.sakurakikaku.net
0.0.0.0 www.sexia.tv
0.0.0.0 www.shanimuni.net
0.0.0.0 www.shinoda-av.com
0.0.0.0 www.shitagi.org
0.0.0.0 www.shuttle-japan.com
0.0.0.0 www.side-b.tv
0.0.0.0 www.sod.co.jp
0.0.0.0 www.sodc.co.jp
0.0.0.0 www.sosoru-web.com
0.0.0.0 www.sq4610.com
0.0.0.0 www.starparadise.jp
0.0.0.0 www.styleart.jp
0.0.0.0 www.sugarworks.co.jp
0.0.0.0 www.sukebegazou.com
0.0.0.0 www.syukou-club.com
0.0.0.0 www.takara-tv.jp
0.0.0.0 www.takeone-nagoya.com
0.0.0.0 www.tameikegoro.jp
0.0.0.0 www.tenka1.com
0.0.0.0 www.tigermeisters.com
0.0.0.0 www.tma.co.jp
0.0.0.0 www.to-satsu.com
0.0.0.0 www.tokyomotion.net
0.0.0.0 www.top1-net.com
0.0.0.0 www.town-net.jp/post
0.0.0.0 www.tumanude.com
0.0.0.0 www.uandk-idea.co.jp
0.0.0.0 www.uicupid.net
0.0.0.0 www.v-av.com
0.0.0.0 www.vandr.co.jp
0.0.0.0 www.videomanial.co.jp
0.0.0.0 www.vr-products.co.jp
0.0.0.0 www.waap.co.jp
0.0.0.0 www.wanz-factory.com
0.0.0.0 www.woman-otona.com
0.0.0.0 www.yamiboard.com
0.0.0.0 www.yellow-movie.com
0.0.0.0 www.yellowbox.co.jp
0.0.0.0 www.yellowduck.jp
0.0.0.0 www.zetton-av.com
0.0.0.0 www.zeus-web.net
0.0.0.0 www2.giga-jp.com
0.0.0.0 yamidas.yamiboard.com
+9
View File
@@ -0,0 +1,9 @@
{
"name": "Tiuxo hostlist - pornography",
"description": "Categorized hosts files for DNS based content blocking",
"homeurl": "https://github.com/tiuxo/hosts",
"frequency": "occasional",
"issues": "https://github.com/tiuxo/hosts/issues",
"url": "https://raw.githubusercontent.com/tiuxo/hosts/master/porn",
"license": "CC BY 4.0"
}
+8 -18
View File
@@ -1,18 +1,20 @@
# Extensions
Use subfolders under the `extensions` folder to house extensions to the final unified hosts file.
Use subfolders under this `extensions` folder to house data sources for extensions to the default unified hosts file.
Currently, this repo includes four extensions:
Currently, this repo includes data sources for four extensions:
* `gambling` for common online betting sites,
* `social` for common social media sites,
* `porn` for porn sites, and
* `fakenews` for fake news sites.
* `gambling` for common online betting sites,
* `porn` for porn sites, and
* `social` for common social media sites,
Here are some sample calls, which vary which extensions are included.
**Using Python 3**:
**Using the `updateHostsFile.py` script**:
Create a hosts file that includes domain blocking for porn, social media, and gambling.
python3 updateHostsFile.py --auto --extensions porn social gambling
@@ -20,15 +22,3 @@ or, in short form:
python3 updateHostsFile.py -a -e porn social gambling
**Using Python 2.7**:
python updateHostsFile.py -auto --extensions porn social gambling
or, in short form:
python updateHostsFile.py -a -e porn social gambling
More built-in extensions are coming soon.
File diff suppressed because it is too large Load Diff
+4
View File
@@ -0,0 +1,4 @@
0.0.0.0 mbga.jp
0.0.0.0 mixi.jp
0.0.0.0 mixch.tv
0.0.0.0 lobi.co
+9
View File
@@ -0,0 +1,9 @@
{
"name": "Tiuxo hostlist - social",
"description": "Categorized hosts files for DNS based content blocking",
"homeurl": "https://github.com/tiuxo/hosts",
"frequency": "occasional",
"issues": "https://github.com/tiuxo/hosts/issues",
"url": "https://raw.githubusercontent.com/tiuxo/hosts/master/social",
"license": "CC BY 4.0"
}
+8435 -27808
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright © 2018 Steven Black
Copyright © 2019 Steven Black
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
+1 -1
View File
@@ -7,9 +7,9 @@
from __future__ import print_function
import sys
import argparse
import subprocess
import sys
def print_failure(msg):
View File
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "hosts",
"version": "1.3.2",
"version": "2.4.2",
"description": "Extending and consolidating hosts files from several well-curated sources like adaway.org, mvps.org, malwaredomainlist.com, someonewhocares.org, and potentially others. You can optionally invoke extensions to block additional sites by category.",
"main": "",
"scripts": {
@@ -34,6 +34,6 @@
},
"homepage": "https://github.com/StevenBlack/hosts#readme",
"devDependencies": {
"release-it": "^4.2.0"
"release-it": "^10.2.0"
}
}
+96 -61
View File
@@ -1,12 +1,29 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file with base extensions
This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
* Last updated: **March 15 2018**.
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 56,041 entries.
* Last updated: **May 05 2019**.
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 39,257 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -17,22 +34,22 @@ with Github download links.
Host file recipe | Readme | Raw hosts | Unique domains | Non Github mirror
---------------- |:------:|:---------:|:--------------:|:-------------:
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 56,041 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 56,714 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 57,553 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 65,579 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 57,188 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 58,226 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 66,252 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 57,861 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 67,091 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 58,700 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 66,726 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 67,764 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 59,373 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 67,399 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 68,238 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 68,911 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 39,257 | [link](http://sbc.io/hosts/hosts)
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 39,927 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 41,525 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 52,802 | [link](http://sbc.io/hosts/alternates/porn/hosts)
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 41,545 | [link](http://sbc.io/hosts/alternates/social/hosts)
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 42,195 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 53,472 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 42,215 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 55,070 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 43,813 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 55,089 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 55,740 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 44,483 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 55,759 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 57,357 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 58,027 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -43,52 +60,54 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](http://www.malwaredomainlist.com/) | [raw](http://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone'
add.Dead | Dead sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+
add.Spam | Spam sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+
Dan Pollock – someonewhocares.org | How to make the internet not suck (as much). |[link](http://someonewhocares.org/hosts/) | [raw](http://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently |
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution'
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://github.com/ZeroDot1/CoinBlockerLists) | [raw](https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts_browser) | frequently | GPLv3
tyzbit | Microsoft tracking domains. A fork of this repo providing additional data. |[link](https://github.com/tyzbit/hosts/blob/master/data/tyzbit/hosts) | [raw](https://raw.githubusercontent.com/tyzbit/hosts/master/data/tyzbit/hosts) | rarely |
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally |
add.2o7Net | 2o7Net tracking sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0
add.Risk | Risk content sites based on http://www.hostsfile.org/hosts.html content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -96,10 +115,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -126,9 +141,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -204,11 +218,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -253,9 +267,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -316,7 +330,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -326,6 +342,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -372,6 +405,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+1 -1
View File
File diff suppressed because one or more lines are too long
+63 -28
View File
@@ -1,5 +1,21 @@
----
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
----
![readme](https://user-images.githubusercontent.com/36028424/40330477-9df2c2e0-5d7f-11e8-8ac8-511d719a5eae.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://travis-ci.org/StevenBlack/hosts.svg?branch=master)](https://travis-ci.org/StevenBlack/hosts)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts.svg)](https://github.com/StevenBlack/hosts/commits/master)
# Unified hosts file @EXTENSIONS_HEADER@
This repository consolidates several reputable `hosts` files, and merges them
@@ -7,6 +23,7 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
* Last updated: **@GEN_DATE@**.
* Here's the [raw hosts file @EXTENSIONS_HEADER@](https://raw.githubusercontent.com/StevenBlack/hosts/master/@SUBFOLDER@hosts) containing @NUM_ENTRIES@ entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
### List of all hosts file variants
@@ -27,37 +44,39 @@ of OS.
Updated `hosts` files from the following locations are always unified and
included:
Host file source | Description | Home page | Raw hosts | Update frequency | License
-----------------|-------------|:---------:|:---------:|:-------:|:-------:
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
@SOURCEROWS@
## Extensions
The unified hosts file is extensible. You manage extensions by curating the
`extensions/` folder tree. See the `fakenews`, `social`, `gambling`, and `porn` extension
folders.
The unified hosts file is extensible. Extensions are used to block domains by category.
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
## Generate your own unified hosts file
**Note** if you are using Python 3, please install the dependencies with:
To generate your own unified hosts file you will need Python 3.5 or later.
First install the dependencies with:
pip3 install --user -r requirements.txt
**Note** if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py
python3 testUpdateHostsFile.py
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
will generate a unified hosts file based on the sources in the local `data/`
subfolder. The script will prompt you whether it should fetch updated
versions (from locations defined by the `update.json` text file in each
source's folder). Otherwise, it will use the `hosts` file that's already there.
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
will use the `hosts` file that's already there.
### Usage
@@ -65,10 +84,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Using Python 2.7:
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
#### Command line options:
`--help`, or `-h`: display help.
@@ -95,9 +110,8 @@ Only active when `--replace` is also active.
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
that appear on the same line as domains. The default is `false` since some
router-based implementations can't handle comments in-line with hosts.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
@@ -173,11 +187,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
Then, submit a pull request.
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
### Option 3: create your own hosts list as a repo on Github
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your remo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
## What is a hosts file?
@@ -222,9 +236,9 @@ We tried that. Using `0` doesn't work universally.
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` folder.
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` folder.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Updating hosts file on Windows
@@ -285,7 +299,9 @@ sc stop "Dnscache"
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
**Debian/Ubuntu** `sudo service network-manager restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
**Linux with systemd**: `sudo systemctl restart network.service`
@@ -295,6 +311,23 @@ Open a Terminal and run with root privileges:
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
**RHEL/Centos**: `sudo /etc/init.d/network restart`
**FreeBSD**: `sudo service nscd restart`
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
```
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```
hosts: cache files dns
```
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### Mac OS X
@@ -341,6 +374,8 @@ devices under a variety of operating systems.
## Interesting Applications
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
+2 -3
View File
@@ -1,3 +1,2 @@
lxml==4.1.1
beautifulsoup4==4.6.0
mock==2.0.0
lxml>=4.2.4
beautifulsoup4==4.6.1
-3
View File
@@ -1,3 +0,0 @@
mock==2.0.0
lxml==4.1.1
beautifulsoup4==4.6.0
+43 -90
View File
@@ -13,9 +13,11 @@ import shutil
import sys
import tempfile
import unittest
import unittest.mock as mock
from io import BytesIO, StringIO
import updateHostsFile
from updateHostsFile import (PY3, Colors, colorize, display_exclusion_options,
from updateHostsFile import (Colors, colorize, display_exclusion_options,
domain_to_idna, exclude_domain, flush_dns_cache,
gather_custom_exclusions, get_defaults,
get_file_by_url, is_valid_domain_format,
@@ -29,14 +31,7 @@ from updateHostsFile import (PY3, Colors, colorize, display_exclusion_options,
update_sources_data, write_data,
write_opening_header)
if PY3:
from io import BytesIO, StringIO
import unittest.mock as mock
unicode = str
else:
from StringIO import StringIO
BytesIO = StringIO
import mock
unicode = str
# Test Helper Objects
@@ -48,13 +43,10 @@ class Base(unittest.TestCase):
@property
def sep(self):
return "\\" if sys.platform == "win32" else "/"
return os.sep
def assert_called_once(self, mock_method):
if PY3 and sys.version_info < (3, 6):
self.assertEqual(mock_method.call_count, 1)
else:
mock_method.assert_called_once()
self.assertEqual(mock_method.call_count, 1)
class BaseStdout(Base):
@@ -78,13 +70,6 @@ class BaseMockDir(Base):
def tearDown(self):
shutil.rmtree(self.test_dir)
def builtins():
if PY3:
return "builtins"
else:
return "__builtin__"
# End Test Helper Objects
@@ -101,7 +86,7 @@ class TestGetDefaults(Base):
"replace": False,
"backup": False,
"skipstatichosts": False,
"keepdomaincomments": False,
"keepdomaincomments": True,
"extensionspath": "foo" + self.sep + "extensions",
"extensions": [],
"compress": False,
@@ -117,7 +102,7 @@ class TestGetDefaults(Base):
"readmedata": {},
"readmedatafilename": ("foo" + self.sep +
"readmeData.json"),
"exclusionpattern": "([a-zA-Z\d-]+\.){0,}",
"exclusionpattern": r"([a-zA-Z\d-]+\.){0,}",
"exclusionregexs": [],
"exclusions": [],
"commonexclusions": ["hulu.com"],
@@ -179,7 +164,7 @@ class TestPromptForUpdate(BaseStdout, BaseMockDir):
contents = f.read()
self.assertEqual(contents, "")
@mock.patch(builtins() + ".open")
@mock.patch("builtins.open")
def test_no_freshen_fail_new_file(self, mock_open):
for exc in (IOError, OSError):
mock_open.side_effect = exc("failed open")
@@ -255,7 +240,6 @@ class TestPromptForUpdate(BaseStdout, BaseMockDir):
def tearDown(self):
BaseStdout.tearDown(self)
# BaseStdout.tearDown(self)
class TestPromptForExclusions(BaseStdout):
@@ -467,7 +451,7 @@ class TestGatherCustomExclusions(BaseStdout):
# Can only test in the invalid domain case
# because of the settings global variable.
@mock.patch("updateHostsFile.raw_input", side_effect=["foo", "no"])
@mock.patch("updateHostsFile.input", side_effect=["foo", "no"])
@mock.patch("updateHostsFile.is_valid_domain_format", return_value=False)
def test_basic(self, *_):
gather_custom_exclusions("foo", [])
@@ -476,8 +460,7 @@ class TestGatherCustomExclusions(BaseStdout):
output = sys.stdout.getvalue()
self.assertIn(expected, output)
@mock.patch("updateHostsFile.raw_input", side_effect=["foo", "yes",
"bar", "no"])
@mock.patch("updateHostsFile.input", side_effect=["foo", "yes", "bar", "no"])
@mock.patch("updateHostsFile.is_valid_domain_format", return_value=False)
def test_multiple(self, *_):
gather_custom_exclusions("foo", [])
@@ -504,7 +487,7 @@ class TestExcludeDomain(Base):
exp_count = 0
expected_regexes = []
exclusion_regexes = []
exclusion_pattern = "[a-z]\."
exclusion_pattern = r"[a-z]\."
for domain in ["google.com", "hulu.com", "adaway.org"]:
self.assertEqual(len(exclusion_regexes), exp_count)
@@ -530,7 +513,7 @@ class TestMatchesExclusions(Base):
self.assertFalse(matches_exclusions(domain, exclusion_regexes))
def test_no_match_list(self):
exclusion_regexes = [".*\.org", ".*\.edu"]
exclusion_regexes = [r".*\.org", r".*\.edu"]
exclusion_regexes = [re.compile(regex) for regex in exclusion_regexes]
for domain in ["1.2.3.4 localhost", "5.6.7.8 hulu.com",
@@ -538,7 +521,7 @@ class TestMatchesExclusions(Base):
self.assertFalse(matches_exclusions(domain, exclusion_regexes))
def test_match_list(self):
exclusion_regexes = [".*\.com", ".*\.org", ".*\.edu"]
exclusion_regexes = [r".*\.com", r".*\.org", r".*\.edu"]
exclusion_regexes = [re.compile(regex) for regex in exclusion_regexes]
for domain in ["5.6.7.8 hulu.com", "9.1.2.3 yahoo.com",
@@ -567,7 +550,7 @@ class TestUpdateSourcesData(Base):
@mock.patch("updateHostsFile.recursive_glob", return_value=[])
@mock.patch("updateHostsFile.path_join_robust", return_value="dirpath")
@mock.patch(builtins() + ".open", return_value=mock.Mock())
@mock.patch("builtins.open", return_value=mock.Mock())
def test_no_update(self, mock_open, mock_join_robust, _):
extensions = []
sources_data = [{"source": "source1.txt"}, {"source": "source2.txt"}]
@@ -589,7 +572,7 @@ class TestUpdateSourcesData(Base):
@mock.patch("updateHostsFile.recursive_glob",
side_effect=[[], ["update1.txt", "update2.txt"]])
@mock.patch("json.load", return_value={"mock_source": "mock_source.ext"})
@mock.patch(builtins() + ".open", return_value=mock.Mock())
@mock.patch("builtins.open", return_value=mock.Mock())
@mock.patch("updateHostsFile.path_join_robust", return_value="dirpath")
def test_update_only_extensions(self, mock_join_robust, *_):
extensions = [".json"]
@@ -607,7 +590,7 @@ class TestUpdateSourcesData(Base):
{"mock_source": "mock_source2.txt"},
{"mock_source": "mock_source3.txt"},
{"mock_source": "mock_source4.txt"}])
@mock.patch(builtins() + ".open", return_value=mock.Mock())
@mock.patch("builtins.open", return_value=mock.Mock())
@mock.patch("updateHostsFile.path_join_robust", return_value="dirpath")
def test_update_both_pathways(self, mock_join_robust, *_):
extensions = [".json"]
@@ -630,13 +613,13 @@ class TestUpdateAllSources(BaseStdout):
self.source_data_filename = "data.json"
self.host_filename = "hosts.txt"
@mock.patch(builtins() + ".open")
@mock.patch("builtins.open")
@mock.patch("updateHostsFile.recursive_glob", return_value=[])
def test_no_sources(self, _, mock_open):
update_all_sources(self.source_data_filename, self.host_filename)
mock_open.assert_not_called()
@mock.patch(builtins() + ".open", return_value=mock.Mock())
@mock.patch("builtins.open", return_value=mock.Mock())
@mock.patch("json.load", return_value={"url": "example.com"})
@mock.patch("updateHostsFile.recursive_glob", return_value=["foo"])
@mock.patch("updateHostsFile.write_data", return_value=0)
@@ -651,7 +634,7 @@ class TestUpdateAllSources(BaseStdout):
self.assertIn(expected, output)
@mock.patch(builtins() + ".open", return_value=mock.Mock())
@mock.patch("builtins.open", return_value=mock.Mock())
@mock.patch("json.load", return_value={"url": "example.com"})
@mock.patch("updateHostsFile.recursive_glob", return_value=["foo"])
@mock.patch("updateHostsFile.write_data", return_value=0)
@@ -668,7 +651,7 @@ class TestUpdateAllSources(BaseStdout):
for expected in expecteds:
self.assertIn(expected, output)
@mock.patch(builtins() + ".open", return_value=mock.Mock())
@mock.patch("builtins.open", return_value=mock.Mock())
@mock.patch("json.load", side_effect=[{"url": "example.com"},
{"url": "example2.com"}])
@mock.patch("updateHostsFile.recursive_glob", return_value=["foo", "bar"])
@@ -770,10 +753,12 @@ class TestStripRule(Base):
self.assertEqual(output, line)
def test_strip_more_than_two(self):
comment = " # comments here galore"
for line in ["0.0.0.0 twitter.com", "127.0.0.1 facebook.com",
"8.8.8.8 google.com", "1.2.3.4 foo.bar.edu"]:
output = strip_rule(line + " # comments here galore")
self.assertEqual(output, line)
output = strip_rule(line + comment)
self.assertEqual(output, line + comment)
class TestWriteOpeningHeader(BaseMockDir):
@@ -917,44 +902,10 @@ class TestWriteOpeningHeader(BaseMockDir):
):
self.assertNotIn(expected, contents)
def test_no_preamble(self):
# We should not even attempt to read this, as it is a directory.
hosts_dir = os.path.join(self.test_dir, "myhosts")
os.mkdir(hosts_dir)
kwargs = dict(extensions="", outputsubfolder="",
numberofrules=5, skipstatichosts=True)
with self.mock_property("updateHostsFile.BASEDIR_PATH"):
updateHostsFile.BASEDIR_PATH = self.test_dir
write_opening_header(self.final_file, **kwargs)
contents = self.final_file.getvalue()
contents = contents.decode("UTF-8")
# Expected contents.
for expected in (
"# This hosts file is a merged collection",
"# with a dash of crowd sourcing via Github",
"# Number of unique domains: {count}".format(
count=kwargs["numberofrules"]),
"Fetch the latest version of this file:",
"Project home page: https://github.com/StevenBlack/hosts",
):
self.assertIn(expected, contents)
# Expected non-contents.
for expected in (
"# Extensions added to this file:",
"127.0.0.1 localhost",
"127.0.0.1 local",
"127.0.0.53",
"127.0.1.1",
):
self.assertNotIn(expected, contents)
def test_preamble(self):
def _check_preamble(self, check_copy):
hosts_file = os.path.join(self.test_dir, "myhosts")
hosts_file += ".example" if check_copy else ""
with open(hosts_file, "w") as f:
f.write("peter-piper-picked-a-pepper")
@@ -990,6 +941,12 @@ class TestWriteOpeningHeader(BaseMockDir):
):
self.assertNotIn(expected, contents)
def test_preamble_exists(self):
self._check_preamble(True)
def test_preamble_copy(self):
self._check_preamble(False)
def tearDown(self):
super(TestWriteOpeningHeader, self).tearDown()
self.final_file.close()
@@ -1100,7 +1057,7 @@ class TestMoveHostsFile(BaseStdout):
expected = ("Automatically moving the hosts "
"file in place is not yet supported.\n"
"Please move the generated file to "
"%SystemRoot%\system32\drivers\etc\hosts")
r"%SystemRoot%\system32\drivers\etc\hosts")
output = sys.stdout.getvalue()
self.assertIn(expected, output)
@@ -1186,7 +1143,7 @@ class TestFlushDnsCache(BaseStdout):
output = sys.stdout.getvalue()
self.assertIn(expected, output)
@mock.patch("os.path.isfile", side_effect=[True] + [False] * 10)
@mock.patch("os.path.isfile", side_effect=[True] + [False] * 11)
@mock.patch("subprocess.call", return_value=0)
def test_flush_posix(self, *_):
with self.mock_property("platform.system") as obj:
@@ -1201,7 +1158,7 @@ class TestFlushDnsCache(BaseStdout):
output = sys.stdout.getvalue()
self.assertIn(expected, output)
@mock.patch("os.path.isfile", side_effect=[True] + [False] * 10)
@mock.patch("os.path.isfile", side_effect=[True] + [False] * 11)
@mock.patch("subprocess.call", return_value=1)
def test_flush_posix_fail(self, *_):
with self.mock_property("platform.system") as obj:
@@ -1216,7 +1173,7 @@ class TestFlushDnsCache(BaseStdout):
output = sys.stdout.getvalue()
self.assertIn(expected, output)
@mock.patch("os.path.isfile", side_effect=[True, False,
@mock.patch("os.path.isfile", side_effect=[True, False, False,
True] + [False] * 10)
@mock.patch("subprocess.call", side_effect=[1, 0])
def test_flush_posix_fail_then_succeed(self, *_):
@@ -1600,7 +1557,7 @@ class TestQueryYesOrNo(BaseStdout):
for invalid_default in ["foo", "bar", "baz", 1, 2, 3]:
self.assertRaises(ValueError, query_yes_no, "?", invalid_default)
@mock.patch("updateHostsFile.raw_input", side_effect=["yes"] * 3)
@mock.patch("updateHostsFile.input", side_effect=["yes"] * 3)
def test_valid_default(self, _):
for valid_default, expected in [(None, "[y/n]"), ("yes", "[Y/n]"),
("no", "[y/N]")]:
@@ -1611,7 +1568,7 @@ class TestQueryYesOrNo(BaseStdout):
self.assertIn(expected, output)
@mock.patch("updateHostsFile.raw_input", side_effect=([""] * 2))
@mock.patch("updateHostsFile.input", side_effect=([""] * 2))
def test_use_valid_default(self, _):
for valid_default in ["yes", "no"]:
expected = (valid_default == "yes")
@@ -1619,19 +1576,15 @@ class TestQueryYesOrNo(BaseStdout):
self.assertEqual(actual, expected)
@mock.patch("updateHostsFile.raw_input", side_effect=["no", "NO", "N",
"n", "No", "nO"])
@mock.patch("updateHostsFile.input", side_effect=["no", "NO", "N", "n", "No", "nO"])
def test_valid_no(self, _):
self.assertFalse(query_yes_no("?", None))
@mock.patch("updateHostsFile.raw_input", side_effect=["yes", "YES", "Y",
"yeS", "y", "YeS",
"yES", "YEs"])
@mock.patch("updateHostsFile.input", side_effect=["yes", "YES", "Y", "yeS", "y", "YeS", "yES", "YEs"])
def test_valid_yes(self, _):
self.assertTrue(query_yes_no("?", None))
@mock.patch("updateHostsFile.raw_input", side_effect=["foo", "yes",
"foo", "no"])
@mock.patch("updateHostsFile.input", side_effect=["foo", "yes", "foo", "no"])
def test_invalid_then_valid(self, _):
expected = "Please respond with 'yes' or 'no'"
+125 -127
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Script by Ben Limmer
# https://github.com/l1m5
@@ -6,9 +6,6 @@
# This Python script will combine all the host files you provide
# as sources into one, unique host file to keep you internet browsing happy.
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import argparse
import fnmatch
import json
@@ -32,10 +29,8 @@ PY3 = sys.version_info >= (3, 0)
if PY3:
from urllib.request import urlopen
raw_input = input
else: # Python 2
from urllib2 import urlopen
raw_input = raw_input # noqa
else:
raise Exception('We do not support Python 2 anymore.')
# Syntactic sugar for "sudo" command in UNIX / Linux
if platform.system() == "OpenBSD":
@@ -65,7 +60,7 @@ def get_defaults():
"replace": False,
"backup": False,
"skipstatichosts": False,
"keepdomaincomments": False,
"keepdomaincomments": True,
"extensionspath": path_join_robust(BASEDIR_PATH, "extensions"),
"extensions": [],
"compress": False,
@@ -76,12 +71,10 @@ def get_defaults():
"sourcedatafilename": "update.json",
"sourcesdata": [],
"readmefilename": "readme.md",
"readmetemplate": path_join_robust(BASEDIR_PATH,
"readme_template.md"),
"readmetemplate": path_join_robust(BASEDIR_PATH, "readme_template.md"),
"readmedata": {},
"readmedatafilename": path_join_robust(BASEDIR_PATH,
"readmeData.json"),
"exclusionpattern": "([a-zA-Z\d-]+\.){0,}",
"readmedatafilename": path_join_robust(BASEDIR_PATH, "readmeData.json"),
"exclusionpattern": r"([a-zA-Z\d-]+\.){0,}",
"exclusionregexs": [],
"exclusions": [],
"commonexclusions": ["hulu.com"],
@@ -106,8 +99,8 @@ def main():
parser.add_argument("--ip", "-i", dest="targetip", default="0.0.0.0",
help="Target IP address. Default is 0.0.0.0.")
parser.add_argument("--keepdomaincomments", "-k",
dest="keepdomaincomments", default=False,
help="Keep domain line comments.")
dest="keepdomaincomments", action="store_false", default=True,
help="Do not keep domain line comments.")
parser.add_argument("--noupdate", "-n", dest="noupdate", default=False,
action="store_true", help="Don't update from "
"host data sources.")
@@ -143,8 +136,7 @@ def main():
options = vars(parser.parse_args())
options["outputpath"] = path_join_robust(BASEDIR_PATH,
options["outputsubfolder"])
options["outputpath"] = path_join_robust(BASEDIR_PATH, options["outputsubfolder"])
options["freshen"] = not options["noupdate"]
settings = get_defaults()
@@ -157,8 +149,7 @@ def main():
settings["extensionsources"] = list_dir_no_hidden(extensions_path)
# All our extensions folders...
settings["extensions"] = [os.path.basename(item) for item in
list_dir_no_hidden(extensions_path)]
settings["extensions"] = [os.path.basename(item) for item in list_dir_no_hidden(extensions_path)]
# ... intersected with the extensions passed-in as arguments, then sorted.
settings["extensions"] = sorted(list(
set(options["extensions"]).intersection(settings["extensions"])))
@@ -192,15 +183,12 @@ def main():
merge_file = create_initial_file()
remove_old_hosts_file(settings["backup"])
if settings["compress"]:
# Another mode is required to read and write the file in Python 3
final_file = open(path_join_robust(settings["outputpath"], "hosts"),
"w+b" if PY3 else "w+")
final_file = open(path_join_robust(settings["outputpath"], "hosts"), "w+b")
compressed_file = tempfile.NamedTemporaryFile()
remove_dups_and_excl(merge_file, exclusion_regexes, compressed_file)
compress_file(compressed_file, settings["targetip"], final_file)
elif settings["minimise"]:
final_file = open(path_join_robust(settings["outputpath"], "hosts"),
"w+b" if PY3 else "w+")
final_file = open(path_join_robust(settings["outputpath"], "hosts"), "w+b")
minimised_file = tempfile.NamedTemporaryFile()
remove_dups_and_excl(merge_file, exclusion_regexes, minimised_file)
minimise_file(minimised_file, settings["targetip"], final_file)
@@ -271,8 +259,7 @@ def prompt_for_update(freshen, update_auto):
# Starting in Python 3.3, IOError is aliased
# OSError. However, we have to catch both for
# Python 2.x failures.
print_failure("ERROR: No 'hosts' file in the folder. "
"Try creating one manually.")
print_failure("ERROR: No 'hosts' file in the folder. Try creating one manually.")
if not freshen:
return
@@ -367,8 +354,7 @@ def prompt_for_move(final_file, **move_params):
elif move_params["auto"] or skip_static_hosts:
move_file = False
else:
prompt = ("Do you want to replace your existing hosts file " +
"with the newly generated file?")
prompt = "Do you want to replace your existing hosts file with the newly generated file?"
move_file = query_yes_no(prompt)
if move_file:
@@ -379,8 +365,7 @@ def prompt_for_move(final_file, **move_params):
# Exclusion logic
def display_exclusion_options(common_exclusions, exclusion_pattern,
exclusion_regexes):
def display_exclusion_options(common_exclusions, exclusion_pattern, exclusion_regexes):
"""
Display the exclusion options to the user.
@@ -443,13 +428,11 @@ def gather_custom_exclusions(exclusion_pattern, exclusion_regexes):
# We continue running this while-loop until the user
# says that they have no more domains to exclude.
while True:
domain_prompt = ("Enter the domain you want "
"to exclude (e.g. facebook.com): ")
user_domain = raw_input(domain_prompt)
domain_prompt = "Enter the domain you want to exclude (e.g. facebook.com): "
user_domain = input(domain_prompt)
if is_valid_domain_format(user_domain):
exclusion_regexes = exclude_domain(user_domain, exclusion_pattern,
exclusion_regexes)
exclusion_regexes = exclude_domain(user_domain, exclusion_pattern, exclusion_regexes)
continue_prompt = "Do you have more domains you want to enter?"
if not query_yes_no(continue_prompt):
@@ -543,9 +526,8 @@ def update_sources_data(sources_data, **sources_params):
source_data_filename = sources_params["sourcedatafilename"]
for source in recursive_glob(sources_params["datapath"],
source_data_filename):
update_file = open(source, "r")
for source in recursive_glob(sources_params["datapath"], source_data_filename):
update_file = open(source, "r", encoding="UTF-8")
update_data = json.load(update_file)
sources_data.append(update_data)
update_file.close()
@@ -553,8 +535,7 @@ def update_sources_data(sources_data, **sources_params):
for source in sources_params["extensions"]:
source_dir = path_join_robust(
sources_params["extensionspath"], source)
for update_file_path in recursive_glob(source_dir,
source_data_filename):
for update_file_path in recursive_glob(source_dir, source_data_filename):
update_file = open(update_file_path, "r")
update_data = json.load(update_file)
@@ -605,7 +586,7 @@ def update_all_sources(source_data_filename, host_filename):
all_sources = recursive_glob("*", source_data_filename)
for source in all_sources:
update_file = open(source, "r")
update_file = open(source, "r", encoding="UTF-8")
update_data = json.load(update_file)
update_file.close()
update_url = update_data["url"]
@@ -613,8 +594,7 @@ def update_all_sources(source_data_filename, host_filename):
if update_data.get("transforms"):
update_transforms = update_data["transforms"]
print("Updating source " + os.path.dirname(
source) + " from " + update_url)
print("Updating source " + os.path.dirname(source) + " from " + update_url)
try:
updated_file = get_file_by_url(update_url)
@@ -647,8 +627,12 @@ def create_initial_file():
# spin the sources for the base file
for source in recursive_glob(settings["datapath"],
settings["hostfilename"]):
with open(source, "r") as curFile:
write_data(merge_file, curFile.read())
start = "# Start {}\n\n".format(os.path.basename(os.path.dirname(source)))
end = "# End {}\n\n".format(os.path.basename(os.path.dirname(source)))
with open(source, "r", encoding="UTF-8") as curFile:
write_data(merge_file, start + curFile.read() + end)
# spin the sources for extensions to the base file
for source in settings["extensions"]:
@@ -657,6 +641,8 @@ def create_initial_file():
with open(filename, "r") as curFile:
write_data(merge_file, curFile.read())
maybe_copy_example_file(settings["blacklistfile"])
if os.path.isfile(settings["blacklistfile"]):
with open(settings["blacklistfile"], "r") as curFile:
write_data(merge_file, curFile.read())
@@ -755,6 +741,8 @@ def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
"""
number_of_rules = settings["numberofrules"]
maybe_copy_example_file(settings["whitelistfile"])
if os.path.isfile(settings["whitelistfile"]):
with open(settings["whitelistfile"], "r") as ins:
for line in ins:
@@ -766,15 +754,12 @@ def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
os.makedirs(settings["outputpath"])
if output_file is None:
# Another mode is required to read and write the file in Python 3
final_file = open(path_join_robust(settings["outputpath"], "hosts"),
"w+b" if PY3 else "w+")
final_file = open(path_join_robust(settings["outputpath"], "hosts"), "w+b")
else:
final_file = output_file
merge_file.seek(0) # reset file pointer
hostnames = {"localhost", "localhost.localdomain",
"local", "broadcasthost"}
hostnames = {"localhost", "localhost.localdomain", "local", "broadcasthost"}
exclusions = settings["exclusions"]
for line in merge_file.readlines():
@@ -787,7 +772,7 @@ def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
line = line.replace("\t+", " ")
# see gh-271: trim trailing whitespace, periods
line = line.rstrip(' .') + "\n"
line = line.rstrip(' .')
# Testing the first character doesn't require startswith
if line[0] == "#" or re.match(r'^\s*$', line[0]):
@@ -807,7 +792,7 @@ def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
keep_domain_comments=settings["keepdomaincomments"])
for exclude in exclusions:
if re.search('[\s\.]' + re.escape(exclude) + '\s', line):
if re.search(r'[\s\.]' + re.escape(exclude) + r'\s', line):
write_line = False
break
@@ -844,7 +829,6 @@ def normalize_rule(rule, target_ip, keep_domain_comments):
and spacing reformatted.
"""
"""
first try: IP followed by domain
"""
@@ -859,7 +843,10 @@ def normalize_rule(rule, target_ip, keep_domain_comments):
rule = "%s %s" % (target_ip, hostname)
if suffix and keep_domain_comments:
rule += " #%s" % suffix
if not suffix.strip().startswith('#'):
rule += " #%s" % suffix
else:
rule += " %s" % suffix
return hostname, rule + "\n"
@@ -876,11 +863,13 @@ def normalize_rule(rule, target_ip, keep_domain_comments):
rule = "%s %s" % (target_ip, ip_host)
if suffix and keep_domain_comments:
rule += " #%s" % suffix
if not suffix.strip().startswith('#'):
rule += " #%s" % suffix
else:
rule += " %s" % suffix
return ip_host, rule + "\n"
"""
finally, if we get here, just belch to screen
"""
@@ -892,9 +881,6 @@ def strip_rule(line):
"""
Sanitize a rule string provided before writing it to the output hosts file.
Some sources put comments around their rules, for accuracy we need
to strip them the comments are preserved in the output hosts file.
Parameters
----------
line : str
@@ -911,7 +897,7 @@ def strip_rule(line):
# just return blank
return ""
else:
return split_line[0] + " " + split_line[1]
return " ".join(split_line)
def write_opening_header(final_file, **header_params):
@@ -939,25 +925,19 @@ def write_opening_header(final_file, **header_params):
write_data(final_file, "# This hosts file is a merged collection "
"of hosts from reputable sources,\n")
write_data(final_file, "# with a dash of crowd sourcing via Github\n#\n")
write_data(final_file, "# Date: " + time.strftime(
"%B %d %Y", time.gmtime()) + "\n")
write_data(final_file, "# Date: " + time.strftime("%d %B %Y %H:%M:%S (%Z)", time.gmtime()) + "\n")
if header_params["extensions"]:
write_data(final_file, "# Extensions added to this file: " + ", ".join(
header_params["extensions"]) + "\n")
write_data(final_file, ("# Number of unique domains: " +
"{:,}\n#\n".format(header_params[
"numberofrules"])))
write_data(final_file, ("# Number of unique domains: {:,}\n#\n".format(header_params["numberofrules"])))
write_data(final_file, "# Fetch the latest version of this file: "
"https://raw.githubusercontent.com/"
"StevenBlack/hosts/master/" +
path_join_robust(header_params["outputsubfolder"],
"") + "hosts\n")
write_data(final_file, "# Project home page: https://github.com/"
"StevenBlack/hosts\n#\n")
write_data(final_file, "# ==============================="
"================================\n")
"https://raw.githubusercontent.com/StevenBlack/hosts/master/" +
path_join_robust(header_params["outputsubfolder"], "") + "hosts\n")
write_data(final_file, "# Project home page: https://github.com/StevenBlack/hosts\n")
write_data(final_file, "# Project releases: https://github.com/StevenBlack/hosts/releases\n#\n")
write_data(final_file, "# ===============================================================\n")
write_data(final_file, "\n")
if not header_params["skipstatichosts"]:
@@ -965,10 +945,15 @@ def write_opening_header(final_file, **header_params):
write_data(final_file, "127.0.0.1 localhost.localdomain\n")
write_data(final_file, "127.0.0.1 local\n")
write_data(final_file, "255.255.255.255 broadcasthost\n")
write_data(final_file, "::1 localhost ip6-localhost ip6-loopback\n")
write_data(final_file, "::1 localhost\n")
write_data(final_file, "::1 ip6-localhost\n")
write_data(final_file, "::1 ip6-loopback\n")
write_data(final_file, "fe80::1%lo0 localhost\n")
write_data(final_file, "ff00::0 ip6-localnet\n")
write_data(final_file, "ff00::0 ip6-mcastprefix\n")
write_data(final_file, "ff02::1 ip6-allnodes\n")
write_data(final_file, "ff02::2 ip6-allrouters\n")
write_data(final_file, "ff02::3 ip6-allhosts\n")
write_data(final_file, "0.0.0.0 0.0.0.0\n")
if platform.system() == "Linux":
@@ -978,6 +963,7 @@ def write_opening_header(final_file, **header_params):
write_data(final_file, "\n")
preamble = path_join_robust(BASEDIR_PATH, "myhosts")
maybe_copy_example_file(preamble)
if os.path.isfile(preamble):
with open(preamble, "r") as f:
@@ -1038,20 +1024,17 @@ def move_hosts_file_into_place(final_file):
----------
final_file : file object
The newly-created hosts file to move.
"""
""" # noqa: W605
filename = os.path.abspath(final_file.name)
if os.name == "posix":
print("Moving the file requires administrative privileges. "
"You might need to enter your password.")
print("Moving the file requires administrative privileges. You might need to enter your password.")
if subprocess.call(SUDO + ["cp", filename, "/etc/hosts"]):
print_failure("Moving the file failed.")
elif os.name == "nt":
print("Automatically moving the hosts file "
"in place is not yet supported.")
print("Please move the generated file to "
"%SystemRoot%\system32\drivers\etc\hosts")
print("Automatically moving the hosts file in place is not yet supported.")
print("Please move the generated file to %SystemRoot%\system32\drivers\etc\hosts") # noqa: W605
def flush_dns_cache():
@@ -1060,8 +1043,7 @@ def flush_dns_cache():
"""
print("Flushing the DNS cache to utilize new hosts file...")
print("Flushing the DNS cache requires administrative privileges. " +
"You might need to enter your password.")
print("Flushing the DNS cache requires administrative privileges. You might need to enter your password.")
dns_cache_found = False
@@ -1087,6 +1069,15 @@ def flush_dns_cache():
else:
print_success(nscd_msg.format(result="succeeded"))
centos_file = "/etc/init.d/network"
centos_msg = "Flushing the DNS cache by restarting network {result}"
if os.path.isfile(centos_file):
if subprocess.call(SUDO + [centos_file, "restart"]):
print_failure(centos_msg.format(result="failed"))
else:
print_success(centos_msg.format(result="succeeded"))
system_prefixes = ["/usr", ""]
service_types = ["NetworkManager", "wicd", "dnsmasq", "networking"]
@@ -1097,8 +1088,7 @@ def flush_dns_cache():
for service_type in service_types:
service = service_type + ".service"
service_file = path_join_robust(system_dir, service)
service_msg = ("Flushing the DNS cache by "
"restarting " + service + " {result}")
service_msg = ("Flushing the DNS cache by restarting " + service + " {result}")
if os.path.isfile(service_file):
dns_cache_found = True
@@ -1109,8 +1099,7 @@ def flush_dns_cache():
print_success(service_msg.format(result="succeeded"))
dns_clean_file = "/etc/init.d/dns-clean"
dns_clean_msg = ("Flushing the DNS cache via "
"dns-clean executable {result}")
dns_clean_msg = "Flushing the DNS cache via dns-clean executable {result}"
if os.path.isfile(dns_clean_file):
dns_cache_found = True
@@ -1206,32 +1195,55 @@ def domain_to_idna(line):
if separator:
splited_line = line.split(separator)
index = 1
while index < len(splited_line):
if splited_line[index]:
break
index += 1
try:
index = 1
while index < len(splited_line):
if splited_line[index]:
break
index += 1
if '#' in splited_line[index]:
index_comment = splited_line[index].find('#')
if '#' in splited_line[index]:
index_comment = splited_line[index].find('#')
if index_comment > -1:
comment = splited_line[index][index_comment:]
if index_comment > -1:
comment = splited_line[index][index_comment:]
splited_line[index] = splited_line[index] \
.split(comment)[0] \
.encode("IDNA").decode("UTF-8") + \
comment
splited_line[index] = splited_line[index] \
.split(comment)[0] \
.encode("IDNA").decode("UTF-8") + \
comment
splited_line[index] = splited_line[index] \
.encode("IDNA") \
.decode("UTF-8")
splited_line[index] = splited_line[index] \
.encode("IDNA") \
.decode("UTF-8")
except IndexError:
pass
return separator.join(splited_line)
return line.encode("IDNA").decode("UTF-8")
return line.encode("UTF-8").decode("UTF-8")
# Helper Functions
def maybe_copy_example_file(file_path):
"""
Given a file path, copy over its ".example" if the path doesn't exist.
If the path does exist, nothing happens in this function.
If the path doesn't exist, and the ".example" file doesn't exist, nothing happens in this function.
Parameters
----------
file_path : str
The full file path to check.
"""
if not os.path.isfile(file_path):
example_file_path = file_path + ".example"
if os.path.isfile(example_file_path):
shutil.copyfile(example_file_path, file_path)
def get_file_by_url(url):
"""
Get a file data located at a particular URL.
@@ -1263,7 +1275,7 @@ def get_file_by_url(url):
def write_data(f, data):
"""
Write data to a file object. This is a cross-Python implementation.
Write data to a file object.
Parameters
----------
@@ -1273,13 +1285,7 @@ def write_data(f, data):
The data to write to the file.
"""
if PY3:
f.write(bytes(data, "UTF-8"))
else:
try:
f.write(str(data))
except UnicodeEncodeError:
f.write(str(data.encode("UTF-8")))
f.write(bytes(data, "UTF-8"))
def list_dir_no_hidden(path):
@@ -1297,7 +1303,7 @@ def list_dir_no_hidden(path):
def query_yes_no(question, default="yes"):
"""
Ask a yes/no question via raw_input() and get answer from the user.
Ask a yes/no question via input() and get answer from the user.
Inspired by the following implementation:
@@ -1330,7 +1336,7 @@ def query_yes_no(question, default="yes"):
while not reply:
sys.stdout.write(colorize(question, Colors.PROMPT) + prompt)
choice = raw_input().lower()
choice = input().lower()
reply = None
if default and not choice:
@@ -1338,8 +1344,7 @@ def query_yes_no(question, default="yes"):
elif choice in valid:
reply = valid[choice]
else:
print_failure("Please respond with 'yes' or 'no' "
"(or 'y' or 'n').\n")
print_failure("Please respond with 'yes' or 'no' (or 'y' or 'n').\n")
return reply == "yes"
@@ -1363,11 +1368,10 @@ def is_valid_domain_format(domain):
print("You didn't enter a domain. Try again.")
return False
domain_regex = re.compile("www\d{0,3}[.]|https?")
domain_regex = re.compile(r"www\d{0,3}[.]|https?")
if domain_regex.match(domain):
print("The domain " + domain +
" is not valid. Do not include "
print("The domain " + domain + " is not valid. Do not include "
"www.domain.com or http(s)://domain.com. Try again.")
return False
else:
@@ -1378,10 +1382,6 @@ def recursive_glob(stem, file_pattern):
"""
Recursively match files in a directory according to a pattern.
This function is a version-independent of Python 3.x's function:
glob( ... "/**/" ... )
Parameters
----------
stem : str
@@ -1436,8 +1436,7 @@ def path_join_robust(path, *paths):
return os.path.join(path, *paths)
except UnicodeDecodeError as e:
raise locale.Error("Unable to construct path. This is "
"likely a LOCALE issue:\n\n" + str(e))
raise locale.Error("Unable to construct path. This is likely a LOCALE issue:\n\n" + str(e))
# Colors
@@ -1463,8 +1462,7 @@ def supports_color():
"""
sys_platform = sys.platform
supported = sys_platform != "Pocket PC" and (sys_platform != "win32"
or "ANSICON" in os.environ)
supported = sys_platform != "Pocket PC" and (sys_platform != "win32" or "ANSICON" in os.environ)
atty_connected = hasattr(sys.stdout, "isatty") and sys.stdout.isatty()
return supported and atty_connected
+15 -71
View File
@@ -5,12 +5,10 @@
#
# This Python script will update the readme files in this repo.
from string import Template
import os
import sys
import time
import json
import os
import time
from string import Template
# Project Settings
BASEDIR_PATH = os.path.dirname(os.path.realpath(__file__))
@@ -18,9 +16,6 @@ README_TEMPLATE = os.path.join(BASEDIR_PATH, 'readme_template.md')
README_FILENAME = 'readme.md'
README_DATA_FILENAME = "readmeData.json"
# Detecting Python 3 for version-dependent implementations
PY3 = sys.version_info >= (3, 0)
def main():
s = Template('${description} | [Readme](https://github.com/StevenBlack/'
@@ -32,10 +27,7 @@ def main():
with open(README_DATA_FILENAME, 'r') as f:
data = json.load(f)
if PY3:
keys = list(data.keys())
else:
keys = data.keys()
keys = list(data.keys())
# Sort by the number of en-dashes in the key
# and then by the key string itself.
@@ -59,10 +51,11 @@ def main():
"frequency": "",
"issues": "",
"url": "",
"license": ""}
"license": "",
"issues": ""}
t = Template('${name} | ${description} |[link](${homeurl})'
' | [raw](${url}) | ${frequency} | ${license} ')
' | [raw](${url}) | ${frequency} | ${license} | [issues](${issues}) ')
for key in keys:
extensions = key.replace("-", ", ")
@@ -81,63 +74,14 @@ def main():
with open(os.path.join(data[key]["location"],
README_FILENAME), "wt") as out:
for line in open(README_TEMPLATE):
line = line.replace('@GEN_DATE@', time.strftime("%B %d %Y",
time.gmtime()))
line = line.replace('@EXTENSIONS@',
decode_line(extensions_str))
line = line.replace('@EXTENSIONS_HEADER@',
decode_line(extensions_header))
line = line.replace('@NUM_ENTRIES@',
"{:,}".format(data[key]["entries"]))
line = line.replace('@SUBFOLDER@',
decode_line(os.path.join(
data[key]["location"], '')))
line = line.replace('@TOCROWS@',
decode_line(toc_rows))
line = line.replace('@SOURCEROWS@',
decode_line(source_rows))
out.write(decode_line(line))
def decode_line(line):
"""
Python 2 compatible method for decoding unicode lines.
Parameters
----------
line : str
The unicode string to decode.
Returns
-------
decoded_str : str
Decoded unicode string.
"""
# Python 3.x has no unicode issues.
if PY3:
return line
# The biggest Python 2.x compatibility issue is the decoding of the
# en-dash. It either takes the form of u"\u2013" or "\xe2\x80\x93."
#
# This attempts to convert "\xe2\x80\x93" to u"\u2013" if necessary.
# If the character is already in the form of u"\u2013," this will
# raise an UnicodeEncodeError.
#
# In general, this line of code will allow us to convert unicode,
# UTF-8 encoded characters into pure unicode.
try:
line = line.decode("UTF-8")
except UnicodeEncodeError:
pass
# Replace u"\u2013" with the en-dash, so we now can decode.
#
# We can add additional "replace" lines in case there are other unicode
# literals that Python 2.x cannot handle.
line = line.replace(u"\u2013", "-")
return str(line.decode("UTF-8"))
line = line.replace('@GEN_DATE@', time.strftime("%B %d %Y", time.gmtime()))
line = line.replace('@EXTENSIONS@', extensions_str)
line = line.replace('@EXTENSIONS_HEADER@', extensions_header)
line = line.replace('@NUM_ENTRIES@', "{:,}".format(data[key]["entries"]))
line = line.replace('@SUBFOLDER@', os.path.join(data[key]["location"], ''))
line = line.replace('@TOCROWS@', toc_rows)
line = line.replace('@SOURCEROWS@', source_rows)
out.write(line)
if __name__ == "__main__":
View File