Compare commits

...
2045 Commits
Author SHA1 Message Date
Steven Black 99c5f53e32 Release 3.15.26 2025-03-21 11:48:17 -05:00
Steven Black bfe72bcae7 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-03-21 11:47:42 -05:00
Steven Black 5c72f8f22e Release 3.15.25 2025-03-17 11:06:19 -05:00
Steven Black 5c3490d85d Updates from BigDargon, URLHaus, and KADhosts. 2025-03-17 11:06:01 -05:00
Steven Black 9644218ede Release 3.15.24 2025-03-13 16:36:30 -05:00
Steven Black 909d8f5dcb Updates from BigDargon, URLHaus, and KADhosts. 2025-03-13 16:35:55 -05:00
Steven Black 511c57b854 Release 3.15.23 2025-03-09 00:03:03 -05:00
Steven Black de2c069f0d Updates from URLHaus and KADhosts. 2025-03-09 00:02:36 -05:00
Steven Black d50598a41b Release 3.15.22 2025-03-07 23:12:20 -05:00
Steven Black cd0b6c4456 Updates fron BigDargon, URLHaus, and KADhosts. 2025-03-07 23:11:27 -05:00
Steven Black 4604e47117 Updates from Peter Lowe's list, minus t.co still. 2025-03-07 22:36:14 -05:00
Steven Black 3e9c651afa issue #2832: adding ad domains. 2025-03-07 22:33:16 -05:00
Steven Black 299151a32d Release 3.15.21 2025-03-01 20:03:25 -08:00
Steven Black 75b18a2af1 Updating release-it. 2025-03-01 17:47:46 -08:00
Steven Black cc4d98b069 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-03-01 16:38:37 -08:00
Steven Black 8df476e3b5 Release 3.15.20 2025-02-22 18:22:35 -05:00
Steven Black 7d5bba233a Updates from URLHaus and KADhosts. 2025-02-22 18:22:13 -05:00
Steven Black ffc008fca4 Release 3.15.19 2025-02-20 19:17:39 -05:00
Steven Black f0155ac705 Updates from BigDargon, URLHaus, and KADhosts. 2025-02-20 19:17:22 -05:00
Steven Black 53496c0f67 Update the yoyo.org list (minus t.co). 2025-02-20 15:49:42 -05:00
Steven Black d8ff947926 Release 3.15.18 2025-02-17 14:05:25 -05:00
Steven Black 527daadb16 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-02-17 14:05:06 -05:00
Steven Black 3588a19fa6 Issue #Issue #2823: fix — add firebaselogging-pa.googleapis.com. 2025-02-17 13:48:55 -05:00
Steven Black f20b4803bf Fishing me - good lick with that. 2025-02-17 13:41:05 -05:00
Steven Black 37cd96c0fe Release 3.15.17 2025-02-12 13:04:50 -05:00
Steven Black 7ec703ac7c Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2025-02-12 13:04:29 -05:00
Steven Black 04e625de9d Release 3.15.16 2025-02-04 21:21:16 -05:00
Steven Black 1d01b082d6 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2025-02-04 21:20:57 -05:00
Steven Black 8ca227e21a Release 3.15.15 2025-01-31 15:43:03 -05:00
Steven Black 9ab153e271 Updates from URLHaus, and KADhosts. 2025-01-31 15:42:42 -05:00
Steven Black a0af3d5cb1 Release 3.15.14 2025-01-26 22:40:34 -05:00
Steven Black ee1fe633e1 Updates from URLHaus and KADhosts. 2025-01-26 22:40:17 -05:00
Steven Black 55a9a74a5f Release 3.15.13 2025-01-25 11:25:04 -05:00
Steven Black 5f8af25572 Updates from URLHaus and KADhosts. 2025-01-25 11:24:42 -05:00
Steven Black 6631d69419 Release 3.15.12 2025-01-22 22:18:44 -05:00
Steven Black 94ce558ed5 Updates from URLHaus and KADhosts. 2025-01-22 22:18:25 -05:00
Steven Black 9f4ceb29a3 Merge pull request #2803 from Pandapip1/ipv6-flake
Automtaically add ipv6 entries to nix flake
2025-01-22 22:01:19 -05:00
Gavin John ec8562f9f6 Add NixOS IPv6 documentation to readme 2025-01-21 15:47:56 -08:00
Steven Black abd39949d3 Release 3.15.11 2025-01-21 17:00:21 -05:00
Steven Black fb63ebaf9c Updates from bigdargon, URLHaus, someonewhocares.org, and KADhosts. 2025-01-21 17:00:02 -05:00
Gavin John e457be3a9c Fix mkEnableOption semantics 2025-01-20 15:31:11 -08:00
Gavin John 1f2c2afc3c Automtaically add ipv6 entries to nix flake 2025-01-20 15:31:10 -08:00
Steven Black 1b19054c88 Release 3.15.10 2025-01-15 16:57:10 -05:00
Steven Black 2a3cb6a965 Updates from BigDargon, URLHaus, and KADhosts. 2025-01-15 16:56:52 -05:00
Steven Black 6c9e54b5c9 Release 3.15.9 2025-01-09 11:08:18 -05:00
Steven Black 3f40d08abc Updates from sinfonietts, URLhaus, someonewhocares.org, and KADhosts. 2025-01-09 11:07:47 -05:00
Steven Black 3b9e5a2e53 Issue #2798 — add domain paqueteriadhl.com.mx. 2025-01-08 16:13:32 -05:00
Steven Black c16d2e415d Release 3.15.8 2025-01-06 16:22:14 -05:00
Steven Black 55ec12967e Updates from BigDargon, URLHaus, and KADhosts. 2025-01-06 16:21:55 -05:00
Steven Black 627edaeb4d Release 3.15.7 2025-01-04 22:17:50 -05:00
Steven Black 9da4eb778e Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-01-04 22:17:00 -05:00
Steven Black 6c0d88a14e lol scomobilehelp.com phishing me :) 2024-12-31 16:39:55 -05:00
Steven Black 91a5dce1d7 Release 3.15.6 2024-12-30 16:28:47 -05:00
Steven Black 8040a235d4 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-12-30 16:28:19 -05:00
Steven Black 8c7de597e3 Release 3.15.5 2024-12-27 18:40:07 -05:00
Steven Black ed0366eed9 Updates from URLHaus and KADhosts. 2024-12-27 18:39:37 -05:00
Steven Black f276dad68a Release 3.15.4 2024-12-26 17:04:42 -05:00
Steven Black 829a1b9ab1 Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-12-26 17:03:52 -05:00
Steven Black f829e82578 Release 3.15.3 2024-12-23 12:10:44 -05:00
Steven Black 8814c8db1a Updates from URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-12-23 12:09:52 -05:00
Steven Black 4033d2bc26 Issue #2792: add joinhoney.com. 2024-12-23 11:57:32 -05:00
Steven Black c59bba1836 Merge pull request #2791 from marbens-arch/fruit-merge
Add Fruit Merge (Android) hosts
2024-12-23 10:46:02 -05:00
Marcus B Spencer 8da3793e58 Add Fruit Merge (Android) hosts
Add some (sub)domains for ads and trackers used by the Fruit Merge game
for Android.
2024-12-21 20:26:57 -06:00
Steven Black aec1283020 Release 3.15.2 2024-12-20 13:30:18 -05:00
Steven Black 2b96930d77 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-12-20 13:29:49 -05:00
Steven Black 51abebd85c Issue #2786: add heytapmobile.com and oppomobile.com subdomains. 2024-12-20 12:01:23 -05:00
Steven Black 6615b81c3f Release 3.15.1 2024-12-18 15:18:33 -05:00
Steven Black e931b0e975 Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-12-18 15:18:02 -05:00
Steven Black ec2b18d15f Another phish. 2024-12-18 09:32:38 -05:00
Steven Black 608aed3d80 Release 3.15.0 2024-12-16 21:02:04 -04:00
Steven Black 86e6c4e4fd Updates from URLHaus and KADhosts. 2024-12-16 21:00:27 -04:00
Steven Black 080d276bb7 Issue #2785: fix — ignore domains ending with a dot. 2024-12-16 20:53:49 -04:00
Steven Black 7c8c1fb1e0 Phishing me is a bad idea. 2024-12-16 11:11:33 -04:00
Steven Black e49da9d56c Release 3.14.142 2024-12-16 10:57:01 -04:00
Steven Black 2c8b08954a Updates from URLHaus and KADhosts. 2024-12-16 10:56:39 -04:00
Steven Black 8d23331fbc Merge pull request #2783 from marbens-arch/draw-joust
Add hosts for Draw Joust
2024-12-16 10:50:52 -04:00
Steven Black 767856a873 Release 3.14.141 2024-12-15 17:11:16 -04:00
Steven Black 0eac5602ff Updates from BigDargon, URLHaus, and KADhosts. 2024-12-15 17:10:55 -04:00
Marcus B Spencer 3ce44d026a Add hosts for Draw Joust
Add multiple hosts for ads and trackers used by the Draw Joust game by
VOODOO.
2024-12-15 00:48:22 -06:00
Steven Black e9804b9cd0 Release 3.14.140 2024-12-12 16:16:51 -04:00
Steven Black 129d3e2667 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-12-12 16:15:39 -04:00
Steven Black 690c486fa4 Release 3.14.139 2024-12-06 09:37:23 -05:00
Steven Black f5569d43b5 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-12-06 09:35:31 -05:00
Steven Black 97eca4c0c9 Release 3.14.138 2024-12-04 18:20:44 -05:00
Steven Black 2c02de0106 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-12-04 18:20:17 -05:00
Steven Black 628c38d59d Update our cached version of the yoyo.org list. 2024-12-04 18:07:02 -05:00
Steven Black 06f39f4c47 Issue #2776: add domain html-load.com 2024-12-04 12:54:04 -05:00
Steven Black 83274b80a7 Release 3.14.137 2024-12-02 20:07:22 -05:00
Steven Black 827ccd7fd5 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-12-02 20:06:39 -05:00
Steven Black 485083e4bc Thank you for the phish attempt, canada.postscanadafil.top. 2024-12-02 13:47:11 -05:00
Steven Black 287c6ea90f Release 3.14.136 2024-11-28 16:51:56 -05:00
Steven Black d04be3fff5 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-11-28 16:51:22 -05:00
Steven Black d7e1e376dd Release 3.14.135 2024-11-24 14:33:33 -05:00
Steven Black 1f5d676898 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-11-24 14:33:09 -05:00
Steven Black eeab47e501 Release 3.14.134 2024-11-23 18:01:04 -05:00
Steven Black 5a5ba83544 Updates from BigDargon, URLHaus, and KADhosts. 2024-11-23 18:00:39 -05:00
Steven Black eb2d3ba350 Release 3.14.133 2024-11-19 16:40:07 -05:00
Steven Black b17f8e51c7 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-11-19 16:39:44 -05:00
Steven Black 77186ce257 Release 3.14.132 2024-11-14 10:46:30 -05:00
Steven Black 0ecb892f6f Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-11-14 10:46:06 -05:00
Steven Black 2c5832f15a Release 3.14.131 2024-11-11 21:04:48 -05:00
Steven Black c5158fb3b6 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-11-11 21:04:22 -05:00
Steven Black a9296b0d32 Release 3.14.130 2024-11-07 21:46:02 -05:00
Steven Black 41f3084ca1 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-11-07 21:45:40 -05:00
Steven Black 13d30e8062 Release 3.14.129 2024-11-02 12:39:14 -04:00
Steven Black 56674d5718 Updates from BigDargon, URLHaus, and KADhosts. 2024-11-02 12:38:50 -04:00
Steven Black bbb43907e5 FFS do not phish me what are you stupid? 2024-10-31 16:31:27 -04:00
Steven Black 4ee6cac784 Release 3.14.128 2024-10-30 21:33:24 -04:00
Steven Black 3f321ed01f Updates from URLHaus and KADhosts. 2024-10-30 21:32:58 -04:00
Steven Black b307ce09a1 Phishing me is a bad idea. 2024-10-28 15:05:19 -04:00
Steven Black 1ade68a924 Release 3.14.127 2024-10-26 22:47:46 -04:00
Steven Black a895d0cd6f Updates from BigDargon, URLHaus, and KADhosts. 2024-10-26 22:47:24 -04:00
Steven Black ca8d6e37fa Release 3.14.126 2024-10-23 20:39:37 -04:00
Steven Black 05b2288b79 Updates from BigDargon, URLHaus, and KADhosts. 2024-10-23 20:39:14 -04:00
Steven Black 48eb1cbb0b Release 3.14.125 2024-10-18 21:45:58 -04:00
Steven Black 34caef72d1 Updates from URLHaus and KADhosts. 2024-10-18 21:45:31 -04:00
Steven Black 3eb62cf799 Issue #2760: fix — address domains with questionable TLD. 2024-10-18 09:37:49 -04:00
Steven Black bfb158d990 Issue #2759: block faux-rustdesk domains. 2024-10-17 17:18:38 -04:00
Steven Black e778618a63 Issue #2755: remove trailing slash. 2024-10-17 14:47:50 -04:00
Steven Black 4b9aaaa32b Phish me. Go ahead. 2024-10-17 14:19:20 -04:00
Steven Black d5340679de Release 3.14.124 2024-10-15 22:35:31 -04:00
Steven Black 714a1b467d Updates from bigDargon, URLHaus, and KADhosts. 2024-10-15 22:34:41 -04:00
Steven Black fb1ec6fcff Release 3.14.123 2024-10-13 21:30:59 -04:00
Steven Black ea45b26e25 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-10-13 21:30:28 -04:00
Steven Black e974db4c51 Issue #2753: Add starshipstart.com. 2024-10-13 21:24:34 -04:00
Steven Black 6b0e41c8d5 Merge pull request #2752 from alithechemist/master
Add new domain for ganalytics
2024-10-13 14:48:09 +00:00
Chippy 9e79a0f612 add new domain for ganalytics 2024-10-13 13:12:31 +00:00
Steven Black f1e218e891 Release 3.14.122 2024-10-12 18:40:34 -04:00
Steven Black 208537d75e Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-10-12 18:40:17 -04:00
Steven Black 55b495315e issue #2749: fix — re-adding api-visitor-analytics.intercom.com. 2024-10-12 18:31:56 -04:00
Steven Black ebcd90663f Release 3.14.121 2024-10-11 17:32:07 -04:00
Steven Black 1e345c922d Update the main list graph. 2024-10-11 17:31:54 -04:00
Steven Black 0506a482a9 Updates from sinfonietta, URLHaus, and KADhosts. 2024-10-11 17:30:15 -04:00
Steven Black e4e5c084b4 Update yoyo.org list. 2024-10-11 17:25:51 -04:00
Steven Black 3d32625929 Why would someone try to phish me? 2024-10-11 17:22:16 -04:00
Steven Black c3410ef0f8 Update stats and graphs in source data and extensions. 2024-10-11 11:39:21 -04:00
Steven Black 308f0abdfe Add obvious tracking domain. 2024-10-10 11:29:44 -04:00
Steven Black 5b673937fd Release 3.14.120 2024-10-10 10:11:36 -04:00
Steven Black 774267930f Upgate the homepage graph. 2024-10-10 10:11:27 -04:00
Steven Black 190265806c Updates from URLHaus, and KADhosts. 2024-10-10 10:09:13 -04:00
Steven Black 97d3df3b8e Issue #2744: add domain flowto.it. 2024-10-10 10:04:42 -04:00
Steven Black 3c317faffe Trying to phish me is a bad idea. 2024-10-09 21:50:20 -04:00
Steven Black b7b5874f4d Release 3.14.119 2024-10-09 15:14:02 -04:00
Steven Black 9ab4e7ba6f Updated from BigDargon, URLHaus, someonewhocares.org, and AKDhosts. 2024-10-09 15:13:29 -04:00
Steven Black e1c13d1bee Release 3.14.118 2024-10-07 10:40:46 -04:00
Steven Black 6d1ec84977 Updates from URLHaus and KADhosts. 2024-10-07 10:39:16 -04:00
Steven Black 66144dff67 Merge pull request #2738 from HanaO00/patch-1
Update hosts
2024-10-06 15:32:44 +00:00
HanaO00 b166c3ac6c Update hosts 2024-10-06 10:18:47 +02:00
Steven Black 214364cae1 Release 3.14.117 2024-10-05 22:00:17 -04:00
Steven Black f816654fee Updates from sinfonietta, BigDargon, URLHaus, and KADhosts. 2024-10-05 21:59:57 -04:00
Steven Black b5ade5394f Release 3.14.116 2024-10-03 11:48:51 -04:00
Steven Black 363601c9e1 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-10-03 11:48:21 -04:00
Steven Black 00824b636f Clean out tumblr.com, blogspot.com, and hentai from the clefspeare13 porn archive. 2024-10-03 11:38:20 -04:00
Steven Black ecfe0beb3f Issue #2721: add two adnz.co domains. 2024-10-02 15:43:47 -04:00
Steven Black 8f2fb38233 Upload updated readme generator, and associated generated readme files. 2024-10-01 17:29:07 -04:00
Steven Black cbcba8bbe7 (testing this relative image URL in the Github context) 2024-10-01 17:27:29 -04:00
Steven Black b2caca182e Release 3.14.115 2024-10-01 17:08:37 -04:00
Steven Black 21849a30b6 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-10-01 17:08:18 -04:00
Steven Black 50ae445f4c Now that we have more graphs, place them in each individual readme. 2024-10-01 17:02:28 -04:00
Steven Black 4ec61d63df Update all the list and product stats, and all their graphs. 2024-10-01 16:29:18 -04:00
Steven Black dc211a64b9 Remove the tiuxo social extension. 2024-10-01 16:07:49 -04:00
Steven Black 2db6a9f1ce Release 3.14.114 2024-09-27 13:18:41 -04:00
Steven Black 2217f0ef38 Update after adding two.opensourced.us. 2024-09-27 13:18:06 -04:00
Steven Black c2f77228b4 Adding domain two.opensourced.us. 2024-09-27 13:13:46 -04:00
Steven Black a70ab1359e Release 3.14.113 2024-09-27 12:48:42 -04:00
Steven Black eec49a50a8 Updates from URLHaus and KADhosts. 2024-09-27 12:48:13 -04:00
Steven Black c7b01fe254 Issue #2732: remove api.qub.ca. 2024-09-27 12:32:10 -04:00
Steven Black c6298eddb3 Release 3.14.112 2024-09-25 15:10:39 -04:00
Steven Black 31c77440c1 Updates from URLHaus and KADhosts. 2024-09-25 15:10:15 -04:00
Steven Black 70ffa52ca2 Add domain gotoyahoo.com. 2024-09-25 14:03:14 -04:00
Steven Black 1e9957e810 Release 3.14.111 2024-09-22 17:48:05 -04:00
Steven Black d466811c34 Updates from URLHaus and KADhosts. 2024-09-22 17:47:47 -04:00
Steven Black d0943b7f3b Issue #2730: Remove the MetaMask/eth-phishing-detect list. 2024-09-22 17:44:37 -04:00
Steven Black 44750aab6d Manual refresh of yoyo.org list. 2024-09-22 17:42:51 -04:00
Steven Black 74500a214c Release 3.14.110 2024-09-21 17:11:27 -04:00
Steven Black ae1c2e5aa7 Updates from URLHaus and KADhosts. 2024-09-21 17:10:53 -04:00
Steven Black 61522bfc0e Add ads-static.phonepe.com. 2024-09-21 17:04:04 -04:00
Steven Black e7237a0bc6 Release 3.14.109 2024-09-20 21:01:04 -04:00
Steven Black bcfe238f92 Updates from URLHaus and KADhosts. 2024-09-20 21:00:31 -04:00
Steven Black cc95d2f813 Issue #2728: remove domain detectportal.firefox.com. 2024-09-20 20:53:06 -04:00
Steven Black 0792806f26 Add 4 new domains. 2024-09-17 18:02:24 -04:00
Steven Black fbbf81dd70 Add detectportal.firefox.com 2024-09-17 14:08:45 -04:00
Steven Black 409cef2a53 Release 3.14.108 2024-09-16 15:25:54 -04:00
Steven Black 8e1a73e005 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-09-16 15:25:15 -04:00
Steven Black 26c91ddb38 Add two new domains. 2024-09-16 10:09:21 -04:00
Steven Black 67be1d7f25 Revert commit 4c2c419009
Wrong repo.
2024-09-14 19:45:30 -04:00
Steven Black 4c2c419009 Turn off CI for now, until we figure out cache issues. 2024-09-14 12:38:26 -04:00
Steven Black c388521f87 Release 3.14.107 2024-09-13 13:57:08 -04:00
Steven Black 3f2022c9d4 Updates from URLHaus and KADhosts. 2024-09-13 13:56:46 -04:00
Steven Black d01e665e19 Release 3.14.106 2024-09-10 11:07:21 -04:00
Steven Black cce1af42ee Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-09-10 11:06:00 -04:00
Steven Black 10b187280e Release 3.14.105 2024-09-06 22:03:27 -04:00
Steven Black 83cd2c5664 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-09-06 22:03:00 -04:00
Steven Black 569f5175ed Add browser-intake-datadoghq.com. 2024-09-06 21:37:50 -04:00
Steven Black f3069eb63a Issue #2714: add two domains. 2024-09-05 15:36:19 -04:00
Steven Black f5e87ba168 Release 3.14.104 2024-09-04 11:57:43 -04:00
Steven Black a7d848d209 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-09-04 11:57:23 -04:00
Steven Black 5752297c81 Add analytics.intelliscapesolutions.com. 2024-09-01 20:55:00 -04:00
Steven Black de3c02e9df Adjust the links to KADhosts. 2024-09-01 16:16:19 -04:00
Steven Black de93cbf1b4 Release 3.14.103 2024-08-31 19:02:46 -04:00
Steven Black 94b02c28f9 Updates from URLHaus, and KADhosts. 2024-08-31 19:02:26 -04:00
Steven Black c9d37e1151 Merge pull request #2713 from jworrell/master
removed trailing dot
2024-08-31 22:58:07 +00:00
Justin Worrell 61b1df4465 re-add trailing space that was removed by ide 2024-08-31 08:27:16 -05:00
Justin Worrell ac99f1737e removed trailing dot 2024-08-31 08:23:43 -05:00
Steven Black 1295ae360b Release 3.14.102 2024-08-30 19:28:07 -04:00
Steven Black ea4c30f656 Updates from BigDargon, URLHaus, and KADhosts. 2024-08-30 19:27:46 -04:00
Steven Black f3466cf4b6 More ad domains. 2024-08-30 19:04:04 -04:00
Steven Black 728db515f4 Add three new domains. 2024-08-30 18:55:35 -04:00
Steven Black 32b967f09f Release 3.14.101 2024-08-29 14:19:45 -04:00
Steven Black e73a637880 Updates from BigDargon, URLHaus.com, and KADhosts. 2024-08-29 14:19:26 -04:00
Steven Black 35c9381e5f Issue #2708: fix — remove domain fc.yahoo.com. 2024-08-29 14:11:43 -04:00
Steven Black 6356d4846d Freshen domains from yoyo.org, removing t.co. 2024-08-26 22:03:50 -04:00
Steven Black 511a7a99fc Release 3.14.100 2024-08-26 14:02:41 -04:00
Steven Black 7c6d6cd208 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-08-26 14:02:19 -04:00
Steven Black 797e73e01a Release 3.14.99 2024-08-20 19:36:27 -04:00
Steven Black 0fe5339e98 Updates from BigDargon, URLHaus, and KADhosts. 2024-08-20 19:35:26 -04:00
Steven Black 0088c38eb6 Release 3.14.98 2024-08-17 21:44:54 -04:00
Steven Black ae199f58bd Updates from URLHaus and KADhosts. 2024-08-17 21:44:19 -04:00
Steven Black b2b0b69d3c Release 3.14.97 2024-08-16 09:13:10 -04:00
Steven Black b20a8f23bd Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-08-16 09:12:43 -04:00
Steven Black 89e14e76ab Release 3.14.96 2024-08-11 13:56:29 -04:00
Steven Black a198b4e347 Updates fron BigDargon, URLHaus, and KADhosts. 2024-08-11 13:56:09 -04:00
Steven Black 7ebdf6905b Unset a release-it config item. 2024-08-08 16:00:19 -04:00
Steven Black 25a5b38b8d Release 3.14.95 2024-08-08 13:53:20 -04:00
Steven Black 379078a69e Release 3.14.94 2024-08-08 13:42:29 -04:00
Steven Black f61cbb376e Update release-it.json. 2024-08-08 13:42:15 -04:00
Steven Black c5e210acd2 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-08-08 09:28:38 -04:00
Steven Black 8bb5a4f6e2 Release 3.14.93 2024-08-04 19:56:00 -04:00
Steven Black dc2a615fb1 Updates fron BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-08-04 19:55:29 -04:00
Steven Black e2ab86e3c7 Release 3.14.92 2024-08-02 15:12:11 -04:00
Steven Black 14d3a27495 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-08-02 15:11:52 -04:00
Steven Black d6039e35d0 Release 3.14.91 2024-07-30 21:08:01 -04:00
Steven Black 72bff1c71b Updates from URLHaus and KADhosts. 2024-07-30 21:07:43 -04:00
Steven Black b5235d6bd3 Release 3.14.90 2024-07-27 20:00:20 -04:00
Steven Black 387cd5c7fd Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-07-27 19:59:59 -04:00
Steven Black 2a82f28010 Issue #2697: add tracker.nitropay.com. 2024-07-27 19:41:58 -04:00
Steven Black 2eaa823eac Release 3.14.89 2024-07-20 20:37:08 -04:00
Steven Black 0d46894ba4 Update from BigDargon, URLHaus, and KADhosts. 2024-07-20 20:36:50 -04:00
Steven Black 87af2c503d Release 3.14.88 2024-07-15 20:43:26 -04:00
Steven Black 538826aa1c Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-07-15 20:43:01 -04:00
Steven Black 23a08642d7 Release 3.14.87 2024-07-14 19:34:41 -04:00
Steven Black bb3ca97775 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-07-14 19:34:13 -04:00
Steven Black d5b8593c94 Release 3.14.86 2024-07-11 15:24:48 -04:00
Steven Black 153478eb73 Updates from Sinfonietta, URLHaus, and KADhosts. 2024-07-11 15:24:28 -04:00
Steven Black 67448bdb86 Release 3.14.85 2024-07-07 13:05:34 -04:00
Steven Black 796e33034d Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-07-07 13:05:11 -04:00
Steven Black 7d8475ddbd Issue #2679: adding addsco.re domains. 2024-07-07 12:44:35 -04:00
Steven Black 56e0655596 Merge pull request #2686 from Gailima0/patch-1
Update hosts
2024-07-07 12:38:44 -04:00
Gailima0 f408b8eecd Update hosts 2024-07-05 18:23:05 +08:00
Steven Black bfefd08fd5 Release 3.14.84 2024-07-04 11:09:32 -04:00
Steven Black 308b491795 Merge branch 'master' of https://github.com/StevenBlack/hosts
* 'master' of https://github.com/StevenBlack/hosts:
  Bump docker/build-push-action from 5 to 6
2024-07-04 11:06:22 -04:00
Steven Black 8f9fbea8cb Merge pull request #2684 from StevenBlack/dependabot/github_actions/docker/build-push-action-6
Bump docker/build-push-action from 5 to 6
2024-07-04 11:04:01 -04:00
Steven Black 7bfbc0d80c Updates from URLHaus and KADhosts. 2024-07-04 10:59:55 -04:00
Steven Black 27ff98438b Merge pull request #2684 from StevenBlack/dependabot/github_actions/docker/build-push-action-6
Bump docker/build-push-action from 5 to 6
2024-07-03 11:40:11 -04:00
Steven Black 3f45bc4eb8 Release 3.14.83 2024-07-01 23:30:54 -04:00
Steven Black f43c165f55 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-07-01 23:30:34 -04:00
dependabot[bot] 93ec1fd5af Bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 00:44:22 +00:00
Steven Black 0f8be09978 Release 3.14.82 2024-06-26 22:49:30 -04:00
Steven Black 90c0bb7d66 Updates from URLHaus and KADhosts. 2024-06-26 22:48:44 -04:00
Steven Black 9831521d8e Attempting to phish me is not a good idea. 2024-06-26 22:39:09 -04:00
Steven Black 9f414fefb5 Merge pull request #2677 from veeronniecaw/readme_template_patch
changed url in flake to string
2024-06-25 22:31:01 -04:00
Ronnie Hounskul d94854d7fb changed url in flake to string 2024-06-26 07:02:49 +08:00
Steven Black 96db2c00f0 Release 3.14.81 2024-06-24 23:04:35 -04:00
Steven Black cba819cbd1 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-06-24 23:04:05 -04:00
Steven Black 05a9ae6098 Release 3.14.80 2024-06-21 16:30:47 -04:00
Steven Black d98a5f71c6 Updates from URLHaus, and KADhosts. 2024-06-21 16:30:22 -04:00
Steven Black fecc315279 Merge pull request #2671 from rr-bill-keenan/patch-1
Update hosts to remove ECBSN , for rakuten
2024-06-21 16:24:24 -04:00
rr-bill-keenan b14bd69cf4 Update hosts to remove ECBSN , for rakuten
As per issue
https://github.com/StevenBlack/hosts/issues/2638
2024-06-20 14:37:06 -04:00
Steven Black 560c37e5ae Release 3.14.79 2024-06-19 17:24:06 -04:00
Steven Black d39c2605e6 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-06-19 17:23:48 -04:00
Steven Black 4f32347592 Issue #2668: fix — drop the shady-hosts list. 2024-06-19 17:15:44 -04:00
Steven Black 27026be6e0 Release 3.14.78 2024-06-16 20:58:23 -04:00
Steven Black 92aa6fe185 Updates from BigDargon, URLHaus, KADhosts, and HostsVN. 2024-06-16 20:58:02 -04:00
Steven Black 7f5a0b2ca3 Release 3.14.77 2024-06-14 17:26:08 -04:00
Steven Black 7b30fb2b75 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-06-14 17:25:48 -04:00
Steven Black 846f528dfc Release 3.14.76 2024-06-08 11:45:51 -04:00
Steven Black bf859eadf7 Updates from sinfonietta, BigDargon, URLHaus, and KADhosts. 2024-06-08 11:45:25 -04:00
Steven Black e1a7b23e97 Release 3.14.75 2024-06-03 17:17:20 -04:00
Steven Black c2355bd6f0 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2024-06-03 17:17:03 -04:00
Steven Black dbb107def4 Merge pull request #2661 from JMaravalhasSilva/patch-1
Add netflix log host
2024-06-03 17:07:28 -04:00
José Maravalhas Silva 0e1ac5b206 Add netflix log host 2024-05-30 22:55:34 +01:00
Steven Black 6b6cba7dc7 Release 3.14.74 2024-05-27 21:26:34 -04:00
Steven Black 4b35ee6fd8 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-05-27 21:26:12 -04:00
Steven Black 7dc5651e1e Release 3.14.73 2024-05-20 10:21:30 -04:00
Steven Black c3fb87d1d3 Update from URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-05-20 10:21:11 -04:00
Steven Black fc97b3c522 Issue #2656: fix stray space. 2024-05-20 10:11:25 -04:00
Steven Black e07d760324 Issue #2650: adding urdxh .com. 2024-05-19 16:21:40 -04:00
Steven Black dac298c4ae Release 3.14.72 2024-05-12 19:15:57 -04:00
Steven Black bf0ff2a45c Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-05-12 19:15:32 -04:00
Steven Black ee48544926 Add ww25.twitterr.com. 2024-05-03 22:40:10 -04:00
Steven Black ce8fe38728 Release 3.14.71 2024-05-03 22:37:25 -04:00
Steven Black b1530bc9aa Updates from BigDargon, URLHaus, and KADhosts. 2024-05-03 22:37:07 -04:00
Steven Black 8ffffc0147 Add twitterr.com. 2024-05-03 13:15:49 -04:00
Steven Black 1ec290c91e Release 3.14.70 2024-05-01 13:15:12 -04:00
Steven Black a7ff303e12 Updates from URLHaus and KADhosts. 2024-05-01 13:14:52 -04:00
Steven Black 4b623fad8a Merge pull request #2640 from FadeMind/patch-2
ejuiashsateam.info
2024-04-30 08:58:03 -04:00
FadeMind fda2722aab ejuiashsateam.info 2024-04-28 20:13:07 +02:00
Steven Black 745d46fe86 Merge pull request #2637 from FadeMind/patch-1
sadostic.pl
2024-04-25 15:03:54 -04:00
Steven Black bcb3384b0c Release 3.14.69 2024-04-25 10:53:04 -04:00
Steven Black b503cb06bd Updates from sinfonietta, BigDargon, URLHaus, and KADhosts. 2024-04-25 10:52:23 -04:00
Steven Black a0cce7ec82 Apply a filtered update from yoyo.org. 2024-04-25 10:19:20 -04:00
Steven Black c2b40a35be Issue #2638: remove www.tapresearch.com. 2024-04-25 10:14:51 -04:00
FadeMind 6720ce746b sadostic.pl
Simple typo domain. Weird redirects.
2024-04-24 18:23:55 +02:00
Steven Black 6d89ad4c73 Release 3.14.68 2024-04-22 00:21:49 -04:00
Steven Black ba7f57462e Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-04-22 00:21:27 -04:00
Steven Black 218bd9ec48 Release 3.14.67 2024-04-18 10:40:30 -04:00
Steven Black 1f0418b80b Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-04-18 10:40:13 -04:00
Steven Black 48b11d97ae Add phishing domain alertcibcsecuremobile.com. 2024-04-13 16:48:15 -04:00
Steven Black 7bb3d22929 Release 3.14.66 2024-04-11 15:18:38 -04:00
Steven Black f4dce44f1b Updates from URLHaus and KADhosts 2024-04-11 15:18:19 -04:00
Steven Black 7f4075c8b9 Issue #2627: remove the amplitude.com root domain. 2024-04-11 15:04:42 -04:00
Steven Black 2e13a1d857 Release 3.14.65 2024-04-09 20:08:42 -04:00
Steven Black 648bc7b345 Updates from Sinfonietta, BigDargon, URLHaus, and KADhosts. 2024-04-09 20:07:32 -04:00
Steven Black 571cc9db2e Merge pull request #2625 from FadeMind/patch-3 2024-04-08 22:56:12 -04:00
FadeMind 0d78617324 notepad.plus
Ref https://notepad-plus-plus.org/news/help-to-take-down-parasite-site/
2024-04-08 17:41:51 +02:00
Steven Black a340ebf0b8 Release 3.14.64 2024-04-04 12:37:26 -04:00
Steven Black a5ead8654d Updates from URLHaus and KADhosts. 2024-04-04 12:37:07 -04:00
Steven Black bcc0ff4ac1 Merge pull request #2621 from XhmikosR/patch-1
updateHostsFile.py: use a raw string for comment
2024-04-04 12:11:01 -04:00
Steven Black 2ceabffdfe Merge pull request #2622 from XhmikosR/patch-2
readme_template.md: remove uneeded .svg from badges
2024-04-04 12:09:19 -04:00
Steven Black bf91c7f4e6 Merge pull request #2623 from XhmikosR/patch-3
Minor whitespace/line endings consistency changes
2024-04-04 12:04:21 -04:00
Steven Black 9ac57a5361 Add canadapost.ca-help-h.top. 2024-04-03 16:39:01 -04:00
XhmikosR 4fd06daa6d dependabot.yml: move actions before pip 2024-04-03 17:00:59 +03:00
XhmikosR 11f8e20042 Minor whitespace/line endings consistency changes 2024-04-03 17:00:58 +03:00
Steven Black 4d96abf2bc Merge pull request #2566 from StevenBlack/dependabot/github_actions/actions/dependency-review-action-4
Bump actions/dependency-review-action from 3 to 4
2024-04-03 09:28:23 -04:00
XhmikosR 2a1ef960d4 readme_template.md: remove uneeded .svg from badges 2024-04-03 08:26:23 +03:00
XhmikosR ae8c5b1cba updateHostsFile.py: use a raw string for comment
This fixes a SyntaxWarning with Python 3.12:

```
 /home/runner/work/hosts/hosts/updateHostsFile.py:1386: SyntaxWarning: invalid escape sequence '\W'
  """
```
2024-04-03 08:18:10 +03:00
Steven Black bd064ee1ed Release 3.14.63 2024-04-02 20:50:38 -04:00
Steven Black eda13bc8b3 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-04-02 20:47:04 -04:00
Steven Black f6d230e9a8 Release 3.14.62 2024-03-28 20:51:05 -04:00
Steven Black 0981f7ac17 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-03-28 20:50:42 -04:00
Steven Black 700a10b55d Issue #2611: add argo.svcmot.com. 2024-03-28 20:43:33 -04:00
Steven Black 3e12f3989b Release 3.14.61 2024-03-23 22:08:52 -04:00
Steven Black 500b116d63 Update release-it. 2024-03-23 22:08:38 -04:00
Steven Black 01b73e18c5 Release 3.14.60 2024-03-23 22:06:46 -04:00
Steven Black 82851f52b5 Updates from Sinfonietta, URLHaus, and KADhosts. 2024-03-23 22:06:26 -04:00
Steven Black cf3c7f5740 Issue #2602: add three domains. 2024-03-21 09:29:54 -04:00
Steven Black fdbc35123b Release 3.14.60 2024-03-19 23:44:50 -04:00
Steven Black 80c0ebafe9 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-03-19 23:44:31 -04:00
Steven Black 14b698abcd Merge pull request #2597 from tastapod/tastapod-add-snitcher
Add Snitcher as an interesting application
2024-03-17 12:02:06 -04:00
Daniel Terhorst-North aa2c918753 move update to readme_template.md so it can generate All The Things 2024-03-17 14:59:56 +00:00
Steven Black 7c0ba20a0a Release 3.14.59 2024-03-15 11:04:43 -04:00
Steven Black cf778fc26e Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-03-15 11:04:04 -04:00
Steven Black 73614b0e31 Issue #2599: add crpdt.livejasmin.com. 2024-03-12 13:18:52 -04:00
Steven Black 7eaea3c513 Issue #2595: add mcgthfrqrs95vdbzkhtchf5fc0g4.device.marketingcloudapis.com. 2024-03-10 14:48:03 -04:00
Steven Black b382dcbebd Release 3.14.58 2024-03-09 14:36:08 -05:00
Steven Black 9427ce31ee Updates from Sinfonietta, URLHaus, someonewhocares.org, and KADhosts. 2024-03-09 14:35:53 -05:00
Daniel Terhorst-North 00515e83db fix typo 2024-03-09 12:32:36 +00:00
Daniel Terhorst-North 257b3db4b7 Add Snitcher as an interesting application
[Snitcher](https://snitcher.dannorth.net) makes the lists available as Little Snitch rule groups.
2024-03-09 12:22:46 +00:00
Steven Black 7e350cd634 Release 3.14.57 2024-03-04 16:31:36 -08:00
Steven Black fb9490e4f4 Updates from Sinfonietta, BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-03-04 16:31:19 -08:00
Steven Black b77a285f5f Release 3.14.56 2024-02-28 18:47:56 -08:00
Steven Black 4caf549227 Updates from Big Dargon, URLHaus, and KADhosts. 2024-02-28 18:47:29 -08:00
Steven Black a1dc2a9193 Release 3.14.55 2024-02-25 01:15:01 -05:00
Steven Black d75a9114c4 Updates from sinfonietta, URLHaus, and KADhosts. 2024-02-25 01:13:40 -05:00
Steven Black 2ccf44a6d3 Release 3.14.54 2024-02-24 16:20:49 -05:00
Steven Black 1ba4aaddb4 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-02-24 16:20:33 -05:00
Steven Black 61080e8dad Release 3.14.53 2024-02-15 22:32:27 -05:00
Steven Black 3aa8626821 Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-02-15 22:32:09 -05:00
Steven Black 888782854d Issue #2572: remove domain medium.ngtv.io. 2024-02-14 13:28:58 -05:00
Steven Black c9d105168e Release 3.14.52 2024-02-12 15:30:05 -05:00
Steven Black 065a670221 Updates from HRLHaus and KADhosts. 2024-02-12 15:29:48 -05:00
Steven Black 1d95bc0a49 Issue #2569: adding domain statistik.changing-cities.org. 2024-02-11 17:02:56 -05:00
Steven Black 3a51262699 Issue #2568: add new domains arising. 2024-02-11 16:59:31 -05:00
Steven Black 5bcd5c4223 Release 3.14.51 2024-02-10 14:22:47 -05:00
Steven Black cda8c03553 Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-02-10 14:22:33 -05:00
Steven Black 807ff135e3 Release 3.14.50 2024-02-06 16:29:25 -05:00
Steven Black a8f36d9bf8 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-02-06 16:29:06 -05:00
dependabot[bot] afd066e8e6 Bump actions/dependency-review-action from 3 to 4
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 00:31:45 +00:00
Steven Black a786144d25 Release 3.14.49 2024-01-30 09:09:40 -05:00
Steven Black 61c40abe2c Updates from URLHaus, someonewhocares.org, and KADhosts. 2024-01-30 09:09:23 -05:00
Steven Black 741cbae6d7 Release 3.14.48 2024-01-27 09:15:37 -05:00
Steven Black 73a42a2616 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-01-27 09:15:16 -05:00
Steven Black 01b3c89fbf Release 3.14.47 2024-01-21 17:25:31 -05:00
Steven Black 9d386ff599 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2024-01-21 17:25:16 -05:00
Steven Black 0acbc96504 Merge pull request #2543 from kjde/master
Added rtnl.bxcl.de
2024-01-21 12:42:11 -05:00
Steven Black e7fd66e0c4 Release 3.14.46 2024-01-17 20:14:15 -05:00
Steven Black eb185b6622 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-01-17 20:13:51 -05:00
Steven Black 88f178710e Merge pull request #2548 from StevenBlack/dependabot/github_actions/github/codeql-action-3
Bump github/codeql-action from 2 to 3
2024-01-15 20:21:30 -05:00
Steven Black ba39128fee Merge pull request #2547 from StevenBlack/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2024-01-15 20:18:43 -05:00
Steven Black 14da388110 Release 3.14.45 2024-01-13 22:34:02 -05:00
Steven Black 2cbcdd7ec9 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-01-13 22:33:48 -05:00
Steven Black 539489187b Release 3.14.44 2024-01-06 22:07:39 -05:00
Steven Black 623ac31630 Updates fron BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2024-01-06 22:07:22 -05:00
Steven Black 8009dc6a69 Release 3.14.43 2024-01-03 22:52:22 -05:00
Steven Black 340d3404e1 Updates from sinfonietta, BigDargon, URLHaus, and KADhosts. 2024-01-03 22:52:06 -05:00
dependabot[bot] 1bdbdfe097 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 01:08:09 +00:00
dependabot[bot] a225bbddef Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 01:07:59 +00:00
Steven Black eac40ff5bd Release 3.14.42 2023-12-30 17:57:19 -05:00
Steven Black fde3889dc3 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-12-30 17:07:57 -05:00
Kaspar 7b8b936cda Added rtnl.bxcl.de 2023-12-28 10:31:25 +01:00
Steven Black db884bcfcd Release 3.14.41 2023-12-25 20:59:07 -05:00
Steven Black eae2d0e5ba Updates from BigDargon, URLHaus, someonewhocares.org, and HADhosts. 2023-12-25 20:58:51 -05:00
Steven Black 885087bf64 Release 3.14.40 2023-12-17 13:33:55 -05:00
Steven Black b8b0716a4c Update from URLhaus. 2023-12-17 13:33:31 -05:00
Steven Black e898f1172e Fix IP address error in a prior commit. 2023-12-17 13:28:01 -05:00
Steven Black 5408de598a Release 3.14.39 2023-12-17 12:42:37 -05:00
Steven Black a915555ddc Updates from sinfonietta, BigDargon, URLHaus, amd KADhosts. 2023-12-17 12:42:10 -05:00
Steven Black 2185dae471 Issue #2530: re-adding co.vaicore.site and int.vaicore.site. 2023-12-17 12:35:35 -05:00
Steven Black 3928d79c18 Release 3.14.38 2023-12-16 10:11:36 -05:00
Steven Black 15faa6d5c2 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-12-16 10:11:22 -05:00
Steven Black 2e362aa089 Issue #2530: remove two vaicore.site domains. 2023-12-16 09:10:27 -05:00
Steven Black 6017d06739 Release 3.14.37 2023-12-12 22:21:36 -07:00
Steven Black 12d0a19e0b Updates from Sinfonietta, BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-12-12 22:21:13 -07:00
Steven Black db34f595c9 Merge pull request #2526 from XhmikosR/xmr/dev
Fix return type in prompt_for_update
2023-12-12 22:14:05 -07:00
Steven Black a8fccec141 Merge pull request #2525 from XhmikosR/patch-1
CI: remove Python 3.7, add Python 3.12
2023-12-12 22:12:53 -07:00
XhmikosR 0c12f19ab5 Fix return type in prompt_for_update 2023-12-12 07:34:10 +02:00
XhmikosR e2d262809e CI: reduce CI matrix
Run the oldest and the latest supported versions on macOS and Windows
2023-12-10 09:18:04 +02:00
XhmikosR 598794a484 Update flake8 to v6.0 for Python 3.12 support 2023-12-10 09:18:04 +02:00
XhmikosR 45276ff4bc CI: remove Python 3.7, add Python 3.12 2023-12-10 08:50:50 +02:00
Steven Black 4ee89fc68a Release 3.14.36 2023-12-03 22:12:16 -05:00
Steven Black cd6bc56380 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-12-03 22:11:47 -05:00
Steven Black 6f2ff67069 Release 3.14.35 2023-12-01 16:49:42 -05:00
Steven Black 5554d47959 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-12-01 16:49:26 -05:00
Steven Black afe430fa6c Release 3.14.34 2023-11-26 11:37:54 -05:00
Steven Black 145cd3ac81 Updates from URLHaus and KADhosts. 2023-11-26 11:37:41 -05:00
Steven Black 58e163fa08 Issue #2517: fix - removing freecodecamp.org. 2023-11-26 11:25:24 -05:00
Steven Black 23daf15da1 Release 3.14.33 2023-11-26 07:41:52 -05:00
Steven Black bc64dc748a Updates from URLHaus and KADhosts. 2023-11-26 07:41:38 -05:00
Steven Black 00f37ec9e8 Issue #2516: remove ajax.googleapis.con. 2023-11-26 07:33:42 -05:00
Steven Black 10a16bb8a4 Issue #2515: remove cdn.jsdelivr.net despite its use as an ad server. 2023-11-26 07:32:45 -05:00
Steven Black a826ba6e59 Release 3.14.32 2023-11-25 21:22:03 -05:00
Steven Black c52ed3e3ef Updates from URLHaus and KADhosts. 2023-11-25 21:21:46 -05:00
Steven Black ed6e26e05a New domains, including cdn.jsdelivr.net. 2023-11-25 21:15:21 -05:00
Steven Black bf5b5d0019 Release 3.14.31 2023-11-25 19:13:05 -05:00
Steven Black 0cb8fc4cfd Updates from URLHaus. 2023-11-25 19:12:49 -05:00
Steven Black a3bb4d52eb Issue #2514: remove other gstatic.com domains from the list. 2023-11-25 18:49:47 -05:00
Steven Black 0ad0d260ae Release 3.14.30 2023-11-25 16:32:02 -05:00
Steven Black 2dae914835 Updates from URLHaus, KADhosts, and 2o7Net. 2023-11-25 16:30:58 -05:00
Steven Black 1e6c9deb77 Issue #2514: remove gstatic.com from the list. 2023-11-25 16:22:49 -05:00
Steven Black 6fb2c3e993 More domains used by CNN. 2023-11-24 17:40:54 -05:00
Steven Black b78cc75d5f Release 3.14.29 2023-11-24 15:48:22 -05:00
Steven Black 2fc923b014 Updated from URLHaus and KADhosts. 2023-11-24 15:47:49 -05:00
Steven Black 85984027fd Add hosts from CNN. 2023-11-24 15:09:06 -05:00
Steven Black 95de13f369 Release 3.14.28 2023-11-21 22:28:32 -05:00
Steven Black 3994461be4 Updates from URLHaus, KADhosts, and hostsVN. 2023-11-21 22:28:16 -05:00
Steven Black d74ce1378b Sending spam texts to Steven Black, never a good idea. 2023-11-21 22:15:26 -05:00
Steven Black 72a3311812 Release 3.14.27 2023-11-19 19:08:23 -05:00
Steven Black bbdf58449c Updates from BigDargon, URLHaus, and KADhosts. 2023-11-19 19:08:07 -05:00
Steven Black 3ec89cdd9e Update from yoyo.org, minus t.co. 2023-11-14 12:22:58 -05:00
Steven Black 3512f10a51 Release 3.14.26 2023-11-13 16:52:57 -05:00
Steven Black 82047cac55 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-11-13 16:52:40 -05:00
Steven Black ecf7bd1bfc Release 3.14.25 2023-11-11 18:00:21 -05:00
Steven Black 3dc0fdbac0 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-11-11 17:59:59 -05:00
Steven Black d7be1222e5 Issue #2499: fix — add more gvt2.com domains. 2023-11-09 23:57:27 -05:00
Steven Black 85fd0ee9ce Release 3.14.24 2023-11-08 16:58:57 -05:00
Steven Black bbd606a2dd updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-11-08 16:58:38 -05:00
Steven Black 88ca322261 Release 3.14.23 2023-11-03 17:14:06 -04:00
Steven Black 523117d97d Updates from URLHaus and KADhosts. 2023-11-03 17:13:48 -04:00
Steven Black 3ef37886ca Adding mre domains. 2023-11-03 16:47:20 -04:00
Steven Black 07a0b7bfc5 Release 3.14.22 2023-11-02 23:53:18 -04:00
Steven Black 8ba66c7795 Updates from URLHaus and KADhosts. 2023-11-02 23:52:50 -04:00
Steven Black 8fb51bef59 Add several new domains. 2023-11-02 23:44:04 -04:00
Steven Black b6ca8ecb6e Add run.cntxtfl.com. 2023-11-02 23:27:47 -04:00
Steven Black 0c204b58b9 Release 3.14.21 2023-11-01 10:42:10 -04:00
Steven Black 6c4416ffdb Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-11-01 10:41:54 -04:00
Steven Black b05eca9505 Release 3.14.20 2023-10-27 23:23:05 -04:00
Steven Black 14d41542ed Updates from URLHaus, and KADhosts. 2023-10-27 23:22:24 -04:00
Steven Black bc8d4dfc88 Issue #2492: fix — remove www.blogspot.com. 2023-10-27 23:16:44 -04:00
Steven Black 05cdb4d0a2 Release 3.14.19 2023-10-23 09:14:44 -04:00
Steven Black 171b9b5978 Updates from Sinfonietta, URLHaus, and KADhosts. 2023-10-23 09:14:23 -04:00
Steven Black 3f49ee8ee9 Release 3.14.18 2023-10-21 16:18:38 -04:00
Steven Black dc4dae96f5 Updates from URLHaus and Kadhosts. 2023-10-21 16:18:21 -04:00
Steven Black 5b03c5f9c1 Release 3.14.17 2023-10-18 12:32:37 -04:00
Steven Black 1a8e75f1cb Updates from URLHaus, and KADhosts. 2023-10-18 12:32:07 -04:00
Steven Black 59b1c275ef Merge pull request #2484 from krocard/master
Remove `licensing.bitmovin.com` (neither ads nor tracker)
2023-10-18 09:45:44 -04:00
Kevin Rocard ef75b456a7 Remove licensing.bitmovin.com 2023-10-18 15:13:49 +02:00
Steven Black 9b6cb1109a Release 3.14.16 2023-10-17 15:15:49 -04:00
Steven Black 084de54c10 Updates from BigDargon, URLHais, and KADhosts. 2023-10-17 15:15:31 -04:00
Steven Black be423f999d Release 3.14.15 2023-10-13 13:32:12 -04:00
Steven Black b00edef74c Update the historical size graph. 2023-10-13 13:31:55 -04:00
Steven Black 57f952e03b Updates from URLHaus, someonewhocares.org, and KADhosts. 2023-10-13 13:30:57 -04:00
Steven Black 4a8813eba6 Issue #2479: add s.dmmew.com. 2023-10-13 13:24:58 -04:00
Steven Black 6e55708c64 Release 3.14.14 2023-10-12 09:38:25 -04:00
Steven Black 469ba4b3cc Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-10-12 09:37:58 -04:00
Steven Black 581cc63395 Removing stale bot; thank you for your service. 2023-10-12 09:29:28 -04:00
Steven Black 83b54bcbfd Release 3.14.13 2023-10-08 15:34:04 -04:00
Steven Black cc00a44552 Updates from sinfonietta, URLHaus, and KADhosts. 2023-10-08 15:33:41 -04:00
Steven Black eba6ecf910 Merge pull request #2477 from Sea-n/master
Invert logo color for dark theme
2023-10-05 18:01:50 -04:00
Sean 8467c14270 Change image URLs in README to relative path 2023-10-06 01:02:27 +08:00
Sean b46f32728d Invert logo color for dark theme 2023-10-06 00:57:11 +08:00
Steven Black a84c71c8fb Release 3.14.12 2023-10-04 16:46:58 -04:00
Steven Black 8fdb1c49cd Updates from URLHaus, someonewhocares.org, and KADhosts. 2023-10-04 16:46:39 -04:00
Steven Black 1cdb3159b9 Release 3.14.11 2023-10-02 21:27:38 -04:00
Steven Black a9ac7f44f2 Updates from URLHaus, shady-hosts, and KADhosts. 2023-10-02 21:27:17 -04:00
Steven Black c557e2e856 Merge pull request #2470 from StevenBlack/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-10-01 15:14:43 -04:00
Steven Black df52f06ff4 Merge pull request #2469 from StevenBlack/dependabot/github_actions/docker/setup-buildx-action-3
Bump docker/setup-buildx-action from 2 to 3
2023-10-01 15:14:17 -04:00
Steven Black 232ec8443f Merge pull request #2468 from StevenBlack/dependabot/github_actions/docker/login-action-3
Bump docker/login-action from 2 to 3
2023-10-01 15:14:06 -04:00
Steven Black 79958bb0e6 Merge pull request #2467 from StevenBlack/dependabot/github_actions/docker/build-push-action-5
Bump docker/build-push-action from 4 to 5
2023-10-01 15:13:47 -04:00
Steven Black f806474ab2 Merge pull request #2466 from StevenBlack/dependabot/github_actions/docker/metadata-action-5
Bump docker/metadata-action from 4 to 5
2023-10-01 15:13:33 -04:00
dependabot[bot] 5cca0e924c Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 00:32:59 +00:00
dependabot[bot] d28f94c9dd Bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 00:32:54 +00:00
dependabot[bot] 0a0ca47ac6 Bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 00:32:49 +00:00
dependabot[bot] 51995304ea Bump docker/build-push-action from 4 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 00:32:45 +00:00
dependabot[bot] 257b52c13b Bump docker/metadata-action from 4 to 5
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 00:32:41 +00:00
Steven Black 72a4183fb8 Release 3.14.10 2023-09-30 13:20:56 -04:00
Steven Black 554e938fc5 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts 2023-09-30 13:19:49 -04:00
Steven Black 234b370284 Release 3.14.9 2023-09-25 16:01:26 -04:00
Steven Black 5a2a084ef8 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-09-25 16:00:54 -04:00
Steven Black 1d7db04fb5 Release 3.14.8 2023-09-24 11:06:46 -04:00
Steven Black 6334082982 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-09-24 11:06:32 -04:00
Steven Black 65feee2b48 Issue #2442 and Issue #2324 : refresh data from yoyo.org.
Omitting still, for now, t.co.
2023-09-24 10:50:43 -04:00
Steven Black 38e53dd654 Issue #2455: fix — remove trailing period in domain. 2023-09-24 10:30:26 -04:00
Steven Black 7b50a1feb9 Release 3.14.7 2023-09-21 22:01:26 -04:00
Steven Black 99a6d7c18a Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-09-21 22:00:22 -04:00
Steven Black 6cc3bece8b Issue #2451: remove superlogout.github.io. 2023-09-21 20:26:05 -04:00
Steven Black ec5b916223 Release 3.14.6 2023-09-17 16:40:11 -04:00
Steven Black ab5aad0f5a Updates from URLHaus and KADhosts. 2023-09-17 16:39:53 -04:00
Steven Black 6199ccd528 Merge pull request #2444 from Lateralus138/master
Added information about Hosts Compress Windows to the README; this to…
2023-09-17 16:30:09 -04:00
Steven Black f91afbf85c Release 3.14.5 2023-09-14 20:28:42 -04:00
Steven Black 9dc3f29c1b Updates from BigDargon, URLhaus, and someonewhocares.org 2023-09-14 20:28:24 -04:00
Lateralus138 3f8a528df8 Added information about Hosts Compress Windows to the README; this tool is recommended over the previous scripts. - 09/13/2023 20:02:32 UTC 2023-09-13 15:02:34 -05:00
Steven Black 1f74593459 Release 3.14.4 2023-09-10 21:24:33 -04:00
Steven Black 80d72b6688 Updates from URLHaus and KADhosts. 2023-09-10 21:24:07 -04:00
Steven Black e998360d33 Issue #2436: add four new domains. 2023-09-10 21:04:21 -04:00
Steven Black f2eaf7a704 Release 3.14.3 2023-09-08 13:17:09 -04:00
Steven Black 783c3bc710 Updates from URLhaus and KADhost. 2023-09-08 13:16:45 -04:00
Steven Black e2348bceb4 Merge pull request #2434 from funilrys/issue-2347
Correct 2nd Iter: Ignore subject with slashes (/).
2023-09-08 13:05:34 -04:00
funilrys 870ade3522 Correct 2nd Iter: Ignore subject with slashes (/).
Upon checking the lastest release after merging #2433, I noticed
that some subjects with slashes goes through.

This patch fixes that by ignoring subjects which contains slashes.
2023-09-08 18:45:30 +02:00
Steven Black 16f0e134ab Add .gitignore. 2023-09-08 11:10:46 -04:00
Steven Black 7467798d5c Update the release-it dependency, remove yarn.lock. 2023-09-08 11:10:09 -04:00
Steven Black e652c0e815 Release 3.14.2 2023-09-08 11:05:42 -04:00
Steven Black 85e88e9d42 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-09-08 11:05:16 -04:00
Steven Black 0b939e499b Merge pull request #2433 from funilrys/issue-2347
Correct 2nd Iter: Hostnames to lowercase.
2023-09-08 10:56:29 -04:00
funilrys 3b4709f25f Correct 2nd Iter: Hostnames to lowercase.
As mentioned by @StevenBlack in #2400, hostnames should be
converted to lowercase.
2023-09-07 18:46:54 +02:00
Steven Black 422d6a5d98 Release 3.14.1 2023-09-06 17:46:23 -04:00
Steven Black 32f96d5492 Updates from sinfonietta, URLHaus, someonewhocares.org, and KADhosts. 2023-09-06 17:45:52 -04:00
Steven Black 88214ffcd2 Bump the version to 3.14.0 2023-09-06 17:29:23 -04:00
Steven Black 7ad2811572 Merge pull request #2400 from funilrys/issue-2347
2nd Iter: Ensure that hostnames without dots are excluded.
2023-09-06 17:25:08 -04:00
funilrys 6a3a329abf Merge remote-tracking branch 'upstream/master' into issue-2347 2023-09-06 21:59:28 +02:00
funilrys 65ebac6bf8 Fix tests and logic.
Indeed, from on:
  1. We strip out IPs.
  2. We strip out "potential" INVALID that:
     - doesn't contains dots
     - contains at least 2 consecutive dots
     - looks like an IP.

From now on an acceptable subject shall:
  1. have at least 1 dot.
  2. NOT be an IPv4 or IPv6
  3. NOT look like an IP. (Example: 258.300.10.3)
2023-09-06 21:57:22 +02:00
Steven Black da98969cf1 Merge pull request #2431 from nabijaczleweli/master
Fix analytics.shein.* lines not having an IP at all
2023-09-05 21:17:15 -04:00
Steven Black 34735e32c9 Add more chain redirect domains. 2023-09-05 18:30:06 -04:00
наб f1d2ff31cf Fix analytics.shein.* lines not having an IP at all 2023-09-05 23:14:34 +02:00
Steven Black 6d10be852c Release 3.13.28 2023-09-05 11:11:11 -04:00
Steven Black 0c117e8c1c Updates from BigDargon, URLHaus, and KADHosts. 2023-09-05 11:10:21 -04:00
Steven Black 38185015b4 Add popup-chain domains. 2023-09-05 11:02:02 -04:00
Steven Black 6f9ab23c66 Release 3.13.27 2023-09-04 21:48:29 -04:00
Steven Black d919b0e25d Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-09-04 21:48:05 -04:00
funilrys 272659110c Fix logical issue. 2023-09-03 15:11:00 +02:00
funilrys fed5590f26 Fix minor logical issue. 2023-09-03 13:33:33 +02:00
funilrys 33bd0df131 Fix linting issue-s 2023-09-03 13:17:24 +02:00
funilrys 8fc7f948a8 Remove any potential invalid entries.
- Anything that looks like an IP will be ignored.
- Anything that doesn't containt dots will be ignored.
2023-09-03 13:12:41 +02:00
funilrys 15da4c8406 Merge remote-tracking branch 'upstream/master' into issue-2347 2023-09-03 11:31:09 +02:00
funilrys b3f93f1528 Add an regexless alternative.
This "regexless" alternative just try to implement a more
"generic" solution to the actual "problem".

Please note that this commit will fail tests, because this commit
assume that IPs are not correct rules.

Please also note that the following test will also fail because
the new implementation assume that is actually a parsable
rule. @StevenBlack need to take a decision regarding that one rule.

	0.0.0 google

Also:
  * My editor "blacked" the file.
2023-09-03 11:22:38 +02:00
Steven Black 85cc9dff95 Merge pull request #2425 from toastal/rm-flake-utils
flake: rm `numtide/flake-utils` dependency
2023-08-29 08:58:04 -04:00
toastal 34ba3638fb flake: rm flake-utils dependency
Pulling in an entire dependency to call a for-loop is wasteful & largely
useless.

When user adds this module to their config, flake-utils & all of its
subdependencies will be pulled into the user’s flake.lock file. This
for-loop was only being used for the developer shell to which a lot of
folks probably aren’t doing active developments in this project as the
module itself doesn’t require it. Potentially damagingly is that this
project lacks its own flake.lock so the latest flake-utils will always
be downloaded regardless of if it that version is compatible or not.
Additionally, flake-utils’ default system list doesn’t include
i686-linux which upstream Python3 in Nixpkgs does.

The alternative solution to these problems is to remove the dependency
& just write a for-loop in this project. This solution could be more or
less robust, but it is an extensible version of that loop that could
handle overlays or config changes if needed in the future.
2023-08-29 11:06:48 +07:00
Steven Black 87950f72ee Release 3.13.26 2023-08-28 18:56:29 -04:00
Steven Black eb73e9a07a Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-08-28 18:56:06 -04:00
Steven Black 4579444412 Updating KADhosts size history and graph. 2023-08-27 12:07:25 -04:00
Steven Black fb03756f6b Release 3.13.25 2023-08-26 18:00:03 -04:00
Steven Black 66f6e9c3d3 Updates from URLhaus and KADhosts. 2023-08-26 17:59:31 -04:00
Steven Black 3e7548ea87 Release 3.13.24 2023-08-22 14:54:45 -04:00
Steven Black bca2e76b4f Updates from sinfonietta, URLHaus, and KADhosts. 2023-08-22 14:54:12 -04:00
Steven Black ca08e62e5b Release 3.13.23 2023-08-21 17:27:31 -04:00
Steven Black 1c25bd1693 Updates from BigDargon, URLHaus, someonewhocares.org, KADHosts, and hostsVN. 2023-08-21 17:27:05 -04:00
Steven Black 03e1e33213 Release 3.13.22 2023-08-17 14:59:32 -04:00
Steven Black 94c0ac2cdf Updates from BigDargon, URLHaus, and KADhosts. 2023-08-17 14:59:05 -04:00
Steven Black 7311969c45 Issue #2403: add madqudden.com. 2023-08-16 11:06:40 -04:00
Steven Black 23b74c7756 Release 3.13.21 2023-08-13 21:43:56 -04:00
Steven Black 479b5923a3 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-08-13 21:43:15 -04:00
funilrys 560615dd7f Add support for exotic TLDs.
Indeed, before this patch, we were not supporting TLD which
contains digits and dashes (-) when "puny-encoded".
2023-08-10 16:35:38 +02:00
mulhern 2415078892 Add s2.bl-1.com to hosts file 2023-08-10 16:35:38 +02:00
Steven Black 4574a4a48c Release 3.13.20 2023-08-10 16:35:38 +02:00
Steven Black 616408666f Updates from Sinfonietta, URLHaus, and KADhosts. 2023-08-10 16:35:37 +02:00
Steven Black f0b6120075 Issue #2402: add five new domains. 2023-08-10 16:35:37 +02:00
Steven Black 369b483787 Issue #2398: add ms4.applvn.com. 2023-08-10 16:35:37 +02:00
Steven Black 0bf24bb5b0 Release 3.13.19 2023-08-10 16:35:37 +02:00
Steven Black df85659d54 Update graph. 2023-08-10 16:35:37 +02:00
Steven Black b52e6db372 Updates from URLHaus and KADhosts. 2023-08-10 16:35:36 +02:00
Steven Black 7ecb84e53b Merge pull request #2404 from mulkieran/add_s2.bl-1
Add s2.bl-1.com to hosts file
2023-08-10 10:02:58 -04:00
mulhern 682bb73b6d Add s2.bl-1.com to hosts file 2023-08-09 10:04:15 -04:00
Steven Black e9f679312b Release 3.13.20 2023-08-08 09:56:59 -04:00
Steven Black 17b5fcb344 Updates from Sinfonietta, URLHaus, and KADhosts. 2023-08-08 09:56:25 -04:00
Steven Black 96a0e1bf72 Issue #2402: add five new domains. 2023-08-08 09:48:55 -04:00
Steven Black 1aa462c141 Issue #2398: add ms4.applvn.com. 2023-08-08 09:46:24 -04:00
Steven Black 8695605224 Release 3.13.19 2023-08-05 20:29:59 -04:00
Steven Black 17f6bb4d88 Update graph. 2023-08-05 20:29:10 -04:00
Steven Black 497e52d7a4 Updates from URLHaus and KADhosts. 2023-08-05 20:28:18 -04:00
funilrys 3b2c9dda2b Add new test case.
Indeed, even with the original regex, the following test doesn't
pass. Therefore, it is necessary to add it into the tests.

	www.example-3045.foobar.com
2023-08-05 21:00:55 +02:00
funilrys 1f3f3236ed 2nd Iter: Ensure that hostnames without dots are excluded.
This patch fixes #2347.

Indeed, my previous patch was missing domains with dashes (-).
2023-08-05 20:43:10 +02:00
Steven Black 8f208abb74 Release 3.13.18 2023-08-04 18:02:21 -04:00
Steven Black ef9a61fec0 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-08-04 18:02:03 -04:00
Steven Black 072062f9e8 Merge pull request #2397 from Lateralus138/master
Added links and information to and about the hosts-compression-script…
2023-08-04 12:43:25 -04:00
Lateralus138 35ea9abbb4 Added links and information to and about the hosts-compression-scripts repository to readme_template.md - 08/04/2023 04:53:18 UTC 2023-08-03 23:53:20 -05:00
Steven Black 439665cb9a Release 3.13.17 2023-08-01 16:47:16 -04:00
Steven Black 726763af69 Updates fron BigDargon, URLHaus, and KADhosts. 2023-08-01 16:46:51 -04:00
Steven Black 19478b8a0d Release 3.13.16 2023-07-27 15:38:30 -04:00
Steven Black 178907f54e Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-07-27 15:36:06 -04:00
Steven Black 1892e80aa4 Reverting changes in PR ##2391. 2023-07-27 15:34:13 -04:00
Steven Black a3f202074b Merge pull request #2391 from funilrys/issue-2347
Ensure that hostnames without dots are excluded.
2023-07-27 14:21:07 -04:00
funilrys 7e25ed039a Ensure that hostnames without dots are excluded.
This patch fixes #2347.
2023-07-26 15:06:21 +02:00
Steven Black 93f0d86d46 Release 3.13.15 2023-07-23 13:23:03 -04:00
Steven Black fd703f9baa Updates from URLHaus, and KADhosts. 2023-07-23 13:22:38 -04:00
Steven Black 98ce8df763 Release 3.13.14 2023-07-21 14:03:53 -04:00
Steven Black 7e881e6cfb Updates fron BigDargon, URLHaus, someonewhocares.org, minecraft-hosts, KADhosts, and hostsVN. 2023-07-21 14:03:31 -04:00
Steven Black ef1ac68038 Merge pull request #2388 from StevenBlack/dependabot/npm_and_yarn/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-21 13:52:47 -04:00
dependabot[bot] 78c092dcb0 Bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 18:31:39 +00:00
Steven Black fa33288ca3 Release 3.13.13 2023-07-15 14:29:45 -04:00
Steven Black 80c0db326d Updates from URLHaus, and KADhosts. 2023-07-15 14:29:24 -04:00
Steven Black 8f50a92d29 I mistyped github.com, it did not go well. 2023-07-15 11:54:20 -04:00
Steven Black 0318c66170 Release 3.13.12 2023-07-14 23:16:18 -04:00
Steven Black b5e0ad141a Updates from BigDargon, URLHause, someonewhocares.org, minecraft-hosts, KADhosts, and hostsVN. 2023-07-14 23:13:41 -04:00
Steven Black dd58715041 Release 3.13.11 2023-07-09 17:19:52 -04:00
Steven Black 4733e70ce6 Updates from BigDargon, URLHaus, and KADhosts. 2023-07-09 17:19:29 -04:00
Steven Black e1aed14323 Release 3.13.10 2023-07-06 14:44:54 -04:00
Steven Black 4565eef107 Updates from sinfonietta, BigDargon, URLHaus, someonewhocares.org, HADhosts, and hostsVN. 2023-07-06 14:44:37 -04:00
Steven Black 9e0fa8dbf4 Revert commit 60e7bfb from Issue #2305 2023-07-06 14:31:57 -04:00
Steven Black cfdf2526b2 Issue #2383: remove feylibertad.org. 2023-07-06 14:13:08 -04:00
Steven Black bdf4bafbf9 Issue #2380 adding stmicroelectronics.d3.sc.omtrdc.net. 2023-07-04 17:33:29 -04:00
Steven Black 5bf0802369 Release 3.13.9 2023-07-01 12:05:27 -04:00
Steven Black cd382a63df Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-07-01 12:05:10 -04:00
Steven Black da336f2745 Issue #2329: remove encrypted-tbn1.gstatic.com. 2023-07-01 11:59:09 -04:00
Steven Black adbbd807d6 Release 3.13.8 2023-06-27 18:30:15 -04:00
Steven Black 735f9bcdde Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-06-27 18:29:41 -04:00
Steven Black ab9caa3969 Issue #2372: remove secur.hopp.to. 2023-06-27 17:08:17 -04:00
Steven Black 570fb4302a Release 3.13.7 2023-06-23 10:28:38 -04:00
Steven Black 0ab1237b15 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-06-23 10:27:50 -04:00
Steven Black f94289b856 Release 3.13.6 2023-06-18 12:44:51 -04:00
Steven Black 95b0381560 Updates from URLHaus and KADhosts. 2023-06-18 12:44:21 -04:00
Steven Black 6b64d2e573 Release 3.13.5 2023-06-17 14:01:05 -04:00
Steven Black 3c3de5ed84 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-06-17 14:00:47 -04:00
Steven Black b2512fcd57 Release 3.13.4 2023-06-16 15:08:52 -04:00
Steven Black c6b0aae93f Updates from URLHaus and KADhosts. 2023-06-16 15:08:33 -04:00
Steven Black bbe11d622e Issue #2363: unblocking medium.ngtv.io and turnip.cdn.turner.com. 2023-06-16 12:05:17 -04:00
Steven Black d1b1d87dea Improve the aggregation diagram. 2023-06-15 21:46:23 -04:00
Steven Black 29435ac463 Release 3.13.3 2023-06-14 23:13:19 -04:00
Steven Black 6729005309 Updates from URLHaus, and KADhosts. 2023-06-14 23:11:44 -04:00
Steven Black d6fd71fa66 We offer 31 hosts file variants now. 2023-06-14 23:07:05 -04:00
Steven Black f731939d98 Release 3.13.2 2023-06-14 11:22:10 -04:00
Steven Black 677a036d68 Updates from URLHaus and KADhosts. 2023-06-14 11:21:40 -04:00
Steven Black e86d6b8a97 Merge pull request #2354 from ScriptTiger/patch-1
Add note and link for Google Colab to README
2023-06-14 11:16:57 -04:00
Steven Black 828dc13cb0 Release 3.13.1 2023-06-13 11:10:50 -04:00
Steven Black 506a33f5aa Updates from URLHaus and KADhosts. 2023-06-13 11:10:30 -04:00
Steven Black 343eec32af Issue #2356: add zhihu-web-analytics.zhihu.com. 2023-06-13 11:04:31 -04:00
Steven Black 107082b0e2 Issue #2358: add assistant-chronopost.com. 2023-06-13 11:00:44 -04:00
ScriptTiger c2cc10cc0e Repositioned Google Colab as Option 4 2023-06-12 18:00:44 +08:00
Steven Black d1807cf543 Reverting commit b9a92daf6b. 2023-06-11 23:07:21 -04:00
Steven Black 2c5ea4e113 Merge pull request #2352 from DandelionSprout/patch-2
Attempted to use the new GitHub Linguist hosts syntaxing
2023-06-11 22:57:10 -04:00
Steven Black 1c11dc2a8b Release 3.13.0 2023-06-11 22:42:19 -04:00
Steven Black 510502de68 Add the fine changes by Dennis van de Hoef @dennisvandehoef, updates from URLHaus, someonewhocares.org, and KADhosts. 2023-06-11 22:41:42 -04:00
Dennis van de Hoef 0ea9a40158 Make sure to close files 2023-06-11 22:32:17 -04:00
Dennis van de Hoef 6d48930c6f Add versions that only render the extensions 2023-06-11 22:32:05 -04:00
Dennis van de Hoef a4d9fb6c4c Reduce manual work for new versions or extensions 2023-06-11 22:31:49 -04:00
Dennis van de Hoef 0a76a88a38 Create a hostfile or directory of it does not exist 2023-06-11 22:31:34 -04:00
ScriptTiger fcdf163ba5 Add note and link for Google Colab 2023-06-11 12:48:07 +08:00
Steven Black 060ebf2f47 Release 3.12.39 2023-06-10 22:34:23 -04:00
Steven Black aacd2b02a2 Updates from URLHaus, someonewhocares.org, and KADhosts. 2023-06-10 22:34:02 -04:00
Imre Kristoffer Eilertsen b9a92daf6b Attempted to use the new GitHub Linguist hosts syntaxing 2023-06-08 08:17:17 +02:00
Steven Black a7d1521e95 Release 3.12.38 2023-06-06 20:03:48 -04:00
Steven Black 3157d55049 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-06-06 20:02:56 -04:00
Steven Black 7b45134c8d Issue #2345: add domains. 2023-06-03 11:49:48 -04:00
Steven Black 97b0146fdb issue #2344: add iOS malware domains. 2023-06-03 11:46:32 -04:00
Steven Black cbadab339b Release 3.12.37 2023-06-02 23:22:01 -04:00
Steven Black 72b69bb5c8 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-06-02 23:21:43 -04:00
Steven Black 8007e17d0a Issue #2340 - add track.atom-ds.com. 2023-05-30 21:38:50 -04:00
Steven Black e1a2bf21c2 Issue #2339: add serasearchtop.com. 2023-05-30 16:46:45 -04:00
Steven Black bdc96809c8 Release 3.12.36 2023-05-24 22:58:36 -04:00
Steven Black b5173215a1 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2023-05-24 22:58:04 -04:00
Steven Black 7a452ee537 issue #2334: remove telemetry-console.api.playstation.com. 2023-05-24 22:48:48 -04:00
Steven Black 9f2ba78232 Release 3.12.35 2023-05-21 12:29:16 -07:00
Steven Black aafa4e38c8 Updates from sinfonietta, BigDargon, URLHaus, and KADhosts. 2023-05-21 12:28:59 -07:00
Steven Black 6380b4fe12 Release 3.12.34 2023-05-20 18:17:18 -07:00
Steven Black c02d6979dd Updates from BigDargon, URLHaus, and GADhosts. 2023-05-20 18:17:01 -07:00
Steven Black 899887ebe7 Merge pull request #2332 from BaxAndrei/patch-1
Add more host names to block ads/popups from netu.tv videoplayer
2023-05-20 10:48:35 -07:00
BaxAndrei bf508140d3 Add more host names to block ads/popups from netu.tv videoplayer
https://github.com/StevenBlack/hosts/pull/2330
2023-05-20 15:32:53 +03:00
Steven Black adf011ee2c Merge pull request #2327 from StevenBlack/dependabot/npm_and_yarn/vm2-3.9.18
Bump vm2 from 3.9.17 to 3.9.18
2023-05-16 14:25:11 -07:00
dependabot[bot] afa0f14165 Bump vm2 from 3.9.17 to 3.9.18
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 21:30:52 +00:00
Steven Black 3bcdb558ed Release 3.12.33 2023-05-15 13:47:11 -07:00
Steven Black bc70259936 Updates from URLHaus and KADhosts. 2023-05-15 13:46:45 -07:00
Steven Black fb212d5e3d Add the new playstation.com domains in the correct place. 2023-05-15 13:37:00 -07:00
Steven Black e9388c231a Merge pull request #2325 from DavidGarciaCat/master
PlayStation Telemetry over API
2023-05-15 08:29:01 -07:00
Steven Black 3544f23526 Release 3.12.32 2023-05-14 16:28:21 -07:00
Steven Black 6fbc23a744 Updates from BigDargon, URLHaus, and KADhosts. 2023-05-14 16:27:58 -07:00
David Garcia 50a2374b5f PlayStation Telemetry over API 2023-05-14 15:46:09 +02:00
Steven Black a41b71d575 Release 3.12.31 2023-05-11 08:08:26 -07:00
Steven Black c6858c32f9 Updates by BigDargon, URLHaus, KADhosts, and hostsVN. 2023-05-11 08:08:08 -07:00
Steven Black 8faee7e842 Release 3.12.30 2023-05-08 08:44:53 -07:00
Steven Black 61cad9cc60 Updated from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-05-08 08:44:34 -07:00
Steven Black 791dd9d631 Release 3.12.29 2023-05-05 09:35:59 -04:00
Steven Black baf0d9e97d Updates from URLHaus and KADhosts. 2023-05-05 09:35:21 -04:00
Steven Black 42ef3a636e Release 3.12.28 2023-05-02 23:16:11 -04:00
Steven Black 9ef33db684 Updates from URLHaus and KADhosts. 2023-05-02 23:15:53 -04:00
Steven Black 0541b566f9 Issue #2316: add api.sprig.com. 2023-05-02 23:09:29 -04:00
Steven Black 60e7bfb923 Issue #2305: add domains. 2023-05-02 15:18:48 -04:00
Steven Black 094d288156 Issue #2308: add Infoblox domains. 2023-05-02 15:00:48 -04:00
Steven Black de91e825b0 Release 3.12.27 2023-04-30 15:45:28 -04:00
Steven Black fc9955dfb6 Updates from URLHaus and KADhosts. 2023-04-30 15:45:12 -04:00
Steven Black dd5c96eded Issue #2314: remove izatcloud.net. 2023-04-30 15:36:21 -04:00
Steven Black 9b615e0515 Merge pull request #2312 from ajarmoszuk/patch-1
Added Qualcomm tracking domain: izatcloud.net
2023-04-29 17:42:51 -04:00
Steven Black aab69c5e99 Merge branch 'master' into patch-1 2023-04-29 17:42:06 -04:00
Steven Black 83cf6bd55f Add crmpt.livejasmin.com. 2023-04-29 12:19:14 -04:00
Steven Black 469b5807ed Add stripchat.com. 2023-04-28 22:32:36 -04:00
Alex Jarmoszuk 653fff0086 Added Qualcomm tracking domain: izatcloud.net 2023-04-27 22:41:32 +02:00
Steven Black ee62be66e3 Add www.gameitlive.com 2023-04-27 14:51:48 -04:00
Steven Black 9b1d7dae7a Release 3.12.26 2023-04-27 14:13:41 -04:00
Steven Black 3d13675436 Updates from URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-04-27 14:13:26 -04:00
Steven Black cef27e5f39 Issue #2299: revert blocking idcdn.de. 2023-04-27 13:37:41 -04:00
Steven Black 8d6757b438 Release 3.12.25 2023-04-26 20:49:08 -04:00
Steven Black 82c81b5464 Updates from URLHaus and KADhosts. 2023-04-26 20:48:51 -04:00
Steven Black 97a767378e Release 3.12.24 2023-04-23 20:33:32 -04:00
Steven Black 1b1d5ee477 Update graph. 2023-04-23 20:33:16 -04:00
Steven Black c73b18f0a2 Updates deom URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-04-23 20:31:21 -04:00
Steven Black 8005747237 Issues #2299, #2297, and #2296: add domains suggested by @webworkrnet. 2023-04-21 22:59:48 -04:00
Steven Black eadefb5b2b Merge pull request #2300 from StevenBlack/dependabot/npm_and_yarn/vm2-3.9.17
Bump vm2 from 3.9.16 to 3.9.17
2023-04-21 22:55:24 -04:00
dependabot[bot] 68d54e8ecb Bump vm2 from 3.9.16 to 3.9.17
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.16 to 3.9.17.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.16...3.9.17)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 15:16:51 +00:00
Steven Black f66fe4f833 Release 3.12.23 2023-04-19 12:16:57 -04:00
Steven Black ee692bbaa3 Updates from URLHaus. 2023-04-19 12:16:42 -04:00
Steven Black ba2d5b0c64 Remove ___id___.c.mystat-in.net
See https://github.com/pi-hole/pi-hole/issues/5239#issuecomment-1514994963
2023-04-19 12:14:05 -04:00
Steven Black 9cd835f38d Release 3.12.22 2023-04-19 11:51:40 -04:00
Steven Black 5765195960 Updates from URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-04-19 11:51:22 -04:00
Steven Black 9fd4a05b0c Dropping the Adguard cname list. 2023-04-19 11:47:58 -04:00
Steven Black cd216e0471 Issue #2294 add bueromoebelservice.com. 2023-04-19 09:56:33 -04:00
Steven Black 63b6919d42 Issue #2295 add rukalebi.ru. 2023-04-19 09:54:27 -04:00
Steven Black 181a4fd249 Release 3.12.21 2023-04-18 11:34:27 -04:00
Steven Black a7202ed30a Updates from URLHaus and KADhosts. 2023-04-18 11:34:09 -04:00
Steven Black b3daa3082f Pausing refresh from adguard because 25k swings in list length is untenable. 2023-04-18 11:31:39 -04:00
Steven Black 29b1147673 Issue #2291: fixing licensing.bitmovin.com. 2023-04-18 11:05:13 -04:00
Steven Black 77fc3d574f Release 3.12.20 2023-04-16 22:22:27 -04:00
Steven Black dd6bee0fc1 Updates from URLHaus and KADhosts. 2023-04-16 22:22:11 -04:00
Steven Black 212526755e Merge pull request #2286 from namtsui/wota
add wota-tournament.com.
2023-04-13 21:48:01 -04:00
Nam Nguyen 749ef97dc0 add wota-tournament.com. 2023-04-13 17:14:18 +00:00
Steven Black fc54380680 Merge pull request #2285 from StevenBlack/dependabot/npm_and_yarn/vm2-3.9.16
Bump vm2 from 3.9.15 to 3.9.16
2023-04-12 17:48:47 -04:00
dependabot[bot] c6419ff4ee Bump vm2 from 3.9.15 to 3.9.16
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 21:17:23 +00:00
Steven Black 75c8366ea7 Release 3.12.19 2023-04-11 19:54:11 -04:00
Steven Black 263fba630b Updates from sinfonietta, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Adguard. 2023-04-11 19:53:52 -04:00
Steven Black 3dc0b5f962 Merge pull request #2281 from XhmikosR/patch-2 2023-04-08 11:30:03 -04:00
Steven Black 587ccf9c93 Merge pull request #2282 from XhmikosR/patch-3
Update npm deps and regenerate lockfile
2023-04-08 10:39:06 -04:00
Steven Black 9954343eee Merge pull request #2280 from XhmikosR/patch-1
CI: limit pushes to master
2023-04-08 10:33:32 -04:00
XhmikosR d3d4124e7e Remove unneeded trailing whitespaces 2023-04-08 14:55:22 +03:00
XhmikosR 5de92647b9 Update .editorconfig 2023-04-08 14:55:22 +03:00
XhmikosR 54c1fdbacb Update npm deps and regenerate lockfile 2023-04-08 14:43:08 +03:00
XhmikosR 82e6358811 CI: limit pushes to master 2023-04-08 14:29:41 +03:00
Steven Black 42ec6b05c0 Add new domains. 2023-04-07 20:08:08 -04:00
Steven Black 2212792da2 Release 3.12.18 2023-04-07 13:39:26 -04:00
Steven Black f089044807 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-04-07 13:39:07 -04:00
Steven Black 338128eb81 After review, un-pause refreshing from AdGuard. 2023-04-07 12:53:39 -04:00
Steven Black 283b4ac6de Issue #2274: add fpjs-related domains. 2023-04-04 19:59:49 -04:00
Steven Black ca6044af06 Issue #2271: add warehouse.shop. 2023-04-03 09:53:08 -04:00
Steven Black 2cbcc2e97e Issue #2271: add transive.top. 2023-04-03 09:52:27 -04:00
Steven Black 4f140bed91 Release 3.12.17 2023-03-29 22:25:15 -04:00
Steven Black 9b57ed7b76 Updates from sinfonietta, URLHaus, someonewhocares.org, and KADhosts. 2023-03-29 22:24:59 -04:00
Steven Black 8bc7fd9bcd Issue #2266: Add domain grow.gab.com. 2023-03-28 19:38:14 -04:00
Steven Black b4cdd5885d Add crprt.livejasmin.com. 2023-03-25 15:30:11 -04:00
Steven Black 00078216e1 Release 3.12.16 2023-03-25 13:09:42 -04:00
Steven Black a952f2496f Updates from BigDargon, URLhaus, and KADhosts 2023-03-25 13:09:26 -04:00
Steven Black 35508cba80 Issue #2264: fix — seg.hadron.ad.g is not a valid domain. 2023-03-25 11:30:33 -04:00
Steven Black db28f852b7 Merge pull request #2265 from danielawde9/patch-1
Added wpad.www.tendawifi.com to the hosts file
2023-03-25 11:24:10 -04:00
Daniel Awde 7bf2686660 Added wpad.www.tendawifi.com to the hosts file
This pull request adds wpad.www.tendawifi.com to the hosts file to block access to the website, as it was constantly pinging our system with a large number of requests.

Please review and merge this pull request if it meets your approval.

Thank you!
2023-03-25 13:41:12 +02:00
Steven Black 3887abb459 Release 3.12.15 2023-03-21 16:08:01 -04:00
Steven Black 5731f0bb02 Updates from URLHaus, shady-hosts, KADhosts, and hostsVN. 2023-03-21 16:07:37 -04:00
Steven Black fc10d0f81d Release 3.12.14 2023-03-14 22:13:51 -04:00
Steven Black b8280ec542 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-03-14 22:13:28 -04:00
Steven Black 618a6dfa7e Release 3.12.13 2023-03-10 20:50:47 -08:00
Steven Black 868c462e93 Updates from URLHaus and KADhosts. 2023-03-10 20:50:04 -08:00
Steven Black 845595b8b7 Merge pull request #2254 from silentsoft/master
Remove hits.sh
2023-03-10 13:58:42 -08:00
silentsoft dce5a49ecd Issue #2252: remove hits.sh. 2023-03-10 22:53:07 +09:00
Steven Black ed825369c5 Release 3.12.12 2023-03-07 19:42:15 -08:00
Steven Black 9474bcba5c Updates from BigDargon, someonewhocares.org, KADhosts, and hostsVN. 2023-03-07 19:41:58 -08:00
Steven Black 0e517585c2 Add new domains. 2023-03-07 19:38:01 -08:00
Steven Black 7838700f42 Release 3.12.11 2023-03-06 07:46:30 -08:00
Steven Black 6655419869 Updates from URLHaus and KADhosts. 2023-03-06 07:46:11 -08:00
Steven Black d91315aea2 Merge pull request #2251 from MrRawes/patch-1
stop "Get cookies.txt" extension from stealing cookies
2023-03-06 07:34:17 -08:00
MrRawes 34a72f16e1 stop "Get cookies.txt" extension from stealing cookies 2023-03-05 09:18:11 +00:00
Steven Black 7cf6ac9b4c Release 3.12.10 2023-03-03 13:04:00 -05:00
Steven Black 66fca632ca Updates from BigDargon, URLHaus, and KADhosts. 2023-03-03 13:03:36 -05:00
Steven Black 1416af98f7 Merge pull request #2249 from alex-taffe/patch-1
Fix yinzcam apps not loading
2023-03-03 12:42:48 -05:00
Alex Taffe aa36fa98cb Fix yinzcam hosts 2023-03-03 12:39:55 -05:00
Steven Black b6d5cce60a Release 3.12.9 2023-02-28 20:11:15 -05:00
Steven Black 763fa43211 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-02-28 20:10:21 -05:00
Steven Black 6d4674abda Release 3.12.8 2023-02-23 20:42:21 -05:00
Steven Black cc27cac7fb Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-02-23 20:42:01 -05:00
Steven Black 52ade02448 Release 3.12.7 2023-02-19 16:36:11 -05:00
Steven Black 887663ab9c Updates from URLHaus, KADhosts, and hostsVN. 2023-02-19 16:35:53 -05:00
Steven Black 543acefaf7 Release 3.12.6 2023-02-16 10:01:04 -05:00
Steven Black 23d5348533 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2023-02-16 10:00:39 -05:00
Steven Black 8069502194 Remove cdn.jwplayer.com. 2023-02-15 15:55:52 -05:00
Steven Black b2d9f7df1e Release 3.12.5 2023-02-07 11:22:03 -05:00
Steven Black 52087c55ff Updates from URLHaus (again). 2023-02-07 11:21:47 -05:00
Steven Black 003f3475ea Remove s1.twnmm.com from my list. 2023-02-07 11:19:29 -05:00
Steven Black 5b06b5df6e Updates from URLHaus. 2023-02-07 11:13:09 -05:00
Steven Black ab5f56defd Add assets-jpcust.jwpsrv.com 2023-02-07 11:00:59 -05:00
Steven Black 74c7c548ab Release 3.12.4 2023-02-07 10:43:45 -05:00
Steven Black 1904ff0369 Updates from BigDargon, URLHaus, KADhosts, and hostsVN 2023-02-07 10:43:30 -05:00
Steven Black 627205edd9 Add ad and tracker domains. 2023-02-07 10:39:49 -05:00
Steven Black ca61e9ef45 Release 3.12.3 2023-02-05 22:01:02 -05:00
Steven Black 68c493c706 Updates from Sinfonietta, BigDargon, URLHaus, KADhosts, and hostsVN. 2023-02-05 22:00:45 -05:00
Steven Black cd091ee9c3 Merge pull request #2222 from StevenBlack/dependabot/npm_and_yarn/http-cache-semantics-4.1.1 2023-02-05 09:24:56 -05:00
dependabot[bot] 7e6aafb935 Bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-04 04:38:13 +00:00
Steven Black 293dcbebe6 Merge pull request #2221 from StevenBlack/dependabot/github_actions/docker/build-push-action-4
Bump docker/build-push-action from 3 to 4
2023-02-01 15:16:37 -05:00
dependabot[bot] 9c17dc5f71 Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 00:02:43 +00:00
Steven Black da3d242482 Release 3.12.2 2023-01-31 06:39:14 -05:00
Steven Black 58ce1e4b14 Update graph. 2023-01-31 06:38:51 -05:00
Steven Black 44d3da136a Updates from BigDargon, URLhaus, someonewhocares.org, and KADhosts. 2023-01-31 06:37:24 -05:00
Steven Black 5ca7ad2279 Release 3.12.1 2023-01-27 22:59:59 -05:00
Steven Black ce8fcab4a6 Update from URLHaus. 2023-01-27 22:59:39 -05:00
Steven Black 32edd9298d Fix failing CI test. 2023-01-27 22:57:22 -05:00
Steven Black 9bcc4f2bcf Release 3.12.0 2023-01-27 22:51:28 -05:00
Steven Black e77f3cb3be Updates from URLHaus. 2023-01-27 22:50:59 -05:00
Steven Black b676693b0c Issue #2213: fix — deny IPv6 addresses from entering the raw hosts rule test. 2023-01-27 22:45:47 -05:00
Steven Black ff3e8fad81 Release 3.11.56 2023-01-27 16:33:50 -05:00
Steven Black 76b4c814f6 Updates from BigDargon, URLHaus, shady-hosts, KADhosts, and hostsVN. 2023-01-27 16:33:33 -05:00
Steven Black ddcdde5e8f Release 3.11.55 2023-01-24 22:18:42 -05:00
Steven Black bd67b45a69 Updates from URLHaus and KADhosts. 2023-01-24 22:18:25 -05:00
Steven Black a3a9e18a89 Add ads-api.twitter.com. 2023-01-23 10:21:56 -05:00
Steven Black 060895a3a1 Release 3.11.54 2023-01-23 00:22:14 -05:00
Steven Black 7264d1f0b3 Updates from URLHaus and KADhosts. 2023-01-23 00:21:55 -05:00
Steven Black 1e787fbe28 add new domains. 2023-01-23 00:12:05 -05:00
Steven Black 353924a650 Merge pull request #2217 from poddus/patch-1
Patch 1
2023-01-22 09:13:04 -05:00
Leopold Seckendorff a21fac3bca Update hosts
fix probable error
2023-01-22 14:50:59 +01:00
Leopold Seckendorff 9048a9aa0e Update hosts
malicious hosts
2023-01-22 14:49:16 +01:00
Steven Black 157474a558 Release 3.11.53 2023-01-19 22:40:58 -05:00
Steven Black ffd36bb4af Updates from URLHaus and KADhosts. 2023-01-19 22:40:42 -05:00
Steven Black 47d6b2a17b Release 3.11.52 2023-01-13 10:42:56 -05:00
Steven Black 013412b1ff Updates from URLHaus, and KADhosts. 2023-01-13 10:42:34 -05:00
Steven Black b7122ca245 Issue #2202: add AusPost phishing sites. 2023-01-13 10:35:44 -05:00
Steven Black 30cbbc8cb5 Issue #2203: add reviewmygov.tuquy.com. 2023-01-13 10:33:27 -05:00
Steven Black 757cd0f69a Issue #2197: add domain linkt-help.top. 2023-01-12 22:55:12 -05:00
Steven Black c2ee8bc9b9 Issue #2198: adding linkt-transport.top. 2023-01-12 22:53:31 -05:00
Steven Black 0a413cf53e Issue #2199: adding 0.0.0.0 alert-bendigobank.com. 2023-01-12 22:51:02 -05:00
Steven Black 6baefdbed2 Issue #2200: adding anz-shield-secure.com. 2023-01-12 22:48:53 -05:00
Steven Black 88580e9347 Issue #2190 — add antihohol.cloud and hosteagle.club 2023-01-12 09:29:13 -05:00
Steven Black c40ae56d53 Release 3.11.51 2023-01-11 17:54:20 -05:00
Steven Black c082532abc Updates from BigDargon, URLHaus, and KADhosts. 2023-01-11 17:53:41 -05:00
Steven Black be5b911ba8 Merge pull request #2196 from EFord36/patch-1
Fix GitHub ci workflow badge
2023-01-11 17:25:23 -05:00
Steven Black d9b145e08b Issue #2190: add domain en.xachinaproject.fun. 2023-01-11 17:20:52 -05:00
Steven Black 8ca8fce63c Issue #2193: add btc8886.com. 2023-01-11 17:14:18 -05:00
Elliot Ford e5282f9cee Fix GitHub ci workflow badge
See the linked GitHub issue from the previous version of the badge:
https://github.com/badges/shields/issues/8671

In summary, these badges were changed in a breaking fashion such that
the badges were just linking to the github issue rather than showing the
data. Updating the url resolves this.

Also update the link of the badge to specify the workflow file rather
than the name, which matches the new behaviour of the badge.
2023-01-11 13:43:47 +00:00
Steven Black 0d86e16986 Release 3.11.50 2023-01-08 14:06:00 -05:00
Steven Black 2661255189 updates from URLHaus and and KADhosts. 2023-01-08 14:05:34 -05:00
Steven Black 634204965a Release 3.11.49 2023-01-06 15:58:41 -05:00
Steven Black 2a241c5de5 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2023-01-06 15:58:22 -05:00
Steven Black f91285ebe7 Release 3.11.48 2023-01-01 15:16:34 -05:00
Steven Black fd33c82b9e Update stats and graphs. 2023-01-01 15:16:17 -05:00
Steven Black eb6bd673bd Updates from URLHaus, and KADhosts. 2023-01-01 15:14:55 -05:00
Steven Black 0ae5bd1eb7 Happy new year 2023-01-01 14:36:49 -05:00
Steven Black f461d30274 Release 3.11.47 2022-12-29 15:27:43 -05:00
Steven Black a5922a992d Updates from URLHaus and KADhosts. 2022-12-29 15:26:57 -05:00
Steven Black 0b32cf2fd8 Remove ajax.googleapis.com.
This fixes https://github.com/nextdns/metadata/issues/1171.
2022-12-29 15:24:00 -05:00
Steven Black 87767a0209 Release 3.11.46 2022-12-29 13:03:41 -05:00
Steven Black 4121bd1726 Updates from BigDargon, URLHaus, and KADhosts. 2022-12-29 13:03:24 -05:00
Steven Black c9417f9ae6 Add new domains that are annoying me. 2022-12-29 12:57:08 -05:00
Steven Black 35390a1e65 Release 3.11.45 2022-12-26 10:16:28 -05:00
Steven Black 6dae72cf7d Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2022-12-26 10:16:10 -05:00
Steven Black d2cbb55e2a Release 3.11.44 2022-12-20 11:40:09 -05:00
Steven Black 9e0309f107 Updates from BigDargon, URLHaus, and KADhosts. 2022-12-20 11:39:44 -05:00
Steven Black 78f0457f9e Release 3.11.43 2022-12-18 18:10:04 -05:00
Steven Black 2d886edeef Updates from BigDargon, URLHaus, and KADhosts. 2022-12-18 18:09:42 -05:00
Steven Black 115afb056e Release 3.11.42 2022-12-15 22:50:53 -05:00
Steven Black 5161c2c362 Updates from BigDargon, URLHaus, someonewhocares.org, KADHosts, and hostsVN. 2022-12-15 22:50:32 -05:00
Steven Black 39238e0432 Issue #2168: remove domain r.mradx.net. 2022-12-15 19:21:34 -05:00
Steven Black 75cdfd2fa1 Release 3.11.41 2022-12-13 07:40:49 -05:00
Steven Black 4902553855 Update stats. 2022-12-13 07:40:35 -05:00
Steven Black b083f18125 updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2022-12-13 07:38:41 -05:00
Steven Black d4c698985a Issue #2172: fix — remove getfirefox.com domains. 2022-12-13 07:31:42 -05:00
Steven Black 66ee4a2a71 Release 3.11.40 2022-12-11 20:28:44 -05:00
Steven Black fda58dddd6 Update graphs. 2022-12-11 20:28:22 -05:00
Steven Black 5e2d7fc391 updates from BigDargon, URLHaus, someonewhocares.org, and KAFhosts. 2022-12-11 20:26:39 -05:00
Steven Black 64ba96ee22 issue #2167 – add analytics.shein.com. 2022-12-11 20:15:14 -05:00
Steven Black f063ea479e Release 3.11.39 2022-12-06 22:17:33 -05:00
Steven Black fb9b72feff Updates from BigDargon, URLHaus, and KADhosts. 2022-12-06 22:17:06 -05:00
Steven Black 0a55ff4c18 Issue #2165: remove bifrost-api.hotstar.com. 2022-12-06 22:06:13 -05:00
Steven Black 8d65d989ef Release 3.11.38 2022-12-05 23:30:52 -05:00
Steven Black 3856d176ad Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2022-12-05 23:30:34 -05:00
Steven Black fd09a65975 Issue #2164: fix — remove sdk.qikify.com. 2022-12-05 23:24:06 -05:00
Steven Black 9b502d99e6 Release 3.11.37 2022-12-04 14:24:06 -05:00
Steven Black ccb00842f8 Updates from URLHaus, and KADhosts. 2022-12-04 14:23:49 -05:00
Steven Black 5ca0d2e2eb Issue #2162: add several hotstar.com domains. 2022-12-04 11:49:23 -05:00
Steven Black 8587c5a550 Merge pull request #2163 from Bertware/patch-1
Add malware domains
2022-12-04 11:43:01 -05:00
Bertware 8ace3a1cc9 Add malware domains
These domains have been discovered in a malware powershell script.
2022-12-04 12:27:02 +01:00
Steven Black b28c3994e7 Release 3.11.36 2022-12-03 22:14:10 -05:00
Steven Black 0428bc7ee8 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2022-12-03 22:13:37 -05:00
Steven Black 96f7d0e33d Issue #2161: fix — removing production-cmp.isgprivacy.cbsi.com. 2022-12-02 11:38:34 -05:00
Steven Black 346b0b4bd7 Merge pull request #2160 from StevenBlack/dependabot/github_actions/actions/dependency-review-action-3
Bump actions/dependency-review-action from 2 to 3
2022-12-01 15:12:05 -05:00
dependabot[bot] a8d0b8cd76 Bump actions/dependency-review-action from 2 to 3
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 00:01:28 +00:00
Steven Black 6c23ad7f84 Release 3.11.35 2022-11-29 19:46:33 -05:00
Steven Black 309fb9083a Updates from Sinfonietta, BigDargon, URLHaus, and KADhosts. 2022-11-29 19:46:16 -05:00
Steven Black 92be34d608 Release 3.11.34 2022-11-28 10:54:13 -05:00
Steven Black 0014dfaa33 Update graph. 2022-11-28 10:53:54 -05:00
Steven Black b1296f198e Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2022-11-28 10:52:21 -05:00
Steven Black 560d3394a8 Issue #2159: fix — removing s.w.org. 2022-11-28 10:47:43 -05:00
Steven Black 0c0e2691b4 Add crmt.livejasmin.com. 2022-11-27 12:29:41 -05:00
Steven Black 147b6d4e55 issue #2158: add danbo.org. 2022-11-26 12:08:59 -05:00
Steven Black f86527e7b4 Release 3.11.33 2022-11-26 11:53:20 -05:00
Steven Black 74bc8a7d72 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2022-11-26 11:53:03 -05:00
Steven Black 3bcbc1c422 Still more popup and redirect domains. 2022-11-26 11:45:49 -05:00
Steven Black 8d6c47929c More popup and redirect sites and targets. 2022-11-26 11:37:50 -05:00
Steven Black 83183eca09 Add popup and redirect sites. 2022-11-26 11:29:05 -05:00
Steven Black eccb2df38a Add a ling to today's article on OSX-Daily titled How to Clear DNS Cache in MacOS Ventura & MacOS Monterey. 2022-11-21 16:28:31 -05:00
Steven Black 0434ec0798 Release 3.11.32 2022-11-21 13:37:26 -05:00
Steven Black cac3a30556 Updates from BigDargon, URLHaus, and KADhosts. 2022-11-21 13:37:10 -05:00
Steven Black 4bf50b3779 Release 3.11.31 2022-11-20 15:23:40 -05:00
Steven Black db1541fc3c Updates fron BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2022-11-20 15:23:18 -05:00
Steven Black 8e90178973 Issue #2143: add reporting-api.gannettinnovation.com. 2022-11-20 13:08:46 -05:00
Steven Black d188f2c70d Issue #2148: remove ravm.tv. 2022-11-20 13:01:30 -05:00
Steven Black e034061875 Release 3.11.30 2022-11-13 21:46:00 -05:00
Steven Black fcfe4bb556 Updates from URLHaus, KADhosts, and hostsVN. 2022-11-13 21:45:43 -05:00
Steven Black 3709b007a8 Merge pull request #2139 from XhmikosR/patch-1
Update CI
2022-11-13 21:29:42 -05:00
Steven Black f4cd177932 Merge pull request #2140 from XhmikosR/patch-2
Compress aggregator.png
2022-11-13 21:27:59 -05:00
Steven Black 20a9517407 Merge pull request #2141 from FadeMind/patch-3
[NSFW] info-eastflirts.com
2022-11-13 21:27:00 -05:00
Steven Black 62f5fe59dc Issue #2142: fix — remove two coveo.com domains. 2022-11-13 21:24:00 -05:00
FadeMind c270c20b3f info-eastflirts.com 2022-11-13 13:49:52 +01:00
XhmikosR d0f02ba284 Compress aggregator.png
6389 -> 2547 bytes
2022-11-13 08:58:19 +02:00
XhmikosR f9a8908b24 CI: add Python 3.11 2022-11-13 08:06:30 +02:00
XhmikosR 5b8e0707fe CI: remove git credentials after checkout 2022-11-13 08:02:41 +02:00
XhmikosR 56e34ab5a6 Update CodeQL workflow 2022-11-13 08:02:31 +02:00
Steven Black b1a9eb74f8 Release 3.11.29 2022-11-12 21:02:59 -05:00
Steven Black 7d2f736725 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2022-11-12 21:02:44 -05:00
Steven Black 0ddc2096ec Issue #2137: removing sdk.split.io from the paused Adaway list. 2022-11-12 20:39:35 -05:00
Steven Black 10bcb945e8 Issue #2137: pausing refreshes from the Adaway list, which is no longer maintained. 2022-11-12 20:38:06 -05:00
Steven Black bbb72c6956 Release 3.11.28 2022-11-09 10:59:22 -05:00
Steven Black 9b6e856458 Update file size data and graph. 2022-11-09 10:59:04 -05:00
Steven Black 78790dfacc Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2022-11-09 10:57:13 -05:00
Steven Black 7552198b18 Merge pull request #2129 from bigdargon/master
Split the extension include only Vietnamese
2022-11-04 13:03:49 -04:00
BigDargon e4a1346515 Split the extension include only Vietnamese
https://github.com/bigdargon/hostsVN/issues/333
2022-11-04 13:46:08 +07:00
Steven Black e1bb5f08e6 Update the base hosts size history (data and graph). 2022-11-01 21:41:08 -04:00
Steven Black 2249fb30e2 Release 3.11.27 2022-11-01 21:31:35 -04:00
Steven Black b77b66bb04 Updates from Bigdargon (porn), URLHaus, shady-hosts, KADhosts, and hostsVN. 2022-11-01 21:31:19 -04:00
Steven Black b604074698 Declining 16,400 new gambling domains from BigDargon. 2022-11-01 21:26:32 -04:00
Steven Black 4e40772365 Release 3.11.26 2022-10-27 16:27:29 -04:00
Steven Black d19ec68c32 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2022-10-27 16:27:14 -04:00
Steven Black bd77c39661 Merge pull request #2116 from chyla/fake_investing
add fake investing site
2022-10-27 16:15:13 -04:00
Steven Black ff99602ea0 Merge branch 'master' into fake_investing 2022-10-27 16:14:28 -04:00
Steven Black 98be2dea8c Issue #2115: add flashrewards.co. 2022-10-27 16:12:28 -04:00
Adam Chyła 341b621cc2 add fake investing site 2022-10-24 14:47:20 +02:00
Adam Chyła 83d734fdcf add fake investing site 2022-10-24 13:57:28 +02:00
Steven Black cec39f13f5 Release 3.11.25 2022-10-20 10:35:14 -04:00
Steven Black 74b5288fa2 Updates from fakenews, URLHaus, and KADhosts. 2022-10-20 10:34:53 -04:00
Steven Black 391a50096b Release 3.11.24 2022-10-17 23:04:28 -04:00
Steven Black 7c558a9973 Updates from URLHaus and KADhosts. 2022-10-17 23:04:07 -04:00
Steven Black 6c9377b400 Issue #2112: fix — removing nexusrules.officeapps.live.com. 2022-10-17 10:35:41 -04:00
Steven Black 5d33b0a9dd Issue #1978: fix — add filmsexeporno.com to the main list b/c it's scam site. 2022-10-15 22:56:45 -04:00
Steven Black 9c39a06447 Release 3.11.23 2022-10-15 18:33:13 -04:00
Steven Black 57d02f3e32 Updates from URLHaus and KADhosts. 2022-10-15 18:32:38 -04:00
Steven Black 0947a7e064 Release 3.11.22 2022-10-13 20:39:05 -04:00
Steven Black c3d95ce3fe Updates from URLHaus, and KADhosts. 2022-10-13 20:38:37 -04:00
Steven Black ff7d9bed83 Release 3.11.21 2022-10-09 13:40:38 -04:00
Steven Black 2924bf615c Updates from URLHaus and KADhosts. 2022-10-09 13:40:19 -04:00
Steven Black 03202d41bf Release 3.11.20 2022-10-06 14:51:43 -04:00
Steven Black 3087ac60b9 Updates from BigDargon, URLHaus, KADhosts, hostsVN, and Adaway. 2022-10-06 14:51:16 -04:00
Steven Black 4651bd2d09 Release 3.11.19 2022-10-01 20:58:26 -04:00
Steven Black e3a8909cab Updates from sinfonietta, BigDargon, URLHaus, KADhosts, hostsVN, and Adaway. 2022-10-01 20:58:11 -04:00
Steven Black 76453b4ca4 Merge pull request #2103 from FadeMind/patch-2
gratlfyingdates.net
2022-09-29 22:35:43 -04:00
FadeMind e120e0a894 gratlfyingdates.net 2022-09-29 15:29:59 +02:00
Steven Black c8c1cea835 Merge pull request #2102 from StevenBlack/dependabot/npm_and_yarn/vm2-3.9.11
Bump vm2 from 3.9.9 to 3.9.11
2022-09-28 12:38:27 -04:00
dependabot[bot] 2dd03c636e Bump vm2 from 3.9.9 to 3.9.11
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.9 to 3.9.11.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.9...3.9.11)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 14:23:59 +00:00
Steven Black f57dddee01 Release 3.11.18 2022-09-23 09:45:38 -04:00
Steven Black 2602f13a27 Updates from BigDargon, URLHaus, someonewhocares.org, KADhosts, Add.2o7Net, and adaway. 2022-09-23 09:45:14 -04:00
Steven Black 7577f67157 Issue #2095: add hits.sh. 2022-09-23 09:38:29 -04:00
Steven Black 4b00782ca0 Release 3.11.17 2022-09-17 14:36:49 -04:00
Steven Black 97c04a1f38 Updates from BigDargon, URLHaus, KADhosts, and Adaway. 2022-09-17 14:36:04 -04:00
Steven Black ac4971ba6c Merge pull request #2089 from StevenBlack/dependabot/npm_and_yarn/parse-url-8.1.0
Bump parse-url from 7.0.2 to 8.1.0
2022-09-17 11:55:20 -04:00
dependabot[bot] ff181d1456 Bump parse-url from 7.0.2 to 8.1.0
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 7.0.2 to 8.1.0.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/compare/7.0.2...8.1.0)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 13:34:52 +00:00
Steven Black d04c00df13 Release 3.11.16 2022-09-13 17:36:21 -04:00
Steven Black 17e9a71c1d Updates from BigDargon, URLHaus, KADhosts, hostsVN, and Adaway. 2022-09-13 17:32:32 -04:00
Steven Black 9c7deb6e79 Merge pull request #2086 from zmanion/commercialb
add eu-commercialb.com
2022-09-13 10:38:08 -04:00
Art Manion 70bf2b38a7 add eu-commercialb.com
Active SMS fraud/social engineering campaign:
https://eu-commercialb.com/en/
https://eu-commercialb.com/en/us/accounts/login.php
https://eu-commercialb.com/en/us/personalaccountinfo.html
2022-09-12 12:53:40 -04:00
Steven Black 4d87cf744f Release 3.11.15 2022-09-11 11:52:27 -04:00
Steven Black dbab99c164 Updates from bigdargon, URLHaus, and KADhosts. 2022-09-11 11:52:06 -04:00
Steven Black db16b1e6b7 Merge pull request #2080 from FadeMind/patch-2
pasiekazlotoklos.pl
2022-09-09 15:25:10 -04:00
FadeMind c76e9fb4be pasiekazlotoklos.pl
JS/Redirector.PNA found by ESET
2022-09-09 15:02:13 +02:00
Steven Black 17170b0236 Update the homepage graph. 2022-09-08 12:11:49 -04:00
Steven Black 05272f9a1f Release 3.11.14 2022-09-08 12:01:06 -04:00
Steven Black 606b0f0216 Updates from BigDargon, URLHaus, KADhosts, add.risk, and Adaway. 2022-09-08 12:00:51 -04:00
Steven Black 2d47027aa0 Merge pull request #2079 from FadeMind/patch-2
tracking.minitool.com
2022-09-07 14:06:44 -04:00
FadeMind 76c2dd7386 tracking.minitool.com 2022-09-07 06:55:45 +02:00
Steven Black 56fb74cc80 Merge pull request #2075 from yegors/patch-1
Adding Control D mirror of the Unified blocklist
2022-09-06 15:58:44 -04:00
Yegor S ef44bd722e Adding Control D to template
As requested in the comment  https://github.com/StevenBlack/hosts/pull/2075#issuecomment-1237549759
2022-09-06 13:20:46 -04:00
Yegor S 1c183a4304 Update readme.md 2022-09-06 13:15:36 -04:00
Steven Black d5c2f60064 Merge pull request #2078 from bigdargon/bigdargon-rename
Rename & add description
2022-09-06 10:28:02 -04:00
BigDargon 92f8ca90a1 Rename & add description 2022-09-06 14:30:11 +07:00
Steven Black 1da50a7fb8 Merge pull request #2076 from FadeMind/patch-1
fake tv stream sites
2022-09-05 20:34:46 -04:00
Steven Black a931d6e418 Release 3.11.13 2022-09-05 15:52:14 -04:00
Steven Black aefca99e8d Updates from KADhosts, URLHaus, and hostsVN. 2022-09-05 15:51:23 -04:00
FadeMind 22c0019689 fake tv stream sites 2022-09-05 21:50:45 +02:00
Steven Black 62be4929e9 Issue #2074: fix — add two new extensions (porn and gambling) from hostsVN. 2022-09-05 15:46:27 -04:00
Yegor S 5235695bfe Adding Control D mirror of the Unified blocklist
Steven, thanks for entertaining the PR.
2022-09-05 15:44:44 -04:00
Steven Black 80e8c197a3 Release 3.11.12 2022-09-04 15:01:20 -04:00
Steven Black 26c4439195 Updates from URLHaus, KADhosts, and Adaway. 2022-09-04 15:01:01 -04:00
Steven Black a9de56dfc4 Merge pull request #2070 from FadeMind/patch-1
scam nsfw from twitter
2022-09-02 18:31:05 -04:00
FadeMind 6fe7aecccf alenai.cyou 2022-09-02 14:56:18 +02:00
FadeMind ac23e6b71d quinni.cyou 2022-09-02 14:50:39 +02:00
FadeMind 19a0d812ba yourgodess.com 2022-09-02 14:48:12 +02:00
Steven Black 13e67aec2c Release 3.11.11 2022-08-31 10:03:53 -04:00
Steven Black 350a638374 Updates from URLHaus, someonewhocares.org, KADhosts, and Adaway. 2022-08-31 10:03:37 -04:00
Steven Black 2917a466e8 Merge pull request #2067 from FadeMind/patch-1
wiztube.xyz
2022-08-30 15:26:44 -04:00
FadeMind c2ec63cad1 wiztube.xyz 2022-08-30 18:02:41 +02:00
Steven Black 0777496e82 Merge pull request #2060 from Zhong-z/master
Add more adservers
2022-08-30 11:50:50 -04:00
Zhong Zheng 8e5e0ca84d update date 2022-08-30 21:47:31 +10:00
Zhong Zheng 821e989479 remove empty line 2022-08-30 21:47:01 +10:00
Zhong Zheng 8f4246af63 Merge branch 'master' into master 2022-08-30 21:46:32 +10:00
Steven Black 8f6f7c7cde Merge pull request #2061 from FadeMind/master
ccleaner avast domains, scam site
2022-08-30 06:32:46 -04:00
FadeMind 26f7abc1b3 clicktut.site 2022-08-29 14:22:28 +02:00
FadeMind 4290d92d40 ccleaner avast domains 2022-08-27 07:50:30 +02:00
Zhong Zheng 2d273afb8c add more domains 2022-08-27 13:47:08 +10:00
Zhong Zheng 8cc0afdaf2 add secureaddisplay.com 2022-08-27 13:40:01 +10:00
Steven Black 306f1009ea Merge pull request #2058 from FadeMind/master
anmooq.deiicatedate.net, scam porn sites
2022-08-26 18:54:07 -04:00
FadeMind 15fe1a03b0 packsdechicas.online 2022-08-26 14:46:31 +02:00
FadeMind 6e224b5603 scam porn sites with redirects 2022-08-26 14:36:35 +02:00
FadeMind 2cdbddc1f6 anmooq.deiicatedate.net
adult scam
2022-08-26 13:15:02 +02:00
Steven Black 71dedfa435 Release 3.11.10 2022-08-25 18:02:15 -04:00
Steven Black 97f3366eb8 Updates from URLHaus, KADhosts, anc HostsVN. 2022-08-25 18:01:46 -04:00
Steven Black b5e4902101 Add didna-d.openx.net and c2shb.ssp.yahoo.com. 2022-08-25 17:57:39 -04:00
Steven Black 853ca15c9e Issue #2053: add two Unity3D analytics domains. 2022-08-25 17:30:58 -04:00
Steven Black f019980188 Release 3.11.9 2022-08-24 10:34:15 -04:00
Steven Black 7ac8dc461e Update stats. 2022-08-24 10:34:01 -04:00
Steven Black 3d0b8513c6 Updates from Sinfonietta, URLHaus, someonewhocares.org, KADhosts, and Adaway. 2022-08-24 10:30:10 -04:00
Steven Black fdb268d9bb Release 3.11.8 2022-08-20 14:13:02 -04:00
Steven Black 669fcc643d Updates from Sinfonietta, URLHaus, KADhosts, and hostsVN. 2022-08-20 14:12:47 -04:00
Steven Black 5a0970a36a Merge pull request #2048 from FadeMind/master
[NSFW] arizona-golf-vacations.com
2022-08-20 11:10:04 -04:00
FadeMind 7453405de9 arizona-golf-vacations.com 2022-08-20 07:57:09 +02:00
Steven Black 63adac1c53 Release 3.11.7 2022-08-17 10:32:15 -04:00
Steven Black fcad93391a Update release-it to v.15.3.3. 2022-08-17 10:31:45 -04:00
Steven Black dc81ea4e31 Updates from URLHaus, someonewhocares.org, and KADhosts. 2022-08-17 10:28:26 -04:00
Steven Black 89dd38bf5f Merge pull request #2044 from FadeMind/patch-2
Fraud domains
2022-08-17 10:22:33 -04:00
FadeMind a50ff2f1c9 fix typo in url 2022-08-17 14:17:56 +02:00
FadeMind c61cb618a3 Fraud domains 2022-08-17 14:12:44 +02:00
Steven Black 1afb089e04 Merge pull request #2040 from FadeMind/patch-1
telemetry.acronis.com
2022-08-15 20:13:19 -04:00
FadeMind 86b75663d3 telemetry.acronis.com 2022-08-13 19:57:15 +02:00
Steven Black 6decfb7aea Release 3.11.6 2022-08-12 12:04:44 -04:00
Steven Black a14ba3a44a Updates from URLHaus and KADhosts. 2022-08-12 12:04:27 -04:00
Steven Black 9d93f36a4b Issue #2037: add domain evri-package-gb.web.app. 2022-08-12 11:55:21 -04:00
Steven Black 4eb1165f97 Issue #2038: add domain nl-crypto.com. 2022-08-12 11:53:57 -04:00
Steven Black 74a0c8a597 Update release-it to latest version. 2022-08-09 16:50:16 -04:00
Steven Black 50df606d28 Release 3.11.5 2022-08-09 16:48:55 -04:00
Steven Black 82d8663273 Update base hosts file size graph. 2022-08-09 16:47:33 -04:00
Steven Black 0e90c2f88d Updates from URLHaus, someonewhocares.org, and KADhosts. 2022-08-09 16:45:04 -04:00
Steven Black f8897cd0b7 Merge pull request #2035 from FadeMind/master
shopsplumbing.com
2022-08-09 14:36:52 -04:00
FadeMind fc83d860da shopsplumbing.com
Phishing domain from e-mail
2022-08-09 08:29:49 +02:00
Steven Black 448cc754ad Release 3.11.4 2022-08-03 09:53:15 -04:00
Steven Black e31b539285 Update the file size history data and main graph. 2022-08-03 09:52:50 -04:00
Steven Black b67b57a3d4 Updates from URLhaus, and KADhosts. 2022-08-03 09:49:02 -04:00
Steven Black 2a008a6945 Issue #2028: add phish domain secur.hopp.to. 2022-08-03 09:45:14 -04:00
Steven Black 5e07aabb3e Specify Python in .gitattributes. 2022-07-31 18:22:24 -04:00
Steven Black df03fb6b26 Mathematica .nb files, used for documentation, are not germaine to this repo. 2022-07-31 18:18:25 -04:00
Steven Black c0202eb54d Remove construction helper comments from this bash file. 2022-07-30 11:27:25 -04:00
Steven Black 23c13f21c8 Issue #2014: Uploading the first data and graphs of source list history. 2022-07-29 23:00:46 -04:00
Steven Black ffa9dbd70d Release 3.11.3 2022-07-29 11:57:46 -04:00
Steven Black f981341c23 Updates from sinfonietta, URLHaus, KADHosts, and hostsVN. 2022-07-29 11:57:25 -04:00
Steven Black 6bbe613270 Pausing refreshes of Adguard-CNAME due to its dramatic file side increase since the last release. 2022-07-29 11:47:57 -04:00
Steven Black fa41eaa31e Merge pull request #2027 from gprestes/patch-1
Add MacOS to check to sudo overwrite hostfile
2022-07-27 10:04:08 -04:00
Guilherme Heuser Prestes f58a9138f4 Add MacOS to check to sudo overwrite hostfile
Someone removed the check for MacOS making the replace step be skipped if the OS was Darwin (MacOS)
2022-07-27 10:48:00 +02:00
Steven Black 3bed35fcad Release 3.11.2 2022-07-25 10:09:40 -04:00
Steven Black aa74ccd2bf Updates from URLHaus and KADhosts. 2022-07-25 10:09:18 -04:00
Steven Black fd3b86ca67 Commit latest notebook. 2022-07-25 10:05:22 -04:00
Steven Black dfc5080079 Ibid. 2022-07-25 10:05:10 -04:00
Steven Black 28159b5f2c Flake8: Set max line length to 135. 2022-07-25 10:04:31 -04:00
Steven Black c5a79cec41 Merge pull request #2022 from DPTJKKVH/master
Fix breakage for Linux
2022-07-25 09:55:59 -04:00
DPTJKKVH 057f4ed0f4 Fix breakage for Linux
Partially revert commit https://github.com/StevenBlack/hosts/commit/0a99194b2844bbc026ab62da69798fdc34815a79 to fix #2015
2022-07-25 12:22:30 +00:00
Steven Black 236adfb388 Display the graph date and time in UTC. 2022-07-23 13:19:00 -04:00
Steven Black 964cbbeaad Release 3.11.1 2022-07-23 13:10:35 -04:00
Steven Black aab3d33075 Update stats and graph. 2022-07-23 13:10:19 -04:00
Steven Black 8dbfa0196a Updates from sinfonietta, URLHaus, someonewhocares.org, and KADhosts. 2022-07-23 13:08:23 -04:00
Steven Black bc271a3f6a Update the name of the hosts file history graph file. 2022-07-21 22:37:02 -04:00
Steven Black 43e078c7d6 Tweak the titles in the size history graph. 2022-07-21 22:32:30 -04:00
Steven Black 28574134e0 Release 3.11.0 2022-07-21 22:25:47 -04:00
Steven Black 455ba0488e Updates stats and graph. 2022-07-21 22:25:13 -04:00
Steven Black 6aa5b53829 Updates from URLHaus, someonewhocares.org, KADhosts, and Adguard. 2022-07-21 22:24:56 -04:00
Steven Black 79e7103f00 Issue #2104: fix — add the hosts file size history to the home readme only, for now. 2022-07-21 22:19:26 -04:00
Steven Black 35e6719e72 Move the logo credit to BOF. 2022-07-21 21:57:50 -04:00
Steven Black 4ffbac63c2 Issue #2014: tidy the graph a bit, add label for latest size. 2022-07-18 23:59:12 -04:00
Steven Black 410aca3cc3 Issue #2104: fix — Remove cruft in the stats bash script. 2022-07-18 23:21:23 -04:00
Steven Black 4cfe084f40 Add the beginnings of statistics tracking. 2022-07-18 22:49:04 -04:00
Steven Black 6dd1175476 Release 3.10.18 2022-07-18 20:33:20 -04:00
Steven Black 64de540908 Updates from URLHaus, someonewhocares.org, KADhosts, and Adguard. 2022-07-18 20:33:01 -04:00
Steven Black cfe020f850 Release 3.10.17 2022-07-16 20:36:28 -04:00
Steven Black 03ebca36b5 Updates from URLhaus and KADhosts. 2022-07-16 20:36:08 -04:00
Steven Black 0394323a0e Fix rendering errors in readme_template.md. 2022-07-16 20:35:02 -04:00
Steven Black 861c6b3616 Release 3.10.16 2022-07-16 17:42:44 -04:00
Steven Black fc09b89eb5 Updates from URLHaus, KADhosts, and Adguard. 2022-07-16 17:42:05 -04:00
Steven Black 3c8ded3dd7 Merge pull request #2008 from rhtenhove/container-fixes
readme fix for containers; make prettier
2022-07-13 16:54:49 -04:00
Ruben ten Hove a2ad0c6f0b refactor: prettier 2022-07-13 11:55:24 -04:00
Ruben ten Hove b384474be8 fix: image manifest name; move to separate option 2022-07-13 11:52:42 -04:00
Steven Black 918c746685 Release 3.10.15 2022-07-13 11:12:40 -04:00
Steven Black 43509bd5c4 Updates from URLHaus, someonewhocares.org, KADhosts, Adguard, and Adaway. 2022-07-13 11:12:11 -04:00
Steven Black a892e66398 Merge pull request #1999 from rhtenhove/container-automation
Container automation
2022-07-13 11:07:38 -04:00
Steven Black 8afde55a03 Merge pull request #2006 from FadeMind/patch-1
new scam NSFW domains
2022-07-11 10:13:02 -04:00
FadeMind 621e1d6653 new scam NSFW domains
Several adult scam sites shared on reddit
2022-07-10 15:54:41 +02:00
Ruben ten Hove 787401a440 push on tags as well 2022-07-06 13:19:05 -04:00
Ruben ten Hove 159db62a83 step inbetween to reduce failure problems 2022-07-06 13:08:25 -04:00
Ruben ten Hove 69dd5790cf test source existence; actually fix tests 2022-07-06 13:07:02 -04:00
Ruben ten Hove dccb1e220f remove 3.6; fix tests 2022-07-06 12:47:38 -04:00
Ruben ten Hove efcc6cc042 use local here 2022-07-05 13:49:27 -04:00
Ruben ten Hove fcf79f8bba fix glob 2022-07-05 13:47:56 -04:00
Ruben ten Hove 3573a01dca simpler instructions 2022-07-05 13:38:20 -04:00
Ruben ten Hove dba24e8a3e small changes 2022-07-05 13:23:08 -04:00
Ruben ten Hove 6caf8a5244 now really fix windows 2022-07-05 13:19:01 -04:00
Ruben ten Hove 0a99194b28 fix windows sudo and replace 2022-07-05 12:54:31 -04:00
Ruben ten Hove 258b10edc9 refactor: more containerization 2022-07-05 12:39:02 -04:00
Steven Black 71017d5eb5 Release 3.10.14 2022-07-04 17:10:19 -04:00
Steven Black 34868f94a2 Updates from URLHaus, someonewhocares.org, KADhosts, hostsVN, and Adguard. 2022-07-04 17:10:04 -04:00
Steven Black ea175b52ad Issue #1997: fix broken hyperlink. 2022-07-04 17:05:55 -04:00
Steven Black 1af0c9620c Merge pull request #1993 from StevenBlack/dependabot/github_actions/actions/dependency-review-action-2
Bump actions/dependency-review-action from 1 to 2
2022-07-01 23:12:34 -04:00
Steven Black 790f6b032b Merge pull request #1994 from StevenBlack/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-07-01 23:11:28 -04:00
Steven Black c69625a844 Upgrade to release-it@15.1.1. 2022-07-01 09:41:28 -04:00
Steven Black 5b8adf9045 Release 3.10.13 2022-07-01 09:40:28 -04:00
Steven Black 47b96a1705 Updates from URLHaus, someonewhocares.org, and KADhosts. 2022-07-01 09:40:12 -04:00
dependabot[bot] a9d214f57d Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 00:07:39 +00:00
dependabot[bot] c1232095bf Bump actions/dependency-review-action from 1 to 2
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 00:07:34 +00:00
Steven Black 8465c778ae Release 3.10.12 2022-06-29 15:30:05 -04:00
Steven Black 9ff9541a36 Updates from URLHaus, KADhosts, and Adguard. 2022-06-29 15:29:34 -04:00
Steven Black c2e9821666 Merge pull request #1991 from ahsandar/master
Add eu1.clevertap-prod.com.
2022-06-28 12:23:02 -04:00
Ahsan Nabi Dar 7cecb93c94 Merge pull request #1 from ahsandar/ahsandar-patch-1
Update hosts
2022-06-28 17:01:28 +08:00
Ahsan Nabi Dar ff07acc636 Update hosts
Clevertap is a user tracking platform fingerprinting users across devices and platforms
2022-06-28 17:00:48 +08:00
Steven Black 1a293025de Release 3.10.11 2022-06-25 23:18:09 -04:00
Steven Black 776de547fd Updates from URLHaus, KADhosts, and hostsVN. 2022-06-25 23:17:25 -04:00
Steven Black 1ce9ed3103 Issue #1987: add analytics.binaryfortress.com. 2022-06-25 23:07:26 -04:00
Steven Black 0b4de22567 Updates from URLHaus and KADhosts. 2022-06-21 23:59:31 -04:00
Steven Black ad0f2296bc Add an aggregator pattern diagram. 2022-06-21 23:57:46 -04:00
Steven Black e7fc874aaf Release 3.10.10 2022-06-21 10:25:09 -04:00
Steven Black c609213987 Updates from URLHaus, someonewhocares.org, KADhosts, Adguard, and Adaway. 2022-06-21 10:24:49 -04:00
Steven Black d767875871 Issue #1984: add two opera browser related domains. 2022-06-21 10:10:26 -04:00
Steven Black 4a345dc95f Release 3.10.9 2022-06-16 16:50:57 -04:00
Steven Black 71b032e7b6 Updates from URLHaus, KADhosts, hostsVN, and Adguard. 2022-06-16 16:50:38 -04:00
Steven Black 82c2c7839b Merge pull request #1981 from turrisxyz/naveensrinivasan/digest-docker-image
chore: Included the digest for the docker image
2022-06-14 14:51:12 -04:00
Naveen b93526bfc6 chore: Included the digest for the docker image
- https://cloud.google.com/architecture/using-container-images
- https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies
2022-06-14 10:21:20 -05:00
Steven Black a0e307373d Merge pull request #1980 from turrisxyz/Dependency-GitHub
chore(deps): Included dependency review
2022-06-13 12:11:17 -04:00
naveen 4c18fb82dd chore(deps): Included dependency review
> Dependency Review GitHub Action in your repository to enforce dependency
> reviews on your pull requests.
> The action scans for vulnerable versions of dependencies introduced by package version
> changes in pull requests,
> and warns you about the associated security vulnerabilities.
> This gives you better visibility of what's changing in a pull request,
> and helps prevent vulnerabilities being added to your repository.

https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-13 02:36:28 +00:00
Steven Black 11b8c3d9ac Release 3.10.8 2022-06-09 23:18:24 -04:00
Steven Black addb0f13a7 Update all readme files in the repo. 2022-06-09 23:15:32 -04:00
Steven Black be9aac7689 Updates from URLHaus. 2022-06-09 23:15:11 -04:00
Steven Black 959c2ed25f Move the source file description column to the end of the row. 2022-06-09 23:10:03 -04:00
Steven Black 5fce389e07 Remove the frequency column from the table. 2022-06-09 23:04:59 -04:00
Steven Black 4647759f7a Release 3.10.7 2022-06-09 22:53:28 -04:00
Steven Black f04d6110ff Updates from URLHaus, KADhosts, and hostsVN. 2022-06-09 22:52:14 -04:00
Steven Black 8d648005d3 Release 3.10.6 2022-06-07 16:58:14 -04:00
Steven Black 1e00bce248 Updates from someonewhocares.org, KADhosts, hostsVN, Badd-Boyz, and Adguard. 2022-06-07 16:57:58 -04:00
Steven Black 2631aa8871 Release 3.10.5 2022-06-02 22:13:41 -04:00
Steven Black c0831f6b42 Updates from URLHaus, someonewhocares.org, and KADhosts. 2022-06-02 22:12:55 -04:00
Steven Black f2c9adfed9 Release 3.10.4 2022-05-31 22:12:08 -04:00
Steven Black f85e7540a4 Updates from URLHaus, someonewhocares.org, KADhosts, hostsVN, and Adguard. 2022-05-31 22:11:45 -04:00
Steven Black 8a294be922 Issue #1781: fix — remove www.clickouse.com from our paused mvps list. 2022-05-31 22:03:01 -04:00
Steven Black d605b869f7 Pausing updates to the mvps hosts file. 2022-05-31 22:01:41 -04:00
Steven Black 082553d8ee Release 3.10.3 2022-05-29 14:53:34 -04:00
Steven Black c0f77b2d86 Updates from sinfonietta, URLHaus, KADhosts, and hostsVN. 2022-05-29 14:53:10 -04:00
Steven Black c8ed1f1f0b Release 3.10.2 2022-05-25 13:28:44 -04:00
Steven Black e5c6ca7e60 Updates from URLHaus, someonewhocares.org, KADhosts, hostsVN, and Adguard. 2022-05-25 13:28:12 -04:00
Steven Black fb1b7a1c1a Issue #1970: add overwolf domains. 2022-05-20 10:43:05 -04:00
Steven Black 06600e70bd Release 3.10.1 2022-05-19 16:04:17 -04:00
Steven Black f8d4526a07 Updates from URLHaus, someonewhocares.org, KADHosts, and Adguard. 2022-05-19 16:04:02 -04:00
Steven Black c8f27f6e37 Release 3.10.0 2022-05-14 10:28:52 -04:00
Steven Black 41a3adbf12 Updates from URLHaus, KADhosts, and Adaway. 2022-05-14 10:28:25 -04:00
Steven Black 0f8ad83645 Pausing yoyo.org updates pending a desision whether to block URL shorteners such as t.co for example. 2022-05-13 13:01:40 -04:00
Steven Black 0677b534b1 We can now use a "pause" key in update.json to pause updates from specific sources. 2022-05-13 12:20:37 -04:00
Steven Black 8ded82cd4d Release 3.9.70 2022-05-10 21:54:08 -04:00
Steven Black b7b3f44d00 Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, Adguard, and Adaway. 2022-05-10 21:53:44 -04:00
Steven Black 5f1880223b Release 3.9.69 2022-05-05 17:57:39 -04:00
Steven Black eb0c46b5fb Updates from yoyo.org, URLHaus, KADhosts, and hostsVN. 2022-05-05 17:57:23 -04:00
Steven Black d0d4874f5e Release 3.9.68 2022-05-03 19:10:59 -04:00
Steven Black b84402051e Updates from youo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Adguard. 2022-05-03 19:10:31 -04:00
Steven Black 46e03da88c Merge pull request #1961 from StevenBlack/dependabot/github_actions/github/codeql-action-2
Bump github/codeql-action from 1 to 2
2022-05-03 19:01:53 -04:00
dependabot[bot] 10db0f1783 Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 00:21:59 +00:00
Steven Black baf083579c Release 3.9.67 2022-04-29 20:21:05 -04:00
Steven Black 492e90c0f7 Updates from yoyo.org, URLhaus, KADhosts, and Adaway. 2022-04-29 20:20:28 -04:00
Steven Black 65a1906ae9 Release 3.9.66 2022-04-25 10:44:35 -04:00
Steven Black 80512a4040 Updates from yoyo.org, URLhaus, KADhosts, hostsVN, and Adguard. 2022-04-25 10:44:17 -04:00
Steven Black b4a9810fb0 Release 3.9.65 2022-04-21 20:39:48 -04:00
Steven Black 3f4ab43a7d Updates from URLHaus, KADhosts, hostsVN, and Adaway. 2022-04-21 20:39:30 -04:00
Steven Black c1ba9bc0d2 Release 3.9.64 2022-04-18 09:54:39 -04:00
Steven Black 98b4c8ac5c Updates from yoyo.org, URLhaus, KADhosts, hostsVN, Adguard, and Adaway. 2022-04-18 09:54:25 -04:00
Steven Black d50ae102ca Release 3.9.63 2022-04-13 11:48:08 -04:00
Steven Black b72d45b052 Updates from sinfonietta, yoyo.org, URLHaus, KADhosts, hostsVN, and Adguard. 2022-04-13 11:47:49 -04:00
Steven Black 0d99f8f6d0 Release 3.9.62 2022-04-09 10:43:30 -04:00
Steven Black e91839a2be Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts. hostsVN, and Adaway. 2022-04-09 10:41:45 -04:00
Steven Black 199df73051 Merge pull request #1939 from turrisxyz/naveen/feat/set-perms-actions
Set permissions for GitHub actions
2022-04-08 16:05:35 -04:00
naveensrinivasan b742118cd1 Set permissions for GitHub actions
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-07 23:00:53 +00:00
Steven Black 8c355cf9b1 Release 3.9.61 2022-04-05 18:10:05 -04:00
Steven Black 4256e49a2f Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Adguard. 2022-04-05 18:09:37 -04:00
Steven Black 58ab6075df Merge pull request #1935 from StevenBlack/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-31 11:36:02 -04:00
Steven Black 2e9f343097 Release 3.9.60 2022-03-31 10:11:50 -04:00
Steven Black eb4da4e06f Updates from URLhaus, KADhosts, hostsVN, and Adaway. 2022-03-31 10:11:35 -04:00
dependabot[bot] 56ad6444fc Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 22:23:58 +00:00
Steven Black 5d58fbafae Release 3.9.59 2022-03-29 18:23:06 -04:00
Steven Black 2e45a2fb11 Updates from yoyo.org, URLHaus, KADhosts, Adguard, and Adaway. 2022-03-29 18:22:32 -04:00
Steven Black 4742ba369e Release 3.9.58 2022-03-24 23:43:27 -04:00
Steven Black 6705ea32d5 Updates from yoyo.org, URLHaus, KADhosts, Adguard, and Adaway. 2022-03-24 23:42:03 -04:00
Steven Black ae38b087f3 Release 3.9.57 2022-03-19 14:46:08 -04:00
Steven Black f89915afb0 Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, and Adaway. 2022-03-19 14:45:48 -04:00
Steven Black b3f0b8a29a Release 3.9.56 2022-03-14 17:28:46 -04:00
Steven Black ec79156afd Updates from URLHaus, KADhosts, Adguard, and Adaway. 2022-03-14 17:28:29 -04:00
Steven Black 0aa12bc001 Merge pull request #1923 from XhmikosR/patch-1
Update dependabot.yml
2022-03-12 10:35:53 -05:00
Steven Black 29818bdfc7 Release 3.9.55 2022-03-12 10:32:06 -05:00
XhmikosR 83a58c60a0 Update dependabot.yml 2022-03-12 17:32:00 +02:00
Steven Black 8c25b87ac8 Updates from yoyo.org, URLHaus, KADhosts, and hostsVN. 2022-03-12 10:31:44 -05:00
Steven Black e76211e381 Merge pull request #1922 from XhmikosR/https
Use https in more places
2022-03-12 10:26:55 -05:00
Steven Black d96a4a98fc Merge pull request #1921 from XhmikosR/dependabot
Add dependabot for pip and action updates
2022-03-12 10:25:44 -05:00
Steven Black 29a643b3e5 Merge pull request #1920 from XhmikosR/patch-2
Update requirements.txt
2022-03-12 10:21:19 -05:00
Steven Black 505a661412 Merge pull request #1919 from XhmikosR/patch-1
Update CI
2022-03-12 10:20:18 -05:00
XhmikosR 16d79233ac Update requirements.txt
* limit requests to v2.0
* require flake8 v4.0
2022-03-12 16:58:39 +02:00
XhmikosR 7bf15bf336 Use https in more places 2022-03-12 10:32:32 +02:00
XhmikosR 1714afb293 Update CI
* drop Python 3.5
* add pip caching back
* run makeHosts.py too
2022-03-12 10:22:11 +02:00
XhmikosR dd5334d1d3 Add dependabot for pip and action updates 2022-03-12 10:16:37 +02:00
Steven Black 218ce3c901 Release 3.9.54 2022-03-09 20:57:57 -05:00
Steven Black 06a5353290 Updates from URLHaus and KADhosts. 2022-03-09 20:57:33 -05:00
Steven Black 0adb22b4bf Release 3.9.53 2022-03-07 08:20:56 -05:00
Steven Black 62d25db457 Updates from URLHaus, KADhosts, and Adgurard. 2022-03-07 08:20:38 -05:00
Steven Black 945973f172 Merge pull request #1916 from XhmikosR/patch-2
Use `assertIn` instead of `assertTrue`
2022-03-07 08:14:40 -05:00
Steven Black e814c42d56 Merge pull request #1914 from XhmikosR/patch-1
Update readme_template.md
2022-03-07 08:13:26 -05:00
Steven Black 37b2df6b29 Merge pull request #1913 from XhmikosR/release-it
Update release-it to ^14.12.5 and regenerate yarn.lock
2022-03-07 08:11:23 -05:00
Steven Black b04eb1eb3f Merge pull request #1912 from XhmikosR/bat
Rename disable-dnscache-service-win to bat and minor tweaks
2022-03-07 08:08:35 -05:00
Steven Black 6d26d239e2 Merge pull request #1911 from XhmikosR/ci
CI: update actions
2022-03-07 08:06:15 -05:00
XhmikosR 5ecce58def Update readme_template.md 2022-03-07 14:41:59 +02:00
XhmikosR d22b726edc Minor consistency tweaks 2022-03-07 09:20:01 +02:00
XhmikosR 177e9755a3 Use assertIn instead of assertTrue 2022-03-07 09:08:23 +02:00
XhmikosR 071a3a1e0e CI: combine version steps 2022-03-07 08:58:22 +02:00
XhmikosR 491f45e017 CI: remove Python cache
Since we are still testing obsolete/unsupported Python versions, this is a workaround for the Windows Python 3.5 error.

It should be reverted later when support for Python 3.5 is dropped.
2022-03-07 08:53:37 +02:00
XhmikosR 2ffc7c2617 Update readme_template.md 2022-03-06 21:28:47 +02:00
XhmikosR b6674ba5b2 Update release-it to ^14.12.5 and regenerate yarn.lock 2022-03-06 21:24:44 +02:00
XhmikosR 11632cc2d6 Rename disable-dnscache-service-win to bat 2022-03-06 21:08:10 +02:00
XhmikosR 823612498f CI: update actions
* actions/checkout to v3
* actions/setup-python to v3
2022-03-06 20:56:24 +02:00
Steven Black e6da3b0fbf Release 3.9.52 2022-03-06 13:33:43 -05:00
Steven Black 333bfc4989 Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, Adguard, and Adaway. 2022-03-06 13:33:04 -05:00
Steven Black 697dcc60f7 Merge pull request #1906 from FadeMind/patch-1
sweetchicks.net fuckmebook.com
2022-02-28 15:20:43 -05:00
FadeMind 72627fbdcb sweetchicks.net fuckmebook.com 2022-02-28 16:54:11 +01:00
Steven Black 33fc378336 Release 3.9.51 2022-02-26 14:37:53 -05:00
Steven Black 6b926591ff Updates from yoyo.org, urlhaus, KADhosts, and Adaway. 2022-02-26 14:37:32 -05:00
Steven Black 00fcd37e13 Release 3.9.50 2022-02-22 15:02:36 -05:00
Steven Black 849081479f Updates from yoyo.org, URLHaus, KADhosts, hostsVN, Adguard, and Adaway. 2022-02-22 15:02:11 -05:00
Steven Black 4756aa9838 Merge pull request #1897 from FadeMind/patch-1
yourbestwoman.life
2022-02-19 00:25:23 -05:00
FadeMind b9532d15e2 yourbestwoman.life 2022-02-17 19:29:25 +01:00
Steven Black 595249aa6f Release 3.9.49 2022-02-17 10:29:06 -05:00
Steven Black dc0140e960 Updates from yoyo.com, URLHaus, someonewhocares.org,KADhosts, hostsVN, and Adguard. 2022-02-17 10:28:42 -05:00
Steven Black 824cd374f2 Release 3.9.48 2022-02-13 19:02:17 -05:00
Steven Black 9f51581741 Updates from Sinfonietta, KADhosts, and URLhaus. 2022-02-13 19:01:49 -05:00
Steven Black 637692dc11 Merge pull request #1892 from MrRawes/master
remove domains PyFunceble mark as "INACTIVE"
2022-02-13 18:57:53 -05:00
Steven Black 1f4f41a349 Release 3.9.47 2022-02-13 13:13:42 -05:00
Steven Black 40f47bcc24 Updates fron sinfonietta, URLHaus, and KADhosts. 2022-02-13 13:13:24 -05:00
Steven Black cbbafd2885 Release 3.9.46 2022-02-12 13:19:02 -05:00
Steven Black 65a40f9e94 Updates from Adaway, hostsVN, KADhosts, shady-hosts, URLHaus, yoyo.org, and Sinfonietta. 2022-02-12 13:18:39 -05:00
MrRawes ab33efbe28 remove domains PyFunceble mark as "INACTIVE" 2022-02-09 12:55:09 +00:00
Steven Black aebd77a7da Release 3.9.45 2022-02-07 12:27:50 -05:00
Steven Black 118c69a9fc Updates from yoyo.org, URLHaus, KADhosts, hostsVN, add.risk, and adaway. 2022-02-07 12:27:30 -05:00
Steven Black 89c42d1c09 Merge pull request #1884 from FadeMind/patch-1
zmyslowyklub.com flndmyiove.com
2022-02-05 12:40:01 -05:00
FadeMind 5eaf9cc61c zmyslowyklub.com flndmyiove.com
Scam from facebook
2022-02-05 10:18:38 +01:00
Steven Black 55aa505a9b Release 3.9.44 2022-02-01 12:20:50 -05:00
Steven Black f39ab11c61 Updates from URLHaus, shady-hosts, KADhosts, and Adaway. 2022-02-01 12:20:10 -05:00
Steven Black 595dc4faa1 Release 3.9.43 2022-01-31 11:09:17 -05:00
Steven Black 0bf4d0c42f Updates from yoyo.org, URLHaus, KADhosts, Adguard, and Adaway. 2022-01-31 11:08:47 -05:00
Steven Black fc1972c2e1 Release 3.9.42 2022-01-30 21:41:13 -05:00
Steven Black ce88f0c8f4 Updates from URLHaus, and KADhosts. 2022-01-30 21:40:48 -05:00
Steven Black 4a7ffe1866 Merge pull request #1877 from FadeMind/patch-1
waaw.to
2022-01-30 12:07:56 -05:00
FadeMind 417a3d06bc waaw.to 2022-01-30 10:20:09 +01:00
Steven Black 21867a5b3e Release 3.9.41 2022-01-28 21:55:58 -05:00
Steven Black d09c4ce425 Updates from yoyo.org, URLHaus, KADhosts, and Adaway. 2022-01-28 21:55:39 -05:00
Steven Black c85f1986ff Merge pull request #1871 from StevenBlack/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7
2022-01-25 01:31:23 -05:00
dependabot[bot] c64344f6af Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 04:56:23 +00:00
Steven Black e1dc29cddd Release 3.9.40 2022-01-24 23:55:57 -05:00
Steven Black 986882538f Updates from yoyo.org, KADhosts, URLHaus, Adguard, and adaway. 2022-01-24 23:55:39 -05:00
Steven Black f0ace3c4c1 Release 3.9.39 2022-01-21 23:17:23 -05:00
Steven Black 3dd76ee05e Updates from sinfonietta, yoyo.org, URLHaus, KADhosts, and adaway. 2022-01-21 23:17:05 -05:00
Steven Black 4a2a08ed58 Release 3.9.38 2022-01-19 10:50:22 -05:00
Steven Black 3575b45dd0 Updates from yoyo.org, URLHaus, KADhosts, and adaway. 2022-01-19 10:50:04 -05:00
Steven Black a9555abd54 Issue #1868: fix — remove osint.digitalside.it. 2022-01-19 10:47:54 -05:00
Steven Black f5d5efabae Merge pull request #1866 from StevenBlack/dependabot/npm_and_yarn/shelljs-0.8.5
Bump shelljs from 0.8.4 to 0.8.5
2022-01-18 16:48:44 -05:00
dependabot[bot] 6d2f6b4063 Bump shelljs from 0.8.4 to 0.8.5
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 18:34:56 +00:00
Steven Black 9dd494e704 Release 3.9.37 2022-01-18 13:34:27 -05:00
Steven Black 5d045a6d72 Updates from Sinfonietta, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, Adguard, and Adaway. 2022-01-18 13:34:08 -05:00
Steven Black 3e9678b8d3 Merge pull request #1863 from FadeMind/patch-2
roksa.sx
2022-01-13 23:20:26 -05:00
FadeMind f8ac2b58fe roksa.sx
NRD, probably scam, original domain was shutdown (with .pl sufix). Terms, privacy policy copy paste without owner details from shutdown previously original site.
2022-01-13 21:45:54 +01:00
Steven Black 18a2462788 Merge pull request #1861 from FadeMind/patch-1
technoob.info, loopybatl.site,  thefappeningpics.com, hotzxgirl.com
2022-01-12 09:14:59 -05:00
FadeMind 74343a8647 hotzxgirl.com 2022-01-12 09:17:22 +01:00
FadeMind f218e6f447 thefappeningpics.com
NSFW fake scam site provides to blocked links
2022-01-12 09:13:06 +01:00
FadeMind 3554093e2a technoob.info, loopybatl.site
- technoob.info [NSFW, links on site provides to loopbatl.site] 
- loopybatl.site [blocked by ESET]
2022-01-12 08:56:28 +01:00
Steven Black 76dde75bc4 Release 3.9.36 2022-01-11 23:23:19 -05:00
Steven Black b542984f05 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, MetaMask, KADHosts, hostsVN, Adguard, and Adaway. 2022-01-11 23:22:58 -05:00
Steven Black 3bd2924442 Merge pull request #1860 from FadeMind/patch-1
asecv.xyz
2022-01-11 09:46:45 -05:00
FadeMind 759668b05f asecv.xyz
adware domain URL blocked by Smart Screen (Edge) and ESET.
2022-01-11 11:52:50 +01:00
Steven Black c57a61bb09 Remove unused files. 2022-01-08 23:23:42 -05:00
Steven Black 666bf35e3c Release 3.9.35 2022-01-07 10:34:05 -05:00
Steven Black 577097732b Updated from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADhosts, hostsVN, and adaway. 2022-01-07 10:33:44 -05:00
Steven Black 842e206867 Release 3.9.34 2022-01-04 22:52:06 -05:00
Steven Black 7d468cf38a Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, Adguard, and Adaway. 2022-01-04 22:51:45 -05:00
Steven Black c6887fd933 Release 3.9.33 2022-01-02 21:11:11 -05:00
Steven Black 3e9ea05906 Updates from Sinfonietta, yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, and Adaway. 2022-01-02 21:10:43 -05:00
Steven Black ccf7b1741d Merge pull request #1852 from FadeMind/patch-1
mypornsnap.top
2022-01-02 14:58:34 -05:00
FadeMind e1d561b3e0 mypornsnap.top
ESET blocked it results in this search engine site against JS/ScrInject.B trojan.
2022-01-02 13:00:02 +01:00
Steven Black a2f6ab2beb Happy New Year 2022-01-01 00:08:48 -05:00
Steven Black 99c474f9f1 Two new domains, via email. 2021-12-31 22:29:35 -05:00
Steven Black 957a13c7f3 Release 3.9.32 2021-12-30 14:04:07 -05:00
Steven Black 0cd9735aac Updates from URLHaus. 2021-12-30 14:03:50 -05:00
Steven Black 4ec66247fe Issue #1849 — repeat my last manipulation because github served a stale cached version of my ad-hoc hosts file.. 2021-12-30 13:51:28 -05:00
Steven Black 1572393ca7 Issue #1849 — fix missing line feeds, then re-sort and unique the list. 2021-12-30 13:45:31 -05:00
Steven Black 2da1667876 Issue #1849 — add other domains in this issue. 2021-12-30 13:43:25 -05:00
Steven Black 8ba2e895f8 Release 3.9.31 2021-12-30 09:53:53 -05:00
Steven Black 91c14a636f Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, and Adguard. 2021-12-30 09:53:27 -05:00
Steven Black 5c82cdf216 Issue #1849: fix — domsearch.net. 2021-12-30 09:38:27 -05:00
Steven Black b6fd01f620 Release 3.9.30 2021-12-25 13:30:21 -05:00
Steven Black db6777fce3 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, and hostsVN. 2021-12-25 13:30:02 -05:00
Steven Black 22373a2364 Issue #1840 add two domains. 2021-12-25 13:23:50 -05:00
Steven Black b056cfb8d1 Release 3.9.29 2021-12-20 21:47:29 -05:00
Steven Black 7954f7a0d7 Updates from URLHaus, digitalside.it, KADhosts, Adguard, and Adaway. 2021-12-20 21:46:58 -05:00
Steven Black c3abc74533 Release 3.9.28 2021-12-19 23:26:44 -05:00
Steven Black 2bafad9142 Updates from yoyo.org, URLHaus, digitalside.it, and KADhosts. 2021-12-19 23:26:21 -05:00
Steven Black f57666224a Issue #1386: add us.conveyts.com. 2021-12-19 23:22:00 -05:00
Steven Black 59c0cab371 Release 3.9.27 2021-12-16 22:39:35 -05:00
Steven Black 1eea9225ce Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, and Adaway. 2021-12-16 22:39:16 -05:00
Steven Black 91a63bf3b4 Release 3.9.26 2021-12-13 23:11:38 -05:00
Steven Black 7d316dd101 Updates from URLhaus, digitalside.it, KADhosts, and adguard. 2021-12-13 23:11:19 -05:00
Steven Black 834c55e981 Merge pull request #1804 from Saya47/master
Added 1 website to the list
2021-12-13 22:18:22 -05:00
Steven Black e1fd266698 Add domains from Issue #1832. 2021-12-13 22:14:28 -05:00
Steven Black 5eeb149b83 Merge pull request #1833 from lsm5/dnscrypt-proxy
docs: Include link to dnscrypt-proxy blocklist tool
2021-12-13 16:00:32 -05:00
Lokesh Mandvekar 20c6ec25be docs: Include link to dnscrypt-proxy blocklist tool
Copy-pasted the tool description from the dnscrypt-proxy page.

Fixes: #1830
2021-12-13 14:49:51 -05:00
Steven Black c083d9ca73 Update release-it to version 14.11.8. 2021-12-12 11:13:34 -05:00
Steven Black 58cf92a10a Release 3.9.25 2021-12-12 11:11:00 -05:00
Steven Black 5d9ac28164 Updates from yoyo.org, URLhaus, digitalside.it, KADhosts, and Adaway. 2021-12-12 11:09:56 -05:00
Steven Black 3718b4bac9 Merge pull request #1829 from XhmikosR/patch-3
Update the requests' docs URL
2021-12-12 10:53:18 -05:00
Steven Black 9ac65652e1 Merge pull request #1828 from XhmikosR/patch-2
Update CodeQL workflow
2021-12-12 10:52:27 -05:00
Steven Black 70980caa09 Merge pull request #1827 from XhmikosR/patch-1
Update CI config
2021-12-12 10:51:12 -05:00
XhmikosR 907c2f5cdc Update the requests' docs URL 2021-12-12 16:10:35 +02:00
XhmikosR 73c8564b29 Update CI config
* `actions/setup-python` now has built-in support for caching
* add `workflow_dispatch` to add the ability to manually trigger the workflow
* add Python 3.10
* add workflow name
2021-12-12 15:37:11 +02:00
XhmikosR 0aaa893a1f Update CodeQL workflow
* bring in the latest upstream changes
* add `workflow_dispatch` so that the workflow can be triggered manually
* remove autobuild since we don't need to build anything
* reindent
2021-12-12 15:29:30 +02:00
Steven Black 8b63b4dc90 Fix the github line. 2021-12-11 14:58:29 -05:00
Steven Black 53740c42ec Create FUNDING.yml, just experimenting with this. 2021-12-11 14:57:14 -05:00
Steven Black ba204b916a Release 3.9.24 2021-12-09 21:42:23 -05:00
Steven Black 83a976e1a0 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, MADhosts, hostsVN, Adguard, and Adaway. 2021-12-09 21:41:01 -05:00
Steven Black 71def412ef Release 3.9.23 2021-12-05 19:41:39 -05:00
Steven Black 9b6d8dea9a Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, and hostsVN. 2021-12-05 19:41:23 -05:00
Steven Black 9ac56f6b39 Release 3.9.22 2021-11-29 22:20:25 -05:00
Steven Black 03c292f15b Updates from URLHaus. 2021-11-29 22:20:04 -05:00
Steven Black 7bcea82cff Issue #1818: add hiperdex.com. 2021-11-29 22:14:20 -05:00
Steven Black 706a78f8de Release 3.9.21 2021-11-29 22:06:31 -05:00
Steven Black afc70e8fda Updates from sinfionetta, brijrajparmar27, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, and Adguard. 2021-11-29 22:05:48 -05:00
Steven Black 56312e0607 Release 3.9.20 2021-11-21 11:28:24 -05:00
Steven Black 7faf3319ef Updates from yoyo.org, URLhaus, digitalside.it, KADhosts, hostsVN, and Adguard. 2021-11-21 11:26:22 -05:00
Steven Black bd2d8d6236 Release 3.9.19 2021-11-17 22:51:35 -05:00
Steven Black 7e5d4b0f62 Updates form yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, Adguard, and adaway. 2021-11-17 22:51:14 -05:00
Steven Black b318187d3d Release 3.9.18 2021-11-14 16:46:20 -05:00
Steven Black 9e503a4c4f updates from yoyo.org, URLHaus, digitalside.it, and KADhosts. 2021-11-14 16:46:01 -05:00
Steven Black f3535d79b5 Release 3.9.17 2021-11-11 20:53:29 -05:00
Steven Black cbf0515e91 Updates from yoyo.org, URLHaus, someonewhocares.org, shady-hosts, digitalside.it, KADhosts, Adguard, and Adawy. 2021-11-11 20:53:04 -05:00
Steven Black 7906983a36 Release 3.9.16 2021-11-04 15:40:54 -04:00
Steven Black 9ae2dd20da Updates from brijrajparmar27, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, Adguard, and Adaway. 2021-11-04 15:40:31 -04:00
Saya47 932d83fbd8 added 1 website 2021-10-31 14:06:12 +03:30
Saya47 433cb28d16 added 1 website 2021-10-31 14:04:12 +03:30
Steven Black d367c94d2a Release 3.9.15 2021-10-27 18:19:22 -04:00
Steven Black 017c01548b Updates from URLHaus, digitalside.it, KADhosts, Adguard, and Adaway. 2021-10-27 18:19:04 -04:00
Steven Black a17811938e Issue #1798: fix: remove userapi.com subdomains. 2021-10-25 22:56:56 -04:00
Steven Black 04e312a989 Merge pull request #1795 from python-pitfalls/master
removed a manual indexer iterator pitfall from the code
2021-10-24 13:27:58 -04:00
Naelson Douglas bce4b79920 removed a manual indexer iterator pitfall from the code 2021-10-24 14:06:53 -03:00
Steven Black 12ad4d5fbf Issue 1789: fix — add two preview-domain.com subdomains. 2021-10-24 11:19:05 -04:00
Steven Black 7d8d443521 Release 3.9.14 2021-10-23 16:54:25 -04:00
Steven Black 4b5e7069b5 New release sans userapi.com root domains. 2021-10-23 16:54:06 -04:00
Steven Black 0bb9609878 Issue #1793: fix — Removing root and www domains. 2021-10-23 16:48:48 -04:00
Steven Black c2a97eef7a Reset URLHaus source URL. 2021-10-23 16:36:05 -04:00
Steven Black 708edf16c7 Release 3.9.13 2021-10-23 16:35:10 -04:00
Steven Black 41509ece31 Updates from brijrajparmar27, yoyo.org, someonewhocares.org, digitalside.it, and HostsVN. 2021-10-23 16:34:52 -04:00
Steven Black 72bb9205da URLHaus is down. Use our cache for now. 2021-10-23 16:30:30 -04:00
Steven Black f170136f2b Merge pull request #1792 from Berbe/fix/blogger
Fix: Blogger/Blogspot
2021-10-22 13:33:26 -04:00
Berbe 2d12485adb Fix: Blogger/Blogspot 2021-10-22 17:09:31 +00:00
Steven Black ec4dcc09a0 Issue #1790: fix — remove gpm.samsungqbe.com. 2021-10-20 14:02:19 -04:00
Steven Black 7540185b82 Release 3.9.12 2021-10-19 20:27:54 -04:00
Steven Black 4dad78108e Updates from brijrajparmar27, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, AdGuard, and Adaway. 2021-10-19 20:27:26 -04:00
Steven Black 57241b0e05 Add www.abc.co.bz 2021-10-19 18:04:32 -04:00
Steven Black 284fe91da2 Issue #1752: fix ± add org-upgrade.com domains. 2021-10-17 19:33:11 -04:00
Steven Black e533b373de Merge pull request #1786 from Berbe/remove/blogger
Remove: Blogger/Blogspot static content domains
2021-10-16 23:41:18 -04:00
Berbe c707b7e848 Remove: Blogger/Blogspot static content domains 2021-10-17 01:44:24 +02:00
Steven Black 869e46fceb Release 3.9.11 2021-10-14 17:36:30 -04:00
Steven Black ae31696b9b Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, and KADhosts. 2021-10-14 17:36:11 -04:00
Steven Black cb107d03b5 Release 3.9.10 2021-10-12 23:34:22 -04:00
Steven Black 618f0d3775 Updates from brijrajparmar27, yoyo.org, URLHaus, digitalside.it, metamask, KADhosts, hotsVN, and adguard. 2021-10-12 23:33:15 -04:00
Steven Black 1c9548a219 Proxy the clefspeare13 porn list until its deplatforming is settled. 2021-10-12 23:28:52 -04:00
Steven Black 9b07d2e326 Remove b-cdn.net. 2021-10-12 11:12:49 -04:00
Steven Black 0c702e4b77 Merge pull request #1780 from git-sgmoore/patch-2
Update readme_template.md - grammar fixes
2021-10-07 16:49:58 -04:00
sgmoore eb4ff5e796 Update readme_template.md - grammar fixes
Grammar fixes at lines 476 and 487
2021-10-07 08:24:16 -07:00
Steven Black 1d346c35b4 Issue #1775: fix — rogue .gitignore line removed. 2021-10-06 10:31:52 -04:00
Steven Black 3c251ca1e5 Merge pull request #1776 from Deleh/feature/nix-flake
Add Nix Flake
2021-10-06 10:05:17 -04:00
Denis Lehmann b727fd3885 Add NixOS to the 'Reloading hosts file' section 2021-10-06 09:29:25 +02:00
Steven Black 195b31ef94 Release 3.9.9 2021-10-05 22:56:25 -04:00
Steven Black 3fa0d7ea18 Updates from clefspeare13, yoyo.org, KADHosts, someonewhocares.org, digitalside.it, MetaMask, URLHaus, and AdGuard. 2021-10-05 22:55:58 -04:00
Steven Black 4a856698ab Merge pull request #1775 from XhmikosR/npm
A few npm updates
2021-10-05 22:51:59 -04:00
Denis Lehmann 471a2d41dd Move and extend NixOS section 2021-10-05 23:37:29 +02:00
Denis Lehmann 3185c957a5 Add Nix Flake 2021-10-05 13:05:26 +02:00
XhmikosR 6c585c7161 Properly disable package-lock.json 2021-10-04 21:53:20 +03:00
XhmikosR 32102d9544 Update release-it ^14.11.5 → ^14.11.6 2021-10-04 21:53:20 +03:00
Steven Black a3bdc8b71b Release 3.9.8 2021-10-03 12:03:13 -04:00
Steven Black 33b07738cb Updates from sinfonietta, clefspeare13, yoyo.org, URLHaus, digitalside.it, and KADhosts. 2021-10-03 12:00:27 -04:00
Steven Black 65e47216e7 Issue #1770: fix — add sk.mplmnt.io. 2021-10-02 12:39:45 -04:00
Steven Black 56f1d1dc3d Release 3.9.7 2021-09-30 22:03:55 -04:00
Steven Black bcfa89e7f8 Regenerate hosts and readme files. 2021-09-30 22:03:11 -04:00
Steven Black c109e935d7 Remove orca.pet from our curated sources, pending review. 2021-09-30 21:59:51 -04:00
Steven Black 755c177b7f Updates from clefspeare13, brijrajparmar27, yoyo.org, URLHaus, digitalside.it, KADHosts, and Adguard. 2021-09-30 21:57:23 -04:00
Steven Black 8f1d4f2f34 Release 3.9.6 2021-09-24 19:03:59 -04:00
Steven Black c7664c2274 Updates from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, and Adguard. 2021-09-24 19:03:34 -04:00
Steven Black 97a725524a Issue #1764 add discord-app.net. 2021-09-24 18:58:31 -04:00
Steven Black 9c6a21b65f Release 3.9.5 2021-09-17 10:27:32 -04:00
Steven Black 95549958ab Updates from Sinfonietta, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADhosts, hostsVN, Adguard, and AdAway. 2021-09-17 10:27:14 -04:00
Steven Black 96af7f4727 Issue #1762: add mmsotk.com. 2021-09-17 10:15:54 -04:00
Steven Black 9a9ca36692 Release 3.9.4 2021-09-12 13:58:44 -04:00
Steven Black 2b6fdb456b Updates from yoyo.org, URLHaus, digit8~alside.it, KADhosts, hostsVN, and Adaway. 2021-09-12 13:58:26 -04:00
Steven Black 11fc36fbaf Release 3.9.3 2021-09-07 13:56:58 -04:00
Steven Black 20e44c3148 Updates from URLHaus, orca.pet, KADhosts, hostsVN, Adguard, and AdAway. 2021-09-07 13:56:40 -04:00
Steven Black f17ce97e53 Release 3.9.2 2021-09-06 00:39:26 -04:00
Steven Black 74ab2267fd Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, KADhosts, and AdAway. 2021-09-06 00:39:09 -04:00
Steven Black c2403d7e75 Release 3.9.1 2021-09-02 13:24:42 -04:00
Steven Black 5334aefa0d Updates from brijrajparmar27, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and AdAway. 2021-09-02 13:24:21 -04:00
Steven Black df8d4ba1b5 Update release-it to version 14.11.5. 2021-08-30 18:23:35 -04:00
Steven Black 094007692a Release 3.9.0 2021-08-30 18:16:41 -04:00
Steven Black 61cbdbac9c Updates from brijrajparmar27, yoyo.org, URLHaus, KADhosts, hostsVN, Adguard, and AdAway. 2021-08-30 18:16:18 -04:00
Steven Black a3bf19e5e9 Merge pull request #1751 from brijrajparmar27/master
added brijrajparmar27 porn hosts
2021-08-30 18:11:24 -04:00
Brijrajsinh parmar 3495bf81d0 added brijrajparmar27 porn hosts 2021-08-30 22:28:15 +05:30
Steven Black 6f75f8cfe9 Merge pull request #1750 from ScriptTiger/patch-1
Add info for Hosts-BL
2021-08-28 14:01:22 -04:00
ScriptTiger 33efa05254 Update readme_template.md 2021-08-29 01:58:23 +08:00
ScriptTiger 589b1fe6c5 Add info for Hosts-BL
In response to the following issue:
https://github.com/StevenBlack/hosts/issues/1749
2021-08-29 00:57:32 +08:00
Steven Black 491e5f2dfc Release 3.8.10 2021-08-26 16:11:08 -04:00
Steven Black b1f0b9cf81 Updates from URLHaus, someonewhocares.org, KADhosts 2021-08-26 16:10:09 -04:00
Steven Black 47dae8af00 Release 3.8.9 2021-08-25 08:22:55 -04:00
Steven Black 3876cd84b4 Updates from yoyo.org, URLHaus, someonewhocares.org, orca.pet, KADhosts, and hostsVN. 2021-08-25 08:22:21 -04:00
Steven Black c35dc17cfb Update the source URL for Clefspeare13. 2021-08-25 08:19:05 -04:00
Steven Black e23366c1c7 Release 3.8.8 2021-08-20 00:59:02 -04:00
Steven Black cd87d48120 Updates from yoyo.org, URLHaus, orca.pet, KADhosts, hostsVN, Adguard, and AdAway. 2021-08-20 00:58:42 -04:00
Steven Black 47f42718fc Merge pull request #1733 from jeremehancock/patch-2
Update readme_template.md
2021-08-17 20:50:42 -04:00
Steven Black b8d5fccea1 Release 3.8.7 2021-08-17 16:28:25 -04:00
Steven Black 43916bdc5e Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosos, hostsVN, Adguard, and AdAway. 2021-08-17 16:28:08 -04:00
Jereme Hancock df85792b13 Update readme_template.md
Added Host Minder to the "Interesting Applications" section. Sorry I forgot to add it to the template file in my first PR.
2021-08-15 16:37:10 -05:00
Steven Black 687628a6c3 Add luckycrush popup. 2021-08-11 12:18:32 -04:00
Steven Black 97b11505b3 Merge pull request #1729 from Warrentheo/master
Updated Windows batch file to pass arguments to python script...
2021-08-10 12:53:56 -04:00
Warrentheo 7ef93611e4 Updated Windows batch file to pass arguments to python script...
Updated Windows batch file to pass arguments to python script...
2021-08-09 14:17:35 -06:00
Steven Black b4bcdc8a92 Release 3.8.6 2021-08-09 10:37:02 -04:00
Steven Black 5c47b168d1 updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, Adguard, and AdAway. 2021-08-09 10:36:37 -04:00
Steven Black e22343e9da issue #1725: add three more ucweb.com domains. 2021-08-08 12:37:47 -04:00
Steven Black f929591bd6 Release 3.8.5 2021-08-02 11:17:54 -04:00
Steven Black 20ce5dab79 Updates from yoyo.org, ULRHaus, someonewhocares.org, shady-hosts, digitalside.it, KADhosts, hostsVN, Adguard, and AdAway. 2021-08-02 11:17:33 -04:00
Steven Black 392fddc9c6 Issue #1722: fix — add LemonDuck and LemonCat domains. 2021-08-02 11:00:52 -04:00
Steven Black 9d6508546d Fix comment in my ad-hoc hosts list. 2021-07-29 13:51:57 -04:00
Steven Black 16f297b992 Gentle edits to the readme template. 2021-07-29 13:51:03 -04:00
Steven Black 47a4b23351 Release 3.8.4 2021-07-29 13:38:20 -04:00
Steven Black 9435305ee7 Updates from yoyo.org, URLHaus, digitalside.it, orca.pet, KADhosts, hostsVN, and Adaway. 2021-07-29 13:36:53 -04:00
Steven Black 22cb856d7a Issue #1721: add new domains from Bitdefender. 2021-07-29 13:32:53 -04:00
Steven Black e1b208b9ba Release 3.8.3 2021-07-26 23:14:36 -04:00
Steven Black da493216d5 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, and hostsVN. 2021-07-26 23:14:04 -04:00
Steven Black 3779940907 Release 3.8.2 2021-07-19 12:19:12 -04:00
Steven Black cc5023c042 Updates from URLhaus, UncheckyAds, digitalside.it, KADhosts, nostsVN, AdGuard, add.Spam, add.Risk, and add.Dead. 2021-07-19 12:18:51 -04:00
Steven Black 1af14dbc19 Release 3.8.1 2021-07-18 11:49:53 -04:00
Steven Black c09616db65 updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, and AdAway. 2021-07-18 11:49:30 -04:00
Steven Black 16b732e3d8 Release 3.8.0 2021-07-13 22:23:46 -04:00
Steven Black 4cf04b9e2b Updates from youo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADHosts, nostsVN, and AdGuard. 2021-07-13 22:23:21 -04:00
Steven Black a6c7f1f838 Merge pull request #1709 from funilrys/issue-1687
Fix whitelisting issue when RAW list are given
2021-07-13 22:19:35 -04:00
funilrys 4f6ddfaab8 Blacking. 2021-07-13 20:14:25 +02:00
funilrys 6299aebe61 Fix whitelisting issue when RAW list are given.
This patch fixes #1687.

Indeed, before this patch, the whitelisting of a RAW/Plain list of domain
was overlooked.
2021-07-13 20:11:28 +02:00
Steven Black 52d759a680 Release 3.7.13 2021-07-04 14:09:27 -04:00
Steven Black cfb18f4cd3 Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADhosts, and Adaway. 2021-07-04 14:09:03 -04:00
Steven Black 71d4fc0d25 Release 3.7.12 2021-07-01 13:58:48 -04:00
Steven Black 1164db81ca Updates from yoyo.org, URLHaus, digitalside.it, KADHosts, and AdAway. 2021-07-01 13:58:31 -04:00
Steven Black 7f97ee0bbd Merge pull request #1700 from ProgramComputer/patch-1
Update hosts
2021-07-01 13:07:22 -04:00
Paul a8d4a6b2fd Update hosts 2021-06-30 17:13:27 -05:00
Steven Black 1c5c2dc676 Issue ##1699 — add Chase Bank scam domains. 2021-06-30 16:45:17 -04:00
Steven Black faed7b300f Release 3.7.11 2021-06-28 10:26:39 -04:00
Steven Black f69ec27dc4 Updates from yoyo.org, URLHaus, digitalside.it, orca.pet, KADhosts, hostsVN, Adguard, and AdAway. 2021-06-28 10:26:10 -04:00
Steven Black 926b3ca967 Merge pull request #1694 from FadeMind/patch-1
whynotwin11.com
2021-06-28 09:26:46 -04:00
FadeMind a5e20414db add Title to data/StevenBlack/hosts
provide title for ublock origin usage
2021-06-28 09:38:23 +02:00
FadeMind 78dd986279 whynotwin11.com 2021-06-28 08:04:21 +02:00
Steven Black 150d84202d Issue #1692: add dealabs.digidip.net. 2021-06-27 12:04:47 -04:00
Steven Black 2beb1050cc Release 3.7.10 2021-06-22 20:28:45 -04:00
Steven Black 8da7e542e5 Updates from yoyo.org, URLHaus, digitalside.it, KADHosts, Adguard, and AdAway. 2021-06-22 20:28:28 -04:00
Steven Black e9c636cf42 Add coinjoin.io. 2021-06-22 17:42:54 -04:00
Steven Black 2512291d86 Add google analytics domains from https://github.com/lightswitch05/hosts/issues/287 2021-06-17 16:23:34 -04:00
Steven Black bc45e3fb99 Release 3.7.9 2021-06-16 23:57:10 -04:00
Steven Black 89dcee98bd Updates from clefspeare13, yoyo.org, URLHaus, tiuxo, someonewhocares.org, digitalside.it, orca.pet, KADhosts, hostsVN, AdGuard, and Adaway. 2021-06-16 23:56:51 -04:00
Steven Black 2c24227ea1 Issue #1678 — add s.clcktrax.com. 2021-06-16 23:44:42 -04:00
Steven Black 9cca4f1506 Issue #1679 — add c.hrzn-nxt.com. 2021-06-16 23:40:45 -04:00
Steven Black 36e7022307 Issue #1675 — add vlitag.com domains. 2021-06-16 23:34:38 -04:00
Steven Black f67b8cfcec Issue #1683 — add gmial.com domains. 2021-06-16 23:24:24 -04:00
Steven Black c74ad7c588 Release 3.7.8 2021-06-07 09:37:05 -04:00
Steven Black 723f0ac68d Updates from yoyo.org, URLHaus, digitalside.it, orca.pet, KADhosts, hostsVN, Adguard, and Adaway. 2021-06-07 09:36:39 -04:00
Steven Black badb91ba78 Merge pull request #1676 from DandelionSprout/patch-1
Ran PyFunceble on «Steven Black's ad-hoc list»; ~42% of the domains are dead or down
2021-06-07 09:27:37 -04:00
Imre Kristoffer Eilertsen 35860c801a Ran PyFunceble on this list 2021-06-03 21:39:17 +02:00
Steven Black 433049d905 Release 3.7.7 2021-05-31 12:03:18 -04:00
Steven Black 70884b069e Updates from yoyo.org, URLHaus, someonewhocares.org, shady-hosts, digitalside.it, orca.pet, KADhosts, Adguard, and AdAway. 2021-05-31 12:02:57 -04:00
Steven Black a6d995d94d Issue 1672: add speakol.com domains. 2021-05-31 11:56:13 -04:00
Steven Black 8b677f273d Release 3.7.6 2021-05-25 12:52:27 -04:00
Steven Black 80a049b36d Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADhosts, adguard, and AdAway. 2021-05-25 12:51:56 -04:00
Steven Black c4f7936057 Merge pull request #1665 from SageBrushes/patch-1
remove JW Player entries
2021-05-25 12:44:05 -04:00
SageBrushes 8da1f68409 Removed JW Player entries
The JW Player entries below are not used to serve ads, but video content on the JW platform. While it is possible for a video ad creative to be served by the JW platform,  it is not a major use-case of the JW platform  and should not be included in an ad blocker.

0.0.0.0 videos-cloudflare.jwpsrv.com  # video ads
0.0.0.0 videos-fms.jwpsrv.com  # video ads
2021-05-25 11:29:41 -04:00
Steven Black ad34acf46b Release 3.7.5 2021-05-22 10:50:16 -04:00
Steven Black bd72b10add Updates from yoyo.org, URLHaus, digitalside.it, orca.pet, KADHosts, and AdAway. 2021-05-22 10:49:42 -04:00
Steven Black 7ad72d7615 Added from Issue #1661. 2021-05-22 10:38:50 -04:00
Steven Black b96b4b596c Issue #1646: add two domains. 2021-05-22 10:36:09 -04:00
Steven Black 74606d0545 Release 3.7.4 2021-05-17 15:05:33 -04:00
Steven Black dcc468f7f2 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADHosts, Adguard, and AdAway. 2021-05-17 15:05:12 -04:00
Steven Black ce669d0591 Release 3.7.3 2021-05-15 23:22:02 -04:00
Steven Black 18f1298eb7 Updated from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, and KADhosts. 2021-05-15 23:20:11 -04:00
Steven Black cd011f88f6 Release 3.7.2 2021-05-12 09:24:58 -04:00
Steven Black fda33828bd Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADhosts, hostsVN, Badd-Boyz, and Adguard. 2021-05-12 09:24:39 -04:00
Steven Black 9cd1d30dec Add urgente.eu. 2021-05-12 09:14:28 -04:00
Steven Black 63fb683ca6 Issue #1643: Fix typo im host file comment. 2021-05-10 11:47:07 -04:00
Steven Black f974eb031a Issue #1643: fix — add 28 .cn domains from ookangzheng-blacklist-cname. 2021-05-10 00:04:03 -04:00
Steven Black e0487c132b Updates from URLHaus, and regenerate the readme files. 2021-05-06 15:56:17 -04:00
Steven Black c2ceaa1721 Move the new Windows-related text and make it a subpart of the previous section. 2021-05-06 15:54:45 -04:00
Steven Black 567590f914 Remove separator line, which isn't needed. 2021-05-06 15:52:39 -04:00
Steven Black b933b7dc3f Release 3.7.1 2021-05-06 15:51:28 -04:00
Steven Black 60daf1b4ea Updates from yoyo.org, URLHaus, orca.pet, and KADhosts. 2021-05-06 15:51:08 -04:00
Steven Black 84a9a2fbe3 Soft edits to the Windows instructions in the readme. 2021-05-06 15:49:14 -04:00
Steven Black 18b6f49b0c Merge pull request #1640 from FadeMind/patch-1121
add disable-dnscache-service-win.cmd
2021-05-06 13:27:21 -04:00
FadeMind 94dacdc288 readme_template.md dnscache notice 2021-05-06 19:10:01 +02:00
FadeMind 9d8a4f0597 add disable-dnscache-service-win.cmd 2021-05-06 18:09:37 +02:00
Steven Black 30128036d3 Release 3.7.0 2021-05-06 09:25:12 -04:00
Steven Black 27213aebbd Add minecraft-hosts list. 2021-05-06 09:24:51 -04:00
Steven Black 58ed572ba7 Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, and hostsVN. 2021-05-06 09:24:19 -04:00
Steven Black 40c5d2806d Merge pull request #1639 from jamierocks/minecraft-hosts
Add minecraft-hosts tracking domains
2021-05-06 09:20:20 -04:00
Jamie Mansfield 4a6715f035 Add minecraft-hosts tracking domains 2021-05-06 10:57:56 +01:00
Steven Black cc382ca70f Release 3.6.11 2021-05-05 15:19:47 -04:00
Steven Black b4b611e55a Updates from KADhosts, URLHaus, digitalside.it, and Adaway. 2021-05-05 15:19:29 -04:00
Steven Black 36ebe82fe0 Release 3.6.10 2021-05-04 23:36:40 -04:00
Steven Black 628ef5ef74 Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADHosts, hostsVN, Badd-Boyz, and Adguard. 2021-05-04 23:36:22 -04:00
Steven Black 708fc8ad43 Issue #1635: add docs.pipenv.org. 2021-05-04 13:42:25 -04:00
Steven Black b7f0f0a8aa Release 3.6.9 2021-05-01 09:56:29 -04:00
Steven Black 143761d99b Updates from yoyo.org, URLHaus, digitalside.it, and KADhosts. 2021-05-01 09:56:03 -04:00
Steven Black 4f32220ea6 Merge pull request #1633 from PromoFaux/tweak/readme_template
Remove dead link (alt to #1632)
2021-05-01 09:34:52 -04:00
Adam Warner 189e5b0551 Dead link - this is no longer an officially endorsed product
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-05-01 10:58:05 +01:00
Steven Black 037f143f2d Release 3.6.8 2021-04-29 19:53:38 -04:00
Steven Black 122360c1c9 Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, and hostsVN. 2021-04-29 19:53:21 -04:00
Steven Black 97766531df Issue #1631: added 4 new domains. 2021-04-29 19:49:22 -04:00
Steven Black 19302c4975 Merge pull request #1629 from XhmikosR/patch-1
Fix URLHaus/update.json
2021-04-27 10:35:23 -04:00
XhmikosR b813657131 Fix URLHaus/update.json 2021-04-27 15:47:29 +03:00
Steven Black 13f9433284 Release 3.6.7 2021-04-26 18:03:12 -04:00
Steven Black 560e40c1e5 Updates from URLHaus, and KADhost. 2021-04-26 18:00:29 -04:00
Steven Black 8804c324a2 Issue #1628: fix — re-add URLHaus. 2021-04-26 17:58:26 -04:00
Steven Black 023eb7faa7 Issue #1628: fix — parse out @ characters from lists. 2021-04-26 17:55:39 -04:00
Steven Black 2b167dcce8 Better name for is_valid_user_provided_domain_format. 2021-04-26 17:08:38 -04:00
Steven Black 1d515c1de3 Standardize the exclusionregexs symbol. 2021-04-26 16:39:07 -04:00
Steven Black f87007cc61 Release 3.6.6 2021-04-26 12:46:46 -04:00
Steven Black 0a022ab381 Updates from yoyo.org, digitalside.it, KADhosts, and Adguard. 2021-04-26 12:46:28 -04:00
Steven Black 783764d0b4 Issue #1628: fix — temporarily drop URLHaus due to formatting issues. 2021-04-26 12:44:06 -04:00
Steven Black 227c83fbdf Release 3.6.5 2021-04-24 12:03:02 -04:00
Steven Black 8c24637605 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADhosts, hostsVN, Badd-Boyz, Adguard, and AdAway. 2021-04-24 12:02:39 -04:00
Steven Black 33823d682c Release 3.6.4 2021-04-19 23:49:08 -04:00
Steven Black e58b6f2cff Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADHosts, hostsVN, Badd-Boyz, Adguard, and Adaway. 2021-04-19 23:48:24 -04:00
Steven Black c202dbda75 Release 3.6.3 2021-04-13 10:10:21 -04:00
Steven Black 3753195d75 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADHosts, hostsVN, Badd-Boyz, and AdAway. 2021-04-13 10:09:39 -04:00
Steven Black cdbcd45689 Release 3.6.2 2021-04-09 13:23:30 -04:00
Steven Black 4dbe23da78 Updates from yoyo.org, URLHaus, someonewhocares.org, gigitalside.it, orca.pet, KADhosts, , Badd-Boyz, and AdAway. 2021-04-09 13:23:10 -04:00
Steven Black 358526ed78 Release 3.6.1 2021-04-04 21:14:48 -04:00
Steven Black 66a7f9b2c6 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADhosts, Badd-Boyz, and AdAway. 2021-04-04 21:14:22 -04:00
Steven Black 777ffdea9d Issue #1591: Add domains from this issue. 2021-04-02 19:47:34 -04:00
Steven Black 65a12dcfa2 Release 3.6.0 2021-03-31 16:02:05 -04:00
Steven Black b7b29261db Updates from URLHaus, someonewhocares.org, shady-hosts, digitalside.it, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2021-03-31 16:01:37 -04:00
Steven Black 2b29fa67b5 @StevenBlack Issue #1563: fix — add hosts file from AdguardTeam cname-trackers. 2021-03-31 15:58:36 -04:00
Steven Black 5f5db225c9 Issue #1563: fix — new data subfolder for AdguardTeam cname trackers 2021-03-31 15:56:04 -04:00
Steven Black 71a7b2be4a Merge pull request #1588 from funilrys/support-raw
Introduction of the support of RAW lines/sources
2021-03-31 15:45:00 -04:00
funilrys d3c34ed854 Add black recommended configuration. 2021-03-31 14:58:18 +02:00
funilrys 4b1a939668 Apply black+isort 2021-03-31 14:57:56 +02:00
funilrys 7971a0cbc9 Introduction of the support of RAW lines.
This patch fixes https://github.com/StevenBlack/hosts/issues/1563#issuecomment-810688754

Indeed, before this patch, the updater was not supporting a RAW (not
hosts) list of domains as input.

Changes:

    matches_exclusions():
        (new) Support for rule formatted as 'example.com' along with
              the pre-existing '0.0.0.0 example.com'.

    normalize_rule():
        (edit) Apply DRY.

        (new) Support the normalization of the rule formatted as
              'example.com' along with the pre-existing '0.0.0.0
              example.com'.

    strip_rule():
        (new) Complete rewrite in order to strip all possible lines.
2021-03-31 14:53:22 +02:00
Steven Black 261acf1dfa Release 3.5.3 2021-03-28 17:07:02 -04:00
Steven Black 6e92030388 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet, KADhosts, hostsVN, Badd-Boyz. 2021-03-28 17:06:28 -04:00
Steven Black ab40f585ed Merge pull request #1581 from esadkrs/master
Happy New Year
2021-03-23 09:52:03 -04:00
esadkrs 8d805df2b2 Happy New Year 2021-03-23 00:08:02 -04:00
Steven Black 0977726aa3 Release 3.5.2 2021-03-21 22:56:21 -04:00
Steven Black 470308d391 Updates from yoyo.org, URLHaus, shady-hosts.com, digitalside.it, orca.pet, KADHosts, hostsVN, and Badd-Boyz. 2021-03-21 22:56:03 -04:00
Steven Black 8a6d3f49e3 Release 3.5.1 2021-03-16 11:55:34 -04:00
Steven Black 385e7de3da Updates from clefspeare13, yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2021-03-16 11:55:16 -04:00
Steven Black 54ccdaa119 Merge pull request #1577 from FadeMind/patch-1
ADD facilitategovernor.com
2021-03-15 16:22:30 -04:00
FadeMind 22d1a77116 ADD variants facilitategovernor.com 2021-03-15 20:54:37 +01:00
FadeMind 1dfd397901 ADD facilitategovernor.com
Annoying lots of popups with this domain. Default blocked by ESET.
2021-03-15 12:53:26 +01:00
Steven Black 76ea58a705 Release 3.5.0 2021-03-10 21:13:10 -05:00
Steven Black 8bf7c52923 Updates from MetaMask, URLHaus, digitalside.it, KADhosts, and AdAway. 2021-03-10 21:12:41 -05:00
Steven Black 0d740f4f33 Issue #1418: fix the metabask raw hosts url. 2021-03-10 21:09:48 -05:00
Steven Black 8f49b0667a Merge pull request #1570 from StevenBlack/metamask.inclusion
Issue #1418: prepare for inclusion of MetaMask/eth-phishing-detect into the base list.
2021-03-10 21:03:20 -05:00
Steven Black f002fb33a3 Issue #1418: prepare for inclusion of MetaMask/eth-phishing-detect into the base list. 2021-03-10 00:43:20 -05:00
Steven Black e38b2f4ac7 Release 3.4.6 2021-03-09 14:37:59 -05:00
Steven Black 81bd99cb19 Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, orca.pet. KADhosts, hostsVN, Badd-Boyz, and AdAway. 2021-03-09 14:37:42 -05:00
Steven Black f790da9067 Release 3.4.5 2021-03-06 17:51:42 -05:00
Steven Black 82c18786de Updates from yoyo.org, URLHaus, someonewhocares.org, shady-hosts, digitalside.it, orca.pet, mvps.org, KADHosts, hostsVN, Badd-Boyz, add.risk, and AddAway. 2021-03-06 17:51:15 -05:00
Steven Black df10691d81 Release 3.4.4 2021-02-28 14:27:59 -05:00
Steven Black d2be343994 Updates from URLHaus, digitalside.it, KADhosts, hostsVN, and Badd-Boyz. 2021-02-28 14:27:41 -05:00
Steven Black 16070f1a77 Issue #1559 — add scam phish site. 2021-02-28 13:54:55 -05:00
Steven Black c4df4ceb28 Release 3.4.3 2021-02-26 11:12:34 -05:00
Steven Black eff4dbe62e Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, Badd-Boyz, and AdAway. 2021-02-26 11:12:15 -05:00
Steven Black 1485491816 Issue #1558: add new hosts. 2021-02-26 11:02:51 -05:00
Steven Black 99f3890c2f Release 3.4.2 2021-02-22 09:15:37 -05:00
Steven Black 6aa31cb4ad Updates from URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, and Badd-Boyz. 2021-02-22 09:15:10 -05:00
Steven Black b8c1ead93f Release 3.4.1 2021-02-21 18:15:00 -05:00
Steven Black d4fd41f558 Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, orca.pet, KADHosts, and hostsVN.
Holding off on publishing Badd-Boyz' latest update.  See https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues/85
2021-02-21 18:14:19 -05:00
Steven Black 23097a29af Release 3.4.0 2021-02-16 17:50:52 -05:00
Steven Black cbf8924292 Updates from clefspeare, yoyo.org, URLHaus, someonewhocares.org, gigitalside.it, KADhosts, Badd-Boyz, AdAway, and introducing orca.pet. 2021-02-16 17:50:13 -05:00
Steven Black 5fe1f0c874 Issue #1439: Add the orca.pet “Not On My Shift” curated source, maintained by @socram8888 2021-02-16 17:45:45 -05:00
Steven Black f4e7733873 Release 3.3.14 2021-02-14 17:03:48 -05:00
Steven Black 3c38a5f666 Updates from yoyo.org, sinfonietta, someonewhocares.org, shady-hosts, digitalside.it, KADhosts, Badd-Boyz, and AdAway. 2021-02-14 17:03:25 -05:00
Steven Black f5790a9017 Release 3.3.13 2021-02-09 10:31:22 -05:00
Steven Black b1ab45ebdf Updates from URLHaus, someonewhocares.org, digitalside, and KADhosts. 2021-02-09 10:31:06 -05:00
Steven Black 3be28f5986 Issue #1536: add vkcache dot com. 2021-02-09 10:15:56 -05:00
Steven Black 72fd592e61 Fix typo I introduced in commit cba09a9cbf. 2021-02-09 09:53:46 -05:00
Steven Black 6f0edd6767 Release 3.3.12 2021-02-08 16:09:42 -05:00
Steven Black b0edd803fc Updated from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2021-02-08 16:09:21 -05:00
Steven Black c6c6cb4463 Merge pull request #1529 from XhmikosR/patch-1
Update CI config
2021-02-07 14:11:43 -05:00
Steven Black fd783d4551 Merge pull request #1530 from XhmikosR/patch-2
readme_template: link to the master actions
2021-02-07 14:10:51 -05:00
XhmikosR 649034d269 readme_template: link to the master actions 2021-02-06 17:15:06 +02:00
XhmikosR cbeadb1e2b Update CI config
* remove unneeded `CI: true` env var since it's already set by the runner
* update to `actions/setup-python@v2`
* remove `x64` architecture since it's the default
2021-02-06 17:06:48 +02:00
Steven Black cba09a9cbf Added hosts from https://supunkavinda.blog/disqus article (Disqus). 2021-02-05 10:02:29 -05:00
Steven Black 963c0def7e Release 3.3.11 2021-02-03 13:45:35 -05:00
Steven Black 3f7e0b6b9a Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, and AdAway. 2021-02-03 13:45:15 -05:00
Steven Black 6f15c4a81a Release 3.3.10 2021-02-02 10:08:18 -05:00
Steven Black 423cda56f0 Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, HostsVN, and Badd-Boyz. 2021-02-02 10:07:58 -05:00
Steven Black 26704e1b29 Issue #1522 add eu1-spiky.wzrkt.com. 2021-02-02 09:45:35 -05:00
Steven Black 17915dc98e Release 3.3.9 2021-01-31 13:29:59 -05:00
Steven Black 840ee7d5be Updates from URLHaus, shady-hosts, digitalside.it, KADhosts, hostsVN, Badd-Boyz, and add.Risk. 2021-01-31 13:29:38 -05:00
Steven Black 6bf1f000d6 Merge pull request #1515 from nalekberov/master
Add adviad.com domain
2021-01-29 10:26:48 -05:00
Nurlan Alakbarov 725f977d04 Remove main domain adviad.com 2021-01-29 08:00:08 +01:00
Nurlan Alakbarov 54be8d0be7 Add subdomains for adviad.com 2021-01-27 20:27:41 +01:00
Nurlan Alakbarov 5a1b192fcd Add adviad.com 2021-01-27 14:23:38 +01:00
Steven Black 62d6b8c6cd Release 3.3.8 2021-01-24 16:05:00 -05:00
Steven Black 3c50aed4ed Updates from URLHaus, digitalside.it, and KADHosts. 2021-01-24 16:04:44 -05:00
Steven Black 7ac09a4f4d Release 3.3.7 2021-01-23 20:18:55 -05:00
Steven Black a4e722bf57 Add a bunch of livejasmin domains. 2021-01-23 20:17:32 -05:00
Steven Black 642e3d1b6a Addendum to commit 54a3d647 — three more domains. 2021-01-23 10:23:13 -05:00
Steven Black 3418ef2cf3 Addendum to comit 5a500b1f16, add two more domains. 2021-01-23 09:47:19 -05:00
Steven Black 69909796ec Release 3.3.6 2021-01-22 21:53:50 -05:00
Steven Black 72233bbbec Refresh readme files, and regenerate hosts files. 2021-01-22 21:53:32 -05:00
Steven Black a946fb96c8 Minor edits to the readme_template. 2021-01-22 21:51:26 -05:00
Steven Black 84e4dc1e0b The Python 3.5+ constraint is now mentioned only under 'Generate your own...' 2021-01-22 21:45:51 -05:00
Steven Black 5c38598d2d Sort my own list just the way I like it. 2021-01-22 21:38:34 -05:00
Steven Black ee3bf86a36 Release 3.3.5 2021-01-22 21:27:59 -05:00
Steven Black e3505409a3 Updates from yoyo.org, URLHaus, someonewhocares.org, shady-hosts, digitalside.it, and KADHosts. 2021-01-22 21:27:29 -05:00
Steven Black 5a500b1f16 Add two pop-under domains. 2021-01-22 16:27:27 -05:00
Steven Black 54a3d64743 Add creative.alxbgo.com. 2021-01-22 16:25:27 -05:00
Steven Black 140beebcb5 Merge pull request #1508 from FadeMind/patch-3
Adware domain: resumersvo.fun
2021-01-19 22:45:07 -05:00
FadeMind e1fbf7cd5f Adware domain: lismcanalys.fun 2021-01-19 15:58:29 +01:00
FadeMind b384f3d324 Adware domain: resumersvo.fun
Adware domain. Blocked in default by ESET.
2021-01-19 15:49:48 +01:00
Steven Black 82685dc144 Release 3.3.4 2021-01-17 17:45:24 -05:00
Steven Black 46ff6ae276 Updates from AdAway, hostsVN, KADhosts, digitalside.it, someonewhocares.org, URLHaus, and youo.org. 2021-01-17 17:44:53 -05:00
Steven Black 90eb6858cb Release 3.3.3 2021-01-12 12:58:11 -05:00
Steven Black bfa3607c29 Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADhosts, hostsVN, and AdAway. 2021-01-12 12:57:48 -05:00
Steven Black 186c6aca5f Bump release-it to version 14.2.2. 2021-01-06 22:55:30 -05:00
Steven Black b840587775 Release 3.3.2 2021-01-05 15:39:43 -05:00
Steven Black 885d870134 Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADhosts, hostsVN, and Badd-Boyz. 2021-01-05 15:39:20 -05:00
Steven Black 91b65a8b79 Release 3.3.1 2021-01-02 17:33:11 -05:00
Steven Black db488f56f9 Updates from yoyo.org, URLHaus, shady-hosts, digitalside.it, KADhosts, and badd-boyz. 2021-01-02 17:32:51 -05:00
Steven Black 15ea6d0f6d Release 3.3.0 2020-12-31 14:23:18 -05:00
Steven Black 0cee7eb988 Updates from shady-hosts, URLHaus, digitalside.it, KADHosts, HostsVN, Badd-Boyz, and AdAway. 2020-12-31 14:22:49 -05:00
Steven Black 0692e44515 New locator for KADHosts. 2020-12-31 14:19:09 -05:00
Steven Black 69ea323cf6 Merge pull request #1492 from shreyasminocha/shady-hosts
Add source shady-hosts
2020-12-31 13:54:42 -05:00
Shreyas Minocha a3abfc86d6 Move shady-hosts to GitHub 2021-01-01 00:12:55 +05:30
Shreyas Minocha 626711d2ba Issue #1491: add shady-hosts source to the repo. 2020-12-31 21:51:17 +05:30
Steven Black 56f6051c2e Release 3.2.13 2020-12-26 18:52:23 -05:00
Steven Black 1f52e1fd6e Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADHosts, and BaddBoyz. 2020-12-26 18:49:48 -05:00
Steven Black a204d5a1e9 Merge pull request #1486 from timgates42/bugfix_typo_separator
docs: fix simple typo, seprator -> separator
2020-12-22 00:26:06 -05:00
Tim Gates f6d8977748 docs: fix simple typo, seprator -> separator
There is a small typo in testUpdateHostsFile.py.

Should read `separator` rather than `seprator`.
2020-12-22 08:16:04 +11:00
Steven Black 458804c51c Upgrade the congratulations on merging message to first time contributors. 2020-12-19 18:05:19 -05:00
Steven Black 2741273b20 Release 3.2.12 2020-12-19 13:42:23 -05:00
Steven Black 38ab6803b0 Updates from yoyo.org, URLHaus, digitalside.it, mvps.org, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-12-19 13:42:05 -05:00
Steven Black 575813f15f Merge pull request #1485 from Lateralus138/master
Added BlackHosts link to the "Interesting Applications" section
2020-12-19 00:15:01 -05:00
Ian Pride 92ffe9fc14 Added BlackHosts link to the "Interesting Applications" section
Hope someone gets good use of this!
2020-12-18 23:00:47 -06:00
Steven Black b19a01ef73 Release 3.2.11 2020-12-14 11:27:52 -05:00
Steven Black bee8521bc6 Updates from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, KADhosts, Badd-Boyz, and AdAway. 2020-12-14 11:27:35 -05:00
Steven Black 5e4813cf9b Add osint.digitalside.it source to the repo.
Ref: https://github.com/StevenBlack/hosts/commit/9b412a7cbfd726faed9019c27f660b15972598b1
2020-12-14 11:19:20 -05:00
Steven Black 69fa29ffaa Release 3.2.10 2020-12-09 01:18:59 -05:00
Steven Black 5e6f3d86b6 updates from yoyo.org, URLHaus, tiuxo, someonewhocares.org, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-12-09 01:18:27 -05:00
Steven Black b553a9f7fc Release 3.2.9 2020-12-02 14:22:03 -05:00
Steven Black 2595829922 Updates from yoyo.org, URLHaus, KADHosts, hostsVN, and AdAway. 2020-12-02 14:21:39 -05:00
Steven Black 9b412a7cbf Remove osint.digitalside.it from this repo. 2020-12-02 14:18:46 -05:00
Steven Black 80b0ee1c4c Release 3.2.8 2020-11-28 23:37:07 -05:00
Steven Black 1b62b56d99 Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, Badd-Boyz, and AdAway. 2020-11-28 23:36:49 -05:00
Steven Black aa377ddd14 Release 3.2.7 2020-11-25 17:12:09 -05:00
Steven Black dfb50bf3cf Updates from clefspeare, yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, and AdAway. 2020-11-25 17:11:47 -05:00
Steven Black 420113fb8d Bump release-it to v.14.2.1. 2020-11-22 12:23:55 -05:00
Steven Black e1af4f45d9 Release 3.2.6 2020-11-22 12:22:58 -05:00
Steven Black f6a45ec8a2 Updates from yoyo.org, URLHaus, someovewhocares.org, digitalside.it, KADhost, hostsVN, and AdAway. 2020-11-22 12:22:40 -05:00
Steven Black 7846075c25 Issue #1466: add pamsg.online. 2020-11-22 12:12:32 -05:00
Steven Black 5c614ca1d8 Release 3.2.5 2020-11-19 09:20:54 -05:00
Steven Black 5c058ce332 Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-11-19 09:20:34 -05:00
Steven Black ee8868cb65 Release 3.2.4 2020-11-19 09:15:42 -05:00
Steven Black d9273762bf Issue #1465: add opengapps.com. 2020-11-19 09:14:45 -05:00
Steven Black 88ca32af94 Release 3.2.3 2020-11-16 14:09:42 -05:00
Steven Black 372c65f703 Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, and AdAway. 2020-11-16 14:09:11 -05:00
Steven Black 2e115c35d2 Issue #1463: fix — remove problem domain. 2020-11-16 14:00:18 -05:00
Steven Black 43ac279435 Release 3.2.2 2020-11-15 13:44:59 -05:00
Steven Black e200e600d5 Updates from URLHaus, digitalside.it, KADhosts, Badd-Boyz, and AdAway. 2020-11-15 13:44:41 -05:00
Steven Black de32eb3d33 Issue #1463: fix — add diacritics.com subdomains. 2020-11-15 13:35:04 -05:00
Steven Black af9cc115a9 Issue #1464: fix — force a new line prior to the End comment statement. 2020-11-15 13:32:36 -05:00
Steven Black ac175ae7ac Release 3.2.1 2020-11-14 11:05:33 -05:00
Steven Black 048e83221b Updates from clefspeare13, yoyo.org, URLHaus, digitalside.it, KADhosts, and AdAway. 2020-11-14 11:05:14 -05:00
Steven Black 8d617d299e Release 3.2.0 2020-11-10 15:18:46 -05:00
Steven Black f6f5a6c6a6 Updates from URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, and AdAway. 2020-11-10 15:18:19 -05:00
Steven Black 91b00d9ff7 Issues #1455, #1403, #1367 and others: remove malwaredomainlist from the repo. 2020-11-10 15:12:06 -05:00
Steven Black 193c668aeb Release 3.1.5 2020-11-08 20:42:54 -05:00
Steven Black 881fa64e6d Updates from yoyo.org, URLHaus, tiuxo, someonewhocares.org, digitalside.it, KADhosts, and AdAway. 2020-11-08 20:40:41 -05:00
Steven Black b72648459c Release 3.1.4 2020-11-03 10:55:45 -05:00
Steven Black bc05e49afa Updates from yoyo.org, URLHaus, digitalside.it, KADhosts, hostsVN, and AdAway. 2020-11-03 10:55:25 -05:00
Steven Black e90044563d Release 3.1.3 2020-11-01 15:42:07 -05:00
Steven Black 59d57e910d Updates from yoyo.org, URLHaus, someonewhocares.org, digitalside.it, KADhosts, hostsVN, and AdAway. 2020-11-01 15:41:21 -05:00
Steven Black f109912442 Remove inactive domains. 2020-11-01 15:30:08 -05:00
Steven Black 833e3f8ef5 Merge pull request #1446 from XhmikosR/patch-2
Create codeql-analysis.yml
2020-10-31 16:34:23 -04:00
Steven Black 38abfff268 Merge pull request #1445 from XhmikosR/patch-1
CI: add Python 3.9
2020-10-31 16:29:57 -04:00
XhmikosR dea68fc51d Create codeql-analysis.yml 2020-10-31 18:58:49 +02:00
XhmikosR c95763d3e1 CI: add Python 3.9 2020-10-31 18:38:40 +02:00
Steven Black 422ce949c7 Bump release-it package to v14.2. 2020-10-29 10:52:36 -04:00
Steven Black bc0b418251 Release 3.1.2 2020-10-29 10:51:18 -04:00
Steven Black b5da9af576 Updates from clefspeare13, fakenews, yoyo.org, URLHaus, someonewhocares.org, digitalside, mvps.org, KADhosts, hostsVN, and Badd-Boyz. 2020-10-29 10:50:43 -04:00
Steven Black 1cd35b6c75 Issue #1437: add gameads.io domains. 2020-10-23 15:00:12 -04:00
Steven Black b021448cfe Reapply the commit for Issue #1433. 2020-10-20 11:41:39 -04:00
Steven Black 079471f39a Release 3.1.1 2020-10-19 19:54:09 -04:00
Steven Black d8591c3294 Updates from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, KADHosts, Badd-Boyz, and AdAway. 2020-10-19 19:53:35 -04:00
Steven Black d06c30d05f Issue #1433: add four new hosts. 2020-10-19 19:41:32 -04:00
Steven Black 69a95807e4 Merge pull request #1434 from FadeMind/master
ADD:osint.digitalside.it
2020-10-19 19:15:00 -04:00
fademind e774b39101 ADD:osint.digitalside.it 2020-10-19 13:48:51 +02:00
Steven Black 750faf4b12 Release 3.1.0 2020-10-14 23:20:36 -04:00
Steven Black 6547447448 Updates from clefspeare13, yoyo.org, URLHaus, KADhosts, Badd-Boyz, and AdAway. 2020-10-14 23:19:59 -04:00
Steven Black babe52a977 Update the readme_template with Docker instructions. 2020-10-14 23:14:47 -04:00
Steven Black 9fcac05480 Change the WORKDIR after the git clone step. 2020-10-13 23:53:15 -04:00
Steven Black cce7894b3a Add some basic run instructions (comments) in the Dockerfile 2020-10-13 23:44:32 -04:00
Steven Black aef9829fd7 Add a first-pass Dockerfile. 2020-10-13 23:36:40 -04:00
Steven Black e772566dc3 Release 3.0.7 2020-10-13 21:25:25 -04:00
Steven Black 0d2f7da5d5 Updates from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Badd-Boyz. 2020-10-13 21:25:08 -04:00
Steven Black 5a5016ab5b Release 3.0.6 2020-10-08 23:53:18 -04:00
Steven Black 663fb2d434 Updates from yoyo.org, URLHaus, someonewhocares.org, KADHosts, hostsVN, and AdAway. 2020-10-08 23:52:51 -04:00
Steven Black 586f4c2942 Release 3.0.5 2020-10-03 00:17:35 -04:00
Steven Black 6faa4d8296 Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Badd-Boyz. 2020-10-03 00:17:17 -04:00
Steven Black 9876dde1c2 Issue #1414: add two new domains. 2020-10-02 13:41:35 -04:00
Steven Black 468ba5547a Merge pull request #1413 from FadeMind/patch-2
updateHostsWindows.bat: fix python exe cmd
2020-09-30 16:57:15 -04:00
FadeMind 7c1365787b updateHostsWindows.bat: fix python exe cmd
Python for Windows using py.exe launcher command and should be used here as well.
2020-09-30 16:27:01 +02:00
Steven Black dccdf794a2 Release 3.0.4 2020-09-26 16:01:32 -04:00
Steven Black 611c4a0bf7 Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Badd-Boyz. 2020-09-26 16:01:04 -04:00
Steven Black 6ebfc1ed2d Issue #1409: fix — remove unnecessary and confusing Windows flush DNS instructions. 2020-09-26 15:54:34 -04:00
Steven Black 32242792ba Release 3.0.3 2020-09-20 22:36:21 -04:00
Steven Black f60686d0ff Issue #1392 — set the minimum version of Requests to v2.20. 2020-09-20 22:36:00 -04:00
Steven Black dc595848b1 Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Badd-Boyz. 2020-09-20 22:28:59 -04:00
Steven Black d06f3d2c1a Release 3.0.2 2020-09-14 22:28:59 -04:00
Steven Black 9ae4f735ca Updates from yoyo.org, URLHaus, someonewhocares.org, mvps.org, KADhosts, hostsVM, Badd-Boyz, and AdAway. 2020-09-14 22:28:40 -04:00
Steven Black f45e7e459a Release 3.0.1 2020-09-07 21:21:04 -04:00
Steven Black ea69ee1498 Updates from yoyo.org, URLHaus, KADhosts, hostsVN, and Badd-Boyz. 2020-09-07 21:20:44 -04:00
Steven Black 0060ef11a6 Release 3.0.0 2020-09-02 22:05:42 -04:00
Steven Black 393b7c3bec Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, Badd-Boyz, and AdAway. 2020-09-02 22:05:16 -04:00
Steven Black a0e2e39a3f Merge pull request #1392 from AlexanderCecile/introduce-requests
Introduce the Requests library
2020-09-02 21:58:51 -04:00
Alexander Cecile b350c68540 Improved tests for get_file_by_url 2020-09-02 20:25:01 -04:00
Alexander Cecile d85c96576a Remove unused test code 2020-08-28 03:18:41 -04:00
Alexander Cecile ad35681244 Improve tests for get_file_by_url 2020-08-28 03:17:06 -04:00
Alexander Cecile 59ddd34d0e Changed dependency-related exception to be compatible with Python versions < 3.6 2020-08-28 01:51:14 -04:00
Alexander Cecile 1019c6ae00 Improve the error raised when the new dependency is missing 2020-08-28 00:17:50 -04:00
Steven Black 099954eb46 Release 2.7.13 2020-08-25 21:01:49 -04:00
Steven Black 942aaae90c Updates from sinfonietta, fakenews, yoyo.org, URLHaus, KADhosts, hostsVN, and AdAway. 2020-08-25 21:01:16 -04:00
Alexander Cecile 06483cca1d Update error handling in get_file_by_url
I don't believe the the .text could actually raise that exception. Oops.
2020-08-25 20:48:35 -04:00
Alexander Cecile 26b2ab9e5a Add basic tests for get_file_by_url 2020-08-25 20:40:30 -04:00
Alexander Cecile 083db6955e Implement error handling and improve documentation in get_file_by_url 2020-08-25 18:28:21 -04:00
Steven Black 556545a612 Issue #1394 — add collect.installeranalytics.com. 2020-08-24 19:03:44 -04:00
Steven Black b8c4dfdcc6 Merge pull request #1396 from tanrax/patch-3
Add Maza in readme_template
2020-08-24 18:09:09 -04:00
Andros Fenollosa edb9eed554 Remove bad text 2020-08-24 23:33:16 +02:00
Andros Fenollosa 9b8cce7b99 Add Maza in readme_template 2020-08-24 23:24:44 +02:00
Steven Black 5c2a30d57f Merge pull request #1393 from tanrax/patch-2
Add maza ad blocker
2020-08-24 17:17:05 -04:00
Andros Fenollosa 7823133745 Add maza ad blocker 2020-08-23 20:03:54 +02:00
Alexander Cecile aa9da1ee0d Remove unused import in tests 2020-08-21 17:30:47 -04:00
Alexander Cecile 9380fe534e Tweak output formatting of get_file_by_url 2020-08-21 14:44:27 -04:00
Alexander Cecile beca76acfe Tweak get_file_by_url 2020-08-20 20:00:36 -04:00
Alexander Cecile 4fefecf2e3 Document get_file_by_url 2020-08-20 18:42:31 -04:00
Alexander Cecile 44f41c317b Document get_file_by_url 2020-08-20 17:01:11 -04:00
Alexander Cecile 4c8cab12ef Re-add flake8 to requirements.txt 2020-08-20 16:29:37 -04:00
Alexander Cecile 140c0bd29e Use domain_to_idna in get_file_by_url 2020-08-20 16:15:37 -04:00
Steven Black 2814997df5 Release 2.7.12 2020-08-19 22:18:57 -04:00
Steven Black b40e703f52 Updates from sinfonietta, clefspeafre13, yoyo.org, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2020-08-19 22:18:09 -04:00
Alexander Cecile 79bd7d4122 Tell requests to detect encoding.
Changed the get_file_by_url function to infer/guess the encoding of the content we receive.
2020-08-18 19:36:47 -04:00
Alexander Cecile 5186071948 Introduce the requests library.
Replace the combination of urllib, beautifulsoup and lxml with the requests library.
2020-08-17 19:52:11 -04:00
Steven Black 5340f9adfe Still more email phish. 2020-08-17 14:59:12 -04:00
Steven Black bdaf8e8c50 Release 2.7.11 2020-08-17 11:34:35 -04:00
Steven Black 31e3085a4c Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2020-08-17 11:34:17 -04:00
Steven Black 7fd3ef6213 Add korfo.org. 2020-08-17 11:12:08 -04:00
Steven Black fe3a74b6b3 More email phish. 2020-08-16 11:22:50 -04:00
Steven Black a4e7c902ed Release 2.7.10 2020-08-15 16:31:00 -04:00
Steven Black da8c70744e Updates from clefspeare13, yoyo.org, URLHaus, and KADhosts. 2020-08-15 16:29:52 -04:00
Steven Black 37154d3b4f It's a bad idea to email phish me. 2020-08-15 16:26:25 -04:00
Steven Black cc50ac4c5a Add domain from Issue #1384. 2020-08-15 16:18:27 -04:00
Steven Black e041213cc5 Release 2.7.9 2020-08-14 11:49:51 -04:00
Steven Black 20056218db Updates from yoyo.org, URLHaus, KADhosts, and AdAway. 2020-08-14 11:49:33 -04:00
Steven Black 4892cf350e Release 2.7.8 2020-08-13 10:07:10 -04:00
Steven Black 588fa4b1d5 Updates from clefspeare13,yoyo.org, URLHaus, KADhosts, hostsVN, and AdAway. 2020-08-13 10:06:51 -04:00
Steven Black 30764ced55 Add domains from Issue #1381. 2020-08-12 18:06:08 -04:00
Steven Black 539433a68e Add domains from Issue #1380. 2020-08-12 18:01:56 -04:00
Steven Black 8796eff357 Merge pull request #1375 from bigdargon/master
Add purpleads.io
2020-08-10 15:19:19 -04:00
BigDargon 8a1908114f Add purpleads.io
The advertising domain is not in any source yet.
2020-08-10 09:47:10 +07:00
Steven Black 44273a5867 Merge pull request #1373 from forking-repos/setup-cfg
Extract flake8 config in setup.cfg
2020-08-09 09:06:07 -04:00
Steven Black 5fb6263090 Merge pull request #1374 from forking-repos/reset-mock-simplify
Remove unnecessary reset_mock calls
2020-08-09 09:05:50 -04:00
gfyoung 24f7482fc6 Remove unnecessary reset_mock calls 2020-08-09 00:42:24 -07:00
gfyoung ab1bbe7b53 Extract flake8 config in setup.cfg
Now you can just run "flake8" when linting
2020-08-09 00:22:23 -07:00
Steven Black 2583decb40 Release 2.7.7 2020-08-06 22:44:56 -04:00
Steven Black 6a85b83444 Updates from URLHaus, someonewhocares.org, KADhosts, Badd-Boyz, add.Risk, and AdAway. 2020-08-06 22:44:20 -04:00
Steven Black 051689c5ea Merge pull request #1371 from bremich/runativepixel
Adding pixel.runative-syndicate.com
2020-08-06 21:12:25 -04:00
user 0f72470ae6 Added pixel.runative-syndicate.com 2020-08-06 12:45:31 -07:00
Steven Black 7e7e3954c0 Add api.fouanalytics.com. 2020-08-04 14:45:33 -04:00
Steven Black 275562c6f9 Remove sandboxie.findmysoft.com as the culprit is downstream; the culprit was added in commit 11cff28668. 2020-08-03 12:06:55 -04:00
Steven Black af409a9c15 Release 2.7.6 2020-08-03 11:59:13 -04:00
Steven Black b548b13d89 Remove *.fouanalytics.com 2020-08-03 11:57:27 -04:00
Steven Black 3d06f890b4 Release 2.7.5 2020-08-03 11:31:15 -04:00
Steven Black a1d34bdcc3 Updates from tiuxo, yoyo.org, URLHaus, and KADhosts. 2020-08-03 11:30:53 -04:00
Steven Black 11cff28668 Add instui201.info. 2020-08-03 11:26:45 -04:00
Steven Black e95c816691 Release 2.7.4 2020-08-01 01:22:29 -04:00
Steven Black a4ff58d4cb Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, mvps.org, KADhosts, Badd-Boyz, and AdAway. 2020-08-01 01:21:36 -04:00
Steven Black 06a7cd5876 Merge pull request #1358 from bigdargon/add-domain
Add new domain servenobid.com
2020-07-30 14:35:15 -04:00
BigDargon 9af02df877 Add new domain servenobid.com
I see this ad domain has not been added. This domain does not have a server in Vietnam, so I created this PR to add.
2020-07-30 09:36:13 +07:00
Steven Black a7d60624bf Release 2.7.3 2020-07-29 15:44:28 -04:00
Steven Black 917579a7f4 Updates from sinfonietta, clefspeare13, yoyo.org, URLHaus, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-07-29 15:44:09 -04:00
Steven Black 9adfcd4ea4 Release 2.7.2 2020-07-24 22:21:36 -04:00
Steven Black 1531b62139 Updates from clefspeare13, yoyo.org, URLHaus, tiuxo, someonewhocares.org, KADhosts, Badd-Boyz, and AdAway. 2020-07-24 22:20:10 -04:00
Steven Black 3788f5845f Issue #1357: add pub.trads.io. 2020-07-24 11:10:15 -04:00
Steven Black 178ea64f2d Merge pull request #1355 from XhmikosR/windows-ci
Remove miniconda and add Windows CI support
2020-07-24 10:30:44 -04:00
XhmikosR 6940b842e7 requirements.txt: tighten ranges 2020-07-24 07:36:17 +03:00
XhmikosR 8b4c837d59 Remove miniconda and add Windows CI support 2020-07-24 07:36:17 +03:00
Steven Black 58b36a7e01 Add domains from Issue #790. 2020-07-23 10:05:43 -04:00
Steven Black d14541971b Clarify that we'll take pull requests. 2020-07-19 13:23:48 -04:00
Steven Black fdd7e3f34a Release 2.7.1 2020-07-18 18:21:31 -04:00
Steven Black bfe24eb87b Maintenance - sort, deduplicate my ad-hoc list. 2020-07-18 18:19:21 -04:00
Steven Black 5cf23a4cc3 Updates from tiuxo, yoyo.org, URLHaus, someonewhocares.org, KADhosts, Badd-Boyz, and AdAway. 2020-07-18 18:07:01 -04:00
Steven Black 337e5ada28 Fix duplicate inserted by Issue #1352. Ass domains from Issue 1328. 2020-07-18 17:52:35 -04:00
Steven Black 55f05d275c Add domains from Issue #1328. 2020-07-18 17:48:35 -04:00
Steven Black 84fc36e3b8 Add domain from Issue #1350. 2020-07-18 17:44:15 -04:00
Steven Black 3cbdc64998 Add domain from Issue #1352. 2020-07-18 17:42:40 -04:00
Steven Black afce9ec8f5 Add domains from Issue #1353. 2020-07-18 17:40:42 -04:00
Steven Black 0f0465919a Add domains from Issue #1354. 2020-07-18 17:38:31 -04:00
Steven Black ca3a99a049 Release 2.7.0 2020-07-13 22:37:36 -04:00
Steven Black bdab2fbf78 Updates from Tiuxo, Sinfonietta, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and AdAway. 2020-07-13 22:36:55 -04:00
Steven Black f11b0c6cb3 Add domain from Issue #1349. 2020-07-13 21:33:25 -04:00
Steven Black a09e408c8a Merge pull request #1342 from codeswhite/patch-network-retry
Implemented connectivity check (Fixed #1038)
2020-07-13 13:41:19 -04:00
Steven Black 323174e45d Merge pull request #1336 from funilrys/issue-1332
Fix directory separator under Windows.
2020-07-13 11:14:43 -04:00
Max G 2abefc7cfa Fixed retrying 2020-07-13 18:05:35 +03:00
funilrys abf763e9a0 Change strategy regarding #1332.
Instead of changing the directory separator globally, we change it only
when we generate/update the readme data file.
2020-07-13 15:35:16 +02:00
funilrys b8b067b6ab Replace the returned separator under Windows. 2020-07-13 11:29:11 +02:00
funilrys c756858a1b Merge branch 'master' into issue-1332 2020-07-13 11:23:45 +02:00
Steven Black 82791b30c4 Merge pull request #1341 from codeswhite/patch-systemctl-multiple-restarts
Check if a service has already been restarted (Fixes #1338)
2020-07-12 13:36:15 -04:00
Steven Black aea2e921b5 Issue #1346: add domains from usefathom.com. 2020-07-12 12:49:07 -04:00
Steven Black de3a3d9cb9 Issue #1346: add CNAME aliases for fathomseo.com. 2020-07-12 12:46:26 -04:00
Steven Black 4f93a59b8b Issue #1346: add Fathom CDN. 2020-07-11 22:49:51 -04:00
Steven Black c9986cc960 Merge pull request #1339 from codeswhite/patch-systemctl-restart-check
Check if a service is running (Fixed #1337)
2020-07-11 10:39:13 -04:00
Max G f26168194b Retry to get file from URL once failed
(Resolves #1038)
2020-07-11 14:09:51 +03:00
Max G 0a96dcad34 Use 'with' to not leave a resource open 2020-07-11 13:58:44 +03:00
Max G 0f727b8bed Revert "Implemented connectivity check (Fixed #1038)"
This reverts commit bc8e4c92b8.
2020-07-11 13:57:42 +03:00
Max G 12ee4e0218 Changed to .append() as requested 2020-07-11 13:37:08 +03:00
Steven Black be57b6208b Add one domain from Issue #1343. 2020-07-10 19:21:18 -04:00
Steven Black aa5637dc7f Added four new domains from Issue #1335. 2020-07-10 19:13:15 -04:00
Max G bc8e4c92b8 Implemented connectivity check (Fixed #1038) 2020-07-11 00:23:31 +03:00
Max G bb1b8e81ae Check if a service has already been restarted (Fixes #1338) 2020-07-10 23:48:36 +03:00
Max G 9e3db93d92 Updated test 2020-07-10 23:43:09 +03:00
Max G 43fe30181b Check if a service is running (Fixed #1337) 2020-07-10 22:47:47 +03:00
Steven Black c2ebad946e Merge pull request #1333 from XhmikosR/patch-1
Update readme_template.md
2020-07-10 10:52:19 -04:00
funilrys 73479bc632 Fix directory separtor under Windows.
This patch fix #1332.
2020-07-10 01:04:44 +02:00
Steven Black ddafbadaf6 Add domains from user @beerisgood. 2020-07-08 16:46:37 -04:00
XhmikosR cf92814f1d Update readme_template.md 2020-07-08 18:16:28 +03:00
Steven Black a9a4aa2fe7 Release 2.6.29 2020-07-06 19:20:41 -04:00
Steven Black a907bc6477 Updates from tiuxo, URLHaus, and KADhosts 2020-07-06 19:20:24 -04:00
Steven Black 6337998706 Include domains from Issue #1331. 2020-07-06 18:44:11 -04:00
Steven Black fd5fd3f05d Release 2.6.28 2020-07-05 14:44:14 -04:00
Steven Black 6906938b48 Updates from clefspeare13, yoyo.org, URLHaus, KADhosts, and HostsVN. 2020-07-05 14:43:52 -04:00
Steven Black 5bab40d686 Merge pull request #1329 from mullinsmikey/patch-1
Update StevenBlack hosts
2020-07-05 14:34:44 -04:00
Michael Mullins ad45f75de2 Update StevenBlack hosts
Added several Samsung Smart TV taking part in distributing ads or collecting telemetry
2020-07-04 23:43:26 +04:00
Steven Black 7fcfacf7d0 Release 2.6.27 2020-07-02 20:35:42 -04:00
Steven Black 32fe8e0862 Update from URLHaus. 2020-07-02 20:35:14 -04:00
Steven Black 541841e8c6 Add missing comment character in a prior commit. 2020-07-02 20:33:47 -04:00
Steven Black 8847a730e6 Release 2.6.26 2020-07-02 20:25:52 -04:00
Steven Black 719cc0b086 Updates from yoyo.org, URLHaus, someonewhocares, KADhosts, hostsVN, and AdAway. 2020-07-02 20:25:31 -04:00
Steven Black 490e4f835c Issue #1324: fix — add ndjambo.com. 2020-07-02 20:19:37 -04:00
Steven Black fab5809c97 Issue #1325: fix — add ads1.opensubtitles.org. 2020-07-02 20:17:03 -04:00
Steven Black ddb8a61788 Release 2.6.25 2020-06-27 12:55:37 -04:00
Steven Black 85112c9a48 Updates from yoyo.org, URLHaus, someonewhocares.org, hostsVN, and AdAway. 2020-06-27 12:55:20 -04:00
Steven Black dc68f96f8a Merge pull request #1321 from taobojlen/add-mailspring-tracking
add link.getmailspring.com
2020-06-25 17:53:32 -04:00
Steven Black a59f18a380 Release 2.6.24 2020-06-25 10:21:26 -04:00
Steven Black 7ec3533725 Updates from clefspeare13, yoyo.org, URLHaus, hostsVN, Badd-Boyz, and AdAway. 2020-06-25 10:21:02 -04:00
Tao Bojlén 4e2796aaa9 add link.getmailspring.com 2020-06-24 17:52:48 +01:00
Steven Black c7537d2b45 Release 2.6.23 2020-06-22 10:22:02 -04:00
Steven Black 9a8b5df4f7 Updates from yoyo.org, URLHaus, KADhosts, HostsVN, Badd-Boyz, and AdAway. 2020-06-22 10:21:40 -04:00
Steven Black de675b71a9 Issue #1315: add italiapagamen.com. 2020-06-17 10:19:36 -04:00
Steven Black 6283d54d41 Release 2.6.22 2020-06-16 22:56:33 -04:00
Steven Black d9f031fd46 Updates from yoyo.org, URLHaus, mvps.org, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-06-16 22:56:12 -04:00
Steven Black 71dbcebe52 Release 2.6.21 2020-06-09 13:27:29 -04:00
Steven Black 3fea881296 Updates from yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-06-09 13:27:07 -04:00
Steven Black c92151d237 Merge pull request #1308 from XhmikosR/patch-1
Update CI config
2020-06-07 14:35:20 -04:00
XhmikosR eb4d002f13 Update CI config
* update to `actions/cache@v2`
* change cache key to take into account requirements.txt
2020-06-07 21:29:06 +03:00
Steven Black 2565d15719 Merge pull request #1307 from funilrys/issue-1166-bis
Fix location issue under windows
2020-06-07 14:22:44 -04:00
funilrys 15df541200 Fix linting issue. 2020-06-07 20:11:57 +02:00
funilrys 5798b17132 Fix location issue under windows.
This patch fix https://github.com/StevenBlack/hosts/issues/1166#issuecomment-634686875
2020-06-07 18:28:32 +02:00
funilrys 6a216bf28d Merge remote-tracking branch 'upstream/master' into issue-1166-bis 2020-06-07 18:04:21 +02:00
Steven Black 4fe6a30cc1 Merge pull request #1305 from jnguyen1098/master
Add blasze.tk / blasze.com IP logger links
2020-06-06 17:26:58 -04:00
Jason e9fdfc5445 Update hosts 2020-06-06 15:44:40 -04:00
Steven Black 308fce3413 Release 2.6.20 2020-06-02 20:38:21 -04:00
Steven Black 8bc7172637 Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-06-02 20:38:03 -04:00
Steven Black d6fc6efd04 Merge pull request #1297 from SuperSandro2000/patch-1
Fix someonewhocares issue link
2020-05-28 06:01:54 -04:00
Sandro Jäckel 40f4a1a695 Fix someonewhocares issue link 2020-05-28 11:00:51 +02:00
Steven Black 00eb68b4fc Release 2.6.19 2020-05-27 21:19:30 -04:00
Steven Black 6bdacd7936 Updates from yoyo.org, URLHaus, and KADhosts. 2020-05-27 21:19:11 -04:00
funilrys a2008b78f9 First, format with black. 2020-05-27 21:59:34 +02:00
Steven Black 3e06d4b8b5 Merge pull request #1296 from XhmikosR/patch-2
Always use LF in README files
2020-05-27 11:44:23 -04:00
Steven Black a468781125 Merge pull request #1295 from XhmikosR/patch-1
Update updateHostsFile.py
2020-05-27 11:42:21 -04:00
XhmikosR d232ef9a0c Always use LF in README files 2020-05-27 16:40:55 +03:00
XhmikosR 877814eb22 Update updateHostsFile.py
Escape backslashes
2020-05-27 10:54:15 +03:00
Steven Black a4f21ffe18 Release 2.6.18 2020-05-26 22:13:35 -04:00
Steven Black 2aa2903d92 Updates from clefspeare12, yoyo.org, URLHaus, someonewhocares.org, KADhosts, hostsVN, and Badd-Boyz. 2020-05-26 22:13:16 -04:00
Steven Black c72ec82aca Merge pull request #1292 from CodingSpiderFox/patch-1
Switch to https
2020-05-26 21:59:54 -04:00
Steven Black 805f50b2a0 Merge pull request #1294 from breucode/master
Issue #1293: Add seemascakes.com
2020-05-26 21:58:35 -04:00
Pascal Breuer 3a36077486 Issue #1293: Add seemascakes.com 2020-05-26 14:58:48 +02:00
CodingSpiderFox 7181a06681 Switch to https 2020-05-24 19:59:20 +02:00
Steven Black 85564f8ccd Release 2.6.17 2020-05-20 21:01:38 -04:00
Steven Black 2f9b11bae7 Updates from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, KADHosts, Badd-Boyz, and AdAway. 2020-05-20 21:01:17 -04:00
Steven Black f9657f924c Release 2.6.16 2020-05-15 19:50:37 -04:00
Steven Black f72248b745 Updates from yoyo.org, URLHaus, KADHosts, , hostsVN, Badd-Boyz, and AdAway. 2020-05-15 19:50:19 -04:00
Steven Black e2a23e8d10 Issue #1284: add www.govrefund-uk.com. 2020-05-15 11:28:19 -04:00
Steven Black b0e1d2b8a0 Release 2.6.15 2020-05-13 21:36:12 -04:00
Steven Black 4d4ede2a23 Updates from URLHaus. 2020-05-13 21:35:54 -04:00
Steven Black 87faa578be Sorry, I dropped the ball, re-removing rollbar website domains. 2020-05-13 19:58:10 -04:00
Steven Black 9ef031ba4a Release 2.6.14 2020-05-13 15:19:53 -04:00
Steven Black f217546d30 Updates from URLHaus, StevenBlack, KADhosts, hostsVN, and Badd-Boyz. 2020-05-13 15:19:34 -04:00
Steven Black 376ff41cf3 Merge pull request #1283 from izn/patch-1
Remove *.rollbar.com from blacklist
2020-05-13 15:15:38 -04:00
Thaynã Moretti fcf74d2903 Restore api.rollbar.com 2020-05-13 16:12:08 -03:00
Thaynã Moretti 525f77236c Remove *.rollbar.com from blacklist 2020-05-13 13:55:46 -03:00
Steven Black 45af8fd56b Release 2.6.13 2020-05-12 15:03:52 -04:00
Steven Black 1fd99387e4 Updates from yoyo.org, URLHaus, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-05-12 15:03:31 -04:00
Steven Black b24947d77a Merge pull request #1275 from scafroglia93/master
hosts: malware IoC
2020-05-12 14:56:40 -04:00
Steven Black 9328098363 Merge pull request #1277 from sheepfleece/NixOS_Config
Add Usage for NixOS
2020-05-12 01:41:09 -04:00
sheepfleece 990766f5ba Use default hosts file 2020-05-12 08:08:05 +03:00
sheepfleece 0bd364f096 Add Usage for NixOS 2020-05-12 07:48:37 +03:00
Steven Black 9edf42d819 Issue #1278: fix — Remove 6×66.com, invalid character in the domain. 2020-05-11 12:37:14 -04:00
scafroglia93 ac44b4444c hosts: malware IoC
Signed-off-by: scafroglia93 <scafroglia57@gmail.com>
2020-05-10 19:33:41 +02:00
Steven Black 8dcbf8a3c2 Add domain from Issue #1269. 2020-05-09 19:19:51 -04:00
Steven Black 52a04335a8 Merge pull request #1273 from scafroglia93/master
hosts: malware IoC
2020-05-09 19:14:20 -04:00
scafroglia93 8bb05550be hosts: malware IoC
Signed-off-by: scafroglia93 <scafroglia57@gmail.com>
2020-05-10 00:46:28 +02:00
Steven Black e0f3bfd2de Trim lines at EOF; lowercase domain names, add a date marker prior to new domains. 2020-05-08 20:44:04 -04:00
Steven Black f47fafedaa Merge pull request #1271 from scafroglia93/master
hosts: malware IoC
2020-05-08 20:40:38 -04:00
scafroglia93 4164564b2c hosts: malware IoC
Signed-off-by: scafroglia93 <scafroglia57@gmail.com>
2020-05-09 02:30:04 +02:00
scafroglia93 0224b74a6e hosts: malware IoC
Signed-off-by: scafroglia93 <scafroglia57@gmail.com>
2020-05-09 02:22:50 +02:00
Steven Black ea73c698ad Release 2.6.12 2020-05-05 19:27:12 -04:00
Steven Black 2cdc7cd5f9 Updates from clefspeare13, yoyo.org, URLHaus, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-05-05 19:26:55 -04:00
Steven Black c8f10f9ffa Sorted my hosts file. 2020-05-05 19:15:58 -04:00
Steven Black 0be07583d5 adding hosts in Issue #1263. 2020-05-05 19:10:15 -04:00
Steven Black 547cf2161a Release 2.6.11 2020-05-05 01:37:13 -04:00
Steven Black 7a82c707cd Updates from clefspeare13, yoyo.org, URLHaus, mvps.org, KADhosts, hostsVN, Badd-Boyz, and AdAway.org. 2020-05-05 01:36:49 -04:00
Steven Black 2b27276629 Add domains from issue #1261. 2020-05-04 13:50:50 -04:00
Steven Black b2f128872c Add domain from Issue #1253. 2020-05-03 12:51:29 -04:00
Steven Black 0d1a3e00e7 Merge pull request #1259 from XhmikosR/patch-1
Make sure we treat any readme assets as `utf-8`
2020-05-03 12:46:47 -04:00
XhmikosR 6709f769e4 Make sure we treat any readme assets as utf-8 2020-05-03 08:57:45 +03:00
Steven Black 454b3c2afa Release 2.6.10 2020-05-02 19:10:21 -04:00
Steven Black a32b5d82bf Updates from clefspeare13, yoyo.org, URLHaus, KADhosts, hostsVN, and Badd-Boyz. 2020-05-02 19:10:00 -04:00
Steven Black f3fbfd2079 Add domain in Issue #1244. 2020-05-02 19:05:45 -04:00
Steven Black e7721d35a8 Add domains in Issue #1245. 2020-05-02 19:04:43 -04:00
Steven Black 652992750e Add domains from Issue #1247. 2020-05-02 19:03:18 -04:00
Steven Black 6e0dbd6447 Add domains from Issue #1254. 2020-05-02 19:01:45 -04:00
Steven Black 0cc3163dda Add domain from Issue #1257. 2020-05-02 18:56:51 -04:00
Steven Black 47f9a28b81 Merge pull request #1258 from XhmikosR/patch-1
Fix domain from #1202
2020-05-02 15:13:36 -04:00
XhmikosR 3ab6d9d5e8 Fix domain from #1202 2020-05-02 22:10:21 +03:00
Steven Black d002c5783e One more domain from Issue #1252. 2020-04-30 10:35:19 -04:00
Steven Black 6c4268bdc7 Add domains from Issue ##1251. 2020-04-30 10:31:51 -04:00
Steven Black 79f628a09f Add domains from Issue #1252. 2020-04-30 10:28:46 -04:00
Steven Black 0d35158c6c Merge pull request #1250 from XhmikosR/gh-actions
Switch to GitHub Actions CI.
2020-04-30 09:59:01 -04:00
XhmikosR ec5723b926 ci/test.sh: add python --version 2020-04-29 15:31:55 +03:00
XhmikosR bdcb4954e9 CI: move lint before test and add Python 3.8 2020-04-29 15:31:55 +03:00
XhmikosR 125d7c8745 Switch to GitHub Actions CI. 2020-04-29 15:31:54 +03:00
Steven Black 5d8275411c Release 2.6.9 2020-04-28 14:41:25 -04:00
Steven Black 96a84da45f Updates from yoyo.org, URLHaus, KADhosts, and AdAway. 2020-04-28 14:41:06 -04:00
Steven Black 5a0a1b53b3 Merge pull request #1248 from PF4Public/master
Absent from other blocklists
2020-04-27 12:11:53 -04:00
PF4Public 4923194ff4 Absent from other blocklists 2020-04-27 15:46:50 +03:00
Steven Black cd50dbb0d0 Release 2.6.8 2020-04-26 22:52:03 -04:00
Steven Black a3d8d83913 Updates from clefspeare13, yoyo.org, URLHaus, someonewhocares.org, KADhosts, Badd-Boyz, and add.risk. 2020-04-26 22:51:44 -04:00
Steven Black 68c9d2f6b1 Merge pull request #1246 from gprestes/gprestes-patch-1
Restore filename to follow the hosts-%Y-%m-%d-%H-%M-%S format
2020-04-24 22:31:18 -04:00
Guilherme Heuser Prestes d7f8d5ef35 Add back the '-' after hosts in the filename 2020-04-24 21:16:07 +02:00
Guilherme Heuser Prestes b40aa38ee6 remove the '-' from mock 2020-04-24 21:13:41 +02:00
Steven Black ef6cff0702 Merge pull request #1236 from adherzog/fix-default-whitelist
Fix default whitelist argument.
2020-04-23 21:38:58 -04:00
Steven Black e7c0ef495e Merge pull request #1243 from XhmikosR/typo
Join a few short lines and fixes a few typos
2020-04-23 21:37:39 -04:00
XhmikosR f5358fd0b4 Join a few short lines and fixes a few typos 2020-04-23 09:02:38 +03:00
Steven Black e2ce21ba3e Issue #1239: add maper.info. 2020-04-22 18:58:15 -04:00
Steven Black 68419f063d Issue #1240: adding domains listed in this issue, 2020-04-22 18:56:05 -04:00
Steven Black 8d00a38425 Release 2.6.7 2020-04-22 10:29:23 -04:00
Steven Black 15e433e5c3 Updates from clefspeare13, yoyo.org, URLHaus, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-04-22 10:28:54 -04:00
Steven Black 564141c3a5 Merge pull request #1238 from ScriptTiger/correct-sorting
Unification of the sorting of the sources.
2020-04-22 01:47:36 -04:00
funilrys dd7904dcc8 Add forgotten sorting.
Indeed, I forgot to sort the content of the hosts file.
2020-04-21 23:54:01 +02:00
funilrys 665dc98191 Unification of the sorting of the sources.
Before this patch, there was no proper sorting and the sources.

As @XhmikosR mentioned in StevenBlack/hosts#1166, without this patch,
the output is totally different in Windows. But let's be honest, if it
is like that under Windows, chances are that the same behavior happens
across different OSes or machines around the globe.

Another reason behind this patch is that - desperate the fact that we
certainly trust @StevenBlack - the integrity of the generated files
could not be guarenteed because of the sorting which may be completely
different from an OS to another and a machine to another.

For those reasons, this patch introduces a unification of the sorting of
all sources.

The idea behind this patch is to have @StevenBlack's ad-hoc hosts
file always on top (1st) and the rest of the sources sorted
alphabetically based on the name of the folder inside the `data`
or `extensions` directory.

This will ensure that we get the same result everywhere.

Concretely speaking, I just added the function (`sort_sources`) which
sorts a given list of sources files. And later on, call the new function
everywhere it was necessary. Tests of the newly introduced function
are also included.

Contributors:
  * @ScriptTiger
  * @XhmikosR

Notes:
  * This patch fix (completely ?) ScriptTiger/hosts#1
  * This patch fix https://github.com/StevenBlack/hosts/issues/1166#issuecomment-590511086
2020-04-21 22:54:25 +02:00
Steven Black 6548b1af25 Add domains from Issue #1237. 2020-04-20 23:43:38 -04:00
Steven Black 0c9ec0732d Add domains from Issue #1226. 2020-04-20 23:40:22 -04:00
Steven Black 546a6587cb Merge pull request #1230 from XhmikosR/patch-1
Update KADhosts homeurl
2020-04-20 14:39:49 -04:00
Steven Black 2e9fb614d5 Merge pull request #1231 from XhmikosR/patch-2
Fix FadeMind's lists license
2020-04-20 14:13:41 -04:00
Adam Herzog 2a742e7f99 Fix default whitelist argument. 2020-04-20 10:22:13 -04:00
XhmikosR cd426b4d8e Update KADhosts homeurl 2020-04-20 09:27:42 +03:00
XhmikosR 7b00af4d07 Fix FadeMind's lists license 2020-04-20 09:27:23 +03:00
Steven Black 5b25845933 Release 2.6.6 2020-04-18 22:39:31 -04:00
Steven Black ee37f38580 Fix error I introduced in commit daf16c7eba. 2020-04-18 22:39:13 -04:00
Steven Black 7cb8c82481 Release 2.6.5 2020-04-18 20:41:20 -04:00
Steven Black 58d1cfc3b3 Updates from ypyo.org, URLHaus, StevenBlack, KADHosts, and hostsVN. 2020-04-18 20:40:44 -04:00
Steven Black daf16c7eba Adding domains related to xHelper. 2020-04-18 20:32:12 -04:00
Steven Black 05d4b42737 Issue #1232: fix - adding ikezijik.ga. 2020-04-18 20:23:01 -04:00
Steven Black c34d990cf1 Issue #1234: fix - adding Github phishing domains. 2020-04-18 20:19:36 -04:00
Steven Black 6004c65c41 Release 2.6.4 2020-04-16 21:52:02 -04:00
Steven Black 6e71030b58 Updates from sinfonietta, yoyo.org, URLHaaus, KADhosts, Badd-Boyz, and AdAway. 2020-04-16 21:51:42 -04:00
Steven Black e84761d17d Add domains from Issue #1229. 2020-04-16 14:10:17 -04:00
Steven Black dcb32b0b1e Release 2.6.3 2020-04-13 21:52:11 -04:00
Steven Black a63fa1291b Updates from sinfonietta, yoyo.org, URLHaus, ADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-04-13 21:51:51 -04:00
Steven Black 1a2e8765cc Merge pull request #1227 from djnym/add-wlbl
Allow whitelist/blacklist files to be passed via command line
2020-04-13 20:23:33 -04:00
Anthony Molinaro 4aa8b65cc2 provide defaults for args 2020-04-13 16:20:22 -07:00
Anthony Molinaro dd2d878e95 Allow whitelist/blacklist files to be passed via command line 2020-04-13 12:14:34 -07:00
Steven Black a2ab99d9b1 Sort my ad-hoc list. 2020-04-12 18:14:51 -04:00
Steven Black b655a57e76 Release 2.6.2 2020-04-11 16:37:39 -04:00
Steven Black 6cc5d83fed Updates from sinfonietta, URLHaus, KADhosts, hostsVN, Badd-Boyz, and AdAway. 2020-04-11 16:37:19 -04:00
Steven Black 832138b4bc New domain. 2020-04-11 15:31:23 -04:00
Steven Black 3ea9dc7ca9 Release 2.6.1 2020-04-10 22:54:17 -04:00
Steven Black b91104aa64 Updates from sinfonietta, yoyo.org, URLHaus, KADhosts, and Badd-Boyz. 2020-04-10 22:53:54 -04:00
Steven Black f058719a56 Issue #1220 - add www.traffclick.ru. 2020-04-10 21:20:44 -04:00
Steven Black 3b7c7caa52 Issue #1221: added three domains raised in this issue. 2020-04-10 21:19:15 -04:00
Steven Black f5c028779c Issue #1222: Add globalpagee-prod-webex.com. 2020-04-10 21:17:45 -04:00
Steven Black d281b49b9f Resolving FadeMind/hosts.extras/issues/32. 2020-04-10 13:35:34 -04:00
Steven Black de2de429c8 Release 2.6.0 2020-04-09 15:09:05 -04:00
Steven Black 3e749f1f37 Updates from URLHaus, KADhosts, hostsVN, and add.Risk. 2020-04-09 15:07:59 -04:00
Steven Black e091bcc185 Merge pull request #1216 from djnym/clean-checkout-fixes
Keep checkout unmodified when adding outputpath.
2020-04-08 16:23:58 -04:00
Anthony Molinaro b87c81f796 update template not readme 2020-04-08 11:56:50 -07:00
Steven Black da2c5f86f2 Merge pull request #1217 from XhmikosR/patch-1
Fix typo
2020-04-08 14:54:56 -04:00
Steven Black 8801e184d5 Merge pull request #1218 from PerfectSlayer/patch-1
Update AdAdawy hosts issue report link
2020-04-08 11:44:05 -04:00
PerfectSlayer f3464b98bf Fix adaway metadata according code review 2020-04-08 15:22:35 +02:00
PerfectSlayer 3768103c1e Revert "Update AdAdawy hosts issue report link"
This reverts commit 0581b133b1.
2020-04-08 15:20:52 +02:00
Bruce BUJON 0581b133b1 Update AdAdawy hosts issue report link
Hi @StevenBlack 

I hope you're going well.
I propose a small change about the link to report an issue about AdAway's default hosts. I link it to the site GitHub project, not the application.
Moreover, @jawz101 has taken over the `hosts` file management. There is [more frequent updates](https://github.com/AdAway/adaway.github.io/commits/master) than ever so you might also want to change the _occasionnaly_ frequence label.

I take the opportunity of this PR to announce your hosts will be integrated as default source for the AdAway application! 🎉 
I think some of the users already added it to their configuration but it will be enabled by default for all new users.
I hope it is fine to you. Don't hesitate to tell me if not.

Regards
2020-04-08 13:11:34 +02:00
Anthony Molinaro c6b54e9674 update readme.md with new additional argument 2020-04-07 23:26:38 -07:00
Anthony Molinaro 7dd582dac3 2 blank lines? 2020-04-07 23:07:40 -07:00
Anthony Molinaro cac15b1c11 use nogendata for arg 2020-04-07 22:55:02 -07:00
Anthony Molinaro 37bc3821f8 applied black 2020-04-07 22:44:37 -07:00
Anthony Molinaro 9c1b8b2579 use more succinct name for arg 2020-04-07 22:40:30 -07:00
Anthony Molinaro aec3738838 fix unit test 2020-04-07 22:18:35 -07:00
XhmikosR 787022fea2 Fix typo 2020-04-08 07:36:24 +03:00
Steven Black 4c3aa77895 Sorting my personal ad-hoc hosts file. 2020-04-08 00:13:24 -04:00
Anthony Molinaro 699b52e1bd forgot to remove a debug 2020-04-07 20:17:04 -07:00
Anthony Molinaro 2d696a42d9 keep checkout clean 2020-04-07 20:08:23 -07:00
Steven Black 303a3eb63d Add domains from Issue #1214. 2020-04-06 21:52:23 -04:00
Steven Black 8419c7cb56 Release 2.5.74 2020-04-06 21:46:21 -04:00
Steven Black 95da11c2d3 Updates from URLHaus, KADhosts, AdAway, and hostsVN. 2020-04-06 21:45:13 -04:00
Steven Black 6c5308a92f Merge pull request #1208 from tanrax/patch-1
Add Maza in Interesting Applications.
2020-04-06 13:00:42 -04:00
Steven Black 44504685f5 Merge pull request #1213 from breucode/master
Add takehotprizzes3.live
2020-04-06 12:58:16 -04:00
Steven Black 481524e849 Merge pull request #1210 from XhmikosR/ci-set-e
CI: specify `set -e`
2020-04-06 12:42:28 -04:00
Pascal Breuer 5a8c104023 Add takehotprizzes3.live 2020-04-06 17:43:14 +02:00
XhmikosR e8f9cfb833 ci: specify set -e 2020-04-06 11:05:20 +03:00
Steven Black ecd59a8aee Release 2.5.73 2020-04-04 12:12:26 -04:00
Steven Black 86f27260f8 Updates from yoyo.org, URLHaus, KADhosts, and Badd-Boyz. 2020-04-04 12:11:54 -04:00
Steven Black 0868f11cf4 Restore the Badd-Boyz hosts to the latest. 2020-04-04 12:06:53 -04:00
Andros FenollosaandXhmikosR b4ac80f491 Update readme.md
Co-Authored-By: XhmikosR <xhmikosr@gmail.com>
2020-04-04 10:04:44 +02:00
Andros Fenollosa f4217f54d2 Add Maza in Interesting Applications 2020-04-03 19:40:19 +02:00
Steven Black fb47b15121 Release 2.5.72 2020-04-03 01:37:19 -04:00
Steven Black 50e37931a5 Revert to a previous good version of Badd-Boyz-Hosts. 2020-04-03 01:36:53 -04:00
Steven Black 69bd6da5d4 Release 2.5.71 2020-04-03 01:25:21 -04:00
Steven Black 3762f12d64 Regen all the readme files. 2020-04-03 01:24:59 -04:00
Steven Black 71f87691fa Updates from yoyo.org, URLHaus, KADhosts, hostsVN, and AdAway. 2020-04-03 01:22:49 -04:00
Steven Black 0dad81fced Merge pull request #1205 from XhmikosR/patch-1
Update readme_template.md
2020-04-03 01:07:54 -04:00
XhmikosR bb30e9367a Update readme_template.md
* remove references to hosts-file.net since it's removed
* apply #1204 here so that it's not overwritten
2020-04-02 09:58:43 +03:00
Steven Black 18b1a7ae36 Release 2.5.70 2020-04-01 14:51:59 -04:00
Steven Black e1ea57fab7 Updates from sinfonietta, yoyo.org, URLHaus, someonewhocares.org, and KADhosts. 2020-04-01 14:51:39 -04:00
Steven Black 51347c84a9 Remove duplicates. 2020-04-01 14:17:17 -04:00
Steven Black dc048b7d87 OMG you do NOT want to spam me. 2020-04-01 14:16:06 -04:00
Steven Black 53754cf017 Merge pull request #1204 from nickspaargaren/master
fixed 404 url
2020-04-01 13:21:35 -04:00
Nick Spaargaren 3d195b7da0 fixed 404 url 2020-04-01 08:53:37 +02:00
Steven Black 07050e6774 Add domains, resolves Issue #1202. 2020-03-31 21:29:30 -04:00
Steven Black d63e22f8e3 Release 2.5.69 2020-03-29 22:25:44 -04:00
Steven Black 7392ab26a7 Updates from tiuxo, URLHaus, KADhosts, and hostsVN. 2020-03-29 22:25:23 -04:00
Steven Black bb24ec90c2 Issue #1196: fix — add march262020.com. 2020-03-29 22:15:41 -04:00
Steven Black 128cdc7c4f Issue #1197: fix — Remove v10.events.data.microsoft.com which is vital to Xbox Live Achievements. 2020-03-29 22:09:57 -04:00
Steven Black 330cc4bdf4 New domain suggested in Issue #1196. 2020-03-29 17:44:05 -04:00
Steven Black 7c1d988db6 (typo) 2020-03-28 11:34:39 -04:00
Steven Black fa17160860 Remove deprecated, and unnecessary, options in release-it.json. 2020-03-28 11:34:04 -04:00
Steven Black b5ae218593 Release 2.5.68 2020-03-28 11:29:08 -04:00
Steven Black cedd97ed11 Updates from yoyo.org, URLHaus, tiuxo, KADhosts, and hostsVN. 2020-03-28 11:28:20 -04:00
Steven Black 4c36cad8eb Merge pull request #1192 from XhmikosR/patch-1
Minor tweaks in data update.json files
2020-03-25 13:34:54 -04:00
XhmikosR 892f9f639d Minor tweaks in data update.json files
* remove extra newlines
* add missing trailing slashes to URLs
* link to abuse.ch
2020-03-25 09:01:27 +02:00
296 changed files with 3631456 additions and 961174 deletions
+7
View File
@@ -0,0 +1,7 @@
*
!updateHostsFile.py
!data
!alternates
!extensions
!readmeData.json
!requirements.txt
+11 -5
View File
@@ -1,14 +1,20 @@
# editorconfig.org
root = true
[*.py]
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
end_of_line = LF
[*.bat]
end_of_line = CRLF
end_of_line = crlf
[*.md]
trim_trailing_whitespace = false
insert_final_newline = true
[*.py]
indent_size = 4
+3
View File
@@ -2,3 +2,6 @@
* text=auto eol=lf
# Enforce Windows newlines for .bat files
*.bat text eol=crlf
*.py linguist-detectable=true
*.nb linguist-detectable=false
+3
View File
@@ -0,0 +1,3 @@
# These are supported funding model platforms
github: [StevenBlack, funilrys, XhmikosR]
+2 -2
View File
@@ -16,6 +16,6 @@ newPRWelcomeComment: >
# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
Congratulations on merging your first pull request! 🎉🎉🎉
Congratulations on merging your first pull request here! 🎉🎉🎉 You are now in our [list of contributors](https://github.com/StevenBlack/hosts/graphs/contributors). Welcome!
# It is recommend to include as many gifs and emojis as possible!
# It is recommend to include as many gifs and emojis as possible!
+17
View File
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
labels:
- dependencies
- github_actions
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: weekly
labels:
- dependencies
- python
versioning-strategy: lockfile-only
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

-20
View File
@@ -1,20 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 120
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- bug
- discussion
- monitor (ongoing)
- enhancement
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: >
Closing.
+67
View File
@@ -0,0 +1,67 @@
name: CI
on:
push:
branches:
- master
- "!dependabot/**"
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
os:
- ubuntu-latest
include:
- os: macos-latest
python: '3.8'
- os: macos-latest
python: '3.12'
- os: windows-latest
python: '3.8'
- os: windows-latest
python: '3.12'
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Print versions
run: |
python --version
pip --version
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Run lint
run: flake8
- name: Run makeHosts.py
run: python makeHosts.py
- name: Run tests
run: python testUpdateHostsFile.py
+43
View File
@@ -0,0 +1,43 @@
name: "CodeQL"
on:
push:
branches:
- master
- "!dependabot/**"
pull_request:
branches:
- master
- "!dependabot/**"
schedule:
- cron: "40 15 * * 4"
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "python"
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:python"
+49
View File
@@ -0,0 +1,49 @@
name: Create and publish a container image
on:
push:
branches:
- master
tags:
- "*"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
name: Build and push container image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels)
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push container image
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+17
View File
@@ -0,0 +1,17 @@
name: 'Dependency Review'
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Dependency Review
uses: actions/dependency-review-action@v4
+3 -2
View File
@@ -3,8 +3,9 @@
myhosts
blacklist
whitelist
readmeData.json
hosts-*
/web.config
/__pycache__
/node_modules
/node_modules/
/package-lock.json
/yarn.lock
+1
View File
@@ -0,0 +1 @@
package-lock=false
+1 -5
View File
@@ -8,10 +8,6 @@
"release": true
},
"npm": {
"publish": false,
"publishPath": ".",
"tag": "latest",
"private": false,
"access": null
"publish": false
}
}
-34
View File
@@ -1,34 +0,0 @@
notifications:
email: false
language: generic
cache:
directories:
- $HOME/miniconda3
before_cache:
- rm -rf $HOME/miniconda3/pkgs/cache
- rm -rf $HOME/miniconda3/envs/hosts
- rm -rf $HOME/miniconda3/conda-meta/history
- touch $HOME/miniconda3/conda-meta/history
os:
- linux
- osx
env:
- PYTHON_VERSION="3.5"
- PYTHON_VERSION="3.6"
- PYTHON_VERSION="3.7"
before_install:
- export PATH="$HOME/miniconda3/bin:$PATH"
install:
- ci/install_conda.sh
- ci/setup_conda_env.sh
script:
- ci/test.sh
- ci/lint.sh
+13
View File
@@ -0,0 +1,13 @@
FROM docker.io/python:3-alpine
ENV IN_CONTAINER 1
RUN apk add --no-cache git sudo
COPY . /hosts
RUN pip install --no-cache-dir --upgrade -r /hosts/requirements.txt
ENV PATH $PATH:/hosts
WORKDIR /hosts
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

File diff suppressed because it is too large Load Diff
+677
View File
@@ -0,0 +1,677 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, gambling
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, gambling](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts)
containing 8,654 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+155
View File
@@ -0,0 +1,155 @@
2023-06-11,9771
2023-06-13,9771
2023-06-14,9771
2023-06-14,9771
2023-06-16,9771
2023-06-17,9783
2023-06-18,9783
2023-06-23,9842
2023-06-27,9850
2023-07-01,9333
2023-07-06,9391
2023-07-09,9469
2023-07-14,9556
2023-07-15,9556
2023-07-21,9582
2023-07-23,9582
2023-07-27,9586
2023-08-01,9598
2023-08-04,9604
2023-08-05,9604
2023-08-08,9604
2023-08-05,9604
2023-08-08,9604
2023-08-13,9621
2023-08-17,9631
2023-08-21,9649
2023-08-22,9649
2023-08-26,9649
2023-08-28,9662
2023-09-03,9662
2023-09-04,9700
2023-09-05,9704
2023-09-06,9704
2023-09-06,9704
2023-09-08,9713
2023-09-08,9713
2023-09-10,9713
2023-09-14,9729
2023-09-17,9729
2023-09-21,9749
2023-09-24,9774
2023-09-25,9796
2023-09-30,9841
2023-10-02,9841
2023-10-04,9841
2023-10-08,9864
2023-10-12,9871
2023-10-13,9871
2023-10-17,9875
2023-10-18,9875
2023-10-21,9875
2023-10-23,9875
2023-10-27,9875
2023-11-01,9881
2023-11-02,9881
2023-11-03,9881
2023-11-08,9889
2023-11-11,9895
2023-11-13,9899
2023-11-19,9937
2023-11-21,9937
2023-11-24,9937
2023-11-25,9937
2023-11-25,9937
2023-11-25,9937
2023-11-26,9937
2023-11-26,9937
2023-12-01,10012
2023-12-03,10031
2023-12-12,10040
2023-12-16,10042
2023-12-17,10048
2023-12-17,10048
2023-12-25,10052
2023-12-30,10056
2024-01-03,10073
2024-01-06,10105
2024-01-13,10142
2024-01-17,10182
2024-01-21,10184
2024-01-27,10188
2024-01-30,10188
2024-02-06,10223
2024-02-10,10223
2024-02-12,10223
2024-02-15,10223
2024-02-24,10256
2024-02-25,10256
2024-02-28,10258
2024-03-04,10268
2024-03-09,10268
2024-03-15,10270
2024-03-19,10274
2024-03-23,10274
2024-03-28,10277
2024-04-02,10279
2024-04-04,10279
2024-04-09,10286
2024-04-11,10286
2024-04-18,10303
2024-04-22,10317
2024-04-25,10322
2024-05-01,10322
2024-05-03,10324
2024-05-12,10373
2024-05-20,10395
2024-05-27,10400
2024-06-03,10409
2024-06-08,10417
2024-06-14,10428
2024-06-16,10441
2024-06-19,10448
2024-06-21,10448
2024-06-24,10458
2024-06-26,10458
2024-07-01,10460
2024-07-04,10460
2024-07-07,10470
2024-07-11,10482
2024-07-14,10505
2024-07-15,10519
2024-07-20,10524
2024-07-27,10525
2024-07-30,10525
2024-08-02,10527
2024-08-04,10537
2024-08-08,10561
2024-08-11,10584
2024-08-16,10584
2024-08-17,10584
2024-08-20,10587
2024-08-26,10599
2024-08-29,10604
2024-08-30,10617
2024-08-31,10617
2024-09-04,10627
2024-09-06,10630
2024-09-10,10630
2024-09-13,10630
2024-09-16,10642
2024-09-20,10642
2024-09-21,10642
2024-09-22,10642
2024-09-25,10642
2024-09-27,10642
2024-09-27,10642
2024-10-01,10642
2024-10-01,10657
2024-10-01,10657
2024-10-03,10663
2024-10-05,10670
2024-10-07,10670
2024-10-09,10670
2024-10-10,10670
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,683 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, gambling, porn
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, gambling, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts)
containing 84,014 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,155 @@
2023-06-11,58796
2023-06-13,58796
2023-06-14,58796
2023-06-14,58796
2023-06-16,58796
2023-06-17,58811
2023-06-18,58811
2023-06-23,58880
2023-06-27,58889
2023-07-01,58372
2023-07-06,58567
2023-07-09,58611
2023-07-14,58694
2023-07-15,58694
2023-07-21,58719
2023-07-23,58719
2023-07-27,58723
2023-08-01,58735
2023-08-04,58738
2023-08-05,58738
2023-08-08,63246
2023-08-05,58738
2023-08-08,63246
2023-08-13,63263
2023-08-17,63273
2023-08-21,63291
2023-08-22,63409
2023-08-26,63409
2023-08-28,63422
2023-09-03,63304
2023-09-04,63464
2023-09-05,63468
2023-09-06,63350
2023-09-06,63494
2023-09-08,63504
2023-09-08,63469
2023-09-10,63469
2023-09-14,63485
2023-09-17,63485
2023-09-21,63505
2023-09-24,63530
2023-09-25,63547
2023-09-30,63594
2023-10-02,63594
2023-10-04,63594
2023-10-08,63763
2023-10-12,63770
2023-10-13,63770
2023-10-17,63774
2023-10-18,63774
2023-10-21,63774
2023-10-23,63772
2023-10-27,63771
2023-11-01,63777
2023-11-02,63777
2023-11-03,63777
2023-11-08,63785
2023-11-11,63791
2023-11-13,63795
2023-11-19,63833
2023-11-21,63833
2023-11-24,63833
2023-11-25,63833
2023-11-25,63833
2023-11-25,63833
2023-11-26,63833
2023-11-26,63833
2023-12-01,63908
2023-12-03,65566
2023-12-12,66055
2023-12-16,66057
2023-12-17,66062
2023-12-17,66062
2023-12-25,66066
2023-12-30,66070
2024-01-03,66706
2024-01-06,66741
2024-01-13,66778
2024-01-17,66818
2024-01-21,66820
2024-01-27,66825
2024-01-30,66825
2024-02-06,66886
2024-02-10,66886
2024-02-12,66886
2024-02-15,66886
2024-02-24,94058
2024-02-25,94058
2024-02-28,94060
2024-03-04,94080
2024-03-09,94078
2024-03-15,94080
2024-03-19,94084
2024-03-23,94103
2024-03-28,94106
2024-04-02,94112
2024-04-04,94112
2024-04-09,94117
2024-04-11,94117
2024-04-18,94172
2024-04-22,94186
2024-04-25,94193
2024-05-01,94193
2024-05-03,94195
2024-05-12,94268
2024-05-20,94308
2024-05-27,94313
2024-06-03,94328
2024-06-08,94360
2024-06-14,94374
2024-06-16,94387
2024-06-19,94394
2024-06-21,94394
2024-06-24,94404
2024-06-26,94404
2024-07-01,94406
2024-07-04,94406
2024-07-07,94416
2024-07-11,94428
2024-07-14,94451
2024-07-15,94465
2024-07-20,94470
2024-07-27,94471
2024-07-30,94471
2024-08-02,94473
2024-08-04,94485
2024-08-08,94509
2024-08-11,94555
2024-08-16,94555
2024-08-17,94555
2024-08-20,94558
2024-08-26,94570
2024-08-29,94575
2024-08-30,94588
2024-08-31,94588
2024-09-04,97676
2024-09-06,97679
2024-09-10,97679
2024-09-13,97679
2024-09-16,97691
2024-09-20,97691
2024-09-21,97691
2024-09-22,97691
2024-09-25,97691
2024-09-27,97691
2024-09-27,97691
2024-10-01,97691
2024-10-01,97711
2024-10-01,97711
2024-10-03,87192
2024-10-05,86874
2024-10-07,86874
2024-10-09,86875
2024-10-10,86867
Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,684 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, gambling, porn, social
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, gambling, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts)
containing 87,230 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,155 @@
2023-06-11,61636
2023-06-13,61636
2023-06-14,61636
2023-06-14,61636
2023-06-16,61636
2023-06-17,61651
2023-06-18,61651
2023-06-23,61720
2023-06-27,61729
2023-07-01,61212
2023-07-06,61407
2023-07-09,61451
2023-07-14,61534
2023-07-15,61534
2023-07-21,61559
2023-07-23,61559
2023-07-27,61563
2023-08-01,61575
2023-08-04,61578
2023-08-05,61578
2023-08-08,66086
2023-08-05,61578
2023-08-08,66086
2023-08-13,66103
2023-08-17,66113
2023-08-21,66131
2023-08-22,66249
2023-08-26,66249
2023-08-28,66262
2023-09-03,66144
2023-09-04,66304
2023-09-05,66308
2023-09-06,66190
2023-09-06,66334
2023-09-08,66344
2023-09-08,66309
2023-09-10,66309
2023-09-14,66325
2023-09-17,66325
2023-09-21,66345
2023-09-24,66370
2023-09-25,66387
2023-09-30,66434
2023-10-02,66434
2023-10-04,66434
2023-10-08,66603
2023-10-12,66610
2023-10-13,66610
2023-10-17,66614
2023-10-18,66614
2023-10-21,66614
2023-10-23,66612
2023-10-27,66611
2023-11-01,66617
2023-11-02,66617
2023-11-03,66617
2023-11-08,66625
2023-11-11,66631
2023-11-13,66635
2023-11-19,66673
2023-11-21,66673
2023-11-24,66673
2023-11-25,66673
2023-11-25,66673
2023-11-25,66673
2023-11-26,66673
2023-11-26,66673
2023-12-01,66748
2023-12-03,68406
2023-12-12,68893
2023-12-16,68895
2023-12-17,68901
2023-12-17,68901
2023-12-25,68905
2023-12-30,68909
2024-01-03,69549
2024-01-06,69584
2024-01-13,69621
2024-01-17,69661
2024-01-21,69663
2024-01-27,69668
2024-01-30,69668
2024-02-06,69729
2024-02-10,69729
2024-02-12,69729
2024-02-15,69729
2024-02-24,96902
2024-02-25,96902
2024-02-28,96904
2024-03-04,96925
2024-03-09,96923
2024-03-15,96925
2024-03-19,96929
2024-03-23,96948
2024-03-28,96951
2024-04-02,96957
2024-04-04,96957
2024-04-09,97273
2024-04-11,97273
2024-04-18,97328
2024-04-22,97342
2024-04-25,97413
2024-05-01,97413
2024-05-03,97415
2024-05-12,97488
2024-05-20,97528
2024-05-27,97533
2024-06-03,97548
2024-06-08,97580
2024-06-14,97594
2024-06-16,97607
2024-06-19,97614
2024-06-21,97614
2024-06-24,97624
2024-06-26,97624
2024-07-01,97626
2024-07-04,97626
2024-07-07,97636
2024-07-11,97648
2024-07-14,97671
2024-07-15,97685
2024-07-20,97690
2024-07-27,97691
2024-07-30,97691
2024-08-02,97693
2024-08-04,97705
2024-08-08,97729
2024-08-11,97775
2024-08-16,97775
2024-08-17,97775
2024-08-20,97778
2024-08-26,97790
2024-08-29,97795
2024-08-30,97808
2024-08-31,97808
2024-09-04,100896
2024-09-06,100899
2024-09-10,100899
2024-09-13,100899
2024-09-16,100911
2024-09-20,100911
2024-09-21,100911
2024-09-22,100911
2024-09-25,100911
2024-09-27,100911
2024-09-27,100911
2024-10-01,100911
2024-10-01,100934
2024-10-01,100934
2024-10-03,90415
2024-10-05,90097
2024-10-07,90090
2024-10-09,90091
2024-10-10,90083
Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff
+470 -227
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* 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 76,829 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts)
containing 221,039 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,47 +90,112 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -110,68 +203,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -181,28 +287,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -212,43 +323,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -268,71 +388,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -342,54 +533,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -397,61 +578,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,861 @@
2016-12-17,40319
2016-12-18,40365
2016-12-18,41794
2016-12-19,41820
2016-12-20,41897
2016-12-21,41933
2016-12-21,41890
2016-12-22,41926
2016-12-25,41940
2016-12-27,41962
2016-12-28,41982
2017-01-02,41997
2017-01-05,39968
2017-01-05,41998
2017-01-10,42071
2017-01-11,42176
2017-01-14,42172
2017-01-18,42221
2017-01-18,42222
2017-01-20,42239
2017-01-22,42247
2017-01-26,42293
2017-01-31,42332
2017-02-04,42338
2017-02-04,42339
2017-02-07,42318
2017-02-07,42317
2017-02-10,42331
2017-02-11,42333
2017-02-13,42333
2017-02-15,42353
2017-02-17,42349
2017-02-17,42349
2017-02-20,42418
2017-02-22,46318
2017-02-23,46317
2017-02-23,45773
2017-02-24,45765
2017-02-24,45352
2017-02-26,45379
2017-03-01,45435
2017-03-04,45477
2017-03-07,45484
2017-03-10,45634
2017-03-15,45662
2017-03-16,45668
2017-03-20,45678
2017-03-22,45688
2017-03-25,45714
2017-03-30,45799
2017-04-05,45839
2017-04-08,45647
2017-04-08,45647
2017-04-08,45647
2017-04-11,45735
2017-04-13,45660
2017-04-15,45691
2017-04-16,45691
2017-04-17,45710
2017-04-18,45727
2017-04-22,45780
2017-04-25,45813
2017-04-26,45839
2017-05-02,45885
2017-05-07,45924
2017-05-08,45928
2017-05-10,45990
2017-05-13,46098
2017-05-15,46114
2017-05-15,46114
2017-05-16,46179
2017-05-21,46179
2017-05-21,46257
2017-05-23,46281
2017-05-28,46421
2017-05-29,46464
2017-05-30,46474
2017-06-02,46566
2017-06-05,46608
2017-06-11,46677
2017-06-21,46890
2017-06-22,46919
2017-06-24,46840
2017-06-28,46889
2017-07-04,46892
2017-07-10,47031
2017-07-11,47042
2017-07-11,47043
2017-07-12,47057
2017-07-17,46783
2017-07-17,46782
2017-07-18,46722
2017-07-26,46426
2017-07-28,46427
2017-07-31,46456
2017-08-08,46185
2017-08-12,46344
2017-08-15,48847
2017-08-15,48847
2017-08-18,48868
2017-08-18,48623
2017-08-20,48623
2017-08-20,48637
2017-08-20,48637
2017-08-21,48597
2017-08-28,48665
2017-08-31,48657
2017-09-05,48568
2017-09-07,48632
2017-09-13,48665
2017-09-18,48614
2017-09-21,48637
2017-09-29,48656
2017-10-05,48668
2017-10-11,48653
2017-10-15,53012
2017-10-19,52981
2017-10-25,53013
2017-10-25,53040
2017-10-28,53039
2017-11-01,53084
2017-11-04,53102
2017-11-09,53138
2017-11-16,53214
2017-11-25,53263
2017-11-30,53299
2017-12-07,53215
2017-12-11,53225
2017-12-17,55917
2017-12-18,53257
2017-12-21,53265
2017-12-27,53267
2017-12-30,53266
2018-01-01,53286
2018-01-06,55908
2018-01-10,55904
2018-01-13,55814
2018-01-14,55822
2018-01-21,55919
2018-01-22,55921
2018-01-23,55927
2018-01-26,55930
2018-01-26,56033
2018-01-31,55948
2018-02-02,55145
2018-02-08,67878
2018-02-09,67878
2018-02-11,67892
2018-02-13,67866
2018-02-14,67892
2018-02-15,67889
2018-02-20,67857
2018-02-24,71920
2018-02-24,68843
2018-02-25,68836
2018-02-25,68835
2018-02-26,68851
2018-02-28,68871
2018-03-03,68867
2018-03-04,68882
2018-03-04,68804
2018-03-06,68858
2018-03-07,68858
2018-03-08,68853
2018-03-09,68869
2018-03-10,68870
2018-03-12,68894
2018-03-13,68896
2018-03-14,68903
2018-03-15,69402
2018-03-15,68913
2018-03-17,68918
2018-03-17,68918
2018-03-19,68955
2018-03-20,68993
2018-03-22,68997
2018-03-23,73404
2018-03-23,73404
2018-03-24,69483
2018-03-26,69537
2018-03-28,69602
2018-03-29,69594
2018-03-30,69593
2018-04-02,69145
2018-04-02,68639
2018-04-04,68027
2018-04-05,68006
2018-04-06,67951
2018-04-06,67956
2018-04-08,67888
2018-04-12,67904
2018-04-16,67801
2018-04-17,67890
2018-04-19,67829
2018-04-21,67862
2018-04-22,67860
2018-04-24,67870
2018-04-25,67748
2018-04-30,67803
2018-05-02,67582
2018-05-05,67589
2018-05-08,67440
2018-05-12,67467
2018-05-13,67463
2018-05-17,67142
2018-05-19,67151
2018-05-22,67164
2018-05-30,68387
2018-06-02,68408
2018-06-02,68408
2018-06-02,68408
2018-06-05,68623
2018-06-08,69773
2018-06-10,69795
2018-06-14,69909
2018-06-14,69908
2018-06-14,69908
2018-06-14,69908
2018-06-14,69908
2018-06-16,70119
2018-06-17,70313
2018-06-18,70400
2018-06-20,70730
2018-06-24,70781
2018-06-28,70825
2018-06-30,71011
2018-07-04,72523
2018-07-06,75560
2018-07-09,75614
2018-07-11,74382
2018-07-16,74387
2018-07-23,73901
2018-07-26,74088
2018-07-26,74088
2018-07-30,74908
2018-08-01,74972
2018-08-08,75433
2018-08-13,75756
2018-08-19,76685
2018-08-22,76063
2018-08-24,75384
2018-08-25,75304
2018-08-29,74389
2018-09-04,74328
2018-09-05,73593
2018-09-06,73665
2018-09-08,73660
2018-09-13,72844
2018-09-16,71641
2018-09-18,70777
2018-09-23,71069
2018-10-02,71072
2018-10-05,69948
2018-10-09,69898
2018-10-14,69975
2018-10-22,68143
2018-10-23,67877
2018-11-01,67302
2018-11-02,67694
2018-11-14,79944
2018-11-20,79183
2018-11-21,79297
2018-11-26,78476
2018-11-29,79005
2018-12-04,78996
2018-12-11,77652
2018-12-15,77658
2018-12-23,78026
2018-12-29,90485
2018-12-30,77948
2019-01-04,77743
2019-01-10,53210
2019-01-13,53529
2019-01-22,53554
2019-01-26,53777
2019-01-29,53802
2019-02-06,53874
2019-02-11,54626
2019-02-18,54731
2019-02-24,54753
2019-03-02,54743
2019-03-06,54257
2019-03-15,54036
2019-03-21,55864
2019-03-26,55984
2019-04-02,55935
2019-04-07,55893
2019-04-11,55616
2019-04-17,55332
2019-04-25,55643
2019-05-02,58040
2019-05-04,58028
2019-05-05,58033
2019-05-10,57902
2019-05-13,57864
2019-05-23,57901
2019-05-24,57893
2019-05-29,58149
2019-06-05,58140
2019-06-11,58143
2019-06-17,59542
2019-06-19,59553
2019-06-22,59774
2019-06-28,58110
2019-07-04,58159
2019-07-21,58460
2019-07-27,58538
2019-07-31,58561
2019-08-06,59201
2019-08-10,59356
2019-08-13,59635
2019-08-14,59764
2019-08-14,59764
2019-08-22,59918
2019-08-30,59957
2019-09-06,57418
2019-09-09,56831
2019-09-09,57452
2019-09-09,56843
2019-09-10,60038
2019-09-19,60072
2019-09-23,60128
2019-09-29,60180
2019-10-10,57507
2019-10-12,57523
2019-10-15,60740
2019-10-18,60614
2019-10-27,61994
2019-10-27,62748
2019-10-30,62867
2019-10-31,63028
2019-11-03,63183
2019-11-15,62872
2019-11-17,62953
2019-11-20,64122
2019-11-26,64465
2019-11-27,64468
2019-12-02,64487
2019-12-11,61348
2019-12-15,61046
2019-12-20,61088
2019-12-21,61095
2019-12-23,61084
2019-12-30,61119
2020-01-01,61099
2020-01-04,61259
2020-01-06,61227
2020-01-09,61952
2020-01-11,62303
2020-01-14,72653
2020-01-16,72657
2020-01-16,72659
2020-01-16,72661
2020-01-19,72652
2020-01-21,72615
2020-01-23,72380
2020-01-24,71867
2020-01-30,72833
2020-02-03,73097
2020-02-05,73006
2020-02-09,73048
2020-02-14,73156
2020-02-17,73197
2020-02-21,73380
2020-02-22,73380
2020-02-25,73367
2020-02-25,73366
2020-03-01,73511
2020-03-05,73418
2020-03-07,73453
2020-03-11,74351
2020-03-15,75730
2020-03-18,76026
2020-03-21,76445
2020-03-25,76831
2020-03-28,77032
2020-03-29,76995
2020-04-01,77087
2020-04-03,76400
2020-04-03,76400
2020-04-03,77246
2020-04-04,77193
2020-04-06,77276
2020-04-09,77493
2020-04-10,77526
2020-04-11,79996
2020-04-13,80171
2020-04-16,80492
2020-04-18,80609
2020-04-22,80761
2020-04-26,80738
2020-04-28,80672
2020-05-02,81456
2020-05-05,81034
2020-05-05,81165
2020-05-12,83083
2020-05-13,83225
2020-05-13,83228
2020-05-15,83286
2020-05-20,83217
2020-05-26,82904
2020-05-27,82944
2020-06-02,83121
2020-06-09,83036
2020-06-16,83044
2020-06-22,82906
2020-06-25,82966
2020-06-27,82881
2020-07-02,83026
2020-07-02,83025
2020-07-05,82924
2020-07-06,82894
2020-07-13,83082
2020-07-18,83300
2020-07-24,83473
2020-07-29,84393
2020-08-01,84309
2020-08-03,83647
2020-08-06,84155
2020-08-13,84700
2020-08-14,84747
2020-08-15,85138
2020-08-17,84539
2020-08-19,83317
2020-08-25,82999
2020-09-02,83461
2020-09-07,83407
2020-09-14,83980
2020-09-20,83941
2020-09-26,84294
2020-10-03,84366
2020-10-08,84017
2020-10-13,81517
2020-10-14,83149
2020-10-19,85326
2020-10-29,87003
2020-11-01,86689
2020-11-03,88543
2020-11-08,88509
2020-11-10,87993
2020-11-14,86723
2020-11-15,88598
2020-11-16,88630
2020-11-19,86771
2020-11-22,88746
2020-11-25,89457
2020-11-28,89546
2020-12-02,87564
2020-12-09,87994
2020-12-14,88259
2020-12-19,88124
2020-12-26,88087
2020-12-31,87797
2021-01-02,87615
2021-01-05,87838
2021-01-12,87905
2021-01-17,88685
2021-01-22,89352
2021-01-22,89356
2021-01-24,89709
2021-01-31,90015
2021-02-02,90231
2021-02-03,90268
2021-02-08,90880
2021-02-09,90940
2021-02-14,91271
2021-02-16,95941
2021-02-21,96780
2021-02-22,98271
2021-02-26,98528
2021-02-28,98542
2021-03-06,99620
2021-03-09,99964
2021-03-10,101347
2021-03-16,100928
2021-03-21,100840
2021-03-28,101739
2021-03-31,111135
2021-04-04,111465
2021-04-09,112008
2021-04-13,109998
2021-04-19,113346
2021-04-24,116805
2021-04-26,113216
2021-04-26,113444
2021-04-29,114284
2021-05-01,114077
2021-05-04,112627
2021-05-05,112699
2021-05-06,112816
2021-05-06,113193
2021-05-06,113192
2021-05-12,114522
2021-05-15,114900
2021-05-17,114108
2021-05-22,115111
2021-05-25,116469
2021-05-31,116244
2021-06-07,115597
2021-06-16,114541
2021-06-22,113901
2021-06-28,114654
2021-07-01,115411
2021-07-04,115363
2021-07-13,116102
2021-07-18,116624
2021-07-19,112242
2021-07-26,117300
2021-07-29,117887
2021-08-02,119026
2021-08-09,120707
2021-08-17,120177
2021-08-20,120732
2021-08-25,123131
2021-08-26,123790
2021-08-30,122883
2021-09-02,124019
2021-09-06,124847
2021-09-07,126682
2021-09-12,127184
2021-09-17,126914
2021-09-24,131375
2021-09-30,149303
2021-09-30,137031
2021-10-03,139063
2021-10-05,139779
2021-10-12,140655
2021-10-14,141348
2021-10-19,141637
2021-10-23,141738
2021-10-23,141736
2021-10-27,141077
2021-11-04,141686
2021-11-11,141844
2021-11-14,141807
2021-11-17,142249
2021-11-21,144924
2021-11-29,146275
2021-11-29,146256
2021-12-05,145341
2021-12-09,145267
2021-12-12,145504
2021-12-13,146109
2021-12-16,146911
2021-12-19,146972
2021-12-20,147374
2021-12-25,148509
2021-12-30,148362
2021-12-30,148547
2021-12-30,148536
2022-01-02,148399
2022-01-04,148664
2022-01-07,148950
2022-01-11,144231
2022-01-18,146169
2022-01-19,145838
2022-01-21,146517
2022-01-24,149869
2022-01-28,151664
2022-01-30,151809
2022-01-31,148233
2022-02-01,148634
2022-02-07,149351
2022-02-12,151998
2022-02-13,152128
2022-02-13,152124
2022-02-17,152189
2022-02-22,147634
2022-02-26,147808
2022-03-06,151855
2022-03-07,150669
2022-03-09,150984
2022-03-12,151403
2022-03-14,149610
2022-03-19,150222
2022-03-24,182743
2022-03-29,158058
2022-03-31,158536
2022-04-05,160033
2022-04-09,160732
2022-04-13,161535
2022-04-18,161499
2022-04-21,162248
2022-04-25,159333
2022-04-29,150436
2022-05-03,163755
2022-05-05,163995
2022-05-10,161889
2022-05-14,162636
2022-05-19,165563
2022-05-25,193518
2022-05-29,194190
2022-05-31,162728
2022-06-02,163091
2022-06-07,160178
2022-06-09,160541
2022-06-09,160542
2022-06-16,179254
2022-06-21,159051
2022-06-21,159165
2022-06-25,160145
2022-06-29,172511
2022-07-01,172764
2022-07-04,160751
2022-07-13,196287
2022-07-16,186972
2022-07-16,186965
2022-07-18,162950
2022-07-21,181623
2022-07-23,182682
2022-07-25,181774
2022-07-29,182945
2022-08-03,184007
2022-08-09,184094
2022-08-12,184921
2022-08-17,185922
2022-08-20,186940
2022-08-24,187835
2022-08-25,188282
2022-08-31,188107
2022-09-04,188836
2022-09-05,193977
2022-09-08,195037
2022-09-11,195566
2022-09-13,196782
2022-09-17,198383
2022-09-23,206422
2022-10-01,209130
2022-10-06,210421
2022-10-09,210646
2022-10-13,212696
2022-10-15,213237
2022-10-17,213271
2022-10-20,213937
2022-10-27,215882
2022-11-01,217721
2022-11-09,216724
2022-11-12,216648
2022-11-13,216527
2022-11-20,220373
2022-11-21,220304
2022-11-26,218880
2022-11-28,218375
2022-11-29,219359
2022-12-03,219113
2022-12-04,218765
2022-12-05,220152
2022-12-06,221220
2022-12-11,219882
2022-12-13,220601
2022-12-15,224558
2022-12-18,221812
2022-12-20,225253
2022-12-26,223336
2022-12-29,224018
2022-12-29,224110
2023-01-01,224232
2023-01-06,225236
2023-01-08,225367
2023-01-11,227370
2023-01-13,227707
2023-01-19,229957
2023-01-23,230712
2023-01-24,231390
2023-01-27,232805
2023-01-27,232808
2023-01-27,232806
2023-01-31,233308
2023-02-05,235471
2023-02-07,237046
2023-02-07,237047
2023-02-07,237048
2023-02-16,241294
2023-02-19,242485
2023-02-23,243368
2023-02-28,245647
2023-03-03,245358
2023-03-06,245741
2023-03-07,246070
2023-03-10,247937
2023-03-14,249588
2023-03-21,252536
2023-03-25,254175
2023-03-29,255035
2023-04-07,258793
2023-04-11,260042
2023-04-16,261341
2023-04-18,264756
2023-04-19,230806
2023-04-19,230813
2023-04-23,231427
2023-04-26,235196
2023-04-27,235602
2023-04-30,235694
2023-05-02,236593
2023-05-05,237817
2023-05-08,237966
2023-05-11,239839
2023-05-14,241962
2023-05-15,243103
2023-05-20,244329
2023-05-21,244686
2023-05-24,247286
2023-06-02,249894
2023-06-06,251069
2023-06-10,251878
2023-06-11,251954
2023-06-13,252443
2023-06-14,253321
2023-06-14,253998
2023-06-16,255016
2023-06-17,254728
2023-06-18,254515
2023-06-23,256317
2023-06-27,256949
2023-07-01,257600
2023-07-06,259209
2023-07-09,259686
2023-07-14,261407
2023-07-15,261509
2023-07-21,263279
2023-07-23,263471
2023-07-27,264766
2023-08-01,266013
2023-08-04,268151
2023-08-05,268239
2023-08-08,273395
2023-08-05,268239
2023-08-08,273395
2023-08-13,275060
2023-08-17,275869
2023-08-21,276835
2023-08-22,277209
2023-08-26,278784
2023-08-28,279009
2023-09-03,278630
2023-09-04,280995
2023-09-05,281805
2023-09-06,281400
2023-09-06,282807
2023-09-08,283687
2023-09-08,283703
2023-09-10,259148
2023-09-14,259183
2023-09-17,235666
2023-09-21,202024
2023-09-24,202620
2023-09-25,201595
2023-09-30,201889
2023-10-02,202268
2023-10-04,203657
2023-10-08,204716
2023-10-12,208505
2023-10-13,209223
2023-10-17,210100
2023-10-18,210595
2023-10-21,212277
2023-10-23,212464
2023-10-27,214884
2023-11-01,216024
2023-11-02,216777
2023-11-03,217302
2023-11-08,219243
2023-11-11,220147
2023-11-13,220771
2023-11-19,223170
2023-11-21,224155
2023-11-24,225716
2023-11-25,226071
2023-11-25,226066
2023-11-25,226103
2023-11-26,226174
2023-11-26,226206
2023-12-01,210217
2023-12-03,212366
2023-12-12,209857
2023-12-16,211646
2023-12-17,211840
2023-12-17,211861
2023-12-25,212962
2023-12-30,214134
2024-01-03,215576
2024-01-06,216888
2024-01-13,221401
2024-01-17,222656
2024-01-21,223879
2024-01-27,226537
2024-01-30,227822
2024-02-06,231140
2024-02-10,220059
2024-02-12,221073
2024-02-15,223647
2024-02-24,257602
2024-02-25,257675
2024-02-28,261296
2024-03-04,264986
2024-03-09,269856
2024-03-15,274272
2024-03-19,277010
2024-03-23,279735
2024-03-28,282018
2024-04-02,282971
2024-04-04,227588
2024-04-09,220954
2024-04-11,221502
2024-04-18,221950
2024-04-22,223758
2024-04-25,225213
2024-05-01,224546
2024-05-03,224950
2024-05-12,229414
2024-05-20,234795
2024-05-27,238683
2024-06-03,241707
2024-06-08,244716
2024-06-14,249659
2024-06-16,250772
2024-06-19,253564
2024-06-21,255796
2024-06-24,256859
2024-06-26,258492
2024-07-01,260537
2024-07-04,262383
2024-07-07,249278
2024-07-11,252009
2024-07-14,253032
2024-07-15,253618
2024-07-20,256188
2024-07-27,256278
2024-07-30,257486
2024-08-02,258854
2024-08-04,259342
2024-08-08,261635
2024-08-11,262706
2024-08-16,265270
2024-08-17,265776
2024-08-20,267270
2024-08-26,269739
2024-08-29,271160
2024-08-30,271632
2024-08-31,271733
2024-09-04,276257
2024-09-06,277274
2024-09-10,265874
2024-09-13,266499
2024-09-16,267479
2024-09-20,266430
2024-09-21,214918
2024-09-22,213816
2024-09-25,214869
2024-09-27,215438
2024-09-27,215439
2024-10-01,215439
2024-10-01,216242
2024-10-01,216242
2024-10-03,206033
2024-10-05,205741
2024-10-07,205216
2024-10-09,205669
2024-10-10,205773
Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

File diff suppressed because it is too large Load Diff
+469 -225
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 74,080 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts)
containing 217,852 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,45 +90,111 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -108,68 +202,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -179,28 +286,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -210,43 +322,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -266,71 +387,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -340,54 +532,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -395,61 +577,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+861
View File
@@ -0,0 +1,861 @@
2016-12-17,40089
2016-12-18,40135
2016-12-18,41564
2016-12-19,41590
2016-12-20,41667
2016-12-21,41703
2016-12-21,41660
2016-12-22,41696
2016-12-25,41710
2016-12-27,41732
2016-12-28,41752
2017-01-02,41767
2017-01-05,39738
2017-01-05,41768
2017-01-10,41841
2017-01-11,41946
2017-01-14,41942
2017-01-18,41991
2017-01-18,41992
2017-01-20,42009
2017-01-22,42017
2017-01-26,42063
2017-01-31,42102
2017-02-04,42108
2017-02-04,42108
2017-02-07,42087
2017-02-07,42086
2017-02-10,42100
2017-02-11,42102
2017-02-13,42102
2017-02-15,42122
2017-02-17,42118
2017-02-17,42118
2017-02-20,42187
2017-02-22,46087
2017-02-23,46086
2017-02-23,45542
2017-02-24,45534
2017-02-24,45121
2017-02-26,45148
2017-03-01,45204
2017-03-04,45246
2017-03-07,45252
2017-03-10,45402
2017-03-15,45430
2017-03-16,45436
2017-03-20,45446
2017-03-22,45456
2017-03-25,45482
2017-03-30,45567
2017-04-05,45607
2017-04-08,45415
2017-04-08,45415
2017-04-08,45415
2017-04-11,45503
2017-04-13,45427
2017-04-15,45458
2017-04-16,45458
2017-04-17,45477
2017-04-18,45494
2017-04-22,45547
2017-04-25,45580
2017-04-26,45606
2017-05-02,45652
2017-05-07,45691
2017-05-08,45695
2017-05-10,45757
2017-05-13,45865
2017-05-15,45881
2017-05-15,45881
2017-05-16,45946
2017-05-21,45946
2017-05-21,46024
2017-05-23,46048
2017-05-28,46188
2017-05-29,46231
2017-05-30,46241
2017-06-02,46333
2017-06-05,46375
2017-06-11,46444
2017-06-21,46657
2017-06-22,46686
2017-06-24,46607
2017-06-28,46656
2017-07-04,46659
2017-07-10,46798
2017-07-11,46809
2017-07-11,46810
2017-07-12,46824
2017-07-17,46550
2017-07-17,46549
2017-07-18,46489
2017-07-26,46193
2017-07-28,46194
2017-07-31,46223
2017-08-08,45952
2017-08-12,46111
2017-08-15,48614
2017-08-15,48614
2017-08-18,48635
2017-08-18,48390
2017-08-20,48390
2017-08-20,48404
2017-08-20,48404
2017-08-21,48364
2017-08-28,48432
2017-08-31,48424
2017-09-05,48335
2017-09-07,48399
2017-09-13,48432
2017-09-18,48381
2017-09-21,48404
2017-09-29,48423
2017-10-05,48435
2017-10-11,48420
2017-10-15,52779
2017-10-19,52748
2017-10-25,52780
2017-10-25,52807
2017-10-28,52806
2017-11-01,52851
2017-11-04,52869
2017-11-09,52905
2017-11-16,52981
2017-11-25,53030
2017-11-30,53066
2017-12-07,52982
2017-12-11,52992
2017-12-17,55685
2017-12-18,53024
2017-12-21,53032
2017-12-27,53034
2017-12-30,53033
2018-01-01,53053
2018-01-06,54760
2018-01-10,54756
2018-01-13,54666
2018-01-14,54674
2018-01-21,54771
2018-01-22,54773
2018-01-23,54779
2018-01-26,54782
2018-01-26,54885
2018-01-31,54800
2018-02-02,53997
2018-02-08,66730
2018-02-09,66730
2018-02-11,66745
2018-02-13,66719
2018-02-14,66745
2018-02-15,66742
2018-02-20,66710
2018-02-24,70773
2018-02-24,67696
2018-02-25,67689
2018-02-25,67688
2018-02-26,67704
2018-02-28,67724
2018-03-03,67720
2018-03-04,67735
2018-03-04,67657
2018-03-06,67711
2018-03-07,67711
2018-03-08,67706
2018-03-09,67722
2018-03-10,67723
2018-03-12,67747
2018-03-13,67749
2018-03-14,67756
2018-03-15,68255
2018-03-15,67766
2018-03-17,67771
2018-03-17,67771
2018-03-19,67808
2018-03-20,67846
2018-03-22,67850
2018-03-23,72263
2018-03-23,72263
2018-03-24,68336
2018-03-26,68390
2018-03-28,68455
2018-03-29,68447
2018-03-30,68446
2018-04-02,67998
2018-04-02,67492
2018-04-04,66880
2018-04-05,66859
2018-04-06,66804
2018-04-06,66809
2018-04-08,66741
2018-04-12,66757
2018-04-16,66654
2018-04-17,66743
2018-04-19,66682
2018-04-21,66715
2018-04-22,66713
2018-04-24,66723
2018-04-25,66601
2018-04-30,66656
2018-05-02,66435
2018-05-05,66442
2018-05-08,66293
2018-05-12,66315
2018-05-13,66311
2018-05-17,65990
2018-05-19,65999
2018-05-22,66012
2018-05-30,67234
2018-06-02,67252
2018-06-02,67252
2018-06-02,67252
2018-06-05,67467
2018-06-08,68617
2018-06-10,68639
2018-06-14,68754
2018-06-14,68753
2018-06-14,68752
2018-06-14,68752
2018-06-14,68752
2018-06-16,68963
2018-06-17,69157
2018-06-18,69244
2018-06-20,69574
2018-06-24,69625
2018-06-28,69669
2018-06-30,69855
2018-07-04,71367
2018-07-06,74404
2018-07-09,74457
2018-07-11,73225
2018-07-16,73230
2018-07-23,72744
2018-07-26,72931
2018-07-26,72931
2018-07-30,73751
2018-08-01,73815
2018-08-08,74276
2018-08-13,74599
2018-08-19,75526
2018-08-22,74904
2018-08-24,74226
2018-08-25,74146
2018-08-29,73231
2018-09-04,73170
2018-09-05,72435
2018-09-06,72507
2018-09-08,72502
2018-09-13,71686
2018-09-16,70483
2018-09-18,69619
2018-09-23,69911
2018-10-02,69914
2018-10-05,68790
2018-10-09,68740
2018-10-14,68817
2018-10-22,66985
2018-10-23,66719
2018-11-01,66144
2018-11-02,66536
2018-11-14,78786
2018-11-20,78025
2018-11-21,78139
2018-11-26,77318
2018-11-29,77846
2018-12-04,77837
2018-12-11,76493
2018-12-15,76499
2018-12-23,76867
2018-12-29,89326
2018-12-30,76789
2019-01-04,76584
2019-01-10,52050
2019-01-13,52053
2019-01-22,52078
2019-01-26,52301
2019-01-29,52326
2019-02-06,52398
2019-02-11,52343
2019-02-18,52448
2019-02-24,52470
2019-03-02,52460
2019-03-06,51974
2019-03-15,51753
2019-03-21,53581
2019-03-26,53701
2019-04-02,53652
2019-04-07,53610
2019-04-11,53333
2019-04-17,53049
2019-04-25,53356
2019-05-02,55753
2019-05-04,55741
2019-05-05,55746
2019-05-10,55614
2019-05-13,55576
2019-05-23,55615
2019-05-24,55607
2019-05-29,55863
2019-06-05,55855
2019-06-11,55858
2019-06-17,57257
2019-06-19,57268
2019-06-22,57300
2019-06-28,55636
2019-07-04,55685
2019-07-21,55986
2019-07-27,56064
2019-07-31,56087
2019-08-06,56727
2019-08-10,56882
2019-08-13,57161
2019-08-14,57290
2019-08-14,57290
2019-08-22,57444
2019-08-30,57483
2019-09-06,54944
2019-09-09,54357
2019-09-09,54978
2019-09-09,54369
2019-09-10,57564
2019-09-19,57598
2019-09-23,57654
2019-09-29,57706
2019-10-10,55033
2019-10-12,55049
2019-10-15,58266
2019-10-18,58140
2019-10-27,59520
2019-10-27,60274
2019-10-30,60393
2019-10-31,60554
2019-11-03,60709
2019-11-15,60398
2019-11-17,60479
2019-11-20,61648
2019-11-26,61991
2019-11-27,61994
2019-12-02,62013
2019-12-11,58874
2019-12-15,58571
2019-12-20,58613
2019-12-21,58620
2019-12-23,58609
2019-12-30,58644
2020-01-01,58624
2020-01-04,58784
2020-01-06,58752
2020-01-09,59477
2020-01-11,59828
2020-01-14,70186
2020-01-16,70190
2020-01-16,70192
2020-01-16,70194
2020-01-19,70185
2020-01-21,70148
2020-01-23,69913
2020-01-24,69400
2020-01-30,70366
2020-02-03,70630
2020-02-05,70539
2020-02-09,70581
2020-02-14,70689
2020-02-17,70730
2020-02-21,70913
2020-02-22,70913
2020-02-25,70900
2020-02-25,70899
2020-03-01,71044
2020-03-05,70951
2020-03-07,70986
2020-03-11,71602
2020-03-15,72981
2020-03-18,73277
2020-03-21,73696
2020-03-25,74082
2020-03-28,74283
2020-03-29,74246
2020-04-01,74337
2020-04-03,73650
2020-04-03,73650
2020-04-03,74496
2020-04-04,74443
2020-04-06,74526
2020-04-09,74743
2020-04-10,74776
2020-04-11,77246
2020-04-13,77421
2020-04-16,77742
2020-04-18,77859
2020-04-22,78011
2020-04-26,77988
2020-04-28,77922
2020-05-02,78706
2020-05-05,78284
2020-05-05,78415
2020-05-12,80333
2020-05-13,80475
2020-05-13,80478
2020-05-15,80536
2020-05-20,80467
2020-05-26,80154
2020-05-27,80194
2020-06-02,80365
2020-06-09,80280
2020-06-16,80288
2020-06-22,80150
2020-06-25,80210
2020-06-27,80125
2020-07-02,80270
2020-07-02,80269
2020-07-05,80168
2020-07-06,80138
2020-07-13,80326
2020-07-18,80544
2020-07-24,80717
2020-07-29,81637
2020-08-01,81553
2020-08-03,80891
2020-08-06,81399
2020-08-13,81944
2020-08-14,81991
2020-08-15,82382
2020-08-17,81783
2020-08-19,80561
2020-08-25,80243
2020-09-02,80705
2020-09-07,80651
2020-09-14,81224
2020-09-20,81185
2020-09-26,81538
2020-10-03,81610
2020-10-08,81261
2020-10-13,78761
2020-10-14,80393
2020-10-19,82570
2020-10-29,84247
2020-11-01,83933
2020-11-03,85787
2020-11-08,85753
2020-11-10,85237
2020-11-14,83966
2020-11-15,85841
2020-11-16,85873
2020-11-19,84014
2020-11-22,85989
2020-11-25,86700
2020-11-28,86789
2020-12-02,84807
2020-12-09,85237
2020-12-14,85502
2020-12-19,85366
2020-12-26,85329
2020-12-31,85039
2021-01-02,84857
2021-01-05,85080
2021-01-12,85147
2021-01-17,85927
2021-01-22,86594
2021-01-22,86598
2021-01-24,86951
2021-01-31,87219
2021-02-02,87435
2021-02-03,87472
2021-02-08,88084
2021-02-09,88144
2021-02-14,88467
2021-02-16,93137
2021-02-21,93976
2021-02-22,95467
2021-02-26,95724
2021-02-28,95738
2021-03-06,96816
2021-03-09,97160
2021-03-10,98543
2021-03-16,98124
2021-03-21,98036
2021-03-28,98935
2021-03-31,108331
2021-04-04,108661
2021-04-09,109204
2021-04-13,107194
2021-04-19,110542
2021-04-24,114001
2021-04-26,110412
2021-04-26,110640
2021-04-29,111480
2021-05-01,111273
2021-05-04,109823
2021-05-05,109895
2021-05-06,110012
2021-05-06,110389
2021-05-06,110388
2021-05-12,111718
2021-05-15,112096
2021-05-17,111304
2021-05-22,112307
2021-05-25,113665
2021-05-31,113440
2021-06-07,112793
2021-06-16,111737
2021-06-22,111097
2021-06-28,111840
2021-07-01,112597
2021-07-04,112549
2021-07-13,113288
2021-07-18,113810
2021-07-19,109428
2021-07-26,114486
2021-07-29,115073
2021-08-02,116212
2021-08-09,117895
2021-08-17,117365
2021-08-20,117920
2021-08-25,120319
2021-08-26,120978
2021-08-30,120071
2021-09-02,121207
2021-09-06,122035
2021-09-07,123870
2021-09-12,124372
2021-09-17,124102
2021-09-24,128563
2021-09-30,146491
2021-09-30,134219
2021-10-03,136251
2021-10-05,136967
2021-10-12,137843
2021-10-14,138536
2021-10-19,138825
2021-10-23,138926
2021-10-23,138924
2021-10-27,138265
2021-11-04,138874
2021-11-11,139030
2021-11-14,138993
2021-11-17,139435
2021-11-21,142110
2021-11-29,143464
2021-11-29,143445
2021-12-05,142530
2021-12-09,142455
2021-12-12,142692
2021-12-13,143297
2021-12-16,144097
2021-12-19,144158
2021-12-20,144560
2021-12-25,145695
2021-12-30,145548
2021-12-30,145733
2021-12-30,145722
2022-01-02,145585
2022-01-04,145850
2022-01-07,146136
2022-01-11,141417
2022-01-18,143355
2022-01-19,143024
2022-01-21,143703
2022-01-24,147055
2022-01-28,148850
2022-01-30,148995
2022-01-31,145419
2022-02-01,145820
2022-02-07,146537
2022-02-12,149185
2022-02-13,149314
2022-02-13,149310
2022-02-17,149375
2022-02-22,144820
2022-02-26,144994
2022-03-06,149041
2022-03-07,147855
2022-03-09,148170
2022-03-12,148589
2022-03-14,146796
2022-03-19,147408
2022-03-24,179929
2022-03-29,155244
2022-03-31,155722
2022-04-05,157219
2022-04-09,157918
2022-04-13,158721
2022-04-18,158685
2022-04-21,159434
2022-04-25,156519
2022-04-29,147622
2022-05-03,160941
2022-05-05,161181
2022-05-10,159075
2022-05-14,159822
2022-05-19,162749
2022-05-25,190704
2022-05-29,191376
2022-05-31,159914
2022-06-02,160277
2022-06-07,157364
2022-06-09,157727
2022-06-09,157728
2022-06-16,176440
2022-06-21,156237
2022-06-21,156351
2022-06-25,157331
2022-06-29,169697
2022-07-01,169950
2022-07-04,157937
2022-07-13,193473
2022-07-16,184158
2022-07-16,184151
2022-07-18,160136
2022-07-21,178809
2022-07-23,179868
2022-07-25,178960
2022-07-29,180120
2022-08-03,181182
2022-08-09,181269
2022-08-12,182096
2022-08-17,183097
2022-08-20,184115
2022-08-24,185010
2022-08-25,185457
2022-08-31,185282
2022-09-04,186011
2022-09-05,191152
2022-09-08,192212
2022-09-11,192741
2022-09-13,193957
2022-09-17,195558
2022-09-23,203597
2022-10-01,206305
2022-10-06,207597
2022-10-09,207822
2022-10-13,209872
2022-10-15,210413
2022-10-17,210447
2022-10-20,211113
2022-10-27,213058
2022-11-01,214897
2022-11-09,213900
2022-11-12,213824
2022-11-13,213703
2022-11-20,217549
2022-11-21,217480
2022-11-26,216056
2022-11-28,215551
2022-11-29,216535
2022-12-03,216289
2022-12-04,215941
2022-12-05,217328
2022-12-06,218396
2022-12-11,217058
2022-12-13,217777
2022-12-15,221734
2022-12-18,218988
2022-12-20,222429
2022-12-26,220512
2022-12-29,221194
2022-12-29,221286
2023-01-01,221408
2023-01-06,222412
2023-01-08,222543
2023-01-11,224546
2023-01-13,224883
2023-01-19,227133
2023-01-23,227888
2023-01-24,228566
2023-01-27,229981
2023-01-27,229984
2023-01-27,229982
2023-01-31,230484
2023-02-05,232647
2023-02-07,234223
2023-02-07,234224
2023-02-07,234225
2023-02-16,238471
2023-02-19,239662
2023-02-23,240545
2023-02-28,242824
2023-03-03,242535
2023-03-06,242918
2023-03-07,243247
2023-03-10,245114
2023-03-14,246765
2023-03-21,249713
2023-03-25,251352
2023-03-29,252212
2023-04-07,255970
2023-04-11,257219
2023-04-16,258518
2023-04-18,261933
2023-04-19,227983
2023-04-19,227990
2023-04-23,228604
2023-04-26,232373
2023-04-27,232779
2023-04-30,232871
2023-05-02,233770
2023-05-05,234994
2023-05-08,235143
2023-05-11,237016
2023-05-14,239139
2023-05-15,240280
2023-05-20,241506
2023-05-21,241863
2023-05-24,244463
2023-06-02,247071
2023-06-06,248246
2023-06-10,249055
2023-06-11,249131
2023-06-13,249620
2023-06-14,250498
2023-06-14,251175
2023-06-16,252193
2023-06-17,251905
2023-06-18,251692
2023-06-23,253494
2023-06-27,254126
2023-07-01,254777
2023-07-06,256386
2023-07-09,256863
2023-07-14,258584
2023-07-15,258686
2023-07-21,260456
2023-07-23,260648
2023-07-27,261943
2023-08-01,263190
2023-08-04,265328
2023-08-05,265416
2023-08-08,270572
2023-08-05,265416
2023-08-08,270572
2023-08-13,272237
2023-08-17,273046
2023-08-21,274012
2023-08-22,274386
2023-08-26,275961
2023-08-28,276186
2023-09-03,275807
2023-09-04,278172
2023-09-05,278982
2023-09-06,278577
2023-09-06,279984
2023-09-08,280864
2023-09-08,280880
2023-09-10,256325
2023-09-14,256360
2023-09-17,232843
2023-09-21,199201
2023-09-24,199797
2023-09-25,198772
2023-09-30,199066
2023-10-02,199445
2023-10-04,200834
2023-10-08,201893
2023-10-12,205682
2023-10-13,206400
2023-10-17,207277
2023-10-18,207772
2023-10-21,209454
2023-10-23,209641
2023-10-27,212061
2023-11-01,213201
2023-11-02,213954
2023-11-03,214479
2023-11-08,216420
2023-11-11,217324
2023-11-13,217948
2023-11-19,220347
2023-11-21,221332
2023-11-24,222893
2023-11-25,223248
2023-11-25,223243
2023-11-25,223280
2023-11-26,223351
2023-11-26,223383
2023-12-01,207394
2023-12-03,209543
2023-12-12,207036
2023-12-16,208825
2023-12-17,209018
2023-12-17,209039
2023-12-25,210140
2023-12-30,211312
2024-01-03,212750
2024-01-06,214062
2024-01-13,218575
2024-01-17,219830
2024-01-21,221053
2024-01-27,223711
2024-01-30,224996
2024-02-06,228314
2024-02-10,217233
2024-02-12,218247
2024-02-15,220821
2024-02-24,254775
2024-02-25,254848
2024-02-28,258469
2024-03-04,262158
2024-03-09,267028
2024-03-15,271444
2024-03-19,274182
2024-03-23,276907
2024-03-28,279190
2024-04-02,280143
2024-04-04,224760
2024-04-09,217824
2024-04-11,218372
2024-04-18,218820
2024-04-22,220628
2024-04-25,222022
2024-05-01,221355
2024-05-03,221759
2024-05-12,226223
2024-05-20,231604
2024-05-27,235492
2024-06-03,238516
2024-06-08,241525
2024-06-14,246468
2024-06-16,247581
2024-06-19,250373
2024-06-21,252605
2024-06-24,253668
2024-06-26,255301
2024-07-01,257346
2024-07-04,259192
2024-07-07,246087
2024-07-11,248818
2024-07-14,249841
2024-07-15,250427
2024-07-20,252997
2024-07-27,253087
2024-07-30,254295
2024-08-02,255663
2024-08-04,256151
2024-08-08,258444
2024-08-11,259515
2024-08-16,262079
2024-08-17,262585
2024-08-20,264079
2024-08-26,266548
2024-08-29,267969
2024-08-30,268441
2024-08-31,268542
2024-09-04,273066
2024-09-06,274083
2024-09-10,262683
2024-09-13,263308
2024-09-16,264288
2024-09-20,263239
2024-09-21,211727
2024-09-22,210625
2024-09-25,211678
2024-09-27,212247
2024-09-27,212248
2024-10-01,212248
2024-10-01,213048
2024-10-01,213048
2024-10-03,202839
2024-10-05,202547
2024-10-07,202029
2024-10-09,202482
2024-10-10,202586
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,678 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, gambling, social
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, gambling, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts)
containing 11,871 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,155 @@
2023-06-11,12612
2023-06-13,12612
2023-06-14,12612
2023-06-14,12612
2023-06-16,12612
2023-06-17,12624
2023-06-18,12624
2023-06-23,12683
2023-06-27,12691
2023-07-01,12174
2023-07-06,12232
2023-07-09,12310
2023-07-14,12397
2023-07-15,12397
2023-07-21,12423
2023-07-23,12423
2023-07-27,12427
2023-08-01,12439
2023-08-04,12445
2023-08-05,12445
2023-08-08,12445
2023-08-05,12445
2023-08-08,12445
2023-08-13,12462
2023-08-17,12472
2023-08-21,12490
2023-08-22,12490
2023-08-26,12490
2023-08-28,12503
2023-09-03,12503
2023-09-04,12541
2023-09-05,12545
2023-09-06,12545
2023-09-06,12545
2023-09-08,12554
2023-09-08,12554
2023-09-10,12554
2023-09-14,12570
2023-09-17,12570
2023-09-21,12590
2023-09-24,12615
2023-09-25,12637
2023-09-30,12682
2023-10-02,12682
2023-10-04,12682
2023-10-08,12705
2023-10-12,12712
2023-10-13,12712
2023-10-17,12716
2023-10-18,12716
2023-10-21,12716
2023-10-23,12716
2023-10-27,12716
2023-11-01,12722
2023-11-02,12722
2023-11-03,12722
2023-11-08,12730
2023-11-11,12736
2023-11-13,12740
2023-11-19,12778
2023-11-21,12778
2023-11-24,12778
2023-11-25,12778
2023-11-25,12778
2023-11-25,12778
2023-11-26,12778
2023-11-26,12778
2023-12-01,12853
2023-12-03,12872
2023-12-12,12881
2023-12-16,12883
2023-12-17,12889
2023-12-17,12889
2023-12-25,12893
2023-12-30,12897
2024-01-03,12918
2024-01-06,12950
2024-01-13,12987
2024-01-17,13027
2024-01-21,13029
2024-01-27,13033
2024-01-30,13033
2024-02-06,13068
2024-02-10,13068
2024-02-12,13068
2024-02-15,13068
2024-02-24,13101
2024-02-25,13101
2024-02-28,13103
2024-03-04,13114
2024-03-09,13114
2024-03-15,13116
2024-03-19,13120
2024-03-23,13120
2024-03-28,13123
2024-04-02,13125
2024-04-04,13125
2024-04-09,13443
2024-04-11,13443
2024-04-18,13460
2024-04-22,13474
2024-04-25,13543
2024-05-01,13543
2024-05-03,13545
2024-05-12,13594
2024-05-20,13616
2024-05-27,13621
2024-06-03,13630
2024-06-08,13638
2024-06-14,13649
2024-06-16,13662
2024-06-19,13669
2024-06-21,13669
2024-06-24,13679
2024-06-26,13679
2024-07-01,13681
2024-07-04,13681
2024-07-07,13691
2024-07-11,13703
2024-07-14,13726
2024-07-15,13740
2024-07-20,13745
2024-07-27,13746
2024-07-30,13746
2024-08-02,13748
2024-08-04,13758
2024-08-08,13782
2024-08-11,13805
2024-08-16,13805
2024-08-17,13805
2024-08-20,13808
2024-08-26,13820
2024-08-29,13825
2024-08-30,13838
2024-08-31,13838
2024-09-04,13848
2024-09-06,13851
2024-09-10,13851
2024-09-13,13851
2024-09-16,13863
2024-09-20,13863
2024-09-21,13863
2024-09-22,13863
2024-09-25,13863
2024-09-27,13863
2024-09-27,13863
2024-10-01,13863
2024-10-01,13881
2024-10-01,13881
2024-10-03,13887
2024-10-05,13894
2024-10-07,13887
2024-10-09,13887
2024-10-10,13887
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because it is too large Load Diff
+464 -223
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 60,055 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts)
containing 146,381 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,43 +90,106 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -106,68 +197,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -177,28 +281,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -208,43 +317,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -264,71 +382,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -338,54 +527,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -393,61 +572,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,861 @@
2016-12-17,34085
2016-12-18,34131
2016-12-18,34159
2016-12-19,34185
2016-12-20,34262
2016-12-21,34294
2016-12-21,34251
2016-12-22,34287
2016-12-25,34301
2016-12-27,34316
2016-12-28,34336
2017-01-02,34351
2017-01-05,32322
2017-01-05,34352
2017-01-10,34425
2017-01-11,34427
2017-01-14,34423
2017-01-18,34472
2017-01-18,34473
2017-01-20,34480
2017-01-22,34417
2017-01-26,34451
2017-01-31,34488
2017-02-04,34495
2017-02-04,34496
2017-02-07,34475
2017-02-07,34474
2017-02-10,34488
2017-02-11,34488
2017-02-13,34488
2017-02-15,34506
2017-02-17,34502
2017-02-17,34502
2017-02-20,34571
2017-02-22,38494
2017-02-23,38493
2017-02-23,37947
2017-02-24,37938
2017-02-24,37525
2017-02-26,37552
2017-03-01,37608
2017-03-04,37650
2017-03-07,37657
2017-03-10,37805
2017-03-15,37836
2017-03-16,37842
2017-03-20,37852
2017-03-22,37861
2017-03-25,37887
2017-03-30,37972
2017-04-05,38012
2017-04-08,37810
2017-04-08,37810
2017-04-08,37810
2017-04-11,37898
2017-04-13,37819
2017-04-15,37850
2017-04-16,37850
2017-04-17,37869
2017-04-18,37886
2017-04-22,37939
2017-04-25,37972
2017-04-26,37998
2017-05-02,38044
2017-05-07,38083
2017-05-08,38083
2017-05-10,38140
2017-05-13,38250
2017-05-15,38266
2017-05-15,38266
2017-05-16,38331
2017-05-21,38331
2017-05-21,38410
2017-05-23,38434
2017-05-28,38576
2017-05-29,38619
2017-05-30,38629
2017-06-02,38720
2017-06-05,38760
2017-06-11,38829
2017-06-21,39042
2017-06-22,39071
2017-06-24,38988
2017-06-28,39037
2017-07-04,39040
2017-07-10,39179
2017-07-11,39190
2017-07-11,39189
2017-07-12,39203
2017-07-17,38929
2017-07-17,38928
2017-07-18,38868
2017-07-26,38573
2017-07-28,38574
2017-07-31,38602
2017-08-08,38331
2017-08-12,38492
2017-08-15,40995
2017-08-15,40995
2017-08-18,41016
2017-08-18,40771
2017-08-20,40771
2017-08-20,40785
2017-08-20,40785
2017-08-21,40745
2017-08-28,40814
2017-08-31,40804
2017-09-05,40715
2017-09-07,40777
2017-09-13,40810
2017-09-18,40756
2017-09-21,40779
2017-09-29,40798
2017-10-05,40810
2017-10-11,40795
2017-10-15,45154
2017-10-19,45123
2017-10-25,45155
2017-10-25,45182
2017-10-28,45181
2017-11-01,45226
2017-11-04,45241
2017-11-09,45277
2017-11-16,45353
2017-11-25,45402
2017-11-30,45438
2017-12-07,45352
2017-12-11,45362
2017-12-17,48054
2017-12-18,45394
2017-12-21,45402
2017-12-27,45404
2017-12-30,45403
2018-01-01,45403
2018-01-06,46445
2018-01-10,46441
2018-01-13,46348
2018-01-14,46355
2018-01-21,46388
2018-01-22,46390
2018-01-23,46396
2018-01-26,46399
2018-01-26,46502
2018-01-31,46415
2018-02-02,45607
2018-02-08,58372
2018-02-09,58372
2018-02-11,58386
2018-02-13,58360
2018-02-14,58360
2018-02-15,58357
2018-02-20,58323
2018-02-24,62386
2018-02-24,59309
2018-02-25,59302
2018-02-25,59301
2018-02-26,59317
2018-02-28,59337
2018-03-03,59333
2018-03-04,59348
2018-03-04,59266
2018-03-06,59320
2018-03-07,59320
2018-03-08,59315
2018-03-09,59331
2018-03-10,59332
2018-03-12,59356
2018-03-13,59358
2018-03-14,59365
2018-03-15,59864
2018-03-15,59375
2018-03-17,59380
2018-03-17,59380
2018-03-19,59417
2018-03-20,59455
2018-03-22,59459
2018-03-23,63899
2018-03-23,63899
2018-03-24,59945
2018-03-26,59999
2018-03-28,60064
2018-03-29,60056
2018-03-30,60055
2018-04-02,59608
2018-04-02,59102
2018-04-04,58490
2018-04-05,58467
2018-04-06,58411
2018-04-06,58416
2018-04-08,58349
2018-04-12,58365
2018-04-16,58261
2018-04-17,58259
2018-04-19,57979
2018-04-21,58012
2018-04-22,58010
2018-04-24,58022
2018-04-25,57897
2018-04-30,57951
2018-05-02,57728
2018-05-05,57734
2018-05-08,57585
2018-05-12,57612
2018-05-13,57608
2018-05-17,57287
2018-05-19,57288
2018-05-22,57301
2018-05-30,58470
2018-06-02,58489
2018-06-02,58489
2018-06-02,58489
2018-06-05,58704
2018-06-08,59852
2018-06-10,59874
2018-06-14,59988
2018-06-14,59987
2018-06-14,59987
2018-06-14,59987
2018-06-14,59987
2018-06-16,60206
2018-06-17,60400
2018-06-18,60487
2018-06-20,60817
2018-06-24,60867
2018-06-28,60900
2018-06-30,61028
2018-07-04,62521
2018-07-06,65557
2018-07-09,65535
2018-07-11,64302
2018-07-16,64307
2018-07-23,63824
2018-07-26,64011
2018-07-26,64011
2018-07-30,64831
2018-08-01,64895
2018-08-08,65356
2018-08-13,65679
2018-08-19,66606
2018-08-22,65984
2018-08-24,65303
2018-08-25,65223
2018-08-29,64303
2018-09-04,64242
2018-09-05,63504
2018-09-06,63576
2018-09-08,63567
2018-09-13,62748
2018-09-16,61546
2018-09-18,60681
2018-09-23,60894
2018-10-02,60895
2018-10-05,59768
2018-10-09,59682
2018-10-14,59758
2018-10-22,57919
2018-10-23,57653
2018-11-01,57075
2018-11-02,57467
2018-11-14,69710
2018-11-20,68947
2018-11-21,69059
2018-11-26,68197
2018-11-29,68718
2018-12-04,68709
2018-12-11,67365
2018-12-15,67371
2018-12-23,67739
2018-12-29,80198
2018-12-30,67661
2019-01-04,67455
2019-01-10,42922
2019-01-13,43239
2019-01-22,43265
2019-01-26,43488
2019-01-29,43513
2019-02-06,43585
2019-02-11,44213
2019-02-18,44179
2019-02-24,44201
2019-03-02,44192
2019-03-06,43705
2019-03-15,43478
2019-03-21,43422
2019-03-26,43546
2019-04-02,43497
2019-04-07,43455
2019-04-11,43173
2019-04-17,42805
2019-04-25,42900
2019-05-02,44539
2019-05-04,44485
2019-05-05,44488
2019-05-10,44353
2019-05-13,44315
2019-05-23,44350
2019-05-24,44342
2019-05-29,44599
2019-06-05,44590
2019-06-11,44592
2019-06-17,45991
2019-06-19,46000
2019-06-22,46219
2019-06-28,46274
2019-07-04,46321
2019-07-21,46622
2019-07-27,46625
2019-07-31,46646
2019-08-06,47286
2019-08-10,47440
2019-08-13,47719
2019-08-14,47783
2019-08-14,47783
2019-08-22,47858
2019-08-30,47895
2019-09-06,45335
2019-09-09,44748
2019-09-09,45369
2019-09-09,44760
2019-09-10,47955
2019-09-19,47989
2019-09-23,48044
2019-09-29,48096
2019-10-10,45423
2019-10-12,45439
2019-10-15,48656
2019-10-18,48517
2019-10-27,48566
2019-10-27,48568
2019-10-30,48594
2019-10-31,48690
2019-11-03,48694
2019-11-15,48383
2019-11-17,48446
2019-11-20,48528
2019-11-26,48825
2019-11-27,48826
2019-12-02,48845
2019-12-11,45706
2019-12-15,45402
2019-12-20,45363
2019-12-21,45368
2019-12-23,45357
2019-12-30,45390
2020-01-01,45367
2020-01-04,45527
2020-01-06,45495
2020-01-09,46216
2020-01-11,46567
2020-01-14,56923
2020-01-16,56927
2020-01-16,56929
2020-01-16,56931
2020-01-19,56922
2020-01-21,56885
2020-01-23,56650
2020-01-24,56132
2020-01-30,57098
2020-02-03,57362
2020-02-05,57271
2020-02-09,57313
2020-02-14,57421
2020-02-17,57462
2020-02-21,57412
2020-02-22,57412
2020-02-25,57399
2020-02-25,57398
2020-03-01,57543
2020-03-05,57448
2020-03-07,57482
2020-03-11,57988
2020-03-15,59269
2020-03-18,59517
2020-03-21,59879
2020-03-25,60057
2020-03-28,60258
2020-03-29,60192
2020-04-01,60283
2020-04-03,59587
2020-04-03,59587
2020-04-03,60442
2020-04-04,60389
2020-04-06,60472
2020-04-09,60689
2020-04-10,60721
2020-04-11,60736
2020-04-13,60693
2020-04-16,61010
2020-04-18,61127
2020-04-22,61280
2020-04-26,61242
2020-04-28,61176
2020-05-02,61963
2020-05-05,61500
2020-05-05,61635
2020-05-12,63553
2020-05-13,63695
2020-05-13,63698
2020-05-15,63756
2020-05-20,63688
2020-05-26,63375
2020-05-27,63415
2020-06-02,63570
2020-06-09,63485
2020-06-16,63486
2020-06-22,63346
2020-06-25,63404
2020-06-27,63319
2020-07-02,63464
2020-07-02,63463
2020-07-05,63361
2020-07-06,63331
2020-07-13,63488
2020-07-18,63684
2020-07-24,63742
2020-07-29,64632
2020-08-01,64531
2020-08-03,63859
2020-08-06,64367
2020-08-13,65107
2020-08-14,65154
2020-08-15,65111
2020-08-17,64512
2020-08-19,63284
2020-08-25,62916
2020-09-02,63378
2020-09-07,63324
2020-09-14,63897
2020-09-20,63858
2020-09-26,64211
2020-10-03,64261
2020-10-08,63912
2020-10-13,63550
2020-10-14,62743
2020-10-19,64820
2020-10-29,65985
2020-11-01,65672
2020-11-03,67526
2020-11-08,67492
2020-11-10,66971
2020-11-14,65096
2020-11-15,66971
2020-11-16,67003
2020-11-19,65144
2020-11-22,67119
2020-11-25,67401
2020-11-28,67490
2020-12-02,65508
2020-12-09,65938
2020-12-14,66204
2020-12-19,66066
2020-12-26,66029
2020-12-31,65739
2021-01-02,65557
2021-01-05,65780
2021-01-12,65847
2021-01-17,66169
2021-01-22,66836
2021-01-22,66840
2021-01-24,67199
2021-01-31,67504
2021-02-02,67720
2021-02-03,67757
2021-02-08,67883
2021-02-09,67943
2021-02-14,68269
2021-02-16,70286
2021-02-21,71116
2021-02-22,72616
2021-02-26,72873
2021-02-28,72887
2021-03-06,73436
2021-03-09,73780
2021-03-10,75163
2021-03-16,74784
2021-03-21,74696
2021-03-28,75595
2021-03-31,84991
2021-04-04,85321
2021-04-09,85864
2021-04-13,83854
2021-04-19,87191
2021-04-24,90652
2021-04-26,87063
2021-04-26,87291
2021-04-29,88131
2021-05-01,87924
2021-05-04,86474
2021-05-05,86546
2021-05-06,86663
2021-05-06,87040
2021-05-06,87039
2021-05-12,88375
2021-05-15,88761
2021-05-17,87969
2021-05-22,88972
2021-05-25,90330
2021-05-31,90105
2021-06-07,89458
2021-06-16,88495
2021-06-22,87855
2021-06-28,88504
2021-07-01,89261
2021-07-04,89213
2021-07-13,89952
2021-07-18,90452
2021-07-19,86070
2021-07-26,91128
2021-07-29,91715
2021-08-02,92854
2021-08-09,94535
2021-08-17,94005
2021-08-20,94560
2021-08-25,96959
2021-08-26,97618
2021-08-30,96613
2021-09-02,97703
2021-09-06,98124
2021-09-07,99959
2021-09-12,100461
2021-09-17,100191
2021-09-24,101572
2021-09-30,110718
2021-09-30,98446
2021-10-03,98717
2021-10-05,99364
2021-10-12,100240
2021-10-14,100933
2021-10-19,101186
2021-10-23,101277
2021-10-23,101277
2021-10-27,100647
2021-11-04,101258
2021-11-11,101416
2021-11-14,101379
2021-11-17,101821
2021-11-21,104502
2021-11-29,105845
2021-11-29,105826
2021-12-05,104911
2021-12-09,104837
2021-12-12,105074
2021-12-13,105679
2021-12-16,106464
2021-12-19,106525
2021-12-20,106927
2021-12-25,108062
2021-12-30,107915
2021-12-30,108100
2021-12-30,108089
2022-01-02,107940
2022-01-04,108205
2022-01-07,108491
2022-01-11,103763
2022-01-18,105147
2022-01-19,104816
2022-01-21,105476
2022-01-24,108828
2022-01-28,110623
2022-01-30,110768
2022-01-31,107192
2022-02-01,107593
2022-02-07,108310
2022-02-12,109353
2022-02-13,109483
2022-02-13,109480
2022-02-17,109543
2022-02-22,104988
2022-02-26,105162
2022-03-06,109209
2022-03-07,108023
2022-03-09,108338
2022-03-12,108757
2022-03-14,106964
2022-03-19,107576
2022-03-24,140097
2022-03-29,115412
2022-03-31,115890
2022-04-05,117148
2022-04-09,117847
2022-04-13,118584
2022-04-18,118548
2022-04-21,119297
2022-04-25,116382
2022-04-29,107485
2022-05-03,120804
2022-05-05,121044
2022-05-10,118938
2022-05-14,119685
2022-05-19,122612
2022-05-25,150567
2022-05-29,151083
2022-05-31,119621
2022-06-02,119984
2022-06-07,117071
2022-06-09,117434
2022-06-09,117435
2022-06-16,136147
2022-06-21,115944
2022-06-21,116058
2022-06-25,117038
2022-06-29,129404
2022-07-01,129657
2022-07-04,117644
2022-07-13,153180
2022-07-16,143865
2022-07-16,143858
2022-07-18,119843
2022-07-21,138516
2022-07-23,139303
2022-07-25,138395
2022-07-29,139551
2022-08-03,140613
2022-08-09,140700
2022-08-12,141527
2022-08-17,142528
2022-08-20,143454
2022-08-24,144079
2022-08-25,144526
2022-08-31,144352
2022-09-04,145081
2022-09-05,149327
2022-09-08,150282
2022-09-11,150784
2022-09-13,151673
2022-09-17,153005
2022-09-23,161044
2022-10-01,163176
2022-10-06,164466
2022-10-09,164691
2022-10-13,166741
2022-10-15,167282
2022-10-17,167316
2022-10-20,167982
2022-10-27,169915
2022-11-01,171704
2022-11-09,170311
2022-11-12,170240
2022-11-13,170119
2022-11-20,173868
2022-11-21,173801
2022-11-26,172369
2022-11-28,171861
2022-11-29,172800
2022-12-03,172554
2022-12-04,172206
2022-12-05,173592
2022-12-06,174655
2022-12-11,173317
2022-12-13,173956
2022-12-15,177913
2022-12-18,175159
2022-12-20,178584
2022-12-26,176646
2022-12-29,177324
2022-12-29,177416
2023-01-01,177538
2023-01-06,178517
2023-01-08,178648
2023-01-11,180641
2023-01-13,180978
2023-01-19,183228
2023-01-23,183983
2023-01-24,184661
2023-01-27,186066
2023-01-27,186069
2023-01-27,186067
2023-01-31,186568
2023-02-05,188590
2023-02-07,190165
2023-02-07,190166
2023-02-07,190167
2023-02-16,194411
2023-02-19,195602
2023-02-23,196419
2023-02-28,198483
2023-03-03,198181
2023-03-06,198564
2023-03-07,198893
2023-03-10,200760
2023-03-14,202391
2023-03-21,205339
2023-03-25,206973
2023-03-29,207698
2023-04-07,211451
2023-04-11,212260
2023-04-16,213559
2023-04-18,216974
2023-04-19,183024
2023-04-19,183031
2023-04-23,183646
2023-04-26,187415
2023-04-27,187821
2023-04-30,187914
2023-05-02,188813
2023-05-05,190037
2023-05-08,189996
2023-05-11,191818
2023-05-14,193877
2023-05-15,195018
2023-05-20,196221
2023-05-21,196352
2023-05-24,198904
2023-06-02,201512
2023-06-06,202686
2023-06-10,203495
2023-06-11,203571
2023-06-13,204060
2023-06-14,204938
2023-06-14,205615
2023-06-16,206633
2023-06-17,206342
2023-06-18,206129
2023-06-23,207921
2023-06-27,208552
2023-07-01,209203
2023-07-06,210675
2023-07-09,211186
2023-07-14,212911
2023-07-15,213013
2023-07-21,214784
2023-07-23,214976
2023-07-27,216271
2023-08-01,217518
2023-08-04,219659
2023-08-05,219747
2023-08-08,220396
2023-08-05,219747
2023-08-08,220396
2023-08-13,222061
2023-08-17,222870
2023-08-21,223836
2023-08-22,224092
2023-08-26,225667
2023-08-28,225892
2023-09-03,225631
2023-09-04,227874
2023-09-05,228686
2023-09-06,228399
2023-09-06,229660
2023-09-08,230539
2023-09-08,230590
2023-09-10,206035
2023-09-14,206070
2023-09-17,182553
2023-09-21,148911
2023-09-24,149504
2023-09-25,148484
2023-09-30,148776
2023-10-02,149155
2023-10-04,150544
2023-10-08,151457
2023-10-12,155246
2023-10-13,155964
2023-10-17,156841
2023-10-18,157336
2023-10-21,159018
2023-10-23,159207
2023-10-27,161628
2023-11-01,162768
2023-11-02,163521
2023-11-03,164046
2023-11-08,165987
2023-11-11,166891
2023-11-13,167515
2023-11-19,169914
2023-11-21,170899
2023-11-24,172460
2023-11-25,172815
2023-11-25,172810
2023-11-25,172847
2023-11-26,172918
2023-11-26,172950
2023-12-01,156961
2023-12-03,157471
2023-12-12,154485
2023-12-16,156274
2023-12-17,156468
2023-12-17,156489
2023-12-25,157590
2023-12-30,158762
2024-01-03,159586
2024-01-06,160895
2024-01-13,165408
2024-01-17,166663
2024-01-21,167886
2024-01-27,170543
2024-01-30,171828
2024-02-06,175120
2024-02-10,164039
2024-02-12,165053
2024-02-15,167627
2024-02-24,174498
2024-02-25,174571
2024-02-28,178192
2024-03-04,181872
2024-03-09,186744
2024-03-15,191160
2024-03-19,193898
2024-03-23,196604
2024-03-28,198887
2024-04-02,199836
2024-04-04,144452
2024-04-09,137820
2024-04-11,138368
2024-04-18,138778
2024-04-22,140586
2024-04-25,142039
2024-05-01,141372
2024-05-03,141776
2024-05-12,146216
2024-05-20,151579
2024-05-27,155467
2024-06-03,158485
2024-06-08,161470
2024-06-14,166410
2024-06-16,167523
2024-06-19,170315
2024-06-21,172547
2024-06-24,173610
2024-06-26,175243
2024-07-01,177288
2024-07-04,179134
2024-07-07,166029
2024-07-11,168760
2024-07-14,169783
2024-07-15,170369
2024-07-20,172939
2024-07-27,173029
2024-07-30,174237
2024-08-02,175605
2024-08-04,176091
2024-08-08,178384
2024-08-11,179432
2024-08-16,181996
2024-08-17,182502
2024-08-20,183996
2024-08-26,186465
2024-08-29,187885
2024-08-30,188357
2024-08-31,188458
2024-09-04,189904
2024-09-06,190921
2024-09-10,179521
2024-09-13,180146
2024-09-16,181126
2024-09-20,180077
2024-09-21,128565
2024-09-22,127463
2024-09-25,128516
2024-09-27,129085
2024-09-27,129086
2024-10-01,129086
2024-10-01,129884
2024-10-01,129884
2024-10-03,130200
2024-10-05,130233
2024-10-07,129708
2024-10-09,130160
2024-10-10,130272
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

+138809 -55016
View File
File diff suppressed because it is too large Load Diff
+463 -221
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 57,305 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts)
containing 143,193 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,41 +90,105 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -104,68 +196,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -175,28 +280,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -206,43 +316,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -262,71 +381,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -336,54 +526,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -391,61 +571,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+861
View File
@@ -0,0 +1,861 @@
2016-12-17,33855
2016-12-18,33901
2016-12-18,33929
2016-12-19,33955
2016-12-20,34032
2016-12-21,34064
2016-12-21,34021
2016-12-22,34057
2016-12-25,34071
2016-12-27,34086
2016-12-28,34106
2017-01-02,34121
2017-01-05,32092
2017-01-05,34122
2017-01-10,34195
2017-01-11,34197
2017-01-14,34193
2017-01-18,34242
2017-01-18,34243
2017-01-20,34250
2017-01-22,34187
2017-01-26,34221
2017-01-31,34258
2017-02-04,34265
2017-02-04,34265
2017-02-07,34244
2017-02-07,34243
2017-02-10,34257
2017-02-11,34257
2017-02-13,34257
2017-02-15,34275
2017-02-17,34271
2017-02-17,34271
2017-02-20,34340
2017-02-22,38263
2017-02-23,38262
2017-02-23,37716
2017-02-24,37707
2017-02-24,37294
2017-02-26,37321
2017-03-01,37377
2017-03-04,37419
2017-03-07,37425
2017-03-10,37573
2017-03-15,37604
2017-03-16,37610
2017-03-20,37620
2017-03-22,37629
2017-03-25,37655
2017-03-30,37740
2017-04-05,37780
2017-04-08,37578
2017-04-08,37578
2017-04-08,37578
2017-04-11,37666
2017-04-13,37586
2017-04-15,37617
2017-04-16,37617
2017-04-17,37636
2017-04-18,37653
2017-04-22,37706
2017-04-25,37739
2017-04-26,37765
2017-05-02,37811
2017-05-07,37850
2017-05-08,37850
2017-05-10,37907
2017-05-13,38017
2017-05-15,38033
2017-05-15,38033
2017-05-16,38098
2017-05-21,38098
2017-05-21,38177
2017-05-23,38201
2017-05-28,38343
2017-05-29,38386
2017-05-30,38396
2017-06-02,38487
2017-06-05,38527
2017-06-11,38596
2017-06-21,38809
2017-06-22,38838
2017-06-24,38755
2017-06-28,38804
2017-07-04,38807
2017-07-10,38946
2017-07-11,38957
2017-07-11,38956
2017-07-12,38970
2017-07-17,38696
2017-07-17,38695
2017-07-18,38635
2017-07-26,38340
2017-07-28,38341
2017-07-31,38369
2017-08-08,38098
2017-08-12,38259
2017-08-15,40762
2017-08-15,40762
2017-08-18,40783
2017-08-18,40538
2017-08-20,40538
2017-08-20,40552
2017-08-20,40552
2017-08-21,40512
2017-08-28,40581
2017-08-31,40571
2017-09-05,40482
2017-09-07,40544
2017-09-13,40577
2017-09-18,40523
2017-09-21,40546
2017-09-29,40565
2017-10-05,40577
2017-10-11,40562
2017-10-15,44921
2017-10-19,44890
2017-10-25,44922
2017-10-25,44949
2017-10-28,44948
2017-11-01,44993
2017-11-04,45008
2017-11-09,45044
2017-11-16,45120
2017-11-25,45169
2017-11-30,45205
2017-12-07,45119
2017-12-11,45129
2017-12-17,47822
2017-12-18,45161
2017-12-21,45169
2017-12-27,45171
2017-12-30,45170
2018-01-01,45170
2018-01-06,45297
2018-01-10,45293
2018-01-13,45200
2018-01-14,45207
2018-01-21,45240
2018-01-22,45242
2018-01-23,45248
2018-01-26,45251
2018-01-26,45354
2018-01-31,45267
2018-02-02,44459
2018-02-08,57224
2018-02-09,57224
2018-02-11,57239
2018-02-13,57213
2018-02-14,57213
2018-02-15,57210
2018-02-20,57176
2018-02-24,61239
2018-02-24,58162
2018-02-25,58155
2018-02-25,58154
2018-02-26,58170
2018-02-28,58190
2018-03-03,58186
2018-03-04,58201
2018-03-04,58119
2018-03-06,58173
2018-03-07,58173
2018-03-08,58168
2018-03-09,58184
2018-03-10,58185
2018-03-12,58209
2018-03-13,58211
2018-03-14,58218
2018-03-15,58717
2018-03-15,58228
2018-03-17,58233
2018-03-17,58233
2018-03-19,58270
2018-03-20,58308
2018-03-22,58312
2018-03-23,62758
2018-03-23,62758
2018-03-24,58798
2018-03-26,58852
2018-03-28,58917
2018-03-29,58909
2018-03-30,58908
2018-04-02,58461
2018-04-02,57955
2018-04-04,57343
2018-04-05,57320
2018-04-06,57264
2018-04-06,57269
2018-04-08,57202
2018-04-12,57218
2018-04-16,57114
2018-04-17,57112
2018-04-19,56832
2018-04-21,56865
2018-04-22,56863
2018-04-24,56875
2018-04-25,56750
2018-04-30,56804
2018-05-02,56581
2018-05-05,56587
2018-05-08,56438
2018-05-12,56460
2018-05-13,56456
2018-05-17,56135
2018-05-19,56136
2018-05-22,56149
2018-05-30,57316
2018-06-02,57332
2018-06-02,57332
2018-06-02,57332
2018-06-05,57547
2018-06-08,58695
2018-06-10,58717
2018-06-14,58832
2018-06-14,58831
2018-06-14,58830
2018-06-14,58830
2018-06-14,58830
2018-06-16,59049
2018-06-17,59243
2018-06-18,59330
2018-06-20,59660
2018-06-24,59710
2018-06-28,59743
2018-06-30,59871
2018-07-04,61364
2018-07-06,64400
2018-07-09,64377
2018-07-11,63144
2018-07-16,63149
2018-07-23,62666
2018-07-26,62853
2018-07-26,62853
2018-07-30,63673
2018-08-01,63737
2018-08-08,64198
2018-08-13,64521
2018-08-19,65446
2018-08-22,64824
2018-08-24,64144
2018-08-25,64064
2018-08-29,63144
2018-09-04,63083
2018-09-05,62345
2018-09-06,62417
2018-09-08,62408
2018-09-13,61589
2018-09-16,60387
2018-09-18,59522
2018-09-23,59735
2018-10-02,59736
2018-10-05,58609
2018-10-09,58523
2018-10-14,58599
2018-10-22,56760
2018-10-23,56494
2018-11-01,55916
2018-11-02,56308
2018-11-14,68551
2018-11-20,67788
2018-11-21,67900
2018-11-26,67038
2018-11-29,67558
2018-12-04,67549
2018-12-11,66205
2018-12-15,66211
2018-12-23,66579
2018-12-29,79038
2018-12-30,66501
2019-01-04,66295
2019-01-10,41761
2019-01-13,41762
2019-01-22,41788
2019-01-26,42011
2019-01-29,42036
2019-02-06,42108
2019-02-11,41929
2019-02-18,41895
2019-02-24,41917
2019-03-02,41908
2019-03-06,41421
2019-03-15,41194
2019-03-21,41138
2019-03-26,41262
2019-04-02,41213
2019-04-07,41171
2019-04-11,40889
2019-04-17,40521
2019-04-25,40612
2019-05-02,42251
2019-05-04,42197
2019-05-05,42200
2019-05-10,42064
2019-05-13,42026
2019-05-23,42063
2019-05-24,42055
2019-05-29,42312
2019-06-05,42304
2019-06-11,42306
2019-06-17,43705
2019-06-19,43714
2019-06-22,43744
2019-06-28,43799
2019-07-04,43846
2019-07-21,44147
2019-07-27,44150
2019-07-31,44171
2019-08-06,44811
2019-08-10,44965
2019-08-13,45244
2019-08-14,45308
2019-08-14,45308
2019-08-22,45383
2019-08-30,45420
2019-09-06,42860
2019-09-09,42273
2019-09-09,42894
2019-09-09,42285
2019-09-10,45480
2019-09-19,45514
2019-09-23,45569
2019-09-29,45621
2019-10-10,42948
2019-10-12,42964
2019-10-15,46181
2019-10-18,46042
2019-10-27,46091
2019-10-27,46093
2019-10-30,46119
2019-10-31,46215
2019-11-03,46219
2019-11-15,45908
2019-11-17,45971
2019-11-20,46053
2019-11-26,46350
2019-11-27,46351
2019-12-02,46370
2019-12-11,43231
2019-12-15,42926
2019-12-20,42887
2019-12-21,42892
2019-12-23,42881
2019-12-30,42914
2020-01-01,42891
2020-01-04,43051
2020-01-06,43019
2020-01-09,43740
2020-01-11,44091
2020-01-14,54455
2020-01-16,54459
2020-01-16,54461
2020-01-16,54463
2020-01-19,54454
2020-01-21,54417
2020-01-23,54182
2020-01-24,53664
2020-01-30,54630
2020-02-03,54894
2020-02-05,54803
2020-02-09,54845
2020-02-14,54953
2020-02-17,54994
2020-02-21,54944
2020-02-22,54944
2020-02-25,54931
2020-02-25,54930
2020-03-01,55075
2020-03-05,54980
2020-03-07,55014
2020-03-11,55238
2020-03-15,56519
2020-03-18,56767
2020-03-21,57129
2020-03-25,57307
2020-03-28,57508
2020-03-29,57442
2020-04-01,57532
2020-04-03,56836
2020-04-03,56836
2020-04-03,57691
2020-04-04,57638
2020-04-06,57721
2020-04-09,57938
2020-04-10,57970
2020-04-11,57985
2020-04-13,57942
2020-04-16,58259
2020-04-18,58376
2020-04-22,58529
2020-04-26,58491
2020-04-28,58425
2020-05-02,59212
2020-05-05,58749
2020-05-05,58884
2020-05-12,60802
2020-05-13,60944
2020-05-13,60947
2020-05-15,61005
2020-05-20,60937
2020-05-26,60624
2020-05-27,60664
2020-06-02,60813
2020-06-09,60728
2020-06-16,60729
2020-06-22,60589
2020-06-25,60647
2020-06-27,60562
2020-07-02,60707
2020-07-02,60706
2020-07-05,60604
2020-07-06,60574
2020-07-13,60731
2020-07-18,60927
2020-07-24,60985
2020-07-29,61875
2020-08-01,61774
2020-08-03,61102
2020-08-06,61610
2020-08-13,62350
2020-08-14,62397
2020-08-15,62354
2020-08-17,61755
2020-08-19,60527
2020-08-25,60159
2020-09-02,60621
2020-09-07,60567
2020-09-14,61140
2020-09-20,61101
2020-09-26,61454
2020-10-03,61504
2020-10-08,61155
2020-10-13,60793
2020-10-14,59986
2020-10-19,62063
2020-10-29,63228
2020-11-01,62915
2020-11-03,64769
2020-11-08,64735
2020-11-10,64214
2020-11-14,62338
2020-11-15,64213
2020-11-16,64245
2020-11-19,62386
2020-11-22,64361
2020-11-25,64643
2020-11-28,64732
2020-12-02,62750
2020-12-09,63180
2020-12-14,63446
2020-12-19,63307
2020-12-26,63270
2020-12-31,62980
2021-01-02,62798
2021-01-05,63021
2021-01-12,63088
2021-01-17,63410
2021-01-22,64077
2021-01-22,64081
2021-01-24,64440
2021-01-31,64707
2021-02-02,64923
2021-02-03,64960
2021-02-08,65086
2021-02-09,65146
2021-02-14,65464
2021-02-16,67481
2021-02-21,68311
2021-02-22,69811
2021-02-26,70068
2021-02-28,70082
2021-03-06,70631
2021-03-09,70975
2021-03-10,72358
2021-03-16,71979
2021-03-21,71891
2021-03-28,72790
2021-03-31,82186
2021-04-04,82516
2021-04-09,83059
2021-04-13,81049
2021-04-19,84386
2021-04-24,87847
2021-04-26,84258
2021-04-26,84486
2021-04-29,85326
2021-05-01,85119
2021-05-04,83669
2021-05-05,83741
2021-05-06,83858
2021-05-06,84235
2021-05-06,84234
2021-05-12,85570
2021-05-15,85956
2021-05-17,85164
2021-05-22,86167
2021-05-25,87525
2021-05-31,87300
2021-06-07,86653
2021-06-16,85690
2021-06-22,85050
2021-06-28,85689
2021-07-01,86446
2021-07-04,86398
2021-07-13,87137
2021-07-18,87637
2021-07-19,83255
2021-07-26,88313
2021-07-29,88900
2021-08-02,90039
2021-08-09,91722
2021-08-17,91192
2021-08-20,91747
2021-08-25,94146
2021-08-26,94805
2021-08-30,93800
2021-09-02,94890
2021-09-06,95311
2021-09-07,97146
2021-09-12,97648
2021-09-17,97378
2021-09-24,98759
2021-09-30,107905
2021-09-30,95633
2021-10-03,95904
2021-10-05,96551
2021-10-12,97427
2021-10-14,98120
2021-10-19,98373
2021-10-23,98464
2021-10-23,98464
2021-10-27,97834
2021-11-04,98445
2021-11-11,98601
2021-11-14,98564
2021-11-17,99006
2021-11-21,101687
2021-11-29,103033
2021-11-29,103014
2021-12-05,102099
2021-12-09,102024
2021-12-12,102261
2021-12-13,102866
2021-12-16,103649
2021-12-19,103710
2021-12-20,104112
2021-12-25,105247
2021-12-30,105100
2021-12-30,105285
2021-12-30,105274
2022-01-02,105125
2022-01-04,105390
2022-01-07,105676
2022-01-11,100948
2022-01-18,102332
2022-01-19,102001
2022-01-21,102661
2022-01-24,106013
2022-01-28,107808
2022-01-30,107953
2022-01-31,104377
2022-02-01,104778
2022-02-07,105495
2022-02-12,106538
2022-02-13,106668
2022-02-13,106665
2022-02-17,106728
2022-02-22,102173
2022-02-26,102347
2022-03-06,106394
2022-03-07,105208
2022-03-09,105523
2022-03-12,105942
2022-03-14,104149
2022-03-19,104761
2022-03-24,137282
2022-03-29,112597
2022-03-31,113075
2022-04-05,114333
2022-04-09,115032
2022-04-13,115769
2022-04-18,115733
2022-04-21,116482
2022-04-25,113567
2022-04-29,104670
2022-05-03,117989
2022-05-05,118229
2022-05-10,116123
2022-05-14,116870
2022-05-19,119797
2022-05-25,147752
2022-05-29,148268
2022-05-31,116806
2022-06-02,117169
2022-06-07,114256
2022-06-09,114619
2022-06-09,114620
2022-06-16,133332
2022-06-21,113129
2022-06-21,113243
2022-06-25,114223
2022-06-29,126589
2022-07-01,126842
2022-07-04,114829
2022-07-13,150365
2022-07-16,141050
2022-07-16,141043
2022-07-18,117028
2022-07-21,135701
2022-07-23,136488
2022-07-25,135580
2022-07-29,136725
2022-08-03,137787
2022-08-09,137874
2022-08-12,138701
2022-08-17,139702
2022-08-20,140628
2022-08-24,141253
2022-08-25,141700
2022-08-31,141526
2022-09-04,142255
2022-09-05,146501
2022-09-08,147456
2022-09-11,147958
2022-09-13,148847
2022-09-17,150179
2022-09-23,158218
2022-10-01,160350
2022-10-06,161641
2022-10-09,161866
2022-10-13,163916
2022-10-15,164457
2022-10-17,164491
2022-10-20,165157
2022-10-27,167090
2022-11-01,168879
2022-11-09,167486
2022-11-12,167415
2022-11-13,167294
2022-11-20,171043
2022-11-21,170976
2022-11-26,169544
2022-11-28,169036
2022-11-29,169975
2022-12-03,169729
2022-12-04,169381
2022-12-05,170767
2022-12-06,171830
2022-12-11,170492
2022-12-13,171131
2022-12-15,175088
2022-12-18,172334
2022-12-20,175759
2022-12-26,173821
2022-12-29,174499
2022-12-29,174591
2023-01-01,174713
2023-01-06,175692
2023-01-08,175823
2023-01-11,177816
2023-01-13,178153
2023-01-19,180403
2023-01-23,181158
2023-01-24,181836
2023-01-27,183241
2023-01-27,183244
2023-01-27,183242
2023-01-31,183743
2023-02-05,185765
2023-02-07,187341
2023-02-07,187342
2023-02-07,187343
2023-02-16,191587
2023-02-19,192778
2023-02-23,193595
2023-02-28,195659
2023-03-03,195357
2023-03-06,195740
2023-03-07,196069
2023-03-10,197936
2023-03-14,199567
2023-03-21,202515
2023-03-25,204149
2023-03-29,204874
2023-04-07,208627
2023-04-11,209436
2023-04-16,210735
2023-04-18,214150
2023-04-19,180200
2023-04-19,180207
2023-04-23,180822
2023-04-26,184591
2023-04-27,184997
2023-04-30,185090
2023-05-02,185989
2023-05-05,187213
2023-05-08,187172
2023-05-11,188994
2023-05-14,191053
2023-05-15,192194
2023-05-20,193397
2023-05-21,193528
2023-05-24,196080
2023-06-02,198688
2023-06-06,199862
2023-06-10,200671
2023-06-11,200747
2023-06-13,201236
2023-06-14,202114
2023-06-14,202791
2023-06-16,203809
2023-06-17,203518
2023-06-18,203305
2023-06-23,205097
2023-06-27,205728
2023-07-01,206379
2023-07-06,207851
2023-07-09,208362
2023-07-14,210087
2023-07-15,210189
2023-07-21,211960
2023-07-23,212152
2023-07-27,213447
2023-08-01,214694
2023-08-04,216835
2023-08-05,216923
2023-08-08,217572
2023-08-05,216923
2023-08-08,217572
2023-08-13,219237
2023-08-17,220046
2023-08-21,221012
2023-08-22,221268
2023-08-26,222843
2023-08-28,223068
2023-09-03,222807
2023-09-04,225050
2023-09-05,225862
2023-09-06,225575
2023-09-06,226836
2023-09-08,227715
2023-09-08,227766
2023-09-10,203211
2023-09-14,203246
2023-09-17,179729
2023-09-21,146087
2023-09-24,146680
2023-09-25,145660
2023-09-30,145952
2023-10-02,146331
2023-10-04,147720
2023-10-08,148633
2023-10-12,152422
2023-10-13,153140
2023-10-17,154017
2023-10-18,154512
2023-10-21,156194
2023-10-23,156383
2023-10-27,158804
2023-11-01,159944
2023-11-02,160697
2023-11-03,161222
2023-11-08,163163
2023-11-11,164067
2023-11-13,164691
2023-11-19,167090
2023-11-21,168075
2023-11-24,169636
2023-11-25,169991
2023-11-25,169986
2023-11-25,170023
2023-11-26,170094
2023-11-26,170126
2023-12-01,154137
2023-12-03,154647
2023-12-12,151661
2023-12-16,153450
2023-12-17,153644
2023-12-17,153665
2023-12-25,154766
2023-12-30,155938
2024-01-03,156758
2024-01-06,158067
2024-01-13,162580
2024-01-17,163835
2024-01-21,165058
2024-01-27,167715
2024-01-30,169000
2024-02-06,172292
2024-02-10,161211
2024-02-12,162225
2024-02-15,164799
2024-02-24,171670
2024-02-25,171743
2024-02-28,175364
2024-03-04,179043
2024-03-09,183915
2024-03-15,188331
2024-03-19,191069
2024-03-23,193775
2024-03-28,196058
2024-04-02,197007
2024-04-04,141623
2024-04-09,134689
2024-04-11,135237
2024-04-18,135647
2024-04-22,137455
2024-04-25,138847
2024-05-01,138180
2024-05-03,138584
2024-05-12,143024
2024-05-20,148387
2024-05-27,152275
2024-06-03,155293
2024-06-08,158278
2024-06-14,163218
2024-06-16,164331
2024-06-19,167123
2024-06-21,169355
2024-06-24,170418
2024-06-26,172051
2024-07-01,174096
2024-07-04,175942
2024-07-07,162837
2024-07-11,165568
2024-07-14,166591
2024-07-15,167177
2024-07-20,169747
2024-07-27,169837
2024-07-30,171045
2024-08-02,172413
2024-08-04,172899
2024-08-08,175192
2024-08-11,176240
2024-08-16,178804
2024-08-17,179310
2024-08-20,180804
2024-08-26,183273
2024-08-29,184693
2024-08-30,185165
2024-08-31,185266
2024-09-04,186712
2024-09-06,187729
2024-09-10,176329
2024-09-13,176954
2024-09-16,177934
2024-09-20,176885
2024-09-21,125373
2024-09-22,124271
2024-09-25,125324
2024-09-27,125893
2024-09-27,125894
2024-10-01,125894
2024-10-01,126689
2024-10-01,126689
2024-10-03,127005
2024-10-05,127038
2024-10-07,126520
2024-10-09,126972
2024-10-10,127084
Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load Diff
+675
View File
@@ -0,0 +1,675 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts)
containing 2,194 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+143
View File
@@ -0,0 +1,143 @@
2023-06-11,2194
2023-06-13,2194
2023-06-14,2194
2023-06-14,2194
2023-06-16,2194
2023-06-17,2194
2023-06-18,2194
2023-06-23,2194
2023-06-27,2194
2023-07-01,2194
2023-07-06,2194
2023-07-09,2194
2023-07-14,2194
2023-07-15,2194
2023-07-21,2194
2023-07-23,2194
2023-07-27,2194
2023-08-01,2194
2023-08-04,2194
2023-08-05,2194
2023-08-08,2194
2023-09-06,2194
2023-09-08,2194
2023-09-08,2194
2023-09-10,2194
2023-09-14,2194
2023-09-17,2194
2023-09-21,2194
2023-09-24,2194
2023-09-25,2194
2023-09-30,2194
2023-10-02,2194
2023-10-04,2194
2023-10-08,2194
2023-10-12,2194
2023-10-13,2194
2023-10-17,2194
2023-10-18,2194
2023-10-21,2194
2023-10-23,2194
2023-10-27,2194
2023-11-01,2194
2023-11-02,2194
2023-11-03,2194
2023-11-08,2194
2023-11-11,2194
2023-11-13,2194
2023-11-19,2194
2023-11-21,2194
2023-11-24,2194
2023-11-25,2194
2023-11-25,2194
2023-11-25,2194
2023-11-26,2194
2023-11-26,2194
2023-12-01,2194
2023-12-03,2194
2023-12-12,2194
2023-12-16,2194
2023-12-17,2194
2023-12-17,2194
2023-12-25,2194
2023-12-30,2194
2024-01-03,2194
2024-01-06,2194
2024-01-13,2194
2024-01-17,2194
2024-01-21,2194
2024-01-27,2194
2024-01-30,2194
2024-02-06,2194
2024-02-10,2194
2024-02-12,2194
2024-02-15,2194
2024-02-24,2194
2024-02-25,2194
2024-02-28,2194
2024-03-04,2194
2024-03-09,2194
2024-03-15,2194
2024-03-19,2194
2024-03-23,2194
2024-03-28,2194
2024-04-02,2194
2024-04-04,2194
2024-04-09,2194
2024-04-11,2194
2024-04-18,2194
2024-04-22,2194
2024-04-25,2194
2024-05-01,2194
2024-05-03,2194
2024-05-12,2194
2024-05-20,2194
2024-05-27,2194
2024-06-03,2194
2024-06-08,2194
2024-06-14,2194
2024-06-16,2194
2024-06-19,2194
2024-06-21,2194
2024-06-24,2194
2024-06-26,2194
2024-07-01,2194
2024-07-04,2194
2024-07-07,2194
2024-07-11,2194
2024-07-14,2194
2024-07-15,2194
2024-07-20,2194
2024-07-27,2194
2024-07-30,2194
2024-08-02,2194
2024-08-04,2194
2024-08-08,2194
2024-08-11,2194
2024-08-16,2194
2024-08-17,2194
2024-08-20,2194
2024-08-26,2194
2024-08-29,2194
2024-08-30,2194
2024-08-31,2194
2024-09-04,2194
2024-09-06,2194
2024-09-10,2194
2024-09-13,2194
2024-09-16,2194
2024-09-20,2194
2024-09-21,2194
2024-09-22,2194
2024-09-25,2194
2024-09-27,2194
2024-09-27,2194
2024-10-01,2194
2024-10-01,2194
2024-10-01,2194
2024-10-03,2194
2024-10-05,2194
2024-10-07,2194
2024-10-09,2194
2024-10-10,2194
Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

File diff suppressed because it is too large Load Diff
+681
View File
@@ -0,0 +1,681 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, porn
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts)
containing 77,554 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+154
View File
@@ -0,0 +1,154 @@
2023-06-11,51219
2023-06-13,51219
2023-06-14,51219
2023-06-14,51219
2023-06-16,51219
2023-06-17,51222
2023-06-18,51222
2023-06-23,51232
2023-06-27,51233
2023-07-01,51233
2023-07-06,51370
2023-07-09,51336
2023-07-14,51332
2023-07-15,51332
2023-07-21,51331
2023-07-23,51331
2023-07-27,51331
2023-08-01,51331
2023-08-04,51328
2023-08-05,51328
2023-08-08,55836
2023-08-05,51328
2023-08-08,55836
2023-08-13,55836
2023-08-17,55836
2023-08-21,55836
2023-08-22,55954
2023-08-26,55954
2023-08-28,55954
2023-09-04,55958
2023-09-05,55958
2023-09-06,55840
2023-09-06,55984
2023-09-08,55985
2023-09-08,55950
2023-09-10,55950
2023-09-14,55950
2023-09-17,55950
2023-09-21,55950
2023-09-24,55950
2023-09-25,55945
2023-09-30,55947
2023-10-02,55947
2023-10-04,55947
2023-10-08,56093
2023-10-12,56093
2023-10-13,56093
2023-10-17,56093
2023-10-18,56093
2023-10-21,56093
2023-10-23,56091
2023-10-27,56090
2023-11-01,56090
2023-11-02,56090
2023-11-03,56090
2023-11-08,56090
2023-11-11,56090
2023-11-13,56090
2023-11-19,56090
2023-11-21,56090
2023-11-24,56090
2023-11-25,56090
2023-11-25,56090
2023-11-25,56090
2023-11-26,56090
2023-11-26,56090
2023-12-01,56090
2023-12-03,57729
2023-12-12,58209
2023-12-16,58209
2023-12-17,58208
2023-12-17,58208
2023-12-25,58208
2023-12-30,58208
2024-01-03,58827
2024-01-06,58830
2024-01-13,58830
2024-01-17,58830
2024-01-21,58830
2024-01-27,58831
2024-01-30,58831
2024-02-06,58857
2024-02-10,58857
2024-02-12,58857
2024-02-15,58857
2024-02-24,85996
2024-02-25,85996
2024-02-28,85996
2024-03-04,86006
2024-03-09,86004
2024-03-15,86004
2024-03-19,86004
2024-03-23,86023
2024-03-28,86023
2024-04-02,86027
2024-04-04,86027
2024-04-09,86025
2024-04-11,86025
2024-04-18,86063
2024-04-22,86063
2024-04-25,86065
2024-05-01,86065
2024-05-03,86065
2024-05-12,86089
2024-05-20,86107
2024-05-27,86107
2024-06-03,86113
2024-06-08,86137
2024-06-14,86140
2024-06-16,86140
2024-06-19,86140
2024-06-21,86140
2024-06-24,86140
2024-06-26,86140
2024-07-01,86140
2024-07-04,86140
2024-07-07,86140
2024-07-11,86140
2024-07-14,86140
2024-07-15,86140
2024-07-20,86140
2024-07-27,86140
2024-07-30,86140
2024-08-02,86140
2024-08-04,86142
2024-08-08,86142
2024-08-11,86165
2024-08-16,86165
2024-08-17,86165
2024-08-20,86165
2024-08-26,86165
2024-08-29,86165
2024-08-30,86165
2024-08-31,86165
2024-09-04,89243
2024-09-06,89243
2024-09-10,89243
2024-09-13,89243
2024-09-16,89243
2024-09-20,89243
2024-09-21,89243
2024-09-22,89243
2024-09-25,89243
2024-09-27,89243
2024-09-27,89243
2024-10-01,89243
2024-10-01,89248
2024-10-01,89248
2024-10-03,78723
2024-10-05,78398
2024-10-07,78398
2024-10-09,78399
2024-10-10,78391
Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,682 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, porn, social
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts)
containing 80,770 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,154 @@
2023-06-11,54059
2023-06-13,54059
2023-06-14,54059
2023-06-14,54059
2023-06-16,54059
2023-06-17,54062
2023-06-18,54062
2023-06-23,54072
2023-06-27,54073
2023-07-01,54073
2023-07-06,54210
2023-07-09,54176
2023-07-14,54172
2023-07-15,54172
2023-07-21,54171
2023-07-23,54171
2023-07-27,54171
2023-08-01,54171
2023-08-04,54168
2023-08-05,54168
2023-08-08,58676
2023-08-05,54168
2023-08-08,58676
2023-08-13,58676
2023-08-17,58676
2023-08-21,58676
2023-08-22,58794
2023-08-26,58794
2023-08-28,58794
2023-09-04,58798
2023-09-05,58798
2023-09-06,58680
2023-09-06,58824
2023-09-08,58825
2023-09-08,58790
2023-09-10,58790
2023-09-14,58790
2023-09-17,58790
2023-09-21,58790
2023-09-24,58790
2023-09-25,58785
2023-09-30,58787
2023-10-02,58787
2023-10-04,58787
2023-10-08,58933
2023-10-12,58933
2023-10-13,58933
2023-10-17,58933
2023-10-18,58933
2023-10-21,58933
2023-10-23,58931
2023-10-27,58930
2023-11-01,58930
2023-11-02,58930
2023-11-03,58930
2023-11-08,58930
2023-11-11,58930
2023-11-13,58930
2023-11-19,58930
2023-11-21,58930
2023-11-24,58930
2023-11-25,58930
2023-11-25,58930
2023-11-25,58930
2023-11-26,58930
2023-11-26,58930
2023-12-01,58930
2023-12-03,60569
2023-12-12,61047
2023-12-16,61047
2023-12-17,61047
2023-12-17,61047
2023-12-25,61047
2023-12-30,61047
2024-01-03,61670
2024-01-06,61673
2024-01-13,61673
2024-01-17,61673
2024-01-21,61673
2024-01-27,61674
2024-01-30,61674
2024-02-06,61700
2024-02-10,61700
2024-02-12,61700
2024-02-15,61700
2024-02-24,88840
2024-02-25,88840
2024-02-28,88840
2024-03-04,88851
2024-03-09,88849
2024-03-15,88849
2024-03-19,88849
2024-03-23,88868
2024-03-28,88868
2024-04-02,88872
2024-04-04,88872
2024-04-09,89181
2024-04-11,89181
2024-04-18,89219
2024-04-22,89219
2024-04-25,89285
2024-05-01,89285
2024-05-03,89285
2024-05-12,89309
2024-05-20,89327
2024-05-27,89327
2024-06-03,89333
2024-06-08,89357
2024-06-14,89360
2024-06-16,89360
2024-06-19,89360
2024-06-21,89360
2024-06-24,89360
2024-06-26,89360
2024-07-01,89360
2024-07-04,89360
2024-07-07,89360
2024-07-11,89360
2024-07-14,89360
2024-07-15,89360
2024-07-20,89360
2024-07-27,89360
2024-07-30,89360
2024-08-02,89360
2024-08-04,89362
2024-08-08,89362
2024-08-11,89385
2024-08-16,89385
2024-08-17,89385
2024-08-20,89385
2024-08-26,89385
2024-08-29,89385
2024-08-30,89385
2024-08-31,89385
2024-09-04,92463
2024-09-06,92463
2024-09-10,92463
2024-09-13,92463
2024-09-16,92463
2024-09-20,92463
2024-09-21,92463
2024-09-22,92463
2024-09-25,92463
2024-09-27,92463
2024-09-27,92463
2024-10-01,92463
2024-10-01,92471
2024-10-01,92471
2024-10-03,81946
2024-10-05,81621
2024-10-07,81614
2024-10-09,81615
2024-10-10,81607
Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

File diff suppressed because it is too large Load Diff
+468 -226
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 74,508 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts)
containing 214,591 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,46 +90,110 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -109,68 +201,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -180,28 +285,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -211,43 +321,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -267,71 +386,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -341,54 +531,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -396,61 +576,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+861
View File
@@ -0,0 +1,861 @@
2016-12-17,38799
2016-12-18,38845
2016-12-18,40274
2016-12-19,40300
2016-12-20,40377
2016-12-21,40413
2016-12-21,40370
2016-12-22,40406
2016-12-25,40420
2016-12-27,40442
2016-12-28,40462
2017-01-02,40477
2017-01-05,38448
2017-01-05,40477
2017-01-10,40550
2017-01-11,40655
2017-01-14,40651
2017-01-18,40700
2017-01-18,40701
2017-01-20,40718
2017-01-22,40726
2017-01-26,40774
2017-01-31,40813
2017-02-04,40819
2017-02-04,40820
2017-02-07,40799
2017-02-07,40798
2017-02-10,40812
2017-02-11,40814
2017-02-13,40814
2017-02-15,40834
2017-02-17,40830
2017-02-17,40830
2017-02-20,40899
2017-02-22,44802
2017-02-23,44801
2017-02-23,44257
2017-02-24,44249
2017-02-24,43836
2017-02-26,43863
2017-03-01,43919
2017-03-04,43961
2017-03-07,43968
2017-03-10,44118
2017-03-15,44146
2017-03-16,44152
2017-03-20,44162
2017-03-22,44172
2017-03-25,44198
2017-03-30,44283
2017-04-05,44323
2017-04-08,44131
2017-04-08,44131
2017-04-08,44131
2017-04-11,44219
2017-04-13,44144
2017-04-15,44175
2017-04-16,44175
2017-04-17,44194
2017-04-18,44211
2017-04-22,44264
2017-04-25,44297
2017-04-26,44323
2017-05-02,44369
2017-05-07,44408
2017-05-08,44412
2017-05-10,44474
2017-05-13,44582
2017-05-15,44598
2017-05-15,44598
2017-05-16,44663
2017-05-21,44663
2017-05-21,44741
2017-05-23,44766
2017-05-28,44907
2017-05-29,44950
2017-05-30,44960
2017-06-02,45052
2017-06-05,45094
2017-06-11,45163
2017-06-21,45376
2017-06-22,45405
2017-06-24,45326
2017-06-28,45375
2017-07-04,45378
2017-07-10,45513
2017-07-11,45524
2017-07-11,45525
2017-07-12,45539
2017-07-17,45253
2017-07-17,45252
2017-07-18,45192
2017-07-26,44896
2017-07-28,44897
2017-07-31,44926
2017-08-08,44655
2017-08-12,44814
2017-08-15,47317
2017-08-15,47317
2017-08-18,47338
2017-08-18,47093
2017-08-20,47093
2017-08-20,47107
2017-08-20,47107
2017-08-21,47067
2017-08-28,47135
2017-08-31,47127
2017-09-05,47038
2017-09-07,47102
2017-09-13,47135
2017-09-18,47084
2017-09-21,47107
2017-09-29,47126
2017-10-05,47138
2017-10-11,47123
2017-10-15,51482
2017-10-19,51451
2017-10-25,51483
2017-10-25,51510
2017-10-28,51509
2017-11-01,51554
2017-11-04,51572
2017-11-09,51608
2017-11-16,51684
2017-11-25,51733
2017-11-30,51769
2017-12-07,51685
2017-12-11,51695
2017-12-17,54387
2017-12-18,51727
2017-12-21,51735
2017-12-27,51737
2017-12-30,51736
2018-01-01,51756
2018-01-06,54378
2018-01-10,54374
2018-01-13,54284
2018-01-14,54292
2018-01-21,54389
2018-01-22,54391
2018-01-23,54397
2018-01-26,54400
2018-01-26,54503
2018-01-31,54418
2018-02-02,53615
2018-02-08,66366
2018-02-09,66366
2018-02-11,66380
2018-02-13,66354
2018-02-14,66380
2018-02-15,66377
2018-02-20,66345
2018-02-24,70408
2018-02-24,67331
2018-02-25,67324
2018-02-25,67323
2018-02-26,67339
2018-02-28,67359
2018-03-03,67355
2018-03-04,67370
2018-03-04,67292
2018-03-06,67346
2018-03-07,67346
2018-03-08,67341
2018-03-09,67357
2018-03-10,67358
2018-03-12,67382
2018-03-13,67384
2018-03-14,67391
2018-03-15,67890
2018-03-15,67401
2018-03-17,67406
2018-03-17,67406
2018-03-19,67443
2018-03-20,67481
2018-03-22,67485
2018-03-23,71892
2018-03-23,71892
2018-03-24,67971
2018-03-26,68025
2018-03-28,68090
2018-03-29,68082
2018-03-30,68081
2018-04-02,67633
2018-04-02,67127
2018-04-04,66515
2018-04-05,66494
2018-04-06,66439
2018-04-06,66444
2018-04-08,66376
2018-04-12,66392
2018-04-16,66289
2018-04-17,66378
2018-04-19,66317
2018-04-21,66350
2018-04-22,66348
2018-04-24,66358
2018-04-25,66236
2018-04-30,66291
2018-05-02,66070
2018-05-05,66077
2018-05-08,65928
2018-05-12,65955
2018-05-13,65951
2018-05-17,65630
2018-05-19,65639
2018-05-22,65652
2018-05-30,66770
2018-06-02,66791
2018-06-02,66791
2018-06-02,66791
2018-06-05,67006
2018-06-08,68156
2018-06-10,68178
2018-06-14,68292
2018-06-14,68291
2018-06-14,68291
2018-06-14,68291
2018-06-14,68291
2018-06-16,68502
2018-06-17,68696
2018-06-18,68783
2018-06-20,69113
2018-06-24,69164
2018-06-28,69208
2018-06-30,69394
2018-07-04,70906
2018-07-06,73943
2018-07-09,73997
2018-07-11,72764
2018-07-16,72769
2018-07-23,72283
2018-07-26,72470
2018-07-26,72470
2018-07-30,73290
2018-08-01,73354
2018-08-08,73815
2018-08-13,74138
2018-08-19,75067
2018-08-22,74445
2018-08-24,73766
2018-08-25,73686
2018-08-29,72771
2018-09-04,72693
2018-09-05,71958
2018-09-06,72030
2018-09-08,72025
2018-09-13,71204
2018-09-16,70001
2018-09-18,69137
2018-09-23,69429
2018-10-02,69432
2018-10-05,68308
2018-10-09,68258
2018-10-14,68335
2018-10-22,66500
2018-10-23,66234
2018-11-01,65044
2018-11-02,65436
2018-11-14,77679
2018-11-20,76917
2018-11-21,77031
2018-11-26,76210
2018-11-29,76739
2018-12-04,76730
2018-12-11,75386
2018-12-15,75392
2018-12-23,75760
2018-12-29,88219
2018-12-30,75682
2019-01-04,75477
2019-01-10,50944
2019-01-13,51263
2019-01-22,51288
2019-01-26,51511
2019-01-29,51536
2019-02-06,51608
2019-02-11,52360
2019-02-18,52465
2019-02-24,52487
2019-03-02,52477
2019-03-06,51990
2019-03-15,51769
2019-03-21,53596
2019-03-26,53716
2019-04-02,53667
2019-04-07,53625
2019-04-11,53348
2019-04-17,53064
2019-04-25,53375
2019-05-02,55772
2019-05-04,55760
2019-05-05,55765
2019-05-10,55634
2019-05-13,55596
2019-05-23,55633
2019-05-24,55625
2019-05-29,55881
2019-06-05,55872
2019-06-11,55875
2019-06-17,57274
2019-06-19,57285
2019-06-22,57506
2019-06-28,55842
2019-07-04,55891
2019-07-21,56189
2019-07-27,56267
2019-07-31,56290
2019-08-06,56930
2019-08-10,57084
2019-08-13,57363
2019-08-14,57492
2019-08-14,57492
2019-08-22,57646
2019-08-30,57685
2019-09-06,55146
2019-09-09,54559
2019-09-09,55180
2019-09-09,54571
2019-09-10,57766
2019-09-19,57800
2019-09-23,57856
2019-09-29,57908
2019-10-10,55235
2019-10-12,55251
2019-10-15,58468
2019-10-18,58342
2019-10-27,59722
2019-10-27,60476
2019-10-30,60595
2019-10-31,60756
2019-11-03,60911
2019-11-15,60600
2019-11-17,60681
2019-11-20,61850
2019-11-26,62193
2019-11-27,62196
2019-12-02,62215
2019-12-11,59076
2019-12-15,58774
2019-12-20,58816
2019-12-21,58823
2019-12-23,58812
2019-12-30,58849
2020-01-01,58829
2020-01-04,58989
2020-01-06,58925
2020-01-09,59650
2020-01-11,59984
2020-01-14,70334
2020-01-16,70338
2020-01-16,70340
2020-01-16,70342
2020-01-19,70333
2020-01-21,70296
2020-01-23,70061
2020-01-24,69548
2020-01-30,70514
2020-02-03,70778
2020-02-05,70685
2020-02-09,70727
2020-02-14,70835
2020-02-17,70876
2020-02-21,71059
2020-02-22,71059
2020-02-25,71046
2020-02-25,71045
2020-03-01,71190
2020-03-05,71097
2020-03-07,71132
2020-03-11,72030
2020-03-15,73409
2020-03-18,73705
2020-03-21,74124
2020-03-25,74510
2020-03-28,74711
2020-03-29,74674
2020-04-01,74766
2020-04-03,74074
2020-04-03,74074
2020-04-03,74925
2020-04-04,74872
2020-04-06,74955
2020-04-09,75172
2020-04-10,75205
2020-04-11,77673
2020-04-13,77848
2020-04-16,78169
2020-04-18,78286
2020-04-22,78438
2020-04-26,78415
2020-04-28,78349
2020-05-02,79133
2020-05-05,78711
2020-05-05,78842
2020-05-12,80760
2020-05-13,80902
2020-05-13,80905
2020-05-15,80963
2020-05-20,80894
2020-05-26,80581
2020-05-27,80621
2020-06-02,80797
2020-06-09,80712
2020-06-16,80720
2020-06-22,80582
2020-06-25,80642
2020-06-27,80557
2020-07-02,80702
2020-07-02,80701
2020-07-05,80600
2020-07-06,80570
2020-07-13,80758
2020-07-18,80976
2020-07-24,81149
2020-07-29,82069
2020-08-01,81985
2020-08-03,81323
2020-08-06,81831
2020-08-13,82376
2020-08-14,82423
2020-08-15,82814
2020-08-17,82215
2020-08-19,80993
2020-08-25,80675
2020-09-02,81137
2020-09-07,81083
2020-09-14,81656
2020-09-20,81617
2020-09-26,81970
2020-10-03,82042
2020-10-08,81693
2020-10-13,79193
2020-10-14,80825
2020-10-19,83002
2020-10-29,84679
2020-11-01,84365
2020-11-03,86219
2020-11-08,86185
2020-11-10,85669
2020-11-14,84399
2020-11-15,86274
2020-11-16,86306
2020-11-19,84447
2020-11-22,86422
2020-11-25,87133
2020-11-28,87222
2020-12-02,85240
2020-12-09,85670
2020-12-14,85935
2020-12-19,85800
2020-12-26,85763
2020-12-31,85473
2021-01-02,85291
2021-01-05,85514
2021-01-12,85581
2021-01-17,86337
2021-01-22,87004
2021-01-22,87008
2021-01-24,87361
2021-01-31,87665
2021-02-02,87881
2021-02-03,87918
2021-02-08,88530
2021-02-09,88590
2021-02-14,88890
2021-02-16,93560
2021-02-21,94396
2021-02-22,95890
2021-02-26,96147
2021-02-28,96161
2021-03-06,97239
2021-03-09,97583
2021-03-10,98966
2021-03-16,98547
2021-03-21,98459
2021-03-28,99358
2021-03-31,108753
2021-04-04,109083
2021-04-09,109626
2021-04-13,107616
2021-04-19,110964
2021-04-24,114423
2021-04-26,110834
2021-04-26,111062
2021-04-29,111902
2021-05-01,111695
2021-05-04,110245
2021-05-05,110317
2021-05-06,110434
2021-05-06,110811
2021-05-06,110810
2021-05-12,112141
2021-05-15,112519
2021-05-17,111727
2021-05-22,112730
2021-05-25,114088
2021-05-31,113863
2021-06-07,113216
2021-06-16,112160
2021-06-22,111520
2021-06-28,112197
2021-07-01,112954
2021-07-04,112906
2021-07-13,113645
2021-07-18,114167
2021-07-19,109785
2021-07-26,114843
2021-07-29,115430
2021-08-02,116569
2021-08-09,118250
2021-08-17,117720
2021-08-20,118275
2021-08-25,120674
2021-08-26,121333
2021-08-30,120425
2021-09-02,121561
2021-09-06,122389
2021-09-07,124224
2021-09-12,124726
2021-09-17,124456
2021-09-24,128917
2021-09-30,146845
2021-09-30,134573
2021-10-03,136603
2021-10-05,137319
2021-10-12,138195
2021-10-14,138888
2021-10-19,139177
2021-10-23,139278
2021-10-23,139276
2021-10-27,138617
2021-11-04,139226
2021-11-11,139384
2021-11-14,139347
2021-11-17,139789
2021-11-21,142464
2021-11-29,143815
2021-11-29,143796
2021-12-05,142881
2021-12-09,142807
2021-12-12,143044
2021-12-13,143649
2021-12-16,144451
2021-12-19,144512
2021-12-20,144914
2021-12-25,146049
2021-12-30,145902
2021-12-30,146087
2021-12-30,146076
2022-01-02,145939
2022-01-04,146204
2022-01-07,146490
2022-01-11,141771
2022-01-18,143709
2022-01-19,143378
2022-01-21,144011
2022-01-24,147363
2022-01-28,149158
2022-01-30,149303
2022-01-31,145727
2022-02-01,146128
2022-02-07,146845
2022-02-12,149487
2022-02-13,149617
2022-02-13,149613
2022-02-17,149678
2022-02-22,145123
2022-02-26,145297
2022-03-06,149344
2022-03-07,148158
2022-03-09,148473
2022-03-12,148892
2022-03-14,147099
2022-03-19,147711
2022-03-24,180232
2022-03-29,155547
2022-03-31,156025
2022-04-05,157494
2022-04-09,158193
2022-04-13,158996
2022-04-18,158960
2022-04-21,159709
2022-04-25,156794
2022-04-29,147897
2022-05-03,161216
2022-05-05,161456
2022-05-10,159350
2022-05-14,160097
2022-05-19,163024
2022-05-25,190979
2022-05-29,191645
2022-05-31,160183
2022-06-02,160546
2022-06-07,157633
2022-06-09,157996
2022-06-09,157997
2022-06-16,176709
2022-06-21,156506
2022-06-21,156620
2022-06-25,157600
2022-06-29,169966
2022-07-01,170219
2022-07-04,158206
2022-07-13,193742
2022-07-16,184427
2022-07-16,184420
2022-07-18,160405
2022-07-21,179078
2022-07-23,180119
2022-07-25,179211
2022-07-29,180382
2022-08-03,181444
2022-08-09,181531
2022-08-12,182358
2022-08-17,183359
2022-08-20,184377
2022-08-24,185272
2022-08-25,185719
2022-08-31,185544
2022-09-04,186273
2022-09-05,187326
2022-09-08,188066
2022-09-11,188523
2022-09-13,189714
2022-09-17,191307
2022-09-23,199341
2022-10-01,202048
2022-10-06,203339
2022-10-09,203564
2022-10-13,205614
2022-10-15,206155
2022-10-17,206189
2022-10-20,206855
2022-10-27,208789
2022-11-01,210628
2022-11-09,210170
2022-11-12,210080
2022-11-13,209959
2022-11-20,213978
2022-11-21,213912
2022-11-26,212415
2022-11-28,211835
2022-11-29,212723
2022-12-03,212429
2022-12-04,212081
2022-12-05,213436
2022-12-06,214492
2022-12-11,213094
2022-12-13,213744
2022-12-15,217675
2022-12-18,214909
2022-12-20,218322
2022-12-26,216398
2022-12-29,217078
2022-12-29,217170
2023-01-01,217292
2023-01-06,218120
2023-01-08,218251
2023-01-11,220231
2023-01-13,220568
2023-01-19,222818
2023-01-23,223573
2023-01-24,224251
2023-01-27,225570
2023-01-27,225573
2023-01-27,225571
2023-01-31,226047
2023-02-05,228213
2023-02-07,229786
2023-02-07,229787
2023-02-07,229788
2023-02-16,234015
2023-02-19,235206
2023-02-23,236003
2023-02-28,238206
2023-03-03,237912
2023-03-06,238295
2023-03-07,238624
2023-03-10,240491
2023-03-14,242142
2023-03-21,245090
2023-03-25,246728
2023-03-29,247582
2023-04-07,251329
2023-04-11,252578
2023-04-16,253877
2023-04-18,257292
2023-04-19,223342
2023-04-19,223349
2023-04-23,223963
2023-04-26,227732
2023-04-27,228138
2023-04-30,228230
2023-05-02,229129
2023-05-05,230353
2023-05-08,230476
2023-05-11,232347
2023-05-14,234461
2023-05-15,235602
2023-05-20,236821
2023-05-21,237174
2023-05-24,239761
2023-06-02,242336
2023-06-06,243504
2023-06-10,244313
2023-06-11,244389
2023-06-13,244878
2023-06-14,245756
2023-06-14,246433
2023-06-16,247451
2023-06-17,247151
2023-06-18,246938
2023-06-23,248681
2023-06-27,249305
2023-07-01,250473
2023-07-06,252024
2023-07-09,252423
2023-07-14,254057
2023-07-15,254159
2023-07-21,255903
2023-07-23,256095
2023-07-27,257386
2023-08-01,258621
2023-08-04,260753
2023-08-05,260841
2023-08-08,265997
2023-08-05,260841
2023-08-08,265997
2023-08-13,267645
2023-08-17,268444
2023-08-21,269392
2023-08-22,269766
2023-08-26,271341
2023-08-28,271553
2023-09-03,271174
2023-09-04,273501
2023-09-05,274307
2023-09-06,273902
2023-09-06,275309
2023-09-08,276180
2023-09-08,276196
2023-09-10,251641
2023-09-14,251660
2023-09-17,228143
2023-09-21,194481
2023-09-24,195052
2023-09-25,194005
2023-09-30,194254
2023-10-02,194633
2023-10-04,196022
2023-10-08,197058
2023-10-12,200840
2023-10-13,201558
2023-10-17,202431
2023-10-18,202926
2023-10-21,204608
2023-10-23,204795
2023-10-27,207215
2023-11-01,208349
2023-11-02,209102
2023-11-03,209627
2023-11-08,211560
2023-11-11,212458
2023-11-13,213078
2023-11-19,215439
2023-11-21,216424
2023-11-24,217985
2023-11-25,218340
2023-11-25,218335
2023-11-25,218372
2023-11-26,218443
2023-11-26,218475
2023-12-01,202411
2023-12-03,204541
2023-12-12,202023
2023-12-16,203810
2023-12-17,203998
2023-12-17,204019
2023-12-25,205116
2023-12-30,206284
2024-01-03,207709
2024-01-06,208989
2024-01-13,213465
2024-01-17,214680
2024-01-21,215901
2024-01-27,218555
2024-01-30,219840
2024-02-06,223123
2024-02-10,212042
2024-02-12,213056
2024-02-15,215630
2024-02-24,249552
2024-02-25,249625
2024-02-28,253244
2024-03-04,256924
2024-03-09,261794
2024-03-15,266208
2024-03-19,268942
2024-03-23,271667
2024-03-28,273947
2024-04-02,274898
2024-04-04,219515
2024-04-09,212874
2024-04-11,213422
2024-04-18,213853
2024-04-22,215647
2024-04-25,217097
2024-05-01,216430
2024-05-03,216832
2024-05-12,221247
2024-05-20,226606
2024-05-27,230489
2024-06-03,233504
2024-06-08,236505
2024-06-14,241437
2024-06-16,242537
2024-06-19,245322
2024-06-21,247554
2024-06-24,248607
2024-06-26,250240
2024-07-01,252283
2024-07-04,254129
2024-07-07,241014
2024-07-11,243733
2024-07-14,244733
2024-07-15,245305
2024-07-20,247870
2024-07-27,247959
2024-07-30,249167
2024-08-02,250533
2024-08-04,251011
2024-08-08,253280
2024-08-11,254328
2024-08-16,256892
2024-08-17,257398
2024-08-20,258889
2024-08-26,261346
2024-08-29,262762
2024-08-30,263221
2024-08-31,263322
2024-09-04,267836
2024-09-06,268850
2024-09-10,257450
2024-09-13,258075
2024-09-16,259043
2024-09-20,257994
2024-09-21,206482
2024-09-22,205380
2024-09-25,206433
2024-09-27,207002
2024-09-27,207003
2024-10-01,207003
2024-10-01,207791
2024-10-01,207791
2024-10-03,197576
2024-10-05,197277
2024-10-07,196752
2024-10-09,197205
2024-10-10,197309
Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

+195798 -58231
View File
File diff suppressed because it is too large Load Diff
+467 -224
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 71,759 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts)
containing 211,404 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,44 +90,109 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -107,68 +200,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -178,28 +284,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -209,43 +320,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -265,71 +385,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -339,54 +530,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -394,61 +575,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+861
View File
@@ -0,0 +1,861 @@
2016-12-17,38569
2016-12-18,38615
2016-12-18,40044
2016-12-19,40070
2016-12-20,40147
2016-12-21,40183
2016-12-21,40140
2016-12-22,40176
2016-12-25,40190
2016-12-27,40212
2016-12-28,40232
2017-01-02,40247
2017-01-05,38218
2017-01-05,40247
2017-01-10,40320
2017-01-11,40425
2017-01-14,40421
2017-01-18,40470
2017-01-18,40471
2017-01-20,40488
2017-01-22,40496
2017-01-26,40544
2017-01-31,40583
2017-02-04,40589
2017-02-04,40589
2017-02-07,40568
2017-02-07,40567
2017-02-10,40581
2017-02-11,40583
2017-02-13,40583
2017-02-15,40603
2017-02-17,40599
2017-02-17,40599
2017-02-20,40668
2017-02-22,44571
2017-02-23,44570
2017-02-23,44026
2017-02-24,44018
2017-02-24,43605
2017-02-26,43632
2017-03-01,43688
2017-03-04,43730
2017-03-07,43736
2017-03-10,43886
2017-03-15,43914
2017-03-16,43920
2017-03-20,43930
2017-03-22,43940
2017-03-25,43966
2017-03-30,44051
2017-04-05,44091
2017-04-08,43899
2017-04-08,43899
2017-04-08,43899
2017-04-11,43987
2017-04-13,43911
2017-04-15,43942
2017-04-16,43942
2017-04-17,43961
2017-04-18,43978
2017-04-22,44031
2017-04-25,44064
2017-04-26,44090
2017-05-02,44136
2017-05-07,44175
2017-05-08,44179
2017-05-10,44241
2017-05-13,44349
2017-05-15,44365
2017-05-15,44365
2017-05-16,44430
2017-05-21,44430
2017-05-21,44508
2017-05-23,44533
2017-05-28,44674
2017-05-29,44717
2017-05-30,44727
2017-06-02,44819
2017-06-05,44861
2017-06-11,44930
2017-06-21,45143
2017-06-22,45172
2017-06-24,45093
2017-06-28,45142
2017-07-04,45145
2017-07-10,45280
2017-07-11,45291
2017-07-11,45292
2017-07-12,45306
2017-07-17,45020
2017-07-17,45019
2017-07-18,44959
2017-07-26,44663
2017-07-28,44664
2017-07-31,44693
2017-08-08,44422
2017-08-12,44581
2017-08-15,47084
2017-08-15,47084
2017-08-18,47105
2017-08-18,46860
2017-08-20,46860
2017-08-20,46874
2017-08-20,46874
2017-08-21,46834
2017-08-28,46902
2017-08-31,46894
2017-09-05,46805
2017-09-07,46869
2017-09-13,46902
2017-09-18,46851
2017-09-21,46874
2017-09-29,46893
2017-10-05,46905
2017-10-11,46890
2017-10-15,51249
2017-10-19,51218
2017-10-25,51250
2017-10-25,51277
2017-10-28,51276
2017-11-01,51321
2017-11-04,51339
2017-11-09,51375
2017-11-16,51451
2017-11-25,51500
2017-11-30,51536
2017-12-07,51452
2017-12-11,51462
2017-12-17,54155
2017-12-18,51494
2017-12-21,51502
2017-12-27,51504
2017-12-30,51503
2018-01-01,51523
2018-01-06,53230
2018-01-10,53226
2018-01-13,53136
2018-01-14,53144
2018-01-21,53241
2018-01-22,53243
2018-01-23,53249
2018-01-26,53252
2018-01-26,53355
2018-01-31,53270
2018-02-02,52467
2018-02-08,65218
2018-02-09,65218
2018-02-11,65233
2018-02-13,65207
2018-02-14,65233
2018-02-15,65230
2018-02-20,65198
2018-02-24,69261
2018-02-24,66184
2018-02-25,66177
2018-02-25,66176
2018-02-26,66192
2018-02-28,66212
2018-03-03,66208
2018-03-04,66223
2018-03-04,66145
2018-03-06,66199
2018-03-07,66199
2018-03-08,66194
2018-03-09,66210
2018-03-10,66211
2018-03-12,66235
2018-03-13,66237
2018-03-14,66244
2018-03-15,66743
2018-03-15,66254
2018-03-17,66259
2018-03-17,66259
2018-03-19,66296
2018-03-20,66334
2018-03-22,66338
2018-03-23,70751
2018-03-23,70751
2018-03-24,66824
2018-03-26,66878
2018-03-28,66943
2018-03-29,66935
2018-03-30,66934
2018-04-02,66486
2018-04-02,65980
2018-04-04,65368
2018-04-05,65347
2018-04-06,65292
2018-04-06,65297
2018-04-08,65229
2018-04-12,65245
2018-04-16,65142
2018-04-17,65231
2018-04-19,65170
2018-04-21,65203
2018-04-22,65201
2018-04-24,65211
2018-04-25,65089
2018-04-30,65144
2018-05-02,64923
2018-05-05,64930
2018-05-08,64781
2018-05-12,64803
2018-05-13,64799
2018-05-17,64478
2018-05-19,64487
2018-05-22,64500
2018-05-30,65617
2018-06-02,65635
2018-06-02,65635
2018-06-02,65635
2018-06-05,65850
2018-06-08,67000
2018-06-10,67022
2018-06-14,67137
2018-06-14,67136
2018-06-14,67135
2018-06-14,67135
2018-06-14,67135
2018-06-16,67346
2018-06-17,67540
2018-06-18,67627
2018-06-20,67957
2018-06-24,68008
2018-06-28,68052
2018-06-30,68238
2018-07-04,69750
2018-07-06,72787
2018-07-09,72840
2018-07-11,71607
2018-07-16,71612
2018-07-23,71126
2018-07-26,71313
2018-07-26,71313
2018-07-30,72133
2018-08-01,72197
2018-08-08,72658
2018-08-13,72981
2018-08-19,73908
2018-08-22,73286
2018-08-24,72608
2018-08-25,72528
2018-08-29,71613
2018-09-04,71535
2018-09-05,70800
2018-09-06,70872
2018-09-08,70867
2018-09-13,70046
2018-09-16,68843
2018-09-18,67979
2018-09-23,68271
2018-10-02,68274
2018-10-05,67150
2018-10-09,67100
2018-10-14,67177
2018-10-22,65342
2018-10-23,65076
2018-11-01,63886
2018-11-02,64278
2018-11-14,76521
2018-11-20,75759
2018-11-21,75873
2018-11-26,75052
2018-11-29,75580
2018-12-04,75571
2018-12-11,74227
2018-12-15,74233
2018-12-23,74601
2018-12-29,87060
2018-12-30,74523
2019-01-04,74318
2019-01-10,49784
2019-01-13,49787
2019-01-22,49812
2019-01-26,50035
2019-01-29,50060
2019-02-06,50132
2019-02-11,50077
2019-02-18,50182
2019-02-24,50204
2019-03-02,50194
2019-03-06,49707
2019-03-15,49486
2019-03-21,51313
2019-03-26,51433
2019-04-02,51384
2019-04-07,51342
2019-04-11,51065
2019-04-17,50781
2019-04-25,51088
2019-05-02,53485
2019-05-04,53473
2019-05-05,53478
2019-05-10,53346
2019-05-13,53308
2019-05-23,53347
2019-05-24,53339
2019-05-29,53595
2019-06-05,53587
2019-06-11,53590
2019-06-17,54989
2019-06-19,55000
2019-06-22,55032
2019-06-28,53368
2019-07-04,53417
2019-07-21,53715
2019-07-27,53793
2019-07-31,53816
2019-08-06,54456
2019-08-10,54610
2019-08-13,54889
2019-08-14,55018
2019-08-14,55018
2019-08-22,55172
2019-08-30,55211
2019-09-06,52672
2019-09-09,52085
2019-09-09,52706
2019-09-09,52097
2019-09-10,55292
2019-09-19,55326
2019-09-23,55382
2019-09-29,55434
2019-10-10,52761
2019-10-12,52777
2019-10-15,55994
2019-10-18,55868
2019-10-27,57248
2019-10-27,58002
2019-10-30,58121
2019-10-31,58282
2019-11-03,58437
2019-11-15,58126
2019-11-17,58207
2019-11-20,59376
2019-11-26,59719
2019-11-27,59722
2019-12-02,59741
2019-12-11,56602
2019-12-15,56299
2019-12-20,56341
2019-12-21,56348
2019-12-23,56337
2019-12-30,56374
2020-01-01,56354
2020-01-04,56514
2020-01-06,56450
2020-01-09,57175
2020-01-11,57509
2020-01-14,67867
2020-01-16,67871
2020-01-16,67873
2020-01-16,67875
2020-01-19,67866
2020-01-21,67829
2020-01-23,67594
2020-01-24,67081
2020-01-30,68047
2020-02-03,68311
2020-02-05,68218
2020-02-09,68260
2020-02-14,68368
2020-02-17,68409
2020-02-21,68592
2020-02-22,68592
2020-02-25,68579
2020-02-25,68578
2020-03-01,68723
2020-03-05,68630
2020-03-07,68665
2020-03-11,69281
2020-03-15,70660
2020-03-18,70956
2020-03-21,71375
2020-03-25,71761
2020-03-28,71962
2020-03-29,71925
2020-04-01,72016
2020-04-03,71324
2020-04-03,71324
2020-04-03,72175
2020-04-04,72122
2020-04-06,72205
2020-04-09,72422
2020-04-10,72455
2020-04-11,74923
2020-04-13,75098
2020-04-16,75419
2020-04-18,75536
2020-04-22,75688
2020-04-26,75665
2020-04-28,75599
2020-05-02,76383
2020-05-05,75961
2020-05-05,76092
2020-05-12,78010
2020-05-13,78152
2020-05-13,78155
2020-05-15,78213
2020-05-20,78144
2020-05-26,77831
2020-05-27,77871
2020-06-02,78041
2020-06-09,77956
2020-06-16,77964
2020-06-22,77826
2020-06-25,77886
2020-06-27,77801
2020-07-02,77946
2020-07-02,77945
2020-07-05,77844
2020-07-06,77814
2020-07-13,78002
2020-07-18,78220
2020-07-24,78393
2020-07-29,79313
2020-08-01,79229
2020-08-03,78567
2020-08-06,79075
2020-08-13,79620
2020-08-14,79667
2020-08-15,80058
2020-08-17,79459
2020-08-19,78237
2020-08-25,77919
2020-09-02,78381
2020-09-07,78327
2020-09-14,78900
2020-09-20,78861
2020-09-26,79214
2020-10-03,79286
2020-10-08,78937
2020-10-13,76437
2020-10-14,78069
2020-10-19,80246
2020-10-29,81923
2020-11-01,81609
2020-11-03,83463
2020-11-08,83429
2020-11-10,82913
2020-11-14,81642
2020-11-15,83517
2020-11-16,83549
2020-11-19,81690
2020-11-22,83665
2020-11-25,84376
2020-11-28,84465
2020-12-02,82483
2020-12-09,82913
2020-12-14,83178
2020-12-19,83042
2020-12-26,83005
2020-12-31,82715
2021-01-02,82533
2021-01-05,82756
2021-01-12,82823
2021-01-17,83579
2021-01-22,84246
2021-01-22,84250
2021-01-24,84603
2021-01-31,84869
2021-02-02,85085
2021-02-03,85122
2021-02-08,85734
2021-02-09,85794
2021-02-14,86086
2021-02-16,90756
2021-02-21,91592
2021-02-22,93086
2021-02-26,93343
2021-02-28,93357
2021-03-06,94435
2021-03-09,94779
2021-03-10,96162
2021-03-16,95743
2021-03-21,95655
2021-03-28,96554
2021-03-31,105949
2021-04-04,106279
2021-04-09,106822
2021-04-13,104812
2021-04-19,108160
2021-04-24,111619
2021-04-26,108030
2021-04-26,108258
2021-04-29,109098
2021-05-01,108891
2021-05-04,107441
2021-05-05,107513
2021-05-06,107630
2021-05-06,108007
2021-05-06,108006
2021-05-12,109337
2021-05-15,109715
2021-05-17,108923
2021-05-22,109926
2021-05-25,111284
2021-05-31,111059
2021-06-07,110412
2021-06-16,109356
2021-06-22,108716
2021-06-28,109383
2021-07-01,110140
2021-07-04,110092
2021-07-13,110831
2021-07-18,111353
2021-07-19,106971
2021-07-26,112029
2021-07-29,112616
2021-08-02,113755
2021-08-09,115438
2021-08-17,114908
2021-08-20,115463
2021-08-25,117862
2021-08-26,118521
2021-08-30,117613
2021-09-02,118749
2021-09-06,119577
2021-09-07,121412
2021-09-12,121914
2021-09-17,121644
2021-09-24,126105
2021-09-30,144033
2021-09-30,131761
2021-10-03,133791
2021-10-05,134507
2021-10-12,135383
2021-10-14,136076
2021-10-19,136365
2021-10-23,136466
2021-10-23,136464
2021-10-27,135805
2021-11-04,136414
2021-11-11,136570
2021-11-14,136533
2021-11-17,136975
2021-11-21,139650
2021-11-29,141004
2021-11-29,140985
2021-12-05,140070
2021-12-09,139995
2021-12-12,140232
2021-12-13,140837
2021-12-16,141637
2021-12-19,141698
2021-12-20,142100
2021-12-25,143235
2021-12-30,143088
2021-12-30,143273
2021-12-30,143262
2022-01-02,143125
2022-01-04,143390
2022-01-07,143676
2022-01-11,138957
2022-01-18,140895
2022-01-19,140564
2022-01-21,141197
2022-01-24,144549
2022-01-28,146344
2022-01-30,146489
2022-01-31,142913
2022-02-01,143314
2022-02-07,144031
2022-02-12,146674
2022-02-13,146803
2022-02-13,146799
2022-02-17,146864
2022-02-22,142309
2022-02-26,142483
2022-03-06,146530
2022-03-07,145344
2022-03-09,145659
2022-03-12,146078
2022-03-14,144285
2022-03-19,144897
2022-03-24,177418
2022-03-29,152733
2022-03-31,153211
2022-04-05,154680
2022-04-09,155379
2022-04-13,156182
2022-04-18,156146
2022-04-21,156895
2022-04-25,153980
2022-04-29,145083
2022-05-03,158402
2022-05-05,158642
2022-05-10,156536
2022-05-14,157283
2022-05-19,160210
2022-05-25,188165
2022-05-29,188831
2022-05-31,157369
2022-06-02,157732
2022-06-07,154819
2022-06-09,155182
2022-06-09,155183
2022-06-16,173895
2022-06-21,153692
2022-06-21,153806
2022-06-25,154786
2022-06-29,167152
2022-07-01,167405
2022-07-04,155392
2022-07-13,190928
2022-07-16,181613
2022-07-16,181606
2022-07-18,157591
2022-07-21,176264
2022-07-23,177305
2022-07-25,176397
2022-07-29,177557
2022-08-03,178619
2022-08-09,178706
2022-08-12,179533
2022-08-17,180534
2022-08-20,181552
2022-08-24,182447
2022-08-25,182894
2022-08-31,182719
2022-09-04,183448
2022-09-05,184501
2022-09-08,185241
2022-09-11,185698
2022-09-13,186889
2022-09-17,188482
2022-09-23,196516
2022-10-01,199223
2022-10-06,200515
2022-10-09,200740
2022-10-13,202790
2022-10-15,203331
2022-10-17,203365
2022-10-20,204031
2022-10-27,205965
2022-11-01,207804
2022-11-09,207346
2022-11-12,207256
2022-11-13,207135
2022-11-20,211154
2022-11-21,211088
2022-11-26,209591
2022-11-28,209011
2022-11-29,209899
2022-12-03,209605
2022-12-04,209257
2022-12-05,210612
2022-12-06,211668
2022-12-11,210270
2022-12-13,210920
2022-12-15,214851
2022-12-18,212085
2022-12-20,215498
2022-12-26,213574
2022-12-29,214254
2022-12-29,214346
2023-01-01,214468
2023-01-06,215296
2023-01-08,215427
2023-01-11,217407
2023-01-13,217744
2023-01-19,219994
2023-01-23,220749
2023-01-24,221427
2023-01-27,222746
2023-01-27,222749
2023-01-27,222747
2023-01-31,223223
2023-02-05,225389
2023-02-07,226963
2023-02-07,226964
2023-02-07,226965
2023-02-16,231192
2023-02-19,232383
2023-02-23,233180
2023-02-28,235383
2023-03-03,235089
2023-03-06,235472
2023-03-07,235801
2023-03-10,237668
2023-03-14,239319
2023-03-21,242267
2023-03-25,243905
2023-03-29,244759
2023-04-07,248506
2023-04-11,249755
2023-04-16,251054
2023-04-18,254469
2023-04-19,220519
2023-04-19,220526
2023-04-23,221140
2023-04-26,224909
2023-04-27,225315
2023-04-30,225407
2023-05-02,226306
2023-05-05,227530
2023-05-08,227653
2023-05-11,229524
2023-05-14,231638
2023-05-15,232779
2023-05-20,233998
2023-05-21,234351
2023-05-24,236938
2023-06-02,239513
2023-06-06,240681
2023-06-10,241490
2023-06-11,241566
2023-06-13,242055
2023-06-14,242933
2023-06-14,243610
2023-06-16,244628
2023-06-17,244328
2023-06-18,244115
2023-06-23,245858
2023-06-27,246482
2023-07-01,247650
2023-07-06,249201
2023-07-09,249600
2023-07-14,251234
2023-07-15,251336
2023-07-21,253080
2023-07-23,253272
2023-07-27,254563
2023-08-01,255798
2023-08-04,257930
2023-08-05,258018
2023-08-08,263174
2023-08-05,258018
2023-08-08,263174
2023-08-13,264822
2023-08-17,265621
2023-08-21,266569
2023-08-22,266943
2023-08-26,268518
2023-08-28,268730
2023-09-03,268351
2023-09-04,270678
2023-09-05,271484
2023-09-06,271079
2023-09-06,272486
2023-09-08,273357
2023-09-08,273373
2023-09-10,248818
2023-09-14,248837
2023-09-17,225320
2023-09-21,191658
2023-09-24,192229
2023-09-25,191182
2023-09-30,191431
2023-10-02,191810
2023-10-04,193199
2023-10-08,194235
2023-10-12,198017
2023-10-13,198735
2023-10-17,199608
2023-10-18,200103
2023-10-21,201785
2023-10-23,201972
2023-10-27,204392
2023-11-01,205526
2023-11-02,206279
2023-11-03,206804
2023-11-08,208737
2023-11-11,209635
2023-11-13,210255
2023-11-19,212616
2023-11-21,213601
2023-11-24,215162
2023-11-25,215517
2023-11-25,215512
2023-11-25,215549
2023-11-26,215620
2023-11-26,215652
2023-12-01,199588
2023-12-03,201718
2023-12-12,199202
2023-12-16,200989
2023-12-17,201176
2023-12-17,201197
2023-12-25,202294
2023-12-30,203462
2024-01-03,204883
2024-01-06,206163
2024-01-13,210639
2024-01-17,211854
2024-01-21,213075
2024-01-27,215729
2024-01-30,217014
2024-02-06,220297
2024-02-10,209216
2024-02-12,210230
2024-02-15,212804
2024-02-24,246725
2024-02-25,246798
2024-02-28,250417
2024-03-04,254096
2024-03-09,258966
2024-03-15,263380
2024-03-19,266114
2024-03-23,268839
2024-03-28,271119
2024-04-02,272070
2024-04-04,216687
2024-04-09,209744
2024-04-11,210292
2024-04-18,210723
2024-04-22,212517
2024-04-25,213906
2024-05-01,213239
2024-05-03,213641
2024-05-12,218056
2024-05-20,223415
2024-05-27,227298
2024-06-03,230313
2024-06-08,233314
2024-06-14,238246
2024-06-16,239346
2024-06-19,242131
2024-06-21,244363
2024-06-24,245416
2024-06-26,247049
2024-07-01,249092
2024-07-04,250938
2024-07-07,237823
2024-07-11,240542
2024-07-14,241542
2024-07-15,242114
2024-07-20,244679
2024-07-27,244768
2024-07-30,245976
2024-08-02,247342
2024-08-04,247820
2024-08-08,250089
2024-08-11,251137
2024-08-16,253701
2024-08-17,254207
2024-08-20,255698
2024-08-26,258155
2024-08-29,259571
2024-08-30,260030
2024-08-31,260131
2024-09-04,264645
2024-09-06,265659
2024-09-10,254259
2024-09-13,254884
2024-09-16,255852
2024-09-20,254803
2024-09-21,203291
2024-09-22,202189
2024-09-25,203242
2024-09-27,203811
2024-09-27,203812
2024-10-01,203812
2024-10-01,204597
2024-10-01,204597
2024-10-03,194382
2024-10-05,194083
2024-10-07,193565
2024-10-09,194018
2024-10-10,194122
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

File diff suppressed because it is too large Load Diff
+676
View File
@@ -0,0 +1,676 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: fakenews, social
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: fakenews, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts)
containing 5,411 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+143
View File
@@ -0,0 +1,143 @@
2023-06-11,5035
2023-06-13,5035
2023-06-14,5035
2023-06-14,5035
2023-06-16,5035
2023-06-17,5035
2023-06-18,5035
2023-06-23,5035
2023-06-27,5035
2023-07-01,5035
2023-07-06,5035
2023-07-09,5035
2023-07-14,5035
2023-07-15,5035
2023-07-21,5035
2023-07-23,5035
2023-07-27,5035
2023-08-01,5035
2023-08-04,5035
2023-08-05,5035
2023-08-08,5035
2023-09-06,5035
2023-09-08,5035
2023-09-08,5035
2023-09-10,5035
2023-09-14,5035
2023-09-17,5035
2023-09-21,5035
2023-09-24,5035
2023-09-25,5035
2023-09-30,5035
2023-10-02,5035
2023-10-04,5035
2023-10-08,5035
2023-10-12,5035
2023-10-13,5035
2023-10-17,5035
2023-10-18,5035
2023-10-21,5035
2023-10-23,5035
2023-10-27,5035
2023-11-01,5035
2023-11-02,5035
2023-11-03,5035
2023-11-08,5035
2023-11-11,5035
2023-11-13,5035
2023-11-19,5035
2023-11-21,5035
2023-11-24,5035
2023-11-25,5035
2023-11-25,5035
2023-11-25,5035
2023-11-26,5035
2023-11-26,5035
2023-12-01,5035
2023-12-03,5035
2023-12-12,5035
2023-12-16,5035
2023-12-17,5035
2023-12-17,5035
2023-12-25,5035
2023-12-30,5035
2024-01-03,5039
2024-01-06,5039
2024-01-13,5039
2024-01-17,5039
2024-01-21,5039
2024-01-27,5039
2024-01-30,5039
2024-02-06,5039
2024-02-10,5039
2024-02-12,5039
2024-02-15,5039
2024-02-24,5039
2024-02-25,5039
2024-02-28,5039
2024-03-04,5040
2024-03-09,5040
2024-03-15,5040
2024-03-19,5040
2024-03-23,5040
2024-03-28,5040
2024-04-02,5040
2024-04-04,5040
2024-04-09,5351
2024-04-11,5351
2024-04-18,5351
2024-04-22,5351
2024-04-25,5415
2024-05-01,5415
2024-05-03,5415
2024-05-12,5415
2024-05-20,5415
2024-05-27,5415
2024-06-03,5415
2024-06-08,5415
2024-06-14,5415
2024-06-16,5415
2024-06-19,5415
2024-06-21,5415
2024-06-24,5415
2024-06-26,5415
2024-07-01,5415
2024-07-04,5415
2024-07-07,5415
2024-07-11,5415
2024-07-14,5415
2024-07-15,5415
2024-07-20,5415
2024-07-27,5415
2024-07-30,5415
2024-08-02,5415
2024-08-04,5415
2024-08-08,5415
2024-08-11,5415
2024-08-16,5415
2024-08-17,5415
2024-08-20,5415
2024-08-26,5415
2024-08-29,5415
2024-08-30,5415
2024-08-31,5415
2024-09-04,5415
2024-09-06,5415
2024-09-10,5415
2024-09-13,5415
2024-09-16,5415
2024-09-20,5415
2024-09-21,5415
2024-09-22,5415
2024-09-25,5415
2024-09-27,5415
2024-09-27,5415
2024-10-01,5415
2024-10-01,5418
2024-10-01,5418
2024-10-03,5418
2024-10-05,5418
2024-10-07,5411
2024-10-09,5411
2024-10-10,5411
Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

+133269 -53154
View File
File diff suppressed because it is too large Load Diff
+462 -222
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 57,734 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts)
containing 139,933 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,42 +90,104 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -105,68 +195,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -176,28 +279,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -207,43 +315,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -263,71 +380,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -337,54 +525,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -392,61 +570,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+861
View File
@@ -0,0 +1,861 @@
2016-12-17,32565
2016-12-18,32611
2016-12-18,32639
2016-12-19,32665
2016-12-20,32742
2016-12-21,32774
2016-12-21,32731
2016-12-22,32767
2016-12-25,32781
2016-12-27,32796
2016-12-28,32816
2017-01-02,32831
2017-01-05,30802
2017-01-05,32831
2017-01-10,32904
2017-01-11,32906
2017-01-14,32902
2017-01-18,32951
2017-01-18,32952
2017-01-20,32959
2017-01-22,32896
2017-01-26,32932
2017-01-31,32969
2017-02-04,32976
2017-02-04,32977
2017-02-07,32956
2017-02-07,32955
2017-02-10,32969
2017-02-11,32969
2017-02-13,32969
2017-02-15,32987
2017-02-17,32983
2017-02-17,32983
2017-02-20,33052
2017-02-22,36978
2017-02-23,36977
2017-02-23,36431
2017-02-24,36422
2017-02-24,36009
2017-02-26,36036
2017-03-01,36092
2017-03-04,36134
2017-03-07,36141
2017-03-10,36289
2017-03-15,36320
2017-03-16,36326
2017-03-20,36336
2017-03-22,36345
2017-03-25,36371
2017-03-30,36456
2017-04-05,36496
2017-04-08,36294
2017-04-08,36294
2017-04-08,36294
2017-04-11,36382
2017-04-13,36303
2017-04-15,36334
2017-04-16,36334
2017-04-17,36353
2017-04-18,36370
2017-04-22,36423
2017-04-25,36456
2017-04-26,36482
2017-05-02,36528
2017-05-07,36567
2017-05-08,36567
2017-05-10,36624
2017-05-13,36734
2017-05-15,36750
2017-05-15,36750
2017-05-16,36815
2017-05-21,36815
2017-05-21,36894
2017-05-23,36919
2017-05-28,37062
2017-05-29,37105
2017-05-30,37115
2017-06-02,37206
2017-06-05,37246
2017-06-11,37315
2017-06-21,37528
2017-06-22,37557
2017-06-24,37474
2017-06-28,37523
2017-07-04,37526
2017-07-10,37661
2017-07-11,37672
2017-07-11,37671
2017-07-12,37685
2017-07-17,37399
2017-07-17,37398
2017-07-18,37338
2017-07-26,37043
2017-07-28,37044
2017-07-31,37072
2017-08-08,36801
2017-08-12,36962
2017-08-15,39465
2017-08-15,39465
2017-08-18,39486
2017-08-18,39241
2017-08-20,39241
2017-08-20,39255
2017-08-20,39255
2017-08-21,39215
2017-08-28,39284
2017-08-31,39274
2017-09-05,39185
2017-09-07,39247
2017-09-13,39280
2017-09-18,39226
2017-09-21,39249
2017-09-29,39268
2017-10-05,39280
2017-10-11,39265
2017-10-15,43624
2017-10-19,43593
2017-10-25,43625
2017-10-25,43652
2017-10-28,43651
2017-11-01,43696
2017-11-04,43711
2017-11-09,43747
2017-11-16,43823
2017-11-25,43872
2017-11-30,43908
2017-12-07,43822
2017-12-11,43832
2017-12-17,46524
2017-12-18,43864
2017-12-21,43872
2017-12-27,43874
2017-12-30,43873
2018-01-01,43873
2018-01-06,44915
2018-01-10,44911
2018-01-13,44818
2018-01-14,44825
2018-01-21,44858
2018-01-22,44860
2018-01-23,44866
2018-01-26,44869
2018-01-26,44972
2018-01-31,44885
2018-02-02,44077
2018-02-08,56860
2018-02-09,56860
2018-02-11,56874
2018-02-13,56848
2018-02-14,56848
2018-02-15,56845
2018-02-20,56811
2018-02-24,60874
2018-02-24,57797
2018-02-25,57790
2018-02-25,57789
2018-02-26,57805
2018-02-28,57825
2018-03-03,57821
2018-03-04,57836
2018-03-04,57754
2018-03-06,57808
2018-03-07,57808
2018-03-08,57803
2018-03-09,57819
2018-03-10,57820
2018-03-12,57844
2018-03-13,57846
2018-03-14,57853
2018-03-15,58352
2018-03-15,57863
2018-03-17,57868
2018-03-17,57868
2018-03-19,57905
2018-03-20,57943
2018-03-22,57947
2018-03-23,62387
2018-03-23,62387
2018-03-24,58433
2018-03-26,58487
2018-03-28,58552
2018-03-29,58544
2018-03-30,58543
2018-04-02,58096
2018-04-02,57590
2018-04-04,56978
2018-04-05,56955
2018-04-06,56899
2018-04-06,56904
2018-04-08,56837
2018-04-12,56853
2018-04-16,56749
2018-04-17,56747
2018-04-19,56467
2018-04-21,56500
2018-04-22,56498
2018-04-24,56510
2018-04-25,56385
2018-04-30,56439
2018-05-02,56216
2018-05-05,56222
2018-05-08,56073
2018-05-12,56100
2018-05-13,56096
2018-05-17,55775
2018-05-19,55776
2018-05-22,55789
2018-05-30,56853
2018-06-02,56872
2018-06-02,56872
2018-06-02,56872
2018-06-05,57087
2018-06-08,58235
2018-06-10,58257
2018-06-14,58371
2018-06-14,58370
2018-06-14,58370
2018-06-14,58370
2018-06-14,58370
2018-06-16,58589
2018-06-17,58783
2018-06-18,58870
2018-06-20,59200
2018-06-24,59250
2018-06-28,59283
2018-06-30,59411
2018-07-04,60904
2018-07-06,63940
2018-07-09,63918
2018-07-11,62684
2018-07-16,62689
2018-07-23,62206
2018-07-26,62393
2018-07-26,62393
2018-07-30,63213
2018-08-01,63277
2018-08-08,63738
2018-08-13,64061
2018-08-19,64988
2018-08-22,64366
2018-08-24,63685
2018-08-25,63605
2018-08-29,62685
2018-09-04,62607
2018-09-05,61869
2018-09-06,61941
2018-09-08,61932
2018-09-13,61108
2018-09-16,59906
2018-09-18,59041
2018-09-23,59254
2018-10-02,59255
2018-10-05,58128
2018-10-09,58042
2018-10-14,58118
2018-10-22,56276
2018-10-23,56010
2018-11-01,54817
2018-11-02,55209
2018-11-14,67445
2018-11-20,66681
2018-11-21,66793
2018-11-26,65931
2018-11-29,66452
2018-12-04,66443
2018-12-11,65099
2018-12-15,65105
2018-12-23,65473
2018-12-29,77932
2018-12-30,65395
2019-01-04,65189
2019-01-10,40656
2019-01-13,40973
2019-01-22,40999
2019-01-26,41222
2019-01-29,41247
2019-02-06,41319
2019-02-11,41947
2019-02-18,41913
2019-02-24,41935
2019-03-02,41926
2019-03-06,41438
2019-03-15,41211
2019-03-21,41154
2019-03-26,41278
2019-04-02,41229
2019-04-07,41187
2019-04-11,40905
2019-04-17,40537
2019-04-25,40632
2019-05-02,42271
2019-05-04,42217
2019-05-05,42220
2019-05-10,42085
2019-05-13,42047
2019-05-23,42082
2019-05-24,42074
2019-05-29,42331
2019-06-05,42322
2019-06-11,42324
2019-06-17,43723
2019-06-19,43732
2019-06-22,43951
2019-06-28,44006
2019-07-04,44053
2019-07-21,44351
2019-07-27,44354
2019-07-31,44375
2019-08-06,45015
2019-08-10,45168
2019-08-13,45447
2019-08-14,45511
2019-08-14,45511
2019-08-22,45586
2019-08-30,45623
2019-09-06,43063
2019-09-09,42476
2019-09-09,43097
2019-09-09,42488
2019-09-10,45683
2019-09-19,45717
2019-09-23,45772
2019-09-29,45824
2019-10-10,43151
2019-10-12,43167
2019-10-15,46384
2019-10-18,46245
2019-10-27,46294
2019-10-27,46296
2019-10-30,46322
2019-10-31,46418
2019-11-03,46422
2019-11-15,46111
2019-11-17,46174
2019-11-20,46256
2019-11-26,46553
2019-11-27,46554
2019-12-02,46573
2019-12-11,43434
2019-12-15,43130
2019-12-20,43091
2019-12-21,43096
2019-12-23,43085
2019-12-30,43120
2020-01-01,43097
2020-01-04,43257
2020-01-06,43193
2020-01-09,43914
2020-01-11,44248
2020-01-14,54604
2020-01-16,54608
2020-01-16,54610
2020-01-16,54612
2020-01-19,54603
2020-01-21,54566
2020-01-23,54331
2020-01-24,53813
2020-01-30,54779
2020-02-03,55043
2020-02-05,54950
2020-02-09,54992
2020-02-14,55100
2020-02-17,55141
2020-02-21,55091
2020-02-22,55091
2020-02-25,55078
2020-02-25,55077
2020-03-01,55222
2020-03-05,55127
2020-03-07,55161
2020-03-11,55667
2020-03-15,56948
2020-03-18,57196
2020-03-21,57558
2020-03-25,57736
2020-03-28,57937
2020-03-29,57871
2020-04-01,57962
2020-04-03,57261
2020-04-03,57261
2020-04-03,58121
2020-04-04,58068
2020-04-06,58151
2020-04-09,58368
2020-04-10,58400
2020-04-11,58413
2020-04-13,58370
2020-04-16,58687
2020-04-18,58804
2020-04-22,58957
2020-04-26,58919
2020-04-28,58853
2020-05-02,59640
2020-05-05,59177
2020-05-05,59312
2020-05-12,61230
2020-05-13,61372
2020-05-13,61375
2020-05-15,61433
2020-05-20,61365
2020-05-26,61052
2020-05-27,61092
2020-06-02,61246
2020-06-09,61161
2020-06-16,61162
2020-06-22,61022
2020-06-25,61080
2020-06-27,60995
2020-07-02,61140
2020-07-02,61139
2020-07-05,61037
2020-07-06,61007
2020-07-13,61164
2020-07-18,61360
2020-07-24,61418
2020-07-29,62308
2020-08-01,62207
2020-08-03,61535
2020-08-06,62043
2020-08-13,62783
2020-08-14,62830
2020-08-15,62787
2020-08-17,62188
2020-08-19,60960
2020-08-25,60592
2020-09-02,61054
2020-09-07,61000
2020-09-14,61573
2020-09-20,61534
2020-09-26,61887
2020-10-03,61937
2020-10-08,61588
2020-10-13,61226
2020-10-14,60419
2020-10-19,62496
2020-10-29,63661
2020-11-01,63348
2020-11-03,65202
2020-11-08,65168
2020-11-10,64647
2020-11-14,62772
2020-11-15,64647
2020-11-16,64679
2020-11-19,62820
2020-11-22,64795
2020-11-25,65077
2020-11-28,65166
2020-12-02,63184
2020-12-09,63614
2020-12-14,63880
2020-12-19,63742
2020-12-26,63705
2020-12-31,63415
2021-01-02,63233
2021-01-05,63456
2021-01-12,63523
2021-01-17,63821
2021-01-22,64488
2021-01-22,64492
2021-01-24,64851
2021-01-31,65154
2021-02-02,65370
2021-02-03,65407
2021-02-08,65533
2021-02-09,65593
2021-02-14,65888
2021-02-16,67905
2021-02-21,68732
2021-02-22,70235
2021-02-26,70492
2021-02-28,70506
2021-03-06,71055
2021-03-09,71399
2021-03-10,72782
2021-03-16,72403
2021-03-21,72315
2021-03-28,73214
2021-03-31,82609
2021-04-04,82939
2021-04-09,83482
2021-04-13,81472
2021-04-19,84809
2021-04-24,88270
2021-04-26,84681
2021-04-26,84909
2021-04-29,85749
2021-05-01,85542
2021-05-04,84092
2021-05-05,84164
2021-05-06,84281
2021-05-06,84658
2021-05-06,84657
2021-05-12,85994
2021-05-15,86380
2021-05-17,85588
2021-05-22,86591
2021-05-25,87949
2021-05-31,87724
2021-06-07,87077
2021-06-16,86114
2021-06-22,85474
2021-06-28,86047
2021-07-01,86804
2021-07-04,86756
2021-07-13,87495
2021-07-18,87995
2021-07-19,83613
2021-07-26,88671
2021-07-29,89258
2021-08-02,90397
2021-08-09,92078
2021-08-17,91548
2021-08-20,92103
2021-08-25,94502
2021-08-26,95161
2021-08-30,94156
2021-09-02,95246
2021-09-06,95667
2021-09-07,97502
2021-09-12,98004
2021-09-17,97734
2021-09-24,99115
2021-09-30,108261
2021-09-30,95989
2021-10-03,96258
2021-10-05,96905
2021-10-12,97781
2021-10-14,98474
2021-10-19,98727
2021-10-23,98818
2021-10-23,98818
2021-10-27,98188
2021-11-04,98799
2021-11-11,98957
2021-11-14,98920
2021-11-17,99362
2021-11-21,102043
2021-11-29,103386
2021-11-29,103367
2021-12-05,102452
2021-12-09,102378
2021-12-12,102615
2021-12-13,103220
2021-12-16,104005
2021-12-19,104066
2021-12-20,104468
2021-12-25,105603
2021-12-30,105456
2021-12-30,105641
2021-12-30,105630
2022-01-02,105481
2022-01-04,105746
2022-01-07,106032
2022-01-11,101304
2022-01-18,102688
2022-01-19,102357
2022-01-21,102971
2022-01-24,106323
2022-01-28,108118
2022-01-30,108263
2022-01-31,104687
2022-02-01,105088
2022-02-07,105805
2022-02-12,106843
2022-02-13,106973
2022-02-13,106970
2022-02-17,107033
2022-02-22,102478
2022-02-26,102652
2022-03-06,106699
2022-03-07,105513
2022-03-09,105828
2022-03-12,106247
2022-03-14,104454
2022-03-19,105066
2022-03-24,137587
2022-03-29,112902
2022-03-31,113380
2022-04-05,114610
2022-04-09,115309
2022-04-13,116046
2022-04-18,116010
2022-04-21,116759
2022-04-25,113844
2022-04-29,104947
2022-05-03,118266
2022-05-05,118506
2022-05-10,116400
2022-05-14,117147
2022-05-19,120074
2022-05-25,148029
2022-05-29,148539
2022-05-31,117077
2022-06-02,117440
2022-06-07,114527
2022-06-09,114890
2022-06-09,114891
2022-06-16,133603
2022-06-21,113400
2022-06-21,113514
2022-06-25,114494
2022-06-29,126860
2022-07-01,127113
2022-07-04,115100
2022-07-13,150636
2022-07-16,141321
2022-07-16,141314
2022-07-18,117299
2022-07-21,135972
2022-07-23,136741
2022-07-25,135833
2022-07-29,136989
2022-08-03,138051
2022-08-09,138138
2022-08-12,138965
2022-08-17,139966
2022-08-20,140892
2022-08-24,141517
2022-08-25,141964
2022-08-31,141790
2022-09-04,142519
2022-09-05,142676
2022-09-08,143311
2022-09-11,143741
2022-09-13,144605
2022-09-17,145929
2022-09-23,153963
2022-10-01,156094
2022-10-06,157384
2022-10-09,157609
2022-10-13,159659
2022-10-15,160200
2022-10-17,160234
2022-10-20,160900
2022-10-27,162822
2022-11-01,164611
2022-11-09,163757
2022-11-12,163672
2022-11-13,163551
2022-11-20,167473
2022-11-21,167409
2022-11-26,165904
2022-11-28,165321
2022-11-29,166164
2022-12-03,165870
2022-12-04,165522
2022-12-05,166876
2022-12-06,167927
2022-12-11,166529
2022-12-13,167099
2022-12-15,171030
2022-12-18,168256
2022-12-20,171653
2022-12-26,169708
2022-12-29,170384
2022-12-29,170476
2023-01-01,170598
2023-01-06,171401
2023-01-08,171532
2023-01-11,173502
2023-01-13,173839
2023-01-19,176089
2023-01-23,176844
2023-01-24,177522
2023-01-27,178831
2023-01-27,178834
2023-01-27,178832
2023-01-31,179307
2023-02-05,181332
2023-02-07,182905
2023-02-07,182906
2023-02-07,182907
2023-02-16,187132
2023-02-19,188323
2023-02-23,189054
2023-02-28,191042
2023-03-03,190735
2023-03-06,191118
2023-03-07,191447
2023-03-10,193314
2023-03-14,194945
2023-03-21,197893
2023-03-25,199526
2023-03-29,200245
2023-04-07,203987
2023-04-11,204796
2023-04-16,206095
2023-04-18,209510
2023-04-19,175560
2023-04-19,175567
2023-04-23,176182
2023-04-26,179951
2023-04-27,180357
2023-04-30,180450
2023-05-02,181349
2023-05-05,182573
2023-05-08,182506
2023-05-11,184326
2023-05-14,186376
2023-05-15,187517
2023-05-20,188713
2023-05-21,188840
2023-05-24,191379
2023-06-02,193954
2023-06-06,195121
2023-06-10,195930
2023-06-11,196006
2023-06-13,196495
2023-06-14,197373
2023-06-14,198050
2023-06-16,199068
2023-06-17,198765
2023-06-18,198552
2023-06-23,200285
2023-06-27,200908
2023-07-01,202076
2023-07-06,203490
2023-07-09,203923
2023-07-14,205561
2023-07-15,205663
2023-07-21,207408
2023-07-23,207600
2023-07-27,208891
2023-08-01,210126
2023-08-04,212261
2023-08-05,212349
2023-08-08,212998
2023-08-05,212349
2023-08-08,212998
2023-08-13,214646
2023-08-17,215445
2023-08-21,216393
2023-08-22,216649
2023-08-26,218224
2023-08-28,218436
2023-09-03,218175
2023-09-04,220380
2023-09-05,221188
2023-09-06,220901
2023-09-06,222162
2023-09-08,223032
2023-09-08,223083
2023-09-10,198528
2023-09-14,198547
2023-09-17,175030
2023-09-21,141368
2023-09-24,141936
2023-09-25,140894
2023-09-30,141141
2023-10-02,141520
2023-10-04,142909
2023-10-08,143799
2023-10-12,147581
2023-10-13,148299
2023-10-17,149172
2023-10-18,149667
2023-10-21,151349
2023-10-23,151538
2023-10-27,153959
2023-11-01,155093
2023-11-02,155846
2023-11-03,156371
2023-11-08,158304
2023-11-11,159202
2023-11-13,159822
2023-11-19,162183
2023-11-21,163168
2023-11-24,164729
2023-11-25,165084
2023-11-25,165079
2023-11-25,165116
2023-11-26,165187
2023-11-26,165219
2023-12-01,149155
2023-12-03,149646
2023-12-12,146651
2023-12-16,148438
2023-12-17,148626
2023-12-17,148647
2023-12-25,149744
2023-12-30,150912
2024-01-03,151719
2024-01-06,152996
2024-01-13,157472
2024-01-17,158687
2024-01-21,159908
2024-01-27,162561
2024-01-30,163846
2024-02-06,167103
2024-02-10,156022
2024-02-12,157036
2024-02-15,159610
2024-02-24,166448
2024-02-25,166521
2024-02-28,170140
2024-03-04,173810
2024-03-09,178682
2024-03-15,183096
2024-03-19,185830
2024-03-23,188536
2024-03-28,190816
2024-04-02,191763
2024-04-04,136379
2024-04-09,129740
2024-04-11,130288
2024-04-18,130681
2024-04-22,132475
2024-04-25,133923
2024-05-01,133256
2024-05-03,133658
2024-05-12,138049
2024-05-20,143390
2024-05-27,147273
2024-06-03,150282
2024-06-08,153259
2024-06-14,158188
2024-06-16,159288
2024-06-19,162073
2024-06-21,164305
2024-06-24,165358
2024-06-26,166991
2024-07-01,169034
2024-07-04,170880
2024-07-07,157765
2024-07-11,160484
2024-07-14,161484
2024-07-15,162056
2024-07-20,164621
2024-07-27,164710
2024-07-30,165918
2024-08-02,167284
2024-08-04,167760
2024-08-08,170029
2024-08-11,171054
2024-08-16,173618
2024-08-17,174124
2024-08-20,175615
2024-08-26,178072
2024-08-29,179487
2024-08-30,179946
2024-08-31,180047
2024-09-04,181483
2024-09-06,182497
2024-09-10,171097
2024-09-13,171722
2024-09-16,172690
2024-09-20,171641
2024-09-21,120129
2024-09-22,119027
2024-09-25,120080
2024-09-27,120649
2024-09-27,120650
2024-10-01,120650
2024-10-01,121433
2024-10-01,121433
2024-10-03,121743
2024-10-05,121769
2024-10-07,121244
2024-10-09,121696
2024-10-10,121808
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+132771 -53105
View File
File diff suppressed because it is too large Load Diff
+461 -220
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 54,984 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts)
containing 136,745 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,40 +90,103 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
Fake News |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | MIT | [issues](https://github.com/marktron/fakenews/issues)| An in-progress collection of fake news outlets.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -103,68 +194,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -174,28 +278,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -205,43 +314,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -261,71 +379,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -335,54 +524,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -390,61 +569,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+862
View File
@@ -0,0 +1,862 @@
2016-12-17,32335
2016-12-18,32381
2016-12-18,32409
2016-12-19,32435
2016-12-20,32512
2016-12-21,32544
2016-12-21,32501
2016-12-22,32537
2016-12-25,32551
2016-12-27,32566
2016-12-28,32586
2017-01-02,32601
2017-01-05,30572
2017-01-05,32601
2017-01-10,32674
2017-01-11,32676
2017-01-14,32672
2017-01-18,32721
2017-01-18,32722
2017-01-20,32729
2017-01-22,32666
2017-01-26,32702
2017-01-31,32739
2017-02-04,32746
2017-02-04,32746
2017-02-07,32725
2017-02-07,32724
2017-02-10,32738
2017-02-11,32738
2017-02-13,32738
2017-02-15,32756
2017-02-17,32752
2017-02-17,32752
2017-02-20,32821
2017-02-22,36747
2017-02-23,36746
2017-02-23,36200
2017-02-24,36191
2017-02-24,35778
2017-02-26,35805
2017-03-01,35861
2017-03-04,35903
2017-03-07,35909
2017-03-10,36057
2017-03-15,36088
2017-03-16,36094
2017-03-20,36104
2017-03-22,36113
2017-03-25,36139
2017-03-30,36224
2017-04-05,36264
2017-04-08,36062
2017-04-08,36062
2017-04-08,36062
2017-04-11,36150
2017-04-13,36070
2017-04-15,36101
2017-04-16,36101
2017-04-17,36120
2017-04-18,36137
2017-04-22,36190
2017-04-25,36223
2017-04-26,36249
2017-05-02,36295
2017-05-07,36334
2017-05-08,36334
2017-05-10,36391
2017-05-13,36501
2017-05-15,36517
2017-05-15,36517
2017-05-16,36582
2017-05-21,36582
2017-05-21,36661
2017-05-23,36686
2017-05-28,36829
2017-05-29,36872
2017-05-30,36882
2017-06-02,36973
2017-06-05,37013
2017-06-11,37082
2017-06-21,37295
2017-06-22,37324
2017-06-24,37241
2017-06-28,37290
2017-07-04,37293
2017-07-10,37428
2017-07-11,37439
2017-07-11,37438
2017-07-12,37452
2017-07-17,37166
2017-07-17,37165
2017-07-18,37105
2017-07-26,36810
2017-07-28,36811
2017-07-31,36839
2017-08-08,36568
2017-08-12,36729
2017-08-15,39232
2017-08-15,39232
2017-08-18,39253
2017-08-18,39008
2017-08-20,39008
2017-08-20,39022
2017-08-20,39022
2017-08-21,38982
2017-08-28,39051
2017-08-31,39041
2017-09-05,38952
2017-09-07,39014
2017-09-13,39047
2017-09-18,38993
2017-09-21,39016
2017-09-29,39035
2017-10-05,39047
2017-10-11,39032
2017-10-15,43391
2017-10-19,43360
2017-10-24,43360
2017-10-25,43392
2017-10-25,43419
2017-10-28,43418
2017-11-01,43463
2017-11-04,43478
2017-11-09,43514
2017-11-16,43590
2017-11-25,43639
2017-11-30,43675
2017-12-07,43589
2017-12-11,43599
2017-12-17,46292
2017-12-18,43631
2017-12-21,43639
2017-12-27,43641
2017-12-30,43640
2018-01-01,43640
2018-01-06,43767
2018-01-10,43763
2018-01-13,43670
2018-01-14,43677
2018-01-21,43710
2018-01-22,43712
2018-01-23,43718
2018-01-26,43721
2018-01-26,43824
2018-01-31,43737
2018-02-02,42929
2018-02-08,55712
2018-02-09,55712
2018-02-11,55727
2018-02-13,55701
2018-02-14,55701
2018-02-15,55698
2018-02-20,55664
2018-02-24,59727
2018-02-24,56650
2018-02-25,56643
2018-02-25,56642
2018-02-26,56658
2018-02-28,56678
2018-03-03,56674
2018-03-04,56689
2018-03-04,56607
2018-03-06,56661
2018-03-07,56661
2018-03-08,56656
2018-03-09,56672
2018-03-10,56673
2018-03-12,56697
2018-03-13,56699
2018-03-14,56706
2018-03-15,57205
2018-03-15,56716
2018-03-17,56721
2018-03-17,56721
2018-03-19,56758
2018-03-20,56796
2018-03-22,56800
2018-03-23,61246
2018-03-23,61246
2018-03-24,57286
2018-03-26,57340
2018-03-28,57405
2018-03-29,57397
2018-03-30,57396
2018-04-02,56949
2018-04-02,56443
2018-04-04,55831
2018-04-05,55808
2018-04-06,55752
2018-04-06,55757
2018-04-08,55690
2018-04-12,55706
2018-04-16,55602
2018-04-17,55600
2018-04-19,55320
2018-04-21,55353
2018-04-22,55351
2018-04-24,55363
2018-04-25,55238
2018-04-30,55292
2018-05-02,55069
2018-05-05,55075
2018-05-08,54926
2018-05-12,54948
2018-05-13,54944
2018-05-17,54623
2018-05-19,54624
2018-05-22,54637
2018-05-30,55699
2018-06-02,55715
2018-06-02,55715
2018-06-02,55715
2018-06-05,55930
2018-06-08,57078
2018-06-10,57100
2018-06-14,57215
2018-06-14,57214
2018-06-14,57213
2018-06-14,57213
2018-06-14,57213
2018-06-16,57432
2018-06-17,57626
2018-06-18,57713
2018-06-20,58043
2018-06-24,58093
2018-06-28,58126
2018-06-30,58254
2018-07-04,59747
2018-07-06,62783
2018-07-09,62760
2018-07-11,61526
2018-07-16,61531
2018-07-23,61048
2018-07-26,61235
2018-07-26,61235
2018-07-30,62055
2018-08-01,62119
2018-08-08,62580
2018-08-13,62903
2018-08-19,63828
2018-08-22,63206
2018-08-24,62526
2018-08-25,62446
2018-08-29,61526
2018-09-04,61448
2018-09-05,60710
2018-09-06,60782
2018-09-08,60773
2018-09-13,59949
2018-09-16,58747
2018-09-18,57882
2018-09-23,58095
2018-10-02,58096
2018-10-05,56969
2018-10-09,56883
2018-10-14,56959
2018-10-22,55117
2018-10-23,54851
2018-11-01,53658
2018-11-02,54050
2018-11-14,66286
2018-11-20,65522
2018-11-21,65634
2018-11-26,64772
2018-11-29,65292
2018-12-04,65283
2018-12-11,63939
2018-12-15,63945
2018-12-23,64313
2018-12-29,76772
2018-12-30,64235
2019-01-04,64029
2019-01-10,39495
2019-01-13,39496
2019-01-22,39522
2019-01-26,39745
2019-01-29,39770
2019-02-06,39842
2019-02-11,39663
2019-02-18,39629
2019-02-24,39651
2019-03-02,39642
2019-03-06,39154
2019-03-15,38927
2019-03-21,38870
2019-03-26,38994
2019-04-02,38945
2019-04-07,38903
2019-04-11,38621
2019-04-17,38253
2019-04-25,38344
2019-05-02,39983
2019-05-04,39929
2019-05-05,39932
2019-05-10,39796
2019-05-13,39758
2019-05-23,39795
2019-05-24,39787
2019-05-29,40044
2019-06-05,40036
2019-06-11,40038
2019-06-17,41437
2019-06-19,41446
2019-06-22,41476
2019-06-28,41531
2019-07-04,41578
2019-07-21,41876
2019-07-27,41879
2019-07-31,41900
2019-08-06,42540
2019-08-10,42693
2019-08-13,42972
2019-08-14,43036
2019-08-14,43036
2019-08-22,43111
2019-08-30,43148
2019-09-06,40588
2019-09-09,40001
2019-09-09,40622
2019-09-09,40013
2019-09-10,43208
2019-09-19,43242
2019-09-23,43297
2019-09-29,43349
2019-10-10,40676
2019-10-12,40692
2019-10-15,43909
2019-10-18,43770
2019-10-27,43819
2019-10-27,43821
2019-10-30,43847
2019-10-31,43943
2019-11-03,43947
2019-11-15,43636
2019-11-17,43699
2019-11-20,43781
2019-11-26,44078
2019-11-27,44079
2019-12-02,44098
2019-12-11,40959
2019-12-15,40654
2019-12-20,40615
2019-12-21,40620
2019-12-23,40609
2019-12-30,40644
2020-01-01,40621
2020-01-04,40781
2020-01-06,40717
2020-01-09,41438
2020-01-11,41772
2020-01-14,52136
2020-01-16,52140
2020-01-16,52142
2020-01-16,52144
2020-01-19,52135
2020-01-21,52098
2020-01-23,51863
2020-01-24,51345
2020-01-30,52311
2020-02-03,52575
2020-02-05,52482
2020-02-09,52524
2020-02-14,52632
2020-02-17,52673
2020-02-21,52623
2020-02-22,52623
2020-02-25,52610
2020-02-25,52609
2020-03-01,52754
2020-03-05,52659
2020-03-07,52693
2020-03-11,52917
2020-03-15,54198
2020-03-18,54446
2020-03-21,54808
2020-03-25,54986
2020-03-28,55187
2020-03-29,55121
2020-04-01,55211
2020-04-03,54510
2020-04-03,54510
2020-04-03,55370
2020-04-04,55317
2020-04-06,55400
2020-04-09,55617
2020-04-10,55649
2020-04-11,55662
2020-04-13,55619
2020-04-16,55936
2020-04-18,56053
2020-04-22,56206
2020-04-26,56168
2020-04-28,56102
2020-05-02,56889
2020-05-05,56426
2020-05-05,56561
2020-05-12,58479
2020-05-13,58621
2020-05-13,58624
2020-05-15,58682
2020-05-20,58614
2020-05-26,58301
2020-05-27,58341
2020-06-02,58489
2020-06-09,58404
2020-06-16,58405
2020-06-22,58265
2020-06-25,58323
2020-06-27,58238
2020-07-02,58383
2020-07-02,58382
2020-07-05,58280
2020-07-06,58250
2020-07-13,58407
2020-07-18,58603
2020-07-24,58661
2020-07-29,59551
2020-08-01,59450
2020-08-03,58778
2020-08-06,59286
2020-08-13,60026
2020-08-14,60073
2020-08-15,60030
2020-08-17,59431
2020-08-19,58203
2020-08-25,57835
2020-09-02,58297
2020-09-07,58243
2020-09-14,58816
2020-09-20,58777
2020-09-26,59130
2020-10-03,59180
2020-10-08,58831
2020-10-13,58469
2020-10-14,57662
2020-10-19,59739
2020-10-29,60904
2020-11-01,60591
2020-11-03,62445
2020-11-08,62411
2020-11-10,61890
2020-11-14,60014
2020-11-15,61889
2020-11-16,61921
2020-11-19,60062
2020-11-22,62037
2020-11-25,62319
2020-11-28,62408
2020-12-02,60426
2020-12-09,60856
2020-12-14,61122
2020-12-19,60983
2020-12-26,60946
2020-12-31,60656
2021-01-02,60474
2021-01-05,60697
2021-01-12,60764
2021-01-17,61062
2021-01-22,61729
2021-01-22,61733
2021-01-24,62092
2021-01-31,62357
2021-02-02,62573
2021-02-03,62610
2021-02-08,62736
2021-02-09,62796
2021-02-14,63083
2021-02-16,65100
2021-02-21,65927
2021-02-22,67430
2021-02-26,67687
2021-02-28,67701
2021-03-06,68250
2021-03-09,68594
2021-03-10,69977
2021-03-16,69598
2021-03-21,69510
2021-03-28,70409
2021-03-31,79804
2021-04-04,80134
2021-04-09,80677
2021-04-13,78667
2021-04-19,82004
2021-04-24,85465
2021-04-26,81876
2021-04-26,82104
2021-04-29,82944
2021-05-01,82737
2021-05-04,81287
2021-05-05,81359
2021-05-06,81476
2021-05-06,81853
2021-05-06,81852
2021-05-12,83189
2021-05-15,83575
2021-05-17,82783
2021-05-22,83786
2021-05-25,85144
2021-05-31,84919
2021-06-07,84272
2021-06-16,83309
2021-06-22,82669
2021-06-28,83232
2021-07-01,83989
2021-07-04,83941
2021-07-13,84680
2021-07-18,85180
2021-07-19,80798
2021-07-26,85856
2021-07-29,86443
2021-08-02,87582
2021-08-09,89265
2021-08-17,88735
2021-08-20,89290
2021-08-25,91689
2021-08-26,92348
2021-08-30,91343
2021-09-02,92433
2021-09-06,92854
2021-09-07,94689
2021-09-12,95191
2021-09-17,94921
2021-09-24,96302
2021-09-30,105448
2021-09-30,93176
2021-10-03,93445
2021-10-05,94092
2021-10-12,94968
2021-10-14,95661
2021-10-19,95914
2021-10-23,96005
2021-10-23,96005
2021-10-27,95375
2021-11-04,95986
2021-11-11,96142
2021-11-14,96105
2021-11-17,96547
2021-11-21,99228
2021-11-29,100574
2021-11-29,100555
2021-12-05,99640
2021-12-09,99565
2021-12-12,99802
2021-12-13,100407
2021-12-16,101190
2021-12-19,101251
2021-12-20,101653
2021-12-25,102788
2021-12-30,102641
2021-12-30,102826
2021-12-30,102815
2022-01-02,102666
2022-01-04,102931
2022-01-07,103217
2022-01-11,98489
2022-01-18,99873
2022-01-19,99542
2022-01-21,100156
2022-01-24,103508
2022-01-28,105303
2022-01-30,105448
2022-01-31,101872
2022-02-01,102273
2022-02-07,102990
2022-02-12,104028
2022-02-13,104158
2022-02-13,104155
2022-02-17,104218
2022-02-22,99663
2022-02-26,99837
2022-03-06,103884
2022-03-07,102698
2022-03-09,103013
2022-03-12,103432
2022-03-14,101639
2022-03-19,102251
2022-03-24,134772
2022-03-29,110087
2022-03-31,110565
2022-04-05,111795
2022-04-09,112494
2022-04-13,113231
2022-04-18,113195
2022-04-21,113944
2022-04-25,111029
2022-04-29,102132
2022-05-03,115451
2022-05-05,115691
2022-05-10,113585
2022-05-14,114332
2022-05-19,117259
2022-05-25,145214
2022-05-29,145724
2022-05-31,114262
2022-06-02,114625
2022-06-07,111712
2022-06-09,112075
2022-06-09,112076
2022-06-16,130788
2022-06-21,110585
2022-06-21,110699
2022-06-25,111679
2022-06-29,124045
2022-07-01,124298
2022-07-04,112285
2022-07-13,147821
2022-07-16,138506
2022-07-16,138499
2022-07-18,114484
2022-07-21,133157
2022-07-23,133926
2022-07-25,133018
2022-07-29,134163
2022-08-03,135225
2022-08-09,135312
2022-08-12,136139
2022-08-17,137140
2022-08-20,138066
2022-08-24,138691
2022-08-25,139138
2022-08-31,138964
2022-09-04,139693
2022-09-05,139850
2022-09-08,140485
2022-09-11,140915
2022-09-13,141779
2022-09-17,143103
2022-09-23,151137
2022-10-01,153268
2022-10-06,154559
2022-10-09,154784
2022-10-13,156834
2022-10-15,157375
2022-10-17,157409
2022-10-20,158075
2022-10-27,159997
2022-11-01,161786
2022-11-09,160932
2022-11-12,160847
2022-11-13,160726
2022-11-20,164648
2022-11-21,164584
2022-11-26,163079
2022-11-28,162496
2022-11-29,163339
2022-12-03,163045
2022-12-04,162697
2022-12-05,164051
2022-12-06,165102
2022-12-11,163704
2022-12-13,164274
2022-12-15,168205
2022-12-18,165431
2022-12-20,168828
2022-12-26,166883
2022-12-29,167559
2022-12-29,167651
2023-01-01,167773
2023-01-06,168576
2023-01-08,168707
2023-01-11,170677
2023-01-13,171014
2023-01-19,173264
2023-01-23,174019
2023-01-24,174697
2023-01-27,176006
2023-01-27,176009
2023-01-27,176007
2023-01-31,176482
2023-02-05,178507
2023-02-07,180081
2023-02-07,180082
2023-02-07,180083
2023-02-16,184308
2023-02-19,185499
2023-02-23,186230
2023-02-28,188218
2023-03-03,187911
2023-03-06,188294
2023-03-07,188623
2023-03-10,190490
2023-03-14,192121
2023-03-21,195069
2023-03-25,196702
2023-03-29,197421
2023-04-07,201163
2023-04-11,201972
2023-04-16,203271
2023-04-18,206686
2023-04-19,172736
2023-04-19,172743
2023-04-23,173358
2023-04-26,177127
2023-04-27,177533
2023-04-30,177626
2023-05-02,178525
2023-05-05,179749
2023-05-08,179682
2023-05-11,181502
2023-05-14,183552
2023-05-15,184693
2023-05-20,185889
2023-05-21,186016
2023-05-24,188555
2023-06-02,191130
2023-06-06,192297
2023-06-10,193106
2023-06-11,193182
2023-06-13,193671
2023-06-14,194549
2023-06-14,195226
2023-06-16,196244
2023-06-17,195941
2023-06-18,195728
2023-06-23,197461
2023-06-27,198084
2023-07-01,199252
2023-07-06,200666
2023-07-09,201099
2023-07-14,202737
2023-07-15,202839
2023-07-21,204584
2023-07-23,204776
2023-07-27,206067
2023-08-01,207302
2023-08-04,209437
2023-08-05,209525
2023-08-08,210174
2023-08-05,209525
2023-08-08,210174
2023-08-13,211822
2023-08-17,212621
2023-08-21,213569
2023-08-22,213825
2023-08-26,215400
2023-08-28,215612
2023-09-03,215351
2023-09-04,217556
2023-09-05,218364
2023-09-06,218077
2023-09-06,219338
2023-09-08,220208
2023-09-08,220259
2023-09-10,195704
2023-09-14,195723
2023-09-17,172206
2023-09-21,138544
2023-09-24,139112
2023-09-25,138070
2023-09-30,138317
2023-10-02,138696
2023-10-04,140085
2023-10-08,140975
2023-10-12,144757
2023-10-13,145475
2023-10-17,146348
2023-10-18,146843
2023-10-21,148525
2023-10-23,148714
2023-10-27,151135
2023-11-01,152269
2023-11-02,153022
2023-11-03,153547
2023-11-08,155480
2023-11-11,156378
2023-11-13,156998
2023-11-19,159359
2023-11-21,160344
2023-11-24,161905
2023-11-25,162260
2023-11-25,162255
2023-11-25,162292
2023-11-26,162363
2023-11-26,162395
2023-12-01,146331
2023-12-03,146822
2023-12-12,143827
2023-12-16,145614
2023-12-17,145802
2023-12-17,145823
2023-12-25,146920
2023-12-30,148088
2024-01-03,148891
2024-01-06,150168
2024-01-13,154644
2024-01-17,155859
2024-01-21,157080
2024-01-27,159733
2024-01-30,161018
2024-02-06,164275
2024-02-10,153194
2024-02-12,154208
2024-02-15,156782
2024-02-24,163620
2024-02-25,163693
2024-02-28,167312
2024-03-04,170981
2024-03-09,175853
2024-03-15,180267
2024-03-19,183001
2024-03-23,185707
2024-03-28,187987
2024-04-02,188934
2024-04-04,133550
2024-04-09,126609
2024-04-11,127157
2024-04-18,127550
2024-04-22,129344
2024-04-25,130731
2024-05-01,130064
2024-05-03,130466
2024-05-12,134857
2024-05-20,140198
2024-05-27,144081
2024-06-03,147090
2024-06-08,150067
2024-06-14,154996
2024-06-16,156096
2024-06-19,158881
2024-06-21,161113
2024-06-24,162166
2024-06-26,163799
2024-07-01,165842
2024-07-04,167688
2024-07-07,154573
2024-07-11,157292
2024-07-14,158292
2024-07-15,158864
2024-07-20,161429
2024-07-27,161518
2024-07-30,162726
2024-08-02,164092
2024-08-04,164568
2024-08-08,166837
2024-08-11,167862
2024-08-16,170426
2024-08-17,170932
2024-08-20,172423
2024-08-26,174880
2024-08-29,176295
2024-08-30,176754
2024-08-31,176855
2024-09-04,178291
2024-09-06,179305
2024-09-10,167905
2024-09-13,168530
2024-09-16,169498
2024-09-20,168449
2024-09-21,116937
2024-09-22,115835
2024-09-25,116888
2024-09-27,117457
2024-09-27,117458
2024-10-01,117458
2024-10-01,118238
2024-10-01,118238
2024-10-03,118548
2024-10-05,118574
2024-10-07,118056
2024-10-09,118508
2024-10-10,118620
Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load Diff
+676
View File
@@ -0,0 +1,676 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: gambling
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: gambling](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts)
containing 6,460 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+155
View File
@@ -0,0 +1,155 @@
2023-06-11,7577
2023-06-13,7577
2023-06-14,7577
2023-06-14,7577
2023-06-16,7577
2023-06-17,7589
2023-06-18,7589
2023-06-23,7648
2023-06-27,7656
2023-07-01,7139
2023-07-06,7197
2023-07-09,7275
2023-07-14,7362
2023-07-15,7362
2023-07-21,7388
2023-07-23,7388
2023-07-27,7392
2023-08-01,7404
2023-08-04,7410
2023-08-05,7410
2023-08-08,7410
2023-08-05,7410
2023-08-08,7410
2023-08-13,7427
2023-08-17,7437
2023-08-21,7455
2023-08-22,7455
2023-08-26,7455
2023-08-28,7468
2023-09-03,7468
2023-09-04,7506
2023-09-05,7510
2023-09-06,7510
2023-09-06,7510
2023-09-08,7519
2023-09-08,7519
2023-09-10,7519
2023-09-14,7535
2023-09-17,7535
2023-09-21,7555
2023-09-24,7580
2023-09-25,7602
2023-09-30,7647
2023-10-02,7647
2023-10-04,7647
2023-10-08,7670
2023-10-12,7677
2023-10-13,7677
2023-10-17,7681
2023-10-18,7681
2023-10-21,7681
2023-10-23,7681
2023-10-27,7681
2023-11-01,7687
2023-11-02,7687
2023-11-03,7687
2023-11-08,7695
2023-11-11,7701
2023-11-13,7705
2023-11-19,7743
2023-11-21,7743
2023-11-24,7743
2023-11-25,7743
2023-11-25,7743
2023-11-25,7743
2023-11-26,7743
2023-11-26,7743
2023-12-01,7818
2023-12-03,7837
2023-12-12,7846
2023-12-16,7848
2023-12-17,7854
2023-12-17,7854
2023-12-25,7858
2023-12-30,7862
2024-01-03,7879
2024-01-06,7911
2024-01-13,7948
2024-01-17,7988
2024-01-21,7990
2024-01-27,7994
2024-01-30,7994
2024-02-06,8029
2024-02-10,8029
2024-02-12,8029
2024-02-15,8029
2024-02-24,8062
2024-02-25,8062
2024-02-28,8064
2024-03-04,8074
2024-03-09,8074
2024-03-15,8076
2024-03-19,8080
2024-03-23,8080
2024-03-28,8083
2024-04-02,8085
2024-04-04,8085
2024-04-09,8092
2024-04-11,8092
2024-04-18,8109
2024-04-22,8123
2024-04-25,8128
2024-05-01,8128
2024-05-03,8130
2024-05-12,8179
2024-05-20,8201
2024-05-27,8206
2024-06-03,8215
2024-06-08,8223
2024-06-14,8234
2024-06-16,8247
2024-06-19,8254
2024-06-21,8254
2024-06-24,8264
2024-06-26,8264
2024-07-01,8266
2024-07-04,8266
2024-07-07,8276
2024-07-11,8288
2024-07-14,8311
2024-07-15,8325
2024-07-20,8330
2024-07-27,8331
2024-07-30,8331
2024-08-02,8333
2024-08-04,8343
2024-08-08,8367
2024-08-11,8390
2024-08-16,8390
2024-08-17,8390
2024-08-20,8393
2024-08-26,8405
2024-08-29,8410
2024-08-30,8423
2024-08-31,8423
2024-09-04,8433
2024-09-06,8436
2024-09-10,8436
2024-09-13,8436
2024-09-16,8448
2024-09-20,8448
2024-09-21,8448
2024-09-22,8448
2024-09-25,8448
2024-09-27,8448
2024-09-27,8448
2024-10-01,8448
2024-10-01,8463
2024-10-01,8463
2024-10-03,8469
2024-10-05,8476
2024-10-07,8476
2024-10-09,8476
2024-10-10,8476
Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff
+682
View File
@@ -0,0 +1,682 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: gambling, porn
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: gambling, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts)
containing 81,820 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+155
View File
@@ -0,0 +1,155 @@
2023-06-11,56602
2023-06-13,56602
2023-06-14,56602
2023-06-14,56602
2023-06-16,56602
2023-06-17,56617
2023-06-18,56617
2023-06-23,56686
2023-06-27,56695
2023-07-01,56178
2023-07-06,56373
2023-07-09,56417
2023-07-14,56500
2023-07-15,56500
2023-07-21,56525
2023-07-23,56525
2023-07-27,56529
2023-08-01,56541
2023-08-04,56544
2023-08-05,56544
2023-08-08,61052
2023-08-05,56544
2023-08-08,61052
2023-08-13,61069
2023-08-17,61079
2023-08-21,61097
2023-08-22,61215
2023-08-26,61215
2023-08-28,61228
2023-09-03,61110
2023-09-04,61270
2023-09-05,61274
2023-09-06,61156
2023-09-06,61300
2023-09-08,61310
2023-09-08,61275
2023-09-10,61275
2023-09-14,61291
2023-09-17,61291
2023-09-21,61311
2023-09-24,61336
2023-09-25,61353
2023-09-30,61400
2023-10-02,61400
2023-10-04,61400
2023-10-08,61569
2023-10-12,61576
2023-10-13,61576
2023-10-17,61580
2023-10-18,61580
2023-10-21,61580
2023-10-23,61578
2023-10-27,61577
2023-11-01,61583
2023-11-02,61583
2023-11-03,61583
2023-11-08,61591
2023-11-11,61597
2023-11-13,61601
2023-11-19,61639
2023-11-21,61639
2023-11-24,61639
2023-11-25,61639
2023-11-25,61639
2023-11-25,61639
2023-11-26,61639
2023-11-26,61639
2023-12-01,61714
2023-12-03,63372
2023-12-12,63861
2023-12-16,63863
2023-12-17,63868
2023-12-17,63868
2023-12-25,63872
2023-12-30,63876
2024-01-03,64512
2024-01-06,64547
2024-01-13,64584
2024-01-17,64624
2024-01-21,64626
2024-01-27,64631
2024-01-30,64631
2024-02-06,64692
2024-02-10,64692
2024-02-12,64692
2024-02-15,64692
2024-02-24,91864
2024-02-25,91864
2024-02-28,91866
2024-03-04,91886
2024-03-09,91884
2024-03-15,91886
2024-03-19,91890
2024-03-23,91909
2024-03-28,91912
2024-04-02,91918
2024-04-04,91918
2024-04-09,91923
2024-04-11,91923
2024-04-18,91978
2024-04-22,91992
2024-04-25,91999
2024-05-01,91999
2024-05-03,92001
2024-05-12,92074
2024-05-20,92114
2024-05-27,92119
2024-06-03,92134
2024-06-08,92166
2024-06-14,92180
2024-06-16,92193
2024-06-19,92200
2024-06-21,92200
2024-06-24,92210
2024-06-26,92210
2024-07-01,92212
2024-07-04,92212
2024-07-07,92222
2024-07-11,92234
2024-07-14,92257
2024-07-15,92271
2024-07-20,92276
2024-07-27,92277
2024-07-30,92277
2024-08-02,92279
2024-08-04,92291
2024-08-08,92315
2024-08-11,92361
2024-08-16,92361
2024-08-17,92361
2024-08-20,92364
2024-08-26,92376
2024-08-29,92381
2024-08-30,92394
2024-08-31,92394
2024-09-04,95482
2024-09-06,95485
2024-09-10,95485
2024-09-13,95485
2024-09-16,95497
2024-09-20,95497
2024-09-21,95497
2024-09-22,95497
2024-09-25,95497
2024-09-27,95497
2024-09-27,95497
2024-10-01,95497
2024-10-01,95517
2024-10-01,95517
2024-10-03,84998
2024-10-05,84680
2024-10-07,84680
2024-10-09,84681
2024-10-10,84673
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,683 @@
**Take Note!**
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.png)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
# Limited to the extensions: gambling, porn, social
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.
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Limited to the extensions: gambling, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts)
containing 85,036 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
of OS.
## Sources of hosts data unified in this variant
Updated `hosts` files from the following locations are always unified and
included:
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
```sh
pip3 install --user -r requirements.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).
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`: `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.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I prevent domains from being included?
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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?
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
For example, to nullify requests to some doubleclick.net servers, adding these
lines to your hosts file will do it:
```text
# block doubleClick's servers
0.0.0.0 ad.ae.doubleclick.net
0.0.0.0 ad.ar.doubleclick.net
0.0.0.0 ad.at.doubleclick.net
0.0.0.0 ad.au.doubleclick.net
0.0.0.0 ad.be.doubleclick.net
# etc...
```
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the
following:
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
Open a command prompt with administrator privileges and run this command:
```bat
ipconfig /flushdns
```
### Linux
Open a Terminal and run with root privileges:
- **Debian/Ubuntu** `sudo service network-manager restart`
- **Linux Mint** `sudo /etc/init.d/dns-clean start`
- **Linux with systemd**: `sudo systemctl restart network.service`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
```text
hosts: cache files dns
```
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
```
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
## Contribute
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
@@ -0,0 +1,155 @@
2023-06-11,59442
2023-06-13,59442
2023-06-14,59442
2023-06-14,59442
2023-06-16,59442
2023-06-17,59457
2023-06-18,59457
2023-06-23,59526
2023-06-27,59535
2023-07-01,59018
2023-07-06,59213
2023-07-09,59257
2023-07-14,59340
2023-07-15,59340
2023-07-21,59365
2023-07-23,59365
2023-07-27,59369
2023-08-01,59381
2023-08-04,59384
2023-08-05,59384
2023-08-08,63892
2023-08-05,59384
2023-08-08,63892
2023-08-13,63909
2023-08-17,63919
2023-08-21,63937
2023-08-22,64055
2023-08-26,64055
2023-08-28,64068
2023-09-03,63950
2023-09-04,64110
2023-09-05,64114
2023-09-06,63996
2023-09-06,64140
2023-09-08,64150
2023-09-08,64115
2023-09-10,64115
2023-09-14,64131
2023-09-17,64131
2023-09-21,64151
2023-09-24,64176
2023-09-25,64193
2023-09-30,64240
2023-10-02,64240
2023-10-04,64240
2023-10-08,64409
2023-10-12,64416
2023-10-13,64416
2023-10-17,64420
2023-10-18,64420
2023-10-21,64420
2023-10-23,64418
2023-10-27,64417
2023-11-01,64423
2023-11-02,64423
2023-11-03,64423
2023-11-08,64431
2023-11-11,64437
2023-11-13,64441
2023-11-19,64479
2023-11-21,64479
2023-11-24,64479
2023-11-25,64479
2023-11-25,64479
2023-11-25,64479
2023-11-26,64479
2023-11-26,64479
2023-12-01,64554
2023-12-03,66212
2023-12-12,66699
2023-12-16,66701
2023-12-17,66707
2023-12-17,66707
2023-12-25,66711
2023-12-30,66715
2024-01-03,67355
2024-01-06,67390
2024-01-13,67427
2024-01-17,67467
2024-01-21,67469
2024-01-27,67474
2024-01-30,67474
2024-02-06,67535
2024-02-10,67535
2024-02-12,67535
2024-02-15,67535
2024-02-24,94708
2024-02-25,94708
2024-02-28,94710
2024-03-04,94731
2024-03-09,94729
2024-03-15,94731
2024-03-19,94735
2024-03-23,94754
2024-03-28,94757
2024-04-02,94763
2024-04-04,94763
2024-04-09,95079
2024-04-11,95079
2024-04-18,95134
2024-04-22,95148
2024-04-25,95219
2024-05-01,95219
2024-05-03,95221
2024-05-12,95294
2024-05-20,95334
2024-05-27,95339
2024-06-03,95354
2024-06-08,95386
2024-06-14,95400
2024-06-16,95413
2024-06-19,95420
2024-06-21,95420
2024-06-24,95430
2024-06-26,95430
2024-07-01,95432
2024-07-04,95432
2024-07-07,95442
2024-07-11,95454
2024-07-14,95477
2024-07-15,95491
2024-07-20,95496
2024-07-27,95497
2024-07-30,95497
2024-08-02,95499
2024-08-04,95511
2024-08-08,95535
2024-08-11,95581
2024-08-16,95581
2024-08-17,95581
2024-08-20,95584
2024-08-26,95596
2024-08-29,95601
2024-08-30,95614
2024-08-31,95614
2024-09-04,98702
2024-09-06,98705
2024-09-10,98705
2024-09-13,98705
2024-09-16,98717
2024-09-20,98717
2024-09-21,98717
2024-09-22,98717
2024-09-25,98717
2024-09-27,98717
2024-09-27,98717
2024-10-01,98717
2024-10-01,98740
2024-10-01,98740
2024-10-03,88221
2024-10-05,87903
2024-10-07,87896
2024-10-09,87897
2024-10-10,87889
Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff
+469 -226
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 75,887 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts)
containing 218,845 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,46 +90,111 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
Sinfonietta's social media blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -109,68 +202,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -180,28 +286,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -211,43 +322,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -267,71 +387,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -341,54 +532,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -396,61 +577,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.
+991
View File
@@ -0,0 +1,991 @@
2016-03-13,33272
2016-03-13,33272
2016-03-13,33273
2016-03-13,33272
2016-03-15,33333
2016-03-15,33333
2016-03-16,33333
2016-03-16,33333
2016-03-17,33337
2016-03-20,33338
2016-03-22,33347
2016-03-24,33358
2016-03-24,33358
2016-03-24,33358
2016-03-24,33358
2016-03-24,31825
2016-03-24,31825
2016-03-24,33358
2016-03-25,33356
2016-03-26,32963
2016-03-28,32962
2016-03-28,32966
2016-03-30,32984
2016-03-30,32988
2016-03-31,32993
2016-04-01,32915
2016-04-02,32915
2016-04-02,32925
2016-04-03,32925
2016-04-03,32925
2016-04-05,32936
2016-04-06,32938
2016-04-07,32944
2016-04-09,32974
2016-04-10,32980
2016-04-11,33029
2016-04-11,33043
2016-04-12,33064
2016-04-14,33106
2016-04-15,33117
2016-04-16,33259
2016-04-18,33318
2016-04-20,33336
2016-04-20,33398
2016-04-22,33696
2016-04-26,32966
2016-04-28,33010
2016-04-29,33029
2016-04-30,33046
2016-05-02,33060
2016-05-03,33062
2016-05-06,33152
2016-05-10,33161
2016-05-13,33222
2016-05-19,33196
2016-05-23,33207
2016-05-25,33211
2016-05-27,33208
2016-05-29,33224
2016-05-30,33234
2016-06-01,33257
2016-06-03,33267
2016-06-12,33312
2016-06-13,33316
2016-06-17,33361
2016-06-19,33362
2016-06-26,33312
2016-07-10,32596
2016-07-20,32628
2016-07-21,32634
2016-08-02,32572
2016-08-08,32602
2016-08-09,32608
2016-08-26,32621
2016-08-27,32622
2016-08-28,32621
2016-08-29,32656
2016-08-31,32656
2016-09-02,32659
2016-09-03,32659
2016-09-04,32659
2016-09-05,32671
2016-09-09,32677
2016-09-10,32678
2016-09-12,32716
2016-09-14,32714
2016-09-16,32709
2016-09-16,32709
2016-09-21,32712
2016-09-22,33057
2016-09-24,33061
2016-09-27,33065
2016-09-30,33095
2016-09-30,35867
2016-10-03,35883
2016-10-06,35902
2016-10-10,35916
2016-10-12,35916
2016-10-12,35917
2016-10-14,35919
2016-10-16,35923
2016-10-16,35923
2016-10-16,35923
2016-10-19,35928
2016-10-21,35947
2016-10-23,35949
2016-10-25,35958
2016-10-29,35957
2016-11-01,35960
2016-11-03,35975
2016-11-08,35982
2016-11-08,35992
2016-11-10,36006
2016-11-15,36021
2016-11-19,36028
2016-11-20,37866
2016-11-22,37872
2016-11-25,37907
2016-11-26,37918
2016-11-27,38161
2016-12-01,38299
2016-12-02,38319
2016-12-03,38329
2016-12-05,38332
2016-12-09,38343
2016-12-09,38343
2016-12-11,38309
2016-12-11,38309
2016-12-12,38308
2016-12-15,39850
2016-12-17,39848
2016-12-18,39850
2016-12-18,41279
2016-12-19,41305
2016-12-20,41382
2016-12-21,41418
2016-12-21,41375
2016-12-22,41378
2016-12-25,41392
2016-12-27,41414
2016-12-28,41434
2017-01-02,41449
2017-01-05,39420
2017-01-05,41450
2017-01-10,41523
2017-01-11,41628
2017-01-14,41624
2017-01-18,41660
2017-01-18,41661
2017-01-20,41678
2017-01-22,41686
2017-01-26,41732
2017-01-31,41771
2017-02-04,41770
2017-02-04,41771
2017-02-07,41750
2017-02-07,41749
2017-02-10,41763
2017-02-11,41765
2017-02-13,41765
2017-02-15,41785
2017-02-17,41781
2017-02-17,41781
2017-02-20,41850
2017-02-22,45750
2017-02-23,45749
2017-02-23,45205
2017-02-24,45197
2017-02-24,44784
2017-02-26,44811
2017-03-01,44863
2017-03-04,44905
2017-03-07,44912
2017-03-10,45062
2017-03-15,45090
2017-03-16,45096
2017-03-20,45106
2017-03-22,45116
2017-03-25,45142
2017-03-30,45198
2017-04-05,45238
2017-04-08,45046
2017-04-08,45046
2017-04-08,45046
2017-04-11,45071
2017-04-13,44996
2017-04-15,45027
2017-04-16,45027
2017-04-17,45046
2017-04-18,45063
2017-04-22,45116
2017-04-25,45149
2017-04-26,45175
2017-05-02,45221
2017-05-07,45260
2017-05-08,45264
2017-05-10,45326
2017-05-13,45434
2017-05-15,45450
2017-05-15,45450
2017-05-16,45517
2017-05-21,45517
2017-05-21,45595
2017-05-23,45619
2017-05-28,45759
2017-05-29,45792
2017-05-30,45802
2017-06-02,45894
2017-06-05,45936
2017-06-11,46004
2017-06-21,46217
2017-06-22,46246
2017-06-24,46167
2017-06-28,46216
2017-07-04,46219
2017-07-10,46358
2017-07-11,46369
2017-07-11,46370
2017-07-12,46384
2017-07-17,46110
2017-07-17,46109
2017-07-18,46049
2017-07-26,45753
2017-07-28,45754
2017-07-31,45783
2017-08-08,45512
2017-08-12,45671
2017-08-15,48174
2017-08-15,48174
2017-08-18,48195
2017-08-18,47950
2017-08-20,47950
2017-08-20,47964
2017-08-20,47964
2017-08-21,47924
2017-08-28,47992
2017-08-31,47984
2017-09-05,47895
2017-09-07,47959
2017-09-13,47992
2017-09-18,47941
2017-09-21,47964
2017-09-29,47983
2017-10-05,47995
2017-10-11,47980
2017-10-15,52339
2017-10-19,52308
2017-10-25,52340
2017-10-25,52367
2017-10-28,52366
2017-11-01,52411
2017-11-04,52429
2017-11-09,52465
2017-11-16,52541
2017-11-25,52590
2017-11-30,52626
2017-12-07,52542
2017-12-11,52552
2017-12-17,55244
2017-12-18,52584
2017-12-21,52592
2017-12-27,52594
2017-12-30,52593
2018-01-01,52613
2018-01-06,55235
2018-01-10,55231
2018-01-13,55141
2018-01-14,55149
2018-01-21,55246
2018-01-22,55248
2018-01-23,55254
2018-01-26,55257
2018-01-26,55360
2018-01-31,55275
2018-02-02,54472
2018-02-08,67205
2018-02-09,67205
2018-02-11,67219
2018-02-13,67193
2018-02-14,67219
2018-02-15,67216
2018-02-20,67184
2018-02-24,71247
2018-02-24,68170
2018-02-25,68163
2018-02-25,68162
2018-02-26,68178
2018-02-28,68198
2018-03-03,68194
2018-03-04,68209
2018-03-04,68131
2018-03-06,68185
2018-03-07,68185
2018-03-08,68180
2018-03-09,68196
2018-03-10,68197
2018-03-12,68221
2018-03-13,68223
2018-03-14,68230
2018-03-15,68729
2018-03-15,68240
2018-03-17,68245
2018-03-17,68245
2018-03-19,68282
2018-03-20,68320
2018-03-22,68324
2018-03-23,72731
2018-03-23,72731
2018-03-24,68810
2018-03-26,68864
2018-03-28,68929
2018-03-29,68925
2018-03-30,68924
2018-04-02,68476
2018-04-02,67970
2018-04-04,67358
2018-04-05,67337
2018-04-06,67282
2018-04-06,67287
2018-04-08,67219
2018-04-12,67235
2018-04-16,67132
2018-04-17,67221
2018-04-19,67160
2018-04-21,67193
2018-04-22,67191
2018-04-24,67201
2018-04-25,67079
2018-04-30,67134
2018-05-02,66913
2018-05-05,66920
2018-05-08,66771
2018-05-12,66798
2018-05-13,66794
2018-05-17,66473
2018-05-19,66482
2018-05-22,66495
2018-05-30,67718
2018-06-02,67739
2018-06-02,67739
2018-06-02,67739
2018-06-05,67954
2018-06-08,69104
2018-06-10,69126
2018-06-14,69240
2018-06-14,69239
2018-06-14,69239
2018-06-14,69239
2018-06-14,69239
2018-06-16,69450
2018-06-17,69644
2018-06-18,69731
2018-06-20,70061
2018-06-24,70112
2018-06-28,70156
2018-06-30,70342
2018-07-04,71854
2018-07-06,74891
2018-07-09,74945
2018-07-11,73713
2018-07-16,73718
2018-07-23,73232
2018-07-26,73419
2018-07-26,73419
2018-07-30,74239
2018-08-01,74303
2018-08-08,74764
2018-08-13,75087
2018-08-19,76016
2018-08-22,75394
2018-08-24,74715
2018-08-25,74635
2018-08-29,73720
2018-09-04,73659
2018-09-05,72924
2018-09-06,72996
2018-09-08,72991
2018-09-13,72175
2018-09-16,70972
2018-09-18,70108
2018-09-23,70400
2018-10-02,70403
2018-10-05,69279
2018-10-09,69229
2018-10-14,69306
2018-10-22,67474
2018-10-23,67208
2018-11-01,66633
2018-11-02,67025
2018-11-14,79275
2018-11-20,78514
2018-11-21,78628
2018-11-26,77807
2018-11-29,78336
2018-12-04,78327
2018-12-11,76983
2018-12-15,76989
2018-12-23,77357
2018-12-29,89816
2018-12-30,77279
2019-01-04,77074
2019-01-10,52541
2019-01-13,52860
2019-01-22,52885
2019-01-26,53108
2019-01-29,53133
2019-02-06,53205
2019-02-11,53957
2019-02-18,54062
2019-02-24,54084
2019-03-02,54074
2019-03-06,53588
2019-03-15,53367
2019-03-21,55195
2019-03-26,55315
2019-04-02,55266
2019-04-07,55224
2019-04-11,54947
2019-04-17,54663
2019-04-25,54973
2019-05-02,57370
2019-05-04,57358
2019-05-05,57363
2019-05-10,57232
2019-05-13,57195
2019-05-23,57232
2019-05-24,57224
2019-05-29,57480
2019-06-05,57471
2019-06-11,57474
2019-06-17,58873
2019-06-19,58884
2019-06-22,59105
2019-06-28,57442
2019-07-04,57491
2019-07-21,57518
2019-07-27,57596
2019-07-31,57619
2019-08-06,58259
2019-08-10,58414
2019-08-13,58693
2019-08-14,58822
2019-08-14,58822
2019-08-22,58976
2019-08-30,59015
2019-09-06,56476
2019-09-09,55889
2019-09-09,56510
2019-09-09,55901
2019-09-10,59096
2019-09-19,59130
2019-09-23,59186
2019-09-29,59238
2019-10-10,56565
2019-10-12,56581
2019-10-15,59798
2019-10-18,59672
2019-10-27,61052
2019-10-27,61806
2019-10-30,61925
2019-10-31,62086
2019-11-03,62241
2019-11-15,61930
2019-11-17,62011
2019-11-20,63180
2019-11-26,63523
2019-11-27,63526
2019-12-02,63545
2019-12-11,60406
2019-12-15,60104
2019-12-20,60146
2019-12-21,60153
2019-12-23,60142
2019-12-30,60177
2020-01-01,60157
2020-01-04,60317
2020-01-06,60285
2020-01-09,61010
2020-01-11,61361
2020-01-14,71711
2020-01-16,71715
2020-01-16,71717
2020-01-16,71719
2020-01-19,71710
2020-01-21,71673
2020-01-23,71438
2020-01-24,70925
2020-01-30,71891
2020-02-03,72155
2020-02-05,72064
2020-02-09,72106
2020-02-14,72214
2020-02-17,72255
2020-02-21,72438
2020-02-22,72438
2020-02-25,72425
2020-02-25,72424
2020-03-01,72569
2020-03-05,72476
2020-03-07,72511
2020-03-11,73409
2020-03-15,74788
2020-03-18,75084
2020-03-21,75503
2020-03-25,75889
2020-03-28,76090
2020-03-29,76053
2020-04-01,76145
2020-04-03,75458
2020-04-03,75458
2020-04-03,76304
2020-04-04,76251
2020-04-06,76334
2020-04-09,76551
2020-04-10,76584
2020-04-11,79054
2020-04-13,79229
2020-04-16,79550
2020-04-18,79667
2020-04-22,79819
2020-04-26,79796
2020-04-28,79730
2020-05-02,80514
2020-05-05,80092
2020-05-05,80223
2020-05-12,82141
2020-05-13,82283
2020-05-13,82286
2020-05-15,82344
2020-05-20,82275
2020-05-26,81962
2020-05-27,82002
2020-06-02,82179
2020-06-09,82094
2020-06-16,82102
2020-06-22,81964
2020-06-25,82024
2020-06-27,81939
2020-07-02,82084
2020-07-02,82083
2020-07-05,81982
2020-07-06,81952
2020-07-13,82140
2020-07-18,82358
2020-07-24,82531
2020-07-29,83451
2020-08-01,83367
2020-08-03,82705
2020-08-06,83213
2020-08-13,83758
2020-08-14,83805
2020-08-15,84196
2020-08-17,83597
2020-08-19,82375
2020-08-25,80819
2020-09-02,81281
2020-09-07,81227
2020-09-14,81800
2020-09-20,81761
2020-09-26,82114
2020-10-03,82186
2020-10-08,81837
2020-10-13,79337
2020-10-14,80969
2020-10-19,83146
2020-10-29,84808
2020-11-01,84494
2020-11-03,86348
2020-11-08,86314
2020-11-10,85798
2020-11-14,84528
2020-11-15,86403
2020-11-16,86435
2020-11-19,84576
2020-11-22,86551
2020-11-25,87262
2020-11-28,87351
2020-12-02,85369
2020-12-09,85799
2020-12-14,86064
2020-12-19,85929
2020-12-26,85892
2020-12-31,85602
2021-01-02,85420
2021-01-05,85643
2021-01-12,85710
2021-01-17,86490
2021-01-22,87157
2021-01-22,87161
2021-01-24,87514
2021-01-31,87820
2021-02-02,88036
2021-02-03,88073
2021-02-08,88685
2021-02-09,88745
2021-02-14,89076
2021-02-16,93746
2021-02-21,94585
2021-02-22,96076
2021-02-26,96333
2021-02-28,96347
2021-03-06,97425
2021-03-09,97769
2021-03-10,99152
2021-03-16,98733
2021-03-21,98645
2021-03-28,99544
2021-03-31,108940
2021-04-04,109270
2021-04-09,109813
2021-04-13,107803
2021-04-19,111151
2021-04-24,114610
2021-04-26,111021
2021-04-26,111249
2021-04-29,112089
2021-05-01,111882
2021-05-04,110432
2021-05-05,110504
2021-05-06,110621
2021-05-06,110998
2021-05-06,110997
2021-05-12,112327
2021-05-15,112705
2021-05-17,111913
2021-05-22,112916
2021-05-25,114274
2021-05-31,114049
2021-06-07,113402
2021-06-16,112346
2021-06-22,111706
2021-06-28,112459
2021-07-01,113216
2021-07-04,113168
2021-07-13,113907
2021-07-18,114429
2021-07-19,110047
2021-07-26,115105
2021-07-29,115692
2021-08-02,116831
2021-08-09,118512
2021-08-17,117982
2021-08-20,118537
2021-08-25,120936
2021-08-26,121595
2021-08-30,120688
2021-09-02,121824
2021-09-06,122652
2021-09-07,124487
2021-09-12,124989
2021-09-17,124719
2021-09-24,129180
2021-09-30,147108
2021-09-30,134836
2021-10-03,136868
2021-10-05,137584
2021-10-12,138460
2021-10-14,139153
2021-10-19,139442
2021-10-23,139543
2021-10-23,139541
2021-10-27,138882
2021-11-04,139491
2021-11-11,139649
2021-11-14,139612
2021-11-17,140054
2021-11-21,142729
2021-11-29,144080
2021-11-29,144061
2021-12-05,143146
2021-12-09,143072
2021-12-12,143309
2021-12-13,143914
2021-12-16,144716
2021-12-19,144777
2021-12-20,145179
2021-12-25,146314
2021-12-30,146167
2021-12-30,146352
2021-12-30,146341
2022-01-02,146204
2022-01-04,146469
2022-01-07,146755
2022-01-11,142036
2022-01-18,143974
2022-01-19,143643
2022-01-21,144322
2022-01-24,147674
2022-01-28,149469
2022-01-30,149614
2022-01-31,146038
2022-02-01,146439
2022-02-07,147156
2022-02-12,149803
2022-02-13,149933
2022-02-13,149929
2022-02-17,149994
2022-02-22,145439
2022-02-26,145613
2022-03-06,149660
2022-03-07,148474
2022-03-09,148789
2022-03-12,149208
2022-03-14,147415
2022-03-19,148027
2022-03-24,180548
2022-03-29,155863
2022-03-31,156341
2022-04-05,157838
2022-04-09,158537
2022-04-13,159340
2022-04-18,159304
2022-04-21,160053
2022-04-25,157138
2022-04-29,148241
2022-05-03,161560
2022-05-05,161800
2022-05-10,159694
2022-05-14,160441
2022-05-19,163368
2022-05-25,191323
2022-05-29,191995
2022-05-31,160533
2022-06-02,160896
2022-06-07,157983
2022-06-09,158346
2022-06-09,158347
2022-06-16,177059
2022-06-21,156856
2022-06-21,156970
2022-06-25,157950
2022-06-29,170316
2022-07-01,170569
2022-07-04,158556
2022-07-13,194092
2022-07-16,184777
2022-07-16,184770
2022-07-18,160755
2022-07-21,179428
2022-07-23,180487
2022-07-25,179579
2022-07-29,180750
2022-08-03,181812
2022-08-09,181899
2022-08-12,182726
2022-08-17,183727
2022-08-20,184745
2022-08-24,185640
2022-08-25,186087
2022-08-31,185912
2022-09-04,186641
2022-09-05,191782
2022-09-08,192842
2022-09-11,193371
2022-09-13,194587
2022-09-17,196188
2022-09-23,204227
2022-10-01,206935
2022-10-06,208226
2022-10-09,208451
2022-10-13,210501
2022-10-15,211042
2022-10-17,211076
2022-10-20,211743
2022-10-27,213688
2022-11-01,215527
2022-11-09,214530
2022-11-12,214454
2022-11-13,214333
2022-11-20,218179
2022-11-21,218110
2022-11-26,216686
2022-11-28,216181
2022-11-29,217165
2022-12-03,216919
2022-12-04,216571
2022-12-05,217958
2022-12-06,219026
2022-12-11,217688
2022-12-13,218407
2022-12-15,222364
2022-12-18,219618
2022-12-20,223059
2022-12-26,221142
2022-12-29,221824
2022-12-29,221916
2023-01-01,222038
2023-01-06,223042
2023-01-08,223173
2023-01-11,225176
2023-01-13,225513
2023-01-19,227763
2023-01-23,228518
2023-01-24,229196
2023-01-27,230611
2023-01-27,230614
2023-01-27,230612
2023-01-31,231114
2023-02-05,233277
2023-02-07,234852
2023-02-07,234853
2023-02-07,234854
2023-02-16,239100
2023-02-19,240291
2023-02-23,241174
2023-02-28,243453
2023-03-03,243164
2023-03-06,243547
2023-03-07,243876
2023-03-10,245743
2023-03-14,247394
2023-03-21,250342
2023-03-25,251981
2023-03-29,252841
2023-04-07,256599
2023-04-11,257848
2023-04-16,259147
2023-04-18,262562
2023-04-19,228612
2023-04-19,228619
2023-04-23,229233
2023-04-26,233002
2023-04-27,233408
2023-04-30,233500
2023-05-02,234399
2023-05-05,235623
2023-05-08,235772
2023-05-11,237645
2023-05-14,239768
2023-05-15,240909
2023-05-20,242135
2023-05-21,242492
2023-05-24,245092
2023-06-02,247700
2023-06-06,248875
2023-06-10,249684
2023-06-11,249760
2023-06-13,250249
2023-06-14,251127
2023-06-14,251804
2023-06-16,252822
2023-06-17,252534
2023-06-18,252321
2023-06-23,254123
2023-06-27,254755
2023-07-01,255406
2023-07-06,257015
2023-07-09,257492
2023-07-14,259213
2023-07-15,259315
2023-07-21,261085
2023-07-23,261277
2023-07-27,262572
2023-08-01,263819
2023-08-04,265957
2023-08-05,266045
2023-08-08,271201
2023-08-05,266045
2023-08-08,271201
2023-08-13,272866
2023-08-17,273675
2023-08-21,274641
2023-08-22,275015
2023-08-26,276590
2023-08-28,276815
2023-09-03,276436
2023-09-04,278801
2023-09-05,279611
2023-09-06,279206
2023-09-06,280613
2023-09-08,281493
2023-09-08,281509
2023-09-10,256954
2023-09-14,256989
2023-09-17,233472
2023-09-21,199830
2023-09-24,200426
2023-09-25,199401
2023-09-30,199695
2023-10-02,200074
2023-10-04,201463
2023-10-08,202522
2023-10-12,206311
2023-10-13,207029
2023-10-17,207906
2023-10-18,208401
2023-10-21,210083
2023-10-23,210270
2023-10-27,212690
2023-11-01,213830
2023-11-02,214583
2023-11-03,215108
2023-11-08,217049
2023-11-11,217953
2023-11-13,218577
2023-11-19,220976
2023-11-21,221961
2023-11-24,223522
2023-11-25,223877
2023-11-25,223872
2023-11-25,223909
2023-11-26,223980
2023-11-26,224012
2023-12-01,208023
2023-12-03,210172
2023-12-12,207663
2023-12-16,209452
2023-12-17,209646
2023-12-17,209667
2023-12-25,210768
2023-12-30,211940
2024-01-03,213382
2024-01-06,214694
2024-01-13,219207
2024-01-17,220462
2024-01-21,221685
2024-01-27,224343
2024-01-30,225628
2024-02-06,228946
2024-02-10,217865
2024-02-12,218879
2024-02-15,221453
2024-02-24,255408
2024-02-25,255481
2024-02-28,259102
2024-03-04,262792
2024-03-09,267662
2024-03-15,272078
2024-03-19,274816
2024-03-23,277541
2024-03-28,279824
2024-04-02,280777
2024-04-04,225394
2024-04-09,218760
2024-04-11,219308
2024-04-18,219756
2024-04-22,221564
2024-04-25,223019
2024-05-01,222352
2024-05-03,222756
2024-05-12,227220
2024-05-20,232601
2024-05-27,236489
2024-06-03,239513
2024-06-08,242522
2024-06-14,247465
2024-06-16,248578
2024-06-19,251370
2024-06-21,253602
2024-06-24,254665
2024-06-26,256298
2024-07-01,258343
2024-07-04,260189
2024-07-07,247084
2024-07-11,249815
2024-07-14,250838
2024-07-15,251424
2024-07-20,253994
2024-07-27,254084
2024-07-30,255292
2024-08-02,256660
2024-08-04,257148
2024-08-08,259441
2024-08-11,260512
2024-08-16,263076
2024-08-17,263582
2024-08-20,265076
2024-08-26,267545
2024-08-29,268966
2024-08-30,269438
2024-08-31,269539
2024-09-04,274063
2024-09-06,275080
2024-09-10,263680
2024-09-13,264305
2024-09-16,265285
2024-09-20,264236
2024-09-21,212724
2024-09-22,211622
2024-09-25,212675
2024-09-27,213244
2024-09-27,213245
2024-10-01,213245
2024-10-01,214048
2024-10-01,214048
2024-10-03,203839
2024-10-05,203547
2024-10-07,203022
2024-10-09,203475
2024-10-10,203579
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+200581 -60140
View File
File diff suppressed because it is too large Load Diff
+468 -224
View File
@@ -1,57 +1,85 @@
----
**Take Note!**
- This version of the Hosts file generator, and tests, are for Python 3.5+ only.
- With the exception of issues and PRs regarding changes to `hosts/data/StevenBlack/hosts`, all other issues regarding the content of the produced hosts files should be made with the appropriate data source that contributed the content in question. The contact information for all of the data sources can be found in the `hosts/data/` directory.
----
With the exception of issues and PRs regarding changes to
`hosts/data/StevenBlack/hosts`, all other issues regarding the content of the
produced hosts files should be made with the appropriate data source that
contributed the content in question. The contact information for all of the data
sources can be found in the `hosts/data/` directory.
---
![Logo](https://raw.githubusercontent.com/StevenBlack/hosts/master/.github/logo.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://img.shields.io/travis/StevenBlack/hosts/master.svg)](https://travis-ci.org/StevenBlack/hosts)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
[![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)
[![latest release](https://img.shields.io/github/release/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/releases)
[![license](https://img.shields.io/github/license/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/blob/master/license.txt)
[![repo size](https://img.shields.io/github/repo-size/StevenBlack/hosts)](https://github.com/StevenBlack/hosts)
[![contributors](https://img.shields.io/github/contributors/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/graphs/contributors)
[![Build Status](https://img.shields.io/github/actions/workflow/status/StevenBlack/hosts/ci.yml?branch=master)](https://github.com/StevenBlack/hosts/actions/workflows/ci.yml?query=branch%3Amaster)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/python/black)
[![commits since last release](https://img.shields.io/github/commits-since/StevenBlack/hosts/latest)](https://github.com/StevenBlack/hosts/commits/master)
[![last commit](https://img.shields.io/github/last-commit/StevenBlack/hosts)](https://github.com/StevenBlack/hosts/commits/master)
[![commit activity](https://img.shields.io/github/commit-activity/y/StevenBlack/hosts)](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.
into a unified hosts file with duplicates removed. A variety of tailored hosts
files are provided.
* Last updated: **March 25 2020**.
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 73,138 entries.
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
**Therefore this repository is a hosts file aggregator.**
![Aggregator](https://raw.githubusercontent.com/StevenBlack/hosts/master/aggregator.png)
- Last updated: **March 21 2025**.
- Here's the
[raw hosts file Unified hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts)
containing 215,658 entries.
![Size history](stats.png)
## List of all hosts file variants
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
This repository offers
[31 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates),
in addition to the base variant, with and without the unified hosts included.
The **Non GitHub mirror** is the link to use for some hosts file managers like
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
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) | 54,042 | [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) | 54,984 | [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) | 56,363 | [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) | 70,817 | [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) | 56,792 | [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) | 57,305 | [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) | 71,759 | [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,734 | [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) | 73,138 | [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) | 59,113 | [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) | 73,566 | [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) | 74,080 | [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) | 60,055 | [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) | 74,508 | [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) | 75,887 | [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) | 76,829 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
| 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) | 134,551 | [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) | 136,745 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/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) | 140,999 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
**gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) | 6,460 | [link](http://sbc.io/hosts/alternates/gambling-only/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) | 209,210 | [link](http://sbc.io/hosts/alternates/porn/hosts)
**porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) | 75,360 | [link](http://sbc.io/hosts/alternates/porn-only/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) | 137,739 | [link](http://sbc.io/hosts/alternates/social/hosts)
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/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) | 143,193 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
**fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) | 8,654 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-only/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) | 211,404 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
**fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) | 77,554 | [link](http://sbc.io/hosts/alternates/fakenews-porn-only/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) | 139,933 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/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) | 215,658 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
**gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) | 81,820 | [link](http://sbc.io/hosts/alternates/gambling-porn-only/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) | 144,187 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
**gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) | 9,677 | [link](http://sbc.io/hosts/alternates/gambling-social-only/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) | 212,397 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
**porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) | 78,576 | [link](http://sbc.io/hosts/alternates/porn-social-only/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) | 217,852 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
**fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) | 84,014 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-only/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) | 146,381 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
**fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) | 11,871 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social-only/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) | 214,591 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
**fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) | 80,770 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social-only/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) | 218,845 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
**gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) | 85,036 | [link](http://sbc.io/hosts/alternates/gambling-porn-social-only/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) | 221,039 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
**fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) | 87,230 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -62,44 +90,110 @@ 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 | 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)
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/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 | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
URLHaus | A project from abuse.ch with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
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://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/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)
| Host file source | Home page | Raw hosts | License | Issues | Description |
| ---------------- | :-------: | :-------: | :-----: | :----: | ----------- |
Steven Black's ad-hoc list |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | MIT | [issues](https://github.com/StevenBlack/hosts/issues)| Additional sketch domains as I come across them.
AdAway |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)| AdAway is an open source ad blocker for Android using the hosts file.
add.2o7Net |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Dead |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Risk |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
add.Spam |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.
Mitchell Krog's - Badd Boyz Hosts |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)| Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers
hostsVN |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Hosts block ads of Vietnamese
KADhosts |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt) | CC BY-SA 4.0 | [issues](https://github.com//FiltersHeroes/KADhosts/issues)| Fraud/adware/scam websites.
minecraft-hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)| Minecraft related tracker hosts
MVPS hosts file |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)| The purpose of this site is to provide the user with a high quality custom HOSTS file.
Dan Pollock – [someonewhocares](https://someonewhocares.org/) |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)| How to make the internet not suck (as much).
Tiuxo hostlist - ads |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
UncheckyAds |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)| Windows installers ads sources sites based on https://unchecky.com/ content.
URLHaus |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | CC0 | [issues](mailto:contactme@abuse.ch)| A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.
yoyo.org |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | | [issues](mailto:pgl@yoyo.org)| Blocking with ad server and tracking server hostnames.
BigDargon's gambling domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
Sinfonietta's gambling blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
BigDargon's adult domain blocking hosts file |[link](https://github.com/bigdargon/hostsVN/) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN) | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)| Extension from the project hostsVN
brijrajparmar27 - pornography |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)| hosts files for DNS based content blocking
pornhosts -- a consolidated anti porn hosts file |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)| 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.
Sinfonietta's porn blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Sinfonietta's snuff-site blocking hosts file |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)| A collection of category-specific host files.
Tiuxo hostlist - pornography |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)| Categorized hosts files for DNS based content blocking
## Extensions
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently, we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
The unified hosts file is optionally extensible. Extensions are used to include
domains by category. Currently, we offer the following categories: `fakenews`,
`social`, `gambling`, and `porn`.
Extensions are optional, and can be combined in various ways with the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
Extensions are optional, and can be combined in various ways with the base hosts
file. The combined products are stored in the
[`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates)
folder.
Data for extensions are stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
Data for extensions are stored in the
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions)
folder. You manage extensions by curating this 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
To generate your own unified hosts file you will need Python 3.5 or later.
You have three options to generate your own hosts file. You can use our
container image, build your own image, or do it in your own environment. Option
#1 is easiest if you have Linux with Docker installed.
### Option 1: Use our container image (Linux only)
> This will replace your `/etc/hosts`.
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
If you want to add custom hosts or a whitelist, create either or both files as
per [the instructions](#how-do-i-control-which-sources-are-unified) and add the
following arguments _before_ `ghcr.io/stevenblack/hosts:latest` depending on
which you wish to use.
```sh
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
### Option 2: Generate your own container image
We provide the
[Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) used
by the previous step, which you can use to create a container image with
everything you need. The container will contain Python 3 and all its dependency
requirements, and a copy of the latest version of this repository.
Build the Docker container from the root of this repo like this:
```sh
docker build --no-cache . -t stevenblack-hosts
```
Then run your command as such:
```sh
docker run --rm -it stevenblack-hosts updateHostsFile.py
```
> This will create the hosts file, and remove it with the container when done,
> so not very useful. You can use the example in option #1 to add volumes so
> files on your host are replaced.
### Option 3: Generate it in your own environment
To generate your own amalgamated hosts files you will need Python 3.6 or later.
First, install the dependencies with:
@@ -107,68 +201,81 @@ First, install the dependencies with:
pip3 install --user -r requirements.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).
**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, run:
### Option 4: Generate it in Google Colab
Spin up a free remote [Google Colab](https://colab.research.google.com/drive/1tYWXpU2iuPDqN_o03JW9ml3ExO80eBLq?usp=sharing) environment.
### Common steps regardless of your development environment
To **run unit tests**, in the top-level directory, run:
```sh
python3 testUpdateHostsFile.py
```
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
#### Using Python 3:
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.
```sh
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
```
#### Command line options:
#### Command line options
`--help`, or `-h`: display help.
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
* Hosts data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag
to include any you want.
* Your active hosts file is *not* replaced unless you include the `--replace`
flag.
- Hosts data sources, including extensions, are updated.
- No extensions are included by default. Use the `--extensions` or `-e` flag to
include any you want.
- Your active hosts file is _not_ replaced unless you include the `--replace`
flag.
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
over them.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
of subfolders below the `extensions` folder containing additional
category-specific hosts files to include in the amalgamation. Example:
`--extensions porn` or `-e social porn`.
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names of
subfolders below the `extensions` folder containing additional category-specific
hosts files to include in the amalgamation. Example: `--extensions porn` or
`-e social porn`.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
Only active when `--replace` is also active.
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache. 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`.
target. Default is `0.0.0.0`.
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
that appear on the same line as domains. The default is `true`.
that appear on the same line as domains. The default is `true`.
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
in a subfolder. If the subfolder does not exist, it will be created.
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file in
a subfolder. If the subfolder does not exist, it will be created.
`--replace`, or `-r`: trigger replacing your active hosts
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
section at the top, containing lines like `127.0.0.1 localhost`. This is
useful for configuring proximate DNS services on the local network.
section at the top, containing lines like `127.0.0.1 localhost`. This is useful
for configuring proximate DNS services on the local network.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--nogendata`, or `-g`: `false` (default) or `true`, skip the generation of the
readmeData.json file used for generating readme.md files. This is useful if you
are generating host files with additional whitelists or blacklists and want to
keep your local checkout of this repo unmodified.
`--nounifiedhosts`: `false` (default) or `true`, do not include the unified hosts
file in the final hosts file. Usually used together with `--extensions`.
`--compress`, or `-c`: `false` (default) or `true`, _Compress_ the hosts file
ignoring non-necessary lines (empty lines and comments) and putting multiple
domains in each line. Reducing the number of lines of the hosts file improves
the performances under Windows (with DNS Client service enabled).
@@ -178,28 +285,33 @@ each domain on a separate line. This is necessary because many implementations
of URL blockers that rely on `hosts` files do not conform to the standard which
allows multiple hosts on a single line.
`--blacklist <blacklistfile>`, or `-x <blacklistfile>`: Append the given
blacklist file in hosts format to the generated hosts file.
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist
file to remove hosts from the generated hosts file.
## How do I control which sources are unified?
Add one or more *additional* sources, each in a subfolder of the `data/`
folder, and specify the `url` key in its `update.json` file.
Add one or more _additional_ sources, each in a subfolder of the `data/` folder,
and specify the `url` key in its `update.json` file.
Add one or more *optional* extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
Add one or more _optional_ extensions, which originate from subfolders of the
`extensions/` folder. Again the url in `update.json` controls where this
extension finds its updates.
Create an *optional* `blacklist` file. The contents of this file (containing a
Create an _optional_ `blacklist` file. The contents of this file (containing a
listing of additional domains in `hosts` file format) are appended to the
unified hosts file during the update process. A sample `blacklist` is
included, and may be modified as you need.
unified hosts file during the update process. A sample `blacklist` is included,
and may be modified as you need.
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
be overridden when you `git pull` this repo from `origin` in the future.
- NOTE: The `blacklist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
### How do I include my own custom domain mappings?
If you have custom hosts records, place them in file `myhosts`. The contents
of this file are prepended to the unified hosts file during the update
process.
If you have custom hosts records, place them in file `myhosts`. The contents of
this file are prepended to the unified hosts file during the update process.
The `myhosts` file is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
@@ -209,43 +321,52 @@ overridden when you `git pull` this repo from `origin` in the future.
The domains you list in the `whitelist` file are excluded from the final hosts
file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged
into the final hosts file.
The `whitelist` uses partial matching. Therefore if you whitelist
`google-analytics.com`, that domain and all its subdomains won't be merged into
the final hosts file.
The `whitelist` is not tracked by git, so any changes you make won't be
overridden when you `git pull` this repo from `origin` in the future.
## How can I contribute hosts records?
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
If you discover sketchy domains you feel should be included here, here are some
ways to contribute them.
### Option 1: contact one of our hosts sources
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
The best way to get new domains included is to submit an issue to any of the
data providers whose home pages are
[listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant).
This is best because once you submit new domains, they will be curated and
updated by the dedicated folks who maintain these sources.
### Option 2: Fork this repository, add your domains to Steven Black's personal data file, and submit a pull request
### Option 2: add your domains to Steven Black's personal data file
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Fork this hosts this repo and add your links to
[https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
Then, submit a pull request.
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
**WARNING**: this is less desirable than Option 1 because the ongoing curation
falls on us. So this creates 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 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.
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?
A hosts file, named `hosts` (with no file extension), is a plain-text file
used by all operating systems to map hostnames to IP addresses.
A hosts file, named `hosts` (with no file extension), is a plain-text file used
by all operating systems to map hostnames to IP addresses.
In most operating systems, the `hosts` file is preferential to `DNS`.
Therefore if a domain name is resolved by the `hosts` file, the request never
leaves your computer.
In most operating systems, the `hosts` file is preferential to `DNS`. Therefore
if a domain name is resolved by the `hosts` file, the request never leaves your
computer.
Having a smart `hosts` file goes a long way towards blocking malware, adware,
and other irritants.
@@ -265,71 +386,142 @@ lines to your hosts file will do it:
## We recommend using `0.0.0.0` instead of `127.0.0.1`
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
Traditionally most host files use `127.0.0.1`, the _loopback address_, to
establish an IP connection to the local machine.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non-applicable target.
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used
to designate an invalid, unknown, or non-applicable target.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
interfere with a web server that may be running on the local PC.
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a
timeout resolution. It also does not interfere with a web server that may be
running on the local PC.
## Why not use `0` instead of `0.0.0.0`?
We tried that. Using `0` doesn't work universally.
We tried that. Using `0` doesn't work universally.
## Location of your hosts file
To modify your current `hosts` file, look for it in the following places and modify it with a text
editor.
To modify your current `hosts` file, look for it in the following places and
modify it with a text editor.
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
**macOS Catalina:** `/private/etc/hosts` file.
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
- **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts`
file.
- **macOS Catalina:** `/private/etc/hosts` file.
- **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
## Gentoo
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
Gentoo users may find
[`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts)
in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
## NixOS
To install hosts file on your machine add the following into your
`configuration.nix`:
```nix
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
```
- NOTE: Change `hostsPath` if you need other versions of hosts file.
- NOTE: The call to `fetchurl` is impure. Use `fetchFromGitHub` with the exact
commit if you want to always get the same result.
### Nix Flake
NixOS installations which are managed through _flakes_ can use the hosts file
like this:
```nix
{
inputs.hosts.url = "github:StevenBlack/hosts";
outputs = { self, nixpkgs, hosts }: {
nixosConfigurations.my-hostname = {
system = "<architecture>";
modules = [
hosts.nixosModule {
networking.stevenBlackHosts.enable = true;
}
];
};
};
}
```
The hosts extensions are also available with the following options:
```nix
{
networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true;
blockGambling = true;
blockPorn = true;
blockSocial = true;
};
}
```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.)
On Linux and macOS, run the Python script. On Windows more
work is required due to compatibility issues so it's preferable to run the batch file as follows:
On Linux and macOS, run the Python script. On Windows more work is required due
to compatibility issues so it's preferable to run the batch file as follows:
```sh
updateHostsWindows.bat
```
This file **MUST** be run in command prompt with administrator privileges in
the repository directory. In addition to updating the hosts file, it can also
This file **MUST** be run in command prompt with administrator privileges in the
repository directory. In addition to updating the hosts file, it can also
replace the existing hosts file, and reload the DNS cache. It goes without
saying that for this to work, you must be connected to the internet.
To open a command prompt as administrator in the repository's directory, do the following:
To open a command prompt as administrator in the repository's directory, do the
following:
**Windows XP**: Start → Run → `cmd`
- **Windows XP**: Start → Run → `cmd`
- **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
- **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click
Command Prompt → "Run as Administrator"
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
as Administrator"
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
You can also refer to the "Third-Party Hosts Managers" section for further
recommended solutions from third parties.
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
Windows has issues with larger hosts files. Recent changes in security within
Windows 10 denies access to changing services via other tools except registry
hacks. Use the `disable-dnscache-service-win.cmd` file to make proper changes to
the Windows registry. You will need to reboot your device once that's done. See
the
[the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.bat)
for more details.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
Disabling the DNS Cache Service can cause issues with services and applications like *WSL* and it's possible to compress the hosts file and negate the need to disable the DNS caching service. You can try the *C++* Windows command line tool at [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) (the recommended method) or the *PowerShell* compression script and check out the guide located at the [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) repository.
## Reloading hosts file
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
manually flush your DNS cache once the new hosts file is in place.
Your operating system will cache DNS lookups. You can either reboot or run the
following commands to manually flush your DNS cache once the new hosts file is
in place.
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
:-----------------------------------------------------------------------------------------
The Google Chrome browser may require manually cleaning up its DNS Cache on
`chrome://net-internals/#dns` page to thereafter see the changes in your hosts
file. See: <https://superuser.com/questions/723703>
### Windows
@@ -339,54 +531,44 @@ Open a command prompt with administrator privileges and run this command:
ipconfig /flushdns
```
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net/) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
```bat
sc config "Dnscache" start=disabled
sc stop "Dnscache"
```
### Linux
Open a Terminal and run with root privileges:
**Debian/Ubuntu** `sudo service network-manager 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`
- **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Network Manager**:
`sudo systemctl restart NetworkManager.service`
- **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
- **RHEL/Centos**: `sudo /etc/init.d/network restart`
- **FreeBSD**: `sudo service nscd restart`
**Linux Mint** `sudo /etc/init.d/dns-clean start`
To enable the `nscd` daemon initially, it is recommended that you run the
following commands:
**Linux with systemd**: `sudo systemctl restart network.service`
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the
following:
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
```text
hosts: cache files dns
```
**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:
```sh
sudo sysrc nscd_enable="YES"
sudo service nscd start
```
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
```text
hosts: cache files dns
```
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
- **NixOS**: The `nscd.service` is automatically restarted when the option
`networking.extraHosts` was changed.
- **Others**: Consult
[this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
### macOS
Open a Terminal and run:
As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/),
open a Terminal and run:
```sh
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
@@ -394,61 +576,123 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
## Release management
This repository uses [release-it](https://github.com/release-it/release-it), an excellent CLI release
tool for GitHub repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
This repository uses [release-it](https://github.com/release-it/release-it), an
excellent CLI release tool for GitHub repos and npm packages, to automate
creating [releases](https://github.com/StevenBlack/hosts/releases). This is why
the
[package.json](https://github.com/StevenBlack/hosts/blob/master/package.json)
and
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json)
files are bundled.
## Goals of this unified hosts file
The goals of this repo are to:
1. automatically combine high-quality lists of hosts,
2. provide situation-appropriate extensions,
3. de-dupe the resultant combined list,
4. and keep the resultant file reasonably sized.
A high-quality source is defined here as one that is actively curated. A
hosts source should be frequently updated by its maintainers with both
additions and removals. The larger the hosts file, the higher the level of
curation is expected.
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net/)
is **not** included here because it is very large (780,000+ entries)
and doesn't currently display a correspondingly high level of curation activity.
A high-quality source is defined here as one that is actively curated. A hosts
source should be frequently updated by its maintainers with both additions and
removals. The larger the hosts file, the higher the level of curation is
expected.
It is expected that this unified hosts file will serve both desktop and mobile
devices under a variety of operating systems.
## Third-Party Hosts Managers
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
- [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate")
(for Windows): The Unified Hosts AutoUpdate package is purpose-built for this
unified hosts project as well as in active development by community members.
You can install and uninstall any blacklist and keep it automatically up to
date, and can be placed in a shared network location and deployed across an
organization via group policies. And since it is in active development by
community members, your bug reports, feature requests, and other feedback are
most welcome.
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
written in Java, by Christian Martínez. Check it out!
## Interesting Applications
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
- [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple
tool to handle hosts file black lists. It can remove comments, remove
duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it
can also convert black lists to multiple other black list formats compatible
with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound,
to name a few.
- [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple
GUI that allows you to easily update your /etc/hosts file to one of four
consolidated hosts files from StevenBlack/hosts. It is provided as a deb
package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
- [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash
script that automatically updates host file. You can also update a fresh copy.
And each time it generates a dnsmasq-compatible configuration file. Fast
installation, compatible with MacOS, Linux and BSD.
- [Hostile](https://github.com/feross/hostile) is a nifty command line utility
to easily add or remove domains from your hosts file. If our hosts files are
too aggressive for you, you can use `hostile` to remove domains, or you can
use `hostile` in a bash script to automate a post process each time you
download fresh versions of hosts.
- [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config)
helps customizing, re-installing and using macOS. It also provides a
[script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh)
to install and update the hosts file using this project on macOS. In
combination with a
[launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist)
it updates the hosts file every x days (default is 4). To install both,
download the GitHub repo and run the
[install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh)
from the directory one level up.
- [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.
- [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.
- [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound")
–
[Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.")
is a validating, recursive, and caching DNS resolver.
- [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware)
This GitHub gist has a short shell script (bash, will work on any 'nix) and
uses `wget` & `awk` present in most distros, to fetch a specified hosts file
and convert it to the format required by dnsmasq. Supports IPv4 and IPv6.
Designed to be used as either a shell script, or can be dropped into
`/etc/cron.weekly` (or wherever suits). The script is short and easily edited,
also has a short document attached with notes on dnsmasq setup.
- [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts)
This is a cross-platform command line utility to help install/update hosts
files found at this repository.
- [Hosts Compression Scripts](https://github.com/Lateralus138/hosts-compression-scripts) These are various scripts to help compress hosts files (by the author of BlackHosts).
- [Hosts Compress - Windows](https://github.com/Lateralus138/hosts-compress-windows) This is a *C++* Windows command line tool to help compress hosts files (by the author of BlackHosts and Hosts Compression Scripts). This is highly recommended over the scripts as it is **exponentially faster**.
- [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists)
provides a tool to build block lists from local and remote lists in common
formats.
- [Control D](https://controld.com/free-dns)
offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist:
- Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35`
- DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com`
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
## Contribute
* [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 set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
Please read our
[Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md).
Among other things, this explains how we organize files and folders in this
repository.
* [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.
We are always interested in discovering well-curated sources of hosts. If you
find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to
draw our attention.
* [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.
Before you create or respond to any issue, please read our
[code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
## Contribute!
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
Logo by [@Tobaloidee](https://github.com/Tobaloidee) Thank you!.

Some files were not shown because too many files have changed in this diff Show More