Compare commits

...
1666 Commits
Author SHA1 Message Date
Steven Black 88c487e370 Release 3.16.41 2025-12-11 10:33:39 -05:00
Steven Black 3c3e6d8c0d Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2025-12-11 10:33:22 -05:00
Steven Black 7696c451a5 Issue #3025: adding 7 new domains. 2025-12-11 10:27:30 -05:00
Steven Black 821e6fbca7 Release 3.16.40 2025-12-04 15:50:24 -05:00
Steven Black 562ec546cc Updates from URLHaus and KADhosts. 2025-12-04 15:50:09 -05:00
Steven Black dc2a318361 Merge pull request #3022 from StevenBlack/dependabot/github_actions/github-actions-2b9314ca71
Bump the github-actions group with 5 updates
2025-12-04 15:36:10 -05:00
Steven Black 4618a21510 Issue #3204: add two core.windows.net domains. 2025-12-04 15:30:21 -05:00
Steven Black 2d2b75afb9 Issue #3026: add domain colombia.ru.com. 2025-12-04 15:25:47 -05:00
Steven Black 7f24594f7a Release 3.16.39 2025-12-02 21:16:09 -05:00
Steven Black 2591849aaa Updates from URLHaus and KADhosts. 2025-12-02 21:14:26 -05:00
dependabot[bot] c50bcfd40c Bump the github-actions group with 5 updates
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `5.0.0` | `6.0.0` |
| [actions/setup-python](https://github.com/actions/setup-python) | `6.0.0` | `6.1.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.31.2` | `4.31.5` |
| [docker/metadata-action](https://github.com/docker/metadata-action) | `5.8.0` | `5.10.0` |
| [actions/dependency-review-action](https://github.com/actions/dependency-review-action) | `4.8.1` | `4.8.2` |


Updates `actions/checkout` from 5.0.0 to 6.0.0
- [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/08c6903cd8c0fde910a37f88322edcfb5dd907a8...1af3b93b6815bc44a9784bd300feb67ff0d1eeb3)

Updates `actions/setup-python` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/e797f83bcb11b83ae66e0230d6156d7c80228e7c...83679a892e2d95755f2dac6acb0bfd1e9ac5d548)

Updates `github/codeql-action` from 4.31.2 to 4.31.5
- [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/0499de31b99561a6d14a36a5f662c2a54f91beee...fdbfb4d2750291e159f0156def62b853c2798ca2)

Updates `docker/metadata-action` from 5.8.0 to 5.10.0
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/c1e51972afc2121e065aed6d45c65596fe445f3f...c299e40c65443455700f0fdfc63efafe5b349051)

Updates `actions/dependency-review-action` from 4.8.1 to 4.8.2
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/40c09b7dc99638e5ddb0bfd91c1673effc064d8a...3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.31.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: docker/metadata-action
  dependency-version: 5.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 00:01:51 +00:00
Steven Black 0b7224699a Release 3.16.38 2025-11-29 18:35:49 -05:00
Steven Black 2ee4352ba2 Updates from URLHaus and KADhosts. 2025-11-29 18:35:33 -05:00
Steven Black 24f3631c4c Issue #3021 add two domains. 2025-11-29 18:27:41 -05:00
Steven Black ecb4558464 PR #3018: remove reference to a data folder that's no longer there. 2025-11-27 16:29:28 -05:00
Steven Black f0c008d73a Release 3.16.37 2025-11-27 15:50:21 -05:00
Steven Black 8ffc573cc6 Merge pull request #3018 from XhmikosR/patch-3
Improve sourcestats.sh
2025-11-27 15:50:00 -05:00
Steven Black e00b355112 Testing PR #3018, and updating all the plots. 2025-11-27 15:48:49 -05:00
Steven Black 5969fd5bf9 Updates from URLHaus and KADhosts. 2025-11-27 15:17:45 -05:00
Steven Black 5300bf25b3 removing cochico.ca domains. 2025-11-24 18:27:33 -05:00
Steven Black dca6f8a57d Attempting to phish me is a bad idea. 2025-11-24 13:32:29 -05:00
XhmikosR b124e714df Improve sourcestats.sh 2025-11-24 08:16:14 +02:00
Steven Black 6fbdb5a511 Merge pull request #3014 from XhmikosR/patch-2
stats.sh: speed up stats extraction
2025-11-23 16:17:29 -05:00
Steven Black 96906cc2dc PR #3014: testing the proposed new stats.sh implementation. Looks great. 2025-11-23 16:15:49 -05:00
Steven Black f276b3b139 Merge pull request #3013 from XhmikosR/patch-1
Dockerfile: fix LegacyKeyValueFormat warnings
2025-11-22 13:16:17 -05:00
XhmikosR 9257ce1e43 stats.sh: speed up stats extraction 2025-11-22 17:27:30 +02:00
XhmikosR e2b2979535 Dockerfile: fix LegacyKeyValueFormat warnings 2025-11-22 08:13:22 +02:00
Steven Black 21ce4c0266 Release 3.16.36 2025-11-21 19:00:14 -05:00
Steven Black 3007a0cf43 Updates from bigdargon, URLHaus, KADhosts, and hostsVN. 2025-11-21 18:56:06 -05:00
Steven Black c66c4aa05a Release 3.16.35 2025-11-18 12:49:48 -05:00
Steven Black 86b479aab1 Updates from URLHaus and KADhosts. 2025-11-18 12:49:32 -05:00
Steven Black e849fb75e2 Trying to phish me is a stupid idea. 2025-11-18 12:45:52 -05:00
Steven Black 07572891cb Release 3.16.34 2025-11-15 21:28:14 -05:00
Steven Black e73fefff81 Updates from URLHaus and KADhosts. 2025-11-15 21:27:56 -05:00
Steven Black 48a41c5a47 issue #3009: Add two xbext.com domains. 2025-11-15 21:00:36 -05:00
Steven Black eb8b88d342 Release 3.16.33 2025-11-11 21:28:41 -05:00
Steven Black 4469282345 Updates from URLHaus. 2025-11-11 21:28:26 -05:00
Steven Black aa0268982a Phishing me or my fam is a really stupid idea. 2025-11-11 21:21:49 -05:00
Steven Black 6a3fc8f654 Release 3.16.32 2025-11-11 16:23:48 -05:00
Steven Black c20ffe6227 Updates from BigDargon, URLHaus, and KADhosts. 2025-11-11 16:23:31 -05:00
Steven Black 5e1932a3c9 Issue #3010: remove domain oempprd.samsungcloudsolution.com. 2025-11-11 16:17:50 -05:00
Steven Black 99bdb28ee2 Release 3.16.31 2025-11-07 13:50:46 -05:00
Steven Black 428e84affa Updates from BigDargon, URLHaus, Tiuxio, and KADhosts. 2025-11-07 13:50:27 -05:00
Steven Black 182dabf6fd Issue #3004: add two rumble ad domains. 2025-11-07 11:03:28 -05:00
Steven Black 19859c0036 Release 3.16.30 2025-11-04 22:25:15 -05:00
Steven Black ab6186d8eb Updates from BigDargon, URLHaus, and KADhosts. 2025-11-04 22:20:17 -05:00
Steven Black 43d0fcc9c8 Merge pull request #3003 from StevenBlack/dependabot/github_actions/github-actions-ecb647639b
Bump the github-actions group with 2 updates
2025-11-03 10:41:49 -05:00
Steven Black 14131be40b Release 3.16.29 2025-11-02 21:19:04 -05:00
Steven Black fb8db8e46a Updates from URLHaus and KADhosts. 2025-11-02 21:18:46 -05:00
Steven Black 9e555e33a6 Issue #3005: add to readme: recommend cloning wth --depth 1. 2025-11-02 20:58:20 -05:00
Steven Black 1fec798248 Release 3.16.28 2025-11-01 12:06:21 -04:00
Steven Black 43a0f7b9b9 Updates from URLHaus and KADhosts. 2025-11-01 12:06:03 -04:00
Steven Black b4398978f9 Issue #2967: remove domain sitegenesis.production.deckers.coremedia.cloud 2025-11-01 11:57:34 -04:00
dependabot[bot] c314197721 Bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [actions/dependency-review-action](https://github.com/actions/dependency-review-action).


Updates `github/codeql-action` from 4.30.7 to 4.31.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/e296a935590eb16afc0c0108289f68c87e2a89a5...0499de31b99561a6d14a36a5f662c2a54f91beee)

Updates `actions/dependency-review-action` from 4.8.0 to 4.8.1
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/56339e523c0409420f6c2c9a2f4292bbb3c07dd3...40c09b7dc99638e5ddb0bfd91c1673effc064d8a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 00:01:43 +00:00
Steven Black 2b274d002c Release 3.16.27 2025-10-25 21:10:03 -04:00
Steven Black b84071ce7a Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2025-10-25 21:09:42 -04:00
Steven Black 5da10a61af Release 3.16.26 2025-10-16 23:07:33 -04:00
Steven Black 95a5ee9faf Updates from URLHaus and KADhosts. 2025-10-16 23:07:16 -04:00
Steven Black 706999aff1 Merge pull request #2982 from XhmikosR/xmr/img
Losslessly optimize PNG files
2025-10-13 12:48:59 -04:00
Steven Black 384aa2b0d3 Release 3.16.25 2025-10-13 10:10:34 -04:00
Steven Black 19abb97df4 Updates from URLHaus and KADhosts. 2025-10-13 10:10:17 -04:00
Steven Black e7dea17d45 Issue #2985: add two Windows malware domains. 2025-10-12 22:37:13 -04:00
Steven Black 1cb61353d4 Merge pull request #2983 from StevenBlack/dependabot/github_actions/github-actions-6655c1743d
Bump the github-actions group with 2 updates
2025-10-09 09:31:45 -04:00
Steven Black 0615aafda0 Merge pull request #2981 from XhmikosR/patch-2
CI: add Python 3.14
2025-10-09 09:31:00 -04:00
dependabot[bot] d5866d0eca Bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/setup-python` from 5.6.0 to 6.0.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/a26af69be951a213d495a4c3e4e4022e16d87065...e797f83bcb11b83ae66e0230d6156d7c80228e7c)

Updates `github/codeql-action` from 3.30.3 to 4.30.7
- [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/192325c86100d080feab897ff886c34abd4c83a3...e296a935590eb16afc0c0108289f68c87e2a89a5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.30.7
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 13:29:16 +00:00
Steven Black 407d3201f3 Merge pull request #2980 from XhmikosR/patch-1
Dependabot: group action updates
2025-10-09 09:28:08 -04:00
XhmikosR e816a0ea1a Losslessly optimize PNG files with oxipng 2025-10-09 07:53:47 +03:00
XhmikosR 0009a08a7d CI: add Python 3.14 2025-10-09 07:39:43 +03:00
XhmikosR 4be9eba3ad Dependabot: group action updates 2025-10-09 07:37:32 +03:00
Steven Black 680002b8ee Release 3.16.24 2025-10-08 20:43:05 -04:00
Steven Black 040284cd9d Updates from URLHaus and KADhosts. 2025-10-08 20:42:29 -04:00
Steven Black cb59fe4b55 Release 3.16.23 2025-10-04 13:15:51 -04:00
Steven Black 2f1227cdc9 Updates from URLHaus and KADhosts. 2025-10-04 13:15:24 -04:00
Steven Black d2d175ed7a Release 3.16.22 2025-10-02 16:58:45 -04:00
Steven Black 9f2cc8e5c8 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2025-10-02 16:58:03 -04:00
Steven Black 2eae34d447 Merge pull request #2974 from StevenBlack/dependabot/github_actions/actions/dependency-review-action-4.8.0
Bump actions/dependency-review-action from 4.7.3 to 4.8.0
2025-10-02 15:55:41 -04:00
Steven Black 3f29234854 Merge pull request #2975 from StevenBlack/dependabot/github_actions/docker/login-action-3.6.0
Bump docker/login-action from 3.5.0 to 3.6.0
2025-10-02 15:54:53 -04:00
Steven Black 93ab5c0221 Add cookieyes.com domains. 2025-10-02 15:53:44 -04:00
dependabot[bot] 290e7abc27 Bump docker/login-action from 3.5.0 to 3.6.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/184bdaa0721073962dff0199f1fb9940f07167d1...5e57cd118135c172c3672efd75eb46360885c0ef)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:01:57 +00:00
dependabot[bot] 7441a6dc76 Bump actions/dependency-review-action from 4.7.3 to 4.8.0
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/595b5aeba73380359d98a5e087f648dbb0edce1b...56339e523c0409420f6c2c9a2f4292bbb3c07dd3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:01:54 +00:00
Steven Black 122b248d72 Release 3.16.21 2025-09-27 12:44:13 -04:00
Steven Black b6fe732457 Updates from URLHaus and KADhosts. 2025-09-27 12:41:50 -04:00
Steven Black 1dd1fc4a30 Release 3.16.20 2025-09-25 22:19:39 -04:00
Steven Black 7896766d8e Updates from bigdargon, URLHaus, and KADhosts. 2025-09-25 22:19:14 -04:00
Steven Black 4792d4359c Adding phish; Phishing me is a really bad idea. 2025-09-22 11:00:52 -04:00
Steven Black 7583934e9b Merge pull request #2960 from XhmikosR/xmr/actions
CI: pin actions
2025-09-17 09:31:51 -04:00
XhmikosR 44da0697fb CI: pin actions
This is considered a better practice security-wise since hashes are immutable.
Dependabot handles updating hashes the same way, so there should be no problem
updating actions.
2025-09-17 07:34:51 +03:00
Steven Black 2497d5406e Merge pull request #2954 from StevenBlack/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-09-16 21:22:17 -04:00
Steven Black bcaeb79bbf Release 3.16.19 2025-09-15 11:06:39 -04:00
Steven Black 38bb6ce2e6 Updates from URLHaus and KADhosts. 2025-09-15 11:06:15 -04:00
Steven Black 0802370099 Adding safalindustries.com. 2025-09-15 10:49:43 -04:00
Steven Black d6f14eaedd Release 3.16.18 2025-09-14 15:58:13 -04:00
Steven Black 3137006c26 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2025-09-14 15:57:21 -04:00
Steven Black 30ce23a78a Adding eventcra.com; phishing me is a very bad idea. 2025-09-14 15:53:55 -04:00
Steven Black 961747eaee Release 3.16.17 2025-09-08 20:52:19 -04:00
Steven Black cbd0461bf1 Updates from Sinfonietta, URLHaus, and KADhosts. 2025-09-08 20:52:01 -04:00
Steven Black b0781e7975 Release 3.16.16 2025-09-05 11:30:36 -04:00
Steven Black a87c3a1a1b Updates from URLHaus and KADhosts. 2025-09-05 11:30:16 -04:00
dependabot[bot] d888b26ad8 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 00:02:56 +00:00
Steven Black 7df1533fb0 Release 3.16.15 2025-08-29 21:33:26 -04:00
Steven Black e73113b0da Updates from URLHaus and KADhosts. 2025-08-29 21:32:49 -04:00
Steven Black 64ee012b7e Release 3.16.14 2025-08-24 12:11:43 -04:00
Steven Black 18828ee671 Updates from URLHaus and KADhosts. 2025-08-24 12:11:24 -04:00
Steven Black bc5a23dd2e Release 3.16.13 2025-08-19 10:18:11 -04:00
Steven Black 99c3bb9306 Updates from URLHaus and KADhosts. 2025-08-19 10:17:53 -04:00
Steven Black 496b69f840 Issue #2943: removing fc.yahoo.com. 2025-08-17 10:35:51 -04:00
Steven Black 6c5e31e6f9 Release 3.16.12 2025-08-14 14:58:50 -04:00
Steven Black dd6c2435a0 Updates from URLHaus and KADhosts. 2025-08-14 14:58:32 -04:00
Steven Black 9c49c97787 Issue #2944: fix — adding analytics.arz.at. 2025-08-14 14:51:55 -04:00
Steven Black 8bbc2587c7 Issue #2948: fix — remove domain api.agoda.com.edgekey.net 2025-08-14 14:49:39 -04:00
Steven Black dd9b63e52e Release 3.16.11 2025-08-13 22:55:25 -04:00
Steven Black 9039220a06 Updates from BigDargon, URLHaus, and KADhosts. 2025-08-13 22:55:06 -04:00
Steven Black 105e874feb Issue #2946: add zopro.duckdns.org. 2025-08-13 13:47:49 -04:00
Steven Black a11705bff2 Merge pull request #2947 from cgbarros/master
added domains from playstream.media
2025-08-09 13:11:48 -04:00
Caio Barros 9b27ae27d1 added domains from playstream.media
got some video ads and, upon inspecting my pi hole logs, I saw they were coming from playstream.media. Their website says they "built a connection between content creators marketeers and the audience" (emphasis on marketeers)
2025-08-08 17:34:30 -03:00
Steven Black 5398a10d1d Update inner-folder plots of hosts over time. 2025-08-08 11:35:45 -04:00
Steven Black 98071b092e Release 3.16.10 2025-08-08 10:42:29 -04:00
Steven Black e6f6ddd65b Updates from BigDargon, URLhaus, and KADhosts. 2025-08-08 10:42:11 -04:00
Steven Black 5c49f77b72 Merge pull request #2942 from miallo/sourcestats-in-memory
sourcestats: do not checkout files
2025-08-08 10:35:52 -04:00
Michael Lohmann eb7c7c73a1 sourcestats: do not checkout files 2025-08-04 01:00:41 +02:00
Steven Black b093dd1ef0 Release 3.16.9 2025-08-03 12:49:21 -04:00
Steven Black 1ca3c38058 Updates from URLHaus and KADhosts. 2025-08-03 12:48:58 -04:00
Steven Black a0efa72e2e Add trk.na.patagonia.com. 2025-08-03 12:41:11 -04:00
Steven Black 90ab32da7b Merge pull request #2941 from miallo/compute-stats-in-memory
stats.sh: process files in memory instead of on disk
2025-08-02 21:12:48 -04:00
Michael Lohmann dd9bd42f52 stats.sh: process files in memory instead of on disk
Writing the file to the filesystem for all tags is unnecessary if the
content can just be parsed in memory. This improves the performance:

Here the output of `time ./stats.sh`:

old
./stats.sh  5.96s user 26.53s system 94% cpu 34.533 total

new
./stats.sh  5.85s user 22.86s system 102% cpu 28.040 total

So a reduction of 6.5s (23%) is achieved even on a computer with a
decent SSD.
2025-08-02 23:35:25 +02:00
Steven Black 484bb922dd Release 3.16.8 2025-08-01 14:33:26 -04:00
Steven Black e8743be589 Updates from URLHaus and KADhosts. 2025-08-01 14:33:07 -04:00
Steven Black 1af15453fd Release 3.16.7 2025-07-30 21:24:22 -04:00
Steven Black 6601b26018 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2025-07-30 21:24:01 -04:00
Steven Black 08ebdd4bb5 Release 3.16.6 2025-07-26 11:34:07 -04:00
Steven Black 5e77c7c7b1 Updates from BigDargon, URLHaus, and KADhosts. 2025-07-26 11:33:46 -04:00
Steven Black 36d7958e58 Release 3.16.5 2025-07-23 11:16:34 -04:00
Steven Black 5e5d438091 Updates from BigDargon, URLHaus, and KADhosts. 2025-07-23 11:16:13 -04:00
Steven Black 85aeab65b5 Release 3.16.4 2025-07-18 17:29:33 -04:00
Steven Black 2abb813196 Updates from URLHaus and KADhosts. 2025-07-18 17:27:21 -04:00
Steven Black 064e3bf72b update the post.json files. 2025-07-18 17:24:29 -04:00
Steven Black 125d549ef4 Remove the post.json files from the -only folders. 2025-07-18 16:23:15 -04:00
Steven Black 9db4bfd5a2 Release 3.16.3 2025-07-16 21:44:56 -04:00
Steven Black 99c1834851 Updates from BigDargon, URLHaus, and KADhosts. 2025-07-16 21:44:37 -04:00
Steven Black a8ccb59df1 Put post.json files into each alternate destination folder. 2025-07-16 21:40:03 -04:00
Steven Black 865d74f92a Release 3.16.2 2025-07-13 14:38:27 -04:00
Steven Black b89d4aad70 Regenerate hosts files to reflect the changed location of the post.json file. 2025-07-13 14:38:10 -04:00
Steven Black 1fd8390cab Display the fully qualified path to the updated file regardless. 2025-07-13 14:34:51 -04:00
Steven Black b67793d89a Move the posts.json file to the KADhosts folder. 2025-07-13 14:34:18 -04:00
Steven Black 43c492f685 Release 3.16.1 2025-07-13 14:06:54 -04:00
Steven Black 8e5a49fc80 Updates from URLHaus and KADhosts. 2025-07-13 14:06:34 -04:00
Steven Black 175f5cbef5 Release 3.16.0 2025-07-12 23:02:48 -04:00
Steven Black bef2c6a206 Updates from URLHaus and KADhosts. 2025-07-12 23:02:21 -04:00
Steven Black 777857f176 Issue #2919: fix — look for a file named post.json in the list’s landing folder and, if found, parse its filters array for strings to exclude from the final list. 2025-07-12 22:53:37 -04:00
Steven Black 8ae357794a Print the path to the current folder if outputsubfolder is an empty string. 2025-07-12 22:16:23 -04:00
Steven Black 026a9fab06 Ibid. 2025-07-12 20:39:40 -04:00
Steven Black b9d4d50a6a I really don't like variable names that contain underscore characters, especially when these mirror symbols infelicitly. 2025-07-12 20:35:04 -04:00
Steven Black d4d4469162 Release 3.15.55 2025-07-11 13:35:48 -04:00
Steven Black 2d5e933709 Updates from bigdargon, URLHaus, and KADhosts. 2025-07-11 13:35:19 -04:00
Steven Black 90e1c13433 Release 3.15.54 2025-07-08 12:59:11 -04:00
Steven Black b016d4cd30 Updates from URLHaus and KADhosts. 2025-07-08 12:58:53 -04:00
Steven Black 1005c2bc2e Release 3.15.53 2025-07-05 11:00:25 -04:00
Steven Black 42bfc78696 Updates from URLHaus and KADhosts. 2025-07-05 11:00:08 -04:00
Steven Black 929f830dec Merge pull request #2918 from XhmikosR/patch-2
Update release-it to v19.0.3
2025-07-04 21:18:51 -04:00
Steven Black 8567dd2856 Merge pull request #2916 from XhmikosR/patch-1
Update CI and Python packages
2025-07-04 21:16:08 -04:00
XhmikosR 142c3b45d5 Update release-it to v19.0.3 2025-07-04 07:47:06 +03:00
XhmikosR 4010d76b6f Update Python packages
* requests to 2.32
* flake8 to 7.3
2025-07-04 07:38:19 +03:00
XhmikosR 8f17aa5b35 CI: remove Python 3.8 and add 3.13
Python 3.8 is EOL
2025-07-03 21:04:06 +03:00
Steven Black eb961b441c Release 3.15.52 2025-07-03 13:32:59 -04:00
Steven Black a3713a140b Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-07-03 13:32:42 -04:00
Steven Black 961e1bdfd8 Issue #2914: add my-tracknl.com. 2025-07-03 12:37:25 -04:00
Steven Black c33258ee5c Release 3.15.51 2025-06-30 15:07:09 -04:00
Steven Black 27cf50e55d Updates from URLHaus and KADhosts. 2025-06-30 15:06:51 -04:00
Steven Black 14a0ae0dcd Merge pull request #2913 from Lateralus138/master
Added updateHostsWindows.ps1 and information in the README pertaining…
2025-06-30 14:54:33 -04:00
Lateralus138 0ffc44b850 Added updateHostsWindows.ps1 and information in the README pertaining to it's usage. - 2025-06-29 02:14:13 UTC 2025-06-28 21:14:13 -05:00
Steven Black 3ba25afdbe Update the hosts file size history plot. 2025-06-25 21:57:05 -04:00
Steven Black 02b4c402c1 Release 3.15.50 2025-06-25 21:55:50 -04:00
Steven Black 4a0b3155ce Updates from URLHaus, KADhosts, and hostsVN. 2025-06-25 21:55:10 -04:00
Steven Black 7bb65c07c1 Merge pull request #2910 from bunnypranav/patch-1
Add ad domains of various services
2025-06-25 21:48:49 -04:00
Bunny Pranav b3259ed2bd Add ad domains of various services
Added domains of advertisement and analytics services.
2025-06-25 21:27:28 +05:30
Steven Black bfbfc7deb7 Release 3.15.49 2025-06-23 18:12:47 -04:00
Steven Black 19bd59dddf Updates from BigDargon, URLHaus, and KADhosts. 2025-06-23 18:11:56 -04:00
Steven Black 06a99e9a11 Release 3.15.48 2025-06-19 20:32:03 -04:00
Steven Black b7e976dd8c Updates from URLHaus and KADhosts. 2025-06-19 20:31:00 -04:00
Steven Black 83b4e7108b Removing the emarsys.net domains. 2025-06-19 10:56:36 -04:00
Steven Black fbea953f59 Release 3.15.47 2025-06-18 19:33:57 -04:00
Steven Black 6cedd43690 Updates from URLHaus and KADhosts. 2025-06-18 19:33:39 -04:00
Steven Black 2b0e1279f4 Release 3.15.46 2025-06-15 19:07:51 -04:00
Steven Black 6c742ee03f Updates from sinfonietta, bigdargon, URLHaus, someonewhocares.org, KADhosts, and hostsVN. 2025-06-15 19:07:26 -04:00
Steven Black 335cd7caa0 Release 3.15.45 2025-06-12 17:23:08 +02:00
Steven Black 2ca8daf848 Updates from BigDargon, URLHaus, and KADhosts. 2025-06-12 17:22:33 +02:00
Steven Black b5c9188aee Release 3.15.44 2025-06-07 12:06:37 +02:00
Steven Black 8371feb6fe Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-06-07 12:06:17 +02:00
Steven Black ea7bd50ad7 Release 3.15.43 2025-06-04 23:26:37 +02:00
Steven Black 6e6d20dd24 Updates from BigDargon, URLHaus, HADhosts, and hostsVN. 2025-06-04 23:24:11 +02:00
Steven Black 2e91a6a325 Merge pull request #2812 from toastal/nix-docs-flake-follows-input
docs: add more depth to Flake input
2025-06-03 10:28:05 +02:00
Steven Black ce42e633f8 Release 3.15.42 2025-06-02 17:09:40 +02:00
Steven Black ec0641f8ec Updates from BigDargon, URLHaus, and KADhosts. 2025-06-02 17:09:19 +02:00
Steven Black 527a17983b Merge pull request #2848 from Pandapip1/patch-1
Add defaultText to options.networking.stevenBlackHosts.enableIPv6
2025-06-02 17:04:03 +02:00
Steven Black 4f663aa0f0 Release 3.15.41 2025-05-27 20:55:54 -04:00
Steven Black 879d29826c Updates from sinfonietta, BigDargon, URLHaus, KADhosts, and hostsVN. 2025-05-27 20:55:34 -04:00
Steven Black dbdcb03270 Release 3.15.40 2025-05-20 21:49:52 -04:00
Steven Black 39a4c9c885 Updates from BigDargon, URLHaus, and KADhosts. 2025-05-20 21:48:08 -04:00
Steven Black a51fb874ae Cosmetic tweaks to the hosts file size history plot. 2025-05-18 19:59:48 -04:00
Steven Black 403d8bf36c Release 3.15.39 2025-05-18 12:22:35 -04:00
Steven Black 4135c1d6f4 Updates from URLHaus and KADhosts. 2025-05-18 12:18:27 -04:00
Steven Black 3f7669def3 Commit latest from yoyo.org, minus t.co, for now. 2025-05-17 14:52:58 -04:00
Steven Black 9a5c90e8e3 Release 3.15.38 2025-05-15 16:38:04 -04:00
Steven Black 05a9df2347 Updates from BigDargon, URLHaus, someonewhocares.org, KADHosts, and hostsVN. 2025-05-15 16:37:46 -04:00
Steven Black d64ec295d0 Issue #2883: add clientennota-webnl.ddns.info. 2025-05-08 16:42:12 -04:00
Steven Black 66fd6e46ae Release 3.15.37 2025-05-08 16:26:16 -04:00
Steven Black 0fe61c4b6a Updates from URLHaus and KADhosts. 2025-05-08 16:26:00 -04:00
Steven Black 454f26b549 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-05-04 22:32:24 -04:00
Steven Black 181b549344 Update tests. 2025-04-30 20:59:27 -04:00
Steven Black 14fa6296ae Release 3.15.36 2025-04-30 20:47:53 -04:00
Steven Black beb85bf784 Updates from URLHaus and KADhosts. 2025-04-30 20:47:29 -04:00
Steven Black 3bfb2b1fa8 Release 3.15.35 2025-04-25 15:34:03 -04:00
Steven Black 79841c6356 Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-04-25 15:33:43 -04:00
Steven Black 5450d4466d Release 3.15.34 2025-04-22 21:30:43 -04:00
Steven Black 8699040ec4 Updates from BigDargon, URLHaus, and KADhosts. 2025-04-22 21:30:24 -04:00
Steven Black cb2893d958 Issue #2869 — adding rcvlink.com. 2025-04-21 12:03:50 -04:00
Steven Black 8c73d74238 Release 3.15.33 2025-04-17 10:28:44 -04:00
Steven Black 6e7698abef Updates from BigDargon, URLHaus, someonewhocares.org, and KADhosts. 2025-04-17 10:26:20 -04:00
Steven Black dabb0647f3 Updates from URLHaus and KADhosts. 2025-04-12 11:57:32 -04:00
Steven Black 21f7f0a933 Issue #2863: fix — exclude domains with underscores in the domain name. 2025-04-12 11:52:28 -04:00
Steven Black f4235aced3 Release 3.15.31 2025-04-09 21:24:17 -04:00
Steven Black 034cb9a299 Updates from BigDargon, URLHaus, KADhosts, and hostsVN. 2025-04-09 21:23:52 -04:00
Steven Black 26fc979d07 Issue #2852: add startseite24.net. 2025-04-09 21:12:39 -04:00
Steven Black 37a200a82d Release 3.15.30 2025-04-05 19:39:42 -04:00
Steven Black a649a959ba Updates from BigDargon, URLHaus, and KADhosts. 2025-04-05 19:39:21 -04:00
Steven Black acab5f674a Issue 2025-04-05 19:33:59 -04:00
Steven Black 815487ebb9 Merge pull request #2856 from akhal3d96/patch-1
Added rosysolvingscallion.com to he blocked hosts
2025-04-02 16:58:17 -04:00
Ahmed Khaled 058b044ab5 Added rosysolvingscallion.com to he blocked hosts
This website redirects to other spam/malware website
2025-04-01 20:09:32 +02:00
Steven Black 50524d5b78 Release 3.15.29 2025-04-01 11:08:42 -04:00
Steven Black 4dfbcfc8b9 Updates from URLHaus and KADhosts. 2025-04-01 11:08:15 -04:00
Steven Black 7e4a962196 Release 3.15.28 2025-03-28 17:29:17 -04:00
Steven Black 4d95851d4e Updates from BigDargon, URLHaus, and KADhosts. 2025-03-28 17:29:01 -04:00
Steven Black 9cc0a018fc Issue #2849: add streamboo.com. 2025-03-28 17:15:03 -04:00
Gavin John 5424279ae0 Add defaultText to options.networking.stevenBlackHosts.enableIPv6
Fixes https://github.com/StevenBlack/hosts/issues/2828
2025-03-27 11:25:44 -07:00
Steven Black 60f983269a Release 3.15.27 2025-03-26 10:20:52 -04:00
Steven Black 202a52cbc2 Updates from URLHaus and KADhosts. 2025-03-26 10:20:26 -04:00
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
โทสฺตัล 72a93d1368 docs: add more depth to Flake input
At present, if a user copy-pastes the current documentation, a version
of Nixpkgs will be added to their ``flake.lock`` lockfile. This is
probably not what the user wants as Nixpkgs, the tarball, is quite large
& the user likely expects the StevenBlack Flake to be used as a module
to just be using the Nixpkgs of the system.

This change should also help new Nix users know how to pin a Nix version
if there ever comes a time where the Nix :ac:`API` changes—even if ``lib``
tries to be stable & backwards-compatible.

Additionally, provide a comment about where & what the input can be—such
as a mirror or a local fork for development.

Format: text/x-rst
2025-02-02 00:46:56 +07: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
317 changed files with 2408257 additions and 1029931 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]
+1 -1
View File
@@ -18,4 +18,4 @@ newPRWelcomeComment: >
firstPRMergeComment: >
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!
+20
View File
@@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
labels:
- dependencies
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: weekly
labels:
- dependencies
- python
versioning-strategy: lockfile-only
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 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.
+37 -25
View File
@@ -1,50 +1,59 @@
name: CI
on: [push, pull_request]
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.5
- 3.6
- 3.7
- 3.8
- 3.9
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- os: macos-latest
python: '3.9'
- os: macos-latest
python: '3.14'
- os: windows-latest
python: '3.9'
- os: windows-latest
python: '3.14'
steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: ${{ matrix.python }}
cache: pip
- run: python --version
- run: pip --version
- name: Get pip cache directory
id: pip-cache
- name: Print versions
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
${{ runner.os }}-python-v${{ matrix.python }}-
python --version
pip --version
- name: Install Python dependencies
run: pip install -r requirements.txt
@@ -52,5 +61,8 @@ jobs:
- name: Run lint
run: flake8
- name: Run makeHosts.py
run: python makeHosts.py
- name: Run tests
run: python testUpdateHostsFile.py
+26 -45
View File
@@ -1,62 +1,43 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on:
push:
branches: [master]
branches:
- master
- "!dependabot/**"
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
branches:
- master
- "!dependabot/**"
schedule:
- cron: "40 15 * * 4"
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ['python']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Clone repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- name: Initialize CodeQL
uses: github/codeql-action/init@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
with:
languages: "python"
queries: +security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Autobuild
uses: github/codeql-action/autobuild@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4.31.5
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Log in to the Container registry
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels)
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push container image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Dependency Review
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
+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
+11 -9
View File
@@ -1,11 +1,13 @@
FROM python:3
FROM docker.io/python:3-alpine
WORKDIR /usr/src
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN git clone --depth 1 https://github.com/StevenBlack/hosts.git
WORKDIR /usr/src/hosts
ENV IN_CONTAINER=1
# Now you launch this with
# $ docker build ./
# $ docker run -it (containerid) bash
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: 30 KiB

File diff suppressed because it is too large Load Diff
+717
View File
@@ -0,0 +1,717 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,902 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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!.
+276
View File
@@ -0,0 +1,276 @@
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
2024-10-11,10670
2024-10-11,10669
2024-10-12,10683
2024-10-13,10682
2024-10-15,10685
2024-10-18,10685
2024-10-23,10688
2024-10-26,10689
2024-10-30,10689
2024-11-02,10700
2024-11-07,10704
2024-11-11,10714
2024-11-14,10763
2024-11-19,10763
2024-11-23,10781
2024-11-24,10858
2024-11-28,10858
2024-12-02,10862
2024-12-04,10864
2024-12-06,10868
2024-12-12,10868
2024-12-15,10873
2024-12-16,10873
2024-12-16,10873
2024-12-18,10873
2024-12-20,10873
2024-12-23,10873
2024-12-26,10873
2024-12-27,10873
2024-12-30,10886
2025-01-04,10894
2025-01-06,10895
2025-01-09,10895
2025-01-15,10898
2025-01-21,10899
2025-01-22,10899
2025-01-25,10899
2025-01-26,10899
2025-01-31,10899
2025-02-04,8605
2025-02-12,8608
2025-02-17,8610
2025-02-20,8626
2025-02-22,8626
2025-03-01,8630
2025-03-07,8634
2025-03-09,8634
2025-03-13,8640
2025-03-17,8641
2025-03-21,8654
2025-03-26,8654
2025-03-28,8655
2025-04-01,8655
2025-04-05,8661
2025-04-09,8684
2025-04-12,8684
2025-04-17,8689
2025-04-22,8699
2025-04-25,8701
2025-04-30,8701
2025-05-04,8702
2025-05-08,8702
2025-05-15,8707
2025-05-18,8707
2025-05-20,8714
2025-05-27,8717
2025-06-02,8720
2025-06-04,8728
2025-06-07,8730
2025-06-12,8740
2025-06-15,8768
2025-06-18,8768
2025-06-19,8768
2025-06-23,8776
2025-06-25,8776
2025-06-30,8776
2025-07-03,8781
2025-07-05,8781
2025-07-08,8781
2025-07-11,8785
2025-07-12,8785
2025-07-13,8785
2025-07-13,8785
2025-07-16,8785
2025-07-16,8786
2025-07-18,8786
2025-07-18,8792
2025-07-23,8797
2025-07-26,8802
2025-07-30,8803
2025-08-01,8803
2025-08-03,8803
2025-08-08,8810
2025-08-08,8810
2025-08-13,8816
2025-08-14,8816
2025-08-19,8816
2025-08-24,8816
2025-08-29,8816
2025-09-05,8816
2025-09-08,8816
2025-09-14,8829
2025-09-15,8829
2025-09-25,8851
2025-09-27,8851
2025-10-02,8860
2025-10-04,8860
2025-10-08,8860
2025-10-13,8860
2025-10-16,8860
2025-10-25,8861
2025-11-01,8861
2025-11-02,8861
2025-11-04,8869
2025-11-07,8870
2025-11-11,8878
2025-11-11,8878
2025-11-15,8878
2025-11-18,8878
2025-11-21,8891
2025-11-23,8891
2025-11-27,8891
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,723 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,391 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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,276 @@
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
2024-10-11,86867
2024-10-11,86866
2024-10-12,86881
2024-10-13,86880
2024-10-15,86883
2024-10-18,86883
2024-10-23,86888
2024-10-26,86889
2024-10-30,86889
2024-11-02,86902
2024-11-07,86907
2024-11-11,86946
2024-11-14,87077
2024-11-19,87107
2024-11-23,87126
2024-11-24,87256
2024-11-28,87336
2024-12-02,87606
2024-12-04,87614
2024-12-06,87618
2024-12-12,87616
2024-12-15,87621
2024-12-16,87621
2024-12-16,87621
2024-12-18,87621
2024-12-20,87621
2024-12-23,87621
2024-12-26,87621
2024-12-27,87621
2024-12-30,87652
2025-01-04,87660
2025-01-06,87663
2025-01-09,87665
2025-01-15,87668
2025-01-21,87671
2025-01-22,87671
2025-01-25,87671
2025-01-26,87671
2025-01-31,87671
2025-02-04,84010
2025-02-12,84015
2025-02-17,84019
2025-02-20,84035
2025-02-22,84035
2025-03-01,84039
2025-03-07,84043
2025-03-09,84043
2025-03-13,84049
2025-03-17,84050
2025-03-21,84014
2025-03-26,84014
2025-03-28,84015
2025-04-01,84015
2025-04-05,84021
2025-04-09,84048
2025-04-12,84043
2025-04-17,84053
2025-04-22,84063
2025-04-25,84065
2025-04-30,84065
2025-05-04,84066
2025-05-08,84066
2025-05-15,84071
2025-05-18,84071
2025-05-20,84078
2025-05-27,84161
2025-06-02,84164
2025-06-04,84172
2025-06-07,84174
2025-06-12,84184
2025-06-15,84213
2025-06-18,84213
2025-06-19,84213
2025-06-23,84221
2025-06-25,84221
2025-06-30,84221
2025-07-03,84236
2025-07-05,84236
2025-07-08,84236
2025-07-11,84240
2025-07-12,84240
2025-07-13,84240
2025-07-13,84240
2025-07-16,84240
2025-07-16,84199
2025-07-18,84199
2025-07-18,84247
2025-07-23,84255
2025-07-26,84260
2025-07-30,84270
2025-08-01,84270
2025-08-03,84270
2025-08-08,84277
2025-08-08,84277
2025-08-13,84283
2025-08-14,84283
2025-08-19,84283
2025-08-24,84283
2025-08-29,84283
2025-09-05,84283
2025-09-08,84295
2025-09-14,84312
2025-09-15,84312
2025-09-25,84334
2025-09-27,84334
2025-10-02,84344
2025-10-04,84344
2025-10-08,84344
2025-10-13,84344
2025-10-16,84344
2025-10-25,84348
2025-11-01,84348
2025-11-02,84348
2025-11-04,84353
2025-11-07,84354
2025-11-11,84362
2025-11-11,84362
2025-11-15,84362
2025-11-18,84362
2025-11-21,84380
2025-11-23,84380
2025-11-27,84380
Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"-pl",
"olx.pl",
"npost",
"blogspot.com",
".ipfs."
]
}
@@ -0,0 +1,724 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,581 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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,275 @@
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
2024-10-11,90083
2024-10-11,90082
2024-10-12,90097
2024-10-13,90096
2024-10-15,90099
2024-10-18,90099
2024-10-23,90104
2024-10-26,90105
2024-10-30,90105
2024-11-02,90118
2024-11-07,90123
2024-11-11,90162
2024-11-14,90293
2024-11-19,90323
2024-11-23,90342
2024-11-24,90472
2024-11-28,90552
2024-12-02,90822
2024-12-04,90830
2024-12-06,90834
2024-12-12,90832
2024-12-15,90837
2024-12-16,90837
2024-12-16,90837
2024-12-18,90837
2024-12-20,90837
2024-12-23,90837
2024-12-26,90837
2024-12-27,90837
2024-12-30,90868
2025-01-04,90876
2025-01-06,90879
2025-01-09,90881
2025-01-15,90884
2025-01-21,90887
2025-01-22,90887
2025-01-25,90887
2025-01-26,90887
2025-01-31,90887
2025-02-04,87226
2025-02-12,87231
2025-02-17,87235
2025-02-20,87251
2025-02-22,87251
2025-03-01,87255
2025-03-07,87259
2025-03-09,87259
2025-03-13,87265
2025-03-17,87266
2025-03-21,87230
2025-03-26,87230
2025-03-28,87231
2025-04-01,87231
2025-04-05,87237
2025-04-09,87264
2025-04-12,87259
2025-04-17,87269
2025-04-22,87279
2025-04-25,87281
2025-04-30,87281
2025-05-04,87282
2025-05-08,87282
2025-05-15,87287
2025-05-18,87287
2025-05-20,87294
2025-05-27,87402
2025-06-02,87405
2025-06-04,87413
2025-06-07,87415
2025-06-12,87425
2025-06-15,87454
2025-06-18,87454
2025-06-19,87454
2025-06-23,87462
2025-06-25,87462
2025-06-30,87462
2025-07-03,87477
2025-07-05,87477
2025-07-08,87477
2025-07-11,87481
2025-07-12,87481
2025-07-13,87481
2025-07-13,87481
2025-07-16,87481
2025-07-16,87437
2025-07-18,87437
2025-07-23,87445
2025-07-26,87450
2025-07-30,87460
2025-08-01,87460
2025-08-03,87460
2025-08-08,87467
2025-08-08,87467
2025-08-13,87473
2025-08-14,87473
2025-08-19,87473
2025-08-24,87473
2025-08-29,87473
2025-09-05,87473
2025-09-08,87485
2025-09-14,87502
2025-09-15,87502
2025-09-25,87524
2025-09-27,87524
2025-10-02,87534
2025-10-04,87534
2025-10-08,87534
2025-10-13,87534
2025-10-16,87534
2025-10-25,87538
2025-11-01,87538
2025-11-02,87538
2025-11-04,87543
2025-11-07,87544
2025-11-11,87552
2025-11-11,87552
2025-11-15,87552
2025-11-18,87552
2025-11-21,87570
2025-11-23,87570
2025-11-27,87570
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+488 -249
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* 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 112,243 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: **December 11 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 173,574 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,72 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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)
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)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -134,9 +208,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -144,61 +224,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -208,51 +292,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.
`--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.
#### Using 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.
`--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.
@@ -262,41 +328,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
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.
@@ -316,77 +393,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -400,40 +577,40 @@ ipconfig /flushdns
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
@@ -441,61 +618,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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,982 @@
2016-12-17,40317
2016-12-18,40363
2016-12-18,41792
2016-12-19,41818
2016-12-20,41895
2016-12-21,41931
2016-12-21,41888
2016-12-22,41924
2016-12-25,41938
2016-12-27,41960
2016-12-28,41980
2017-01-02,41995
2017-01-05,39966
2017-01-05,41996
2017-01-10,42069
2017-01-11,42174
2017-01-14,42170
2017-01-18,42219
2017-01-18,42220
2017-01-20,42237
2017-01-22,42245
2017-01-26,42291
2017-01-31,42330
2017-02-04,42336
2017-02-04,42337
2017-02-07,42316
2017-02-07,42315
2017-02-10,42329
2017-02-11,42331
2017-02-13,42331
2017-02-15,42351
2017-02-17,42347
2017-02-17,42347
2017-02-20,42416
2017-02-22,46316
2017-02-23,46315
2017-02-23,45771
2017-02-24,45763
2017-02-24,45350
2017-02-26,45377
2017-03-01,45433
2017-03-04,45475
2017-03-07,45482
2017-03-10,45632
2017-03-15,45660
2017-03-16,45666
2017-03-20,45676
2017-03-22,45686
2017-03-25,45712
2017-03-30,45797
2017-04-05,45837
2017-04-08,45645
2017-04-08,45645
2017-04-08,45645
2017-04-11,45733
2017-04-13,45658
2017-04-15,45689
2017-04-16,45689
2017-04-17,45708
2017-04-18,45725
2017-04-22,45778
2017-04-25,45811
2017-04-26,45837
2017-05-02,45883
2017-05-07,45922
2017-05-08,45926
2017-05-10,45988
2017-05-13,46096
2017-05-15,46112
2017-05-15,46112
2017-05-16,46177
2017-05-21,46177
2017-05-21,46255
2017-05-23,46279
2017-05-28,46419
2017-05-29,46462
2017-05-30,46472
2017-06-02,46564
2017-06-05,46606
2017-06-11,46675
2017-06-21,46888
2017-06-22,46917
2017-06-24,46838
2017-06-28,46887
2017-07-04,46890
2017-07-10,47029
2017-07-11,47040
2017-07-11,47041
2017-07-12,47055
2017-07-17,46781
2017-07-17,46780
2017-07-18,46720
2017-07-26,46424
2017-07-28,46425
2017-07-31,46454
2017-08-08,46183
2017-08-12,46342
2017-08-15,48845
2017-08-15,48845
2017-08-18,48866
2017-08-18,48621
2017-08-20,48621
2017-08-20,48635
2017-08-20,48635
2017-08-21,48595
2017-08-28,48663
2017-08-31,48655
2017-09-05,48566
2017-09-07,48630
2017-09-13,48663
2017-09-18,48612
2017-09-21,48635
2017-09-29,48654
2017-10-05,48666
2017-10-11,48651
2017-10-15,53010
2017-10-19,52979
2017-10-25,53011
2017-10-25,53038
2017-10-28,53037
2017-11-01,53082
2017-11-04,53100
2017-11-09,53136
2017-11-16,53212
2017-11-25,53261
2017-11-30,53297
2017-12-07,53213
2017-12-11,53223
2017-12-17,55915
2017-12-18,53255
2017-12-21,53263
2017-12-27,53265
2017-12-30,53264
2018-01-01,53284
2018-01-06,55906
2018-01-10,55902
2018-01-13,55812
2018-01-14,55820
2018-01-21,55917
2018-01-22,55919
2018-01-23,55925
2018-01-26,55928
2018-01-26,56031
2018-01-31,55946
2018-02-02,55143
2018-02-08,67876
2018-02-09,67876
2018-02-11,67890
2018-02-13,67864
2018-02-14,67890
2018-02-15,67887
2018-02-20,67855
2018-02-24,71918
2018-02-24,68841
2018-02-25,68834
2018-02-25,68833
2018-02-26,68849
2018-02-28,68869
2018-03-03,68865
2018-03-04,68880
2018-03-04,68802
2018-03-06,68856
2018-03-07,68856
2018-03-08,68851
2018-03-09,68867
2018-03-10,68868
2018-03-12,68892
2018-03-13,68894
2018-03-14,68901
2018-03-15,69400
2018-03-15,68911
2018-03-17,68916
2018-03-17,68916
2018-03-19,68953
2018-03-20,68991
2018-03-22,68995
2018-03-23,73402
2018-03-23,73402
2018-03-24,69481
2018-03-26,69535
2018-03-28,69600
2018-03-29,69592
2018-03-30,69591
2018-04-02,69143
2018-04-02,68637
2018-04-04,68025
2018-04-05,68004
2018-04-06,67949
2018-04-06,67954
2018-04-08,67886
2018-04-12,67902
2018-04-16,67799
2018-04-17,67888
2018-04-19,67827
2018-04-21,67860
2018-04-22,67858
2018-04-24,67868
2018-04-25,67746
2018-04-30,67801
2018-05-02,67580
2018-05-05,67587
2018-05-08,67438
2018-05-12,67465
2018-05-13,67461
2018-05-17,67140
2018-05-19,67149
2018-05-22,67162
2018-05-30,68385
2018-06-02,68406
2018-06-02,68406
2018-06-02,68406
2018-06-05,68621
2018-06-08,69771
2018-06-10,69793
2018-06-14,69907
2018-06-14,69906
2018-06-14,69906
2018-06-14,69906
2018-06-14,69906
2018-06-16,70117
2018-06-17,70311
2018-06-18,70398
2018-06-20,70728
2018-06-24,70779
2018-06-28,70823
2018-06-30,71009
2018-07-04,72521
2018-07-06,75558
2018-07-09,75612
2018-07-11,74380
2018-07-16,74385
2018-07-23,73899
2018-07-26,74086
2018-07-26,74086
2018-07-30,74906
2018-08-01,74970
2018-08-08,75431
2018-08-13,75754
2018-08-19,76683
2018-08-22,76061
2018-08-24,75382
2018-08-25,75302
2018-08-29,74387
2018-09-04,74326
2018-09-05,73591
2018-09-06,73663
2018-09-08,73658
2018-09-13,72842
2018-09-16,71639
2018-09-18,70775
2018-09-23,71067
2018-10-02,71070
2018-10-05,69946
2018-10-09,69896
2018-10-14,69973
2018-10-22,68141
2018-10-23,67875
2018-11-01,67300
2018-11-02,67692
2018-11-14,79942
2018-11-20,79181
2018-11-21,79295
2018-11-26,78474
2018-11-29,79003
2018-12-04,78994
2018-12-11,77650
2018-12-15,77656
2018-12-23,78024
2018-12-29,90483
2018-12-30,77946
2019-01-04,77741
2019-01-10,53208
2019-01-13,53527
2019-01-22,53552
2019-01-26,53775
2019-01-29,53800
2019-02-06,53872
2019-02-11,54624
2019-02-18,54729
2019-02-24,54751
2019-03-02,54741
2019-03-06,54255
2019-03-15,54034
2019-03-21,55862
2019-03-26,55982
2019-04-02,55933
2019-04-07,55891
2019-04-11,55614
2019-04-17,55330
2019-04-25,55641
2019-05-02,58038
2019-05-04,58026
2019-05-05,58031
2019-05-10,57900
2019-05-13,57862
2019-05-23,57899
2019-05-24,57891
2019-05-29,58147
2019-06-05,58138
2019-06-11,58141
2019-06-17,59540
2019-06-19,59551
2019-06-22,59772
2019-06-28,58108
2019-07-04,58157
2019-07-21,58458
2019-07-27,58536
2019-07-31,58559
2019-08-06,59199
2019-08-10,59354
2019-08-13,59633
2019-08-14,59762
2019-08-14,59762
2019-08-22,59916
2019-08-30,59955
2019-09-06,57416
2019-09-09,56829
2019-09-09,57450
2019-09-09,56841
2019-09-10,60036
2019-09-19,60070
2019-09-23,60126
2019-09-29,60178
2019-10-10,57505
2019-10-12,57521
2019-10-15,60738
2019-10-18,60612
2019-10-27,61992
2019-10-27,62746
2019-10-30,62865
2019-10-31,63026
2019-11-03,63181
2019-11-15,62870
2019-11-17,62951
2019-11-20,64120
2019-11-26,64463
2019-11-27,64466
2019-12-02,64485
2019-12-11,61346
2019-12-15,61044
2019-12-20,61086
2019-12-21,61093
2019-12-23,61082
2019-12-30,61117
2020-01-01,61097
2020-01-04,61257
2020-01-06,61225
2020-01-09,61950
2020-01-11,62301
2020-01-14,72651
2020-01-16,72655
2020-01-16,72657
2020-01-16,72659
2020-01-19,72650
2020-01-21,72613
2020-01-23,72378
2020-01-24,71865
2020-01-30,72831
2020-02-03,73095
2020-02-05,73004
2020-02-09,73046
2020-02-14,73154
2020-02-17,73195
2020-02-21,73378
2020-02-22,73378
2020-02-25,73365
2020-02-25,73364
2020-03-01,73509
2020-03-05,73416
2020-03-07,73451
2020-03-11,74349
2020-03-15,75728
2020-03-18,76024
2020-03-21,76443
2020-03-25,76829
2020-03-28,77030
2020-03-29,76993
2020-04-01,77085
2020-04-03,76398
2020-04-03,76398
2020-04-03,77244
2020-04-04,77191
2020-04-06,77274
2020-04-09,77491
2020-04-10,77524
2020-04-11,79994
2020-04-13,80169
2020-04-16,80490
2020-04-18,80607
2020-04-22,80759
2020-04-26,80736
2020-04-28,80670
2020-05-02,81454
2020-05-05,81032
2020-05-05,81163
2020-05-12,83081
2020-05-13,83223
2020-05-13,83226
2020-05-15,83284
2020-05-20,83215
2020-05-26,82902
2020-05-27,82942
2020-06-02,83119
2020-06-09,83034
2020-06-16,83042
2020-06-22,82904
2020-06-25,82964
2020-06-27,82879
2020-07-02,83024
2020-07-02,83023
2020-07-05,82922
2020-07-06,82892
2020-07-13,83080
2020-07-18,83298
2020-07-24,83471
2020-07-29,84391
2020-08-01,84307
2020-08-03,83645
2020-08-06,84153
2020-08-13,84698
2020-08-14,84745
2020-08-15,85136
2020-08-17,84537
2020-08-19,83315
2020-08-25,82997
2020-09-02,83459
2020-09-07,83405
2020-09-14,83978
2020-09-20,83939
2020-09-26,84292
2020-10-03,84364
2020-10-08,84015
2020-10-13,81515
2020-10-14,83147
2020-10-19,85324
2020-10-29,87001
2020-11-01,86687
2020-11-03,88541
2020-11-08,88507
2020-11-10,87991
2020-11-14,86721
2020-11-15,88596
2020-11-16,88628
2020-11-19,86769
2020-11-22,88744
2020-11-25,89455
2020-11-28,89544
2020-12-02,87562
2020-12-09,87992
2020-12-14,88257
2020-12-19,88122
2020-12-26,88085
2020-12-31,87795
2021-01-02,87613
2021-01-05,87836
2021-01-12,87903
2021-01-17,88683
2021-01-22,89350
2021-01-22,89354
2021-01-24,89707
2021-01-31,90013
2021-02-02,90229
2021-02-03,90266
2021-02-08,90878
2021-02-09,90938
2021-02-14,91269
2021-02-16,95939
2021-02-21,96778
2021-02-22,98269
2021-02-26,98526
2021-02-28,98540
2021-03-06,99618
2021-03-09,99962
2021-03-10,101345
2021-03-16,100926
2021-03-21,100838
2021-03-28,101737
2021-03-31,111133
2021-04-04,111463
2021-04-09,112006
2021-04-13,109996
2021-04-19,113344
2021-04-24,116803
2021-04-26,113214
2021-04-26,113442
2021-04-29,114282
2021-05-01,114075
2021-05-04,112625
2021-05-05,112697
2021-05-06,112814
2021-05-06,113191
2021-05-06,113190
2021-05-12,114520
2021-05-15,114898
2021-05-17,114106
2021-05-22,115109
2021-05-25,116467
2021-05-31,116242
2021-06-07,115595
2021-06-16,114539
2021-06-22,113899
2021-06-28,114652
2021-07-01,115409
2021-07-04,115361
2021-07-13,116100
2021-07-18,116622
2021-07-19,112240
2021-07-26,117298
2021-07-29,117885
2021-08-02,119024
2021-08-09,120705
2021-08-17,120175
2021-08-20,120730
2021-08-25,123129
2021-08-26,123788
2021-08-30,122881
2021-09-02,124017
2021-09-06,124845
2021-09-07,126680
2021-09-12,127182
2021-09-17,126912
2021-09-24,131373
2021-09-30,149301
2021-09-30,137029
2021-10-03,139061
2021-10-05,139777
2021-10-12,140653
2021-10-14,141346
2021-10-19,141635
2021-10-23,141736
2021-10-23,141734
2021-10-27,141075
2021-11-04,141684
2021-11-11,141842
2021-11-14,141805
2021-11-17,142247
2021-11-21,144922
2021-11-29,146273
2021-11-29,146254
2021-12-05,145339
2021-12-09,145265
2021-12-12,145502
2021-12-13,146107
2021-12-16,146909
2021-12-19,146970
2021-12-20,147372
2021-12-25,148507
2021-12-30,148360
2021-12-30,148545
2021-12-30,148534
2022-01-02,148397
2022-01-04,148662
2022-01-07,148948
2022-01-11,144229
2022-01-18,146167
2022-01-19,145836
2022-01-21,146515
2022-01-24,149867
2022-01-28,151662
2022-01-30,151807
2022-01-31,148231
2022-02-01,148632
2022-02-07,149349
2022-02-12,151996
2022-02-13,152126
2022-02-13,152122
2022-02-17,152187
2022-02-22,147632
2022-02-26,147806
2022-03-06,151853
2022-03-07,150667
2022-03-09,150982
2022-03-12,151401
2022-03-14,149608
2022-03-19,150220
2022-03-24,182741
2022-03-29,158056
2022-03-31,158534
2022-04-05,160031
2022-04-09,160730
2022-04-13,161533
2022-04-18,161497
2022-04-21,162246
2022-04-25,159331
2022-04-29,150434
2022-05-03,163753
2022-05-05,163993
2022-05-10,161887
2022-05-14,162634
2022-05-19,165561
2022-05-25,193516
2022-05-29,194188
2022-05-31,162726
2022-06-02,163089
2022-06-07,160176
2022-06-09,160539
2022-06-09,160540
2022-06-16,179252
2022-06-21,159049
2022-06-21,159163
2022-06-25,160143
2022-06-29,172509
2022-07-01,172762
2022-07-04,160749
2022-07-13,196285
2022-07-16,186970
2022-07-16,186963
2022-07-18,162948
2022-07-21,181621
2022-07-23,182680
2022-07-25,181772
2022-07-29,182943
2022-08-03,184005
2022-08-09,184092
2022-08-12,184919
2022-08-17,185920
2022-08-20,186938
2022-08-24,187833
2022-08-25,188280
2022-08-31,188105
2022-09-04,188834
2022-09-05,193975
2022-09-08,195035
2022-09-11,195564
2022-09-13,196780
2022-09-17,198381
2022-09-23,206420
2022-10-01,209128
2022-10-06,210419
2022-10-09,210644
2022-10-13,212694
2022-10-15,213235
2022-10-17,213269
2022-10-20,213935
2022-10-27,215880
2022-11-01,217719
2022-11-09,216722
2022-11-12,216646
2022-11-13,216525
2022-11-20,220371
2022-11-21,220302
2022-11-26,218878
2022-11-28,218373
2022-11-29,219357
2022-12-03,219111
2022-12-04,218763
2022-12-05,220150
2022-12-06,221218
2022-12-11,219880
2022-12-13,220599
2022-12-15,224556
2022-12-18,221810
2022-12-20,225251
2022-12-26,223334
2022-12-29,224016
2022-12-29,224108
2023-01-01,224230
2023-01-06,225234
2023-01-08,225365
2023-01-11,227368
2023-01-13,227705
2023-01-19,229955
2023-01-23,230710
2023-01-24,231388
2023-01-27,232803
2023-01-27,232806
2023-01-27,232804
2023-01-31,233306
2023-02-05,235469
2023-02-07,237044
2023-02-07,237045
2023-02-07,237046
2023-02-16,241292
2023-02-19,242483
2023-02-23,243366
2023-02-28,245645
2023-03-03,245356
2023-03-06,245739
2023-03-07,246068
2023-03-10,247935
2023-03-14,249586
2023-03-21,252534
2023-03-25,254173
2023-03-29,255033
2023-04-07,258791
2023-04-11,260040
2023-04-16,261339
2023-04-18,264754
2023-04-19,230804
2023-04-19,230811
2023-04-23,231425
2023-04-26,235194
2023-04-27,235600
2023-04-30,235692
2023-05-02,236591
2023-05-05,237815
2023-05-08,237964
2023-05-11,239837
2023-05-14,241960
2023-05-15,243101
2023-05-20,244327
2023-05-21,244684
2023-05-24,247284
2023-06-02,249892
2023-06-06,251067
2023-06-10,251876
2023-06-11,251952
2023-06-13,252441
2023-06-14,253319
2023-06-14,253996
2023-06-16,255014
2023-06-17,254726
2023-06-18,254513
2023-06-23,256315
2023-06-27,256947
2023-07-01,257598
2023-07-06,259207
2023-07-09,259684
2023-07-14,261405
2023-07-15,261507
2023-07-21,263277
2023-07-23,263469
2023-07-27,264764
2023-08-01,266011
2023-08-04,268149
2023-08-05,268237
2023-08-08,273393
2023-08-05,268237
2023-08-08,273393
2023-08-13,275058
2023-08-17,275867
2023-08-21,276833
2023-08-22,277207
2023-08-26,278782
2023-08-28,279007
2023-09-03,278628
2023-09-04,280993
2023-09-05,281803
2023-09-06,281398
2023-09-06,282805
2023-09-08,283685
2023-09-08,283701
2023-09-10,259146
2023-09-14,259181
2023-09-17,235664
2023-09-21,202022
2023-09-24,202618
2023-09-25,201593
2023-09-30,201887
2023-10-02,202266
2023-10-04,203655
2023-10-08,204714
2023-10-12,208503
2023-10-13,209221
2023-10-17,210098
2023-10-18,210593
2023-10-21,212275
2023-10-23,212462
2023-10-27,214882
2023-11-01,216022
2023-11-02,216775
2023-11-03,217300
2023-11-08,219241
2023-11-11,220145
2023-11-13,220769
2023-11-19,223168
2023-11-21,224153
2023-11-24,225714
2023-11-25,226069
2023-11-25,226064
2023-11-25,226101
2023-11-26,226172
2023-11-26,226204
2023-12-01,210215
2023-12-03,212364
2023-12-12,209855
2023-12-16,211644
2023-12-17,211838
2023-12-17,211859
2023-12-25,212960
2023-12-30,214132
2024-01-03,215574
2024-01-06,216886
2024-01-13,221399
2024-01-17,222654
2024-01-21,223877
2024-01-27,226535
2024-01-30,227820
2024-02-06,231138
2024-02-10,220057
2024-02-12,221071
2024-02-15,223645
2024-02-24,257600
2024-02-25,257673
2024-02-28,261294
2024-03-04,264984
2024-03-09,269854
2024-03-15,274270
2024-03-19,277008
2024-03-23,279733
2024-03-28,282016
2024-04-02,282969
2024-04-04,227586
2024-04-09,220952
2024-04-11,221500
2024-04-18,221948
2024-04-22,223756
2024-04-25,225211
2024-05-01,224544
2024-05-03,224948
2024-05-12,229412
2024-05-20,234793
2024-05-27,238681
2024-06-03,241705
2024-06-08,244714
2024-06-14,249657
2024-06-16,250770
2024-06-19,253562
2024-06-21,255794
2024-06-24,256857
2024-06-26,258490
2024-07-01,260535
2024-07-04,262381
2024-07-07,249276
2024-07-11,252007
2024-07-14,253030
2024-07-15,253616
2024-07-20,256186
2024-07-27,256276
2024-07-30,257484
2024-08-02,258852
2024-08-04,259340
2024-08-08,261633
2024-08-11,262704
2024-08-16,265268
2024-08-17,265774
2024-08-20,267268
2024-08-26,269737
2024-08-29,271158
2024-08-30,271630
2024-08-31,271731
2024-09-04,276255
2024-09-06,277272
2024-09-10,265872
2024-09-13,266497
2024-09-16,267477
2024-09-20,266428
2024-09-21,214916
2024-09-22,213814
2024-09-25,214867
2024-09-27,215436
2024-09-27,215437
2024-10-01,215437
2024-10-01,216240
2024-10-01,216240
2024-10-03,206031
2024-10-05,205739
2024-10-07,205214
2024-10-09,205667
2024-10-10,205771
2024-10-11,205771
2024-10-11,206661
2024-10-12,206730
2024-10-13,206778
2024-10-15,206885
2024-10-18,207063
2024-10-23,207626
2024-10-26,207489
2024-10-30,208772
2024-11-02,209580
2024-11-07,210897
2024-11-11,210633
2024-11-14,211111
2024-11-19,211208
2024-11-23,211127
2024-11-24,210767
2024-11-28,211668
2024-12-02,211816
2024-12-04,211873
2024-12-06,211950
2024-12-12,211534
2024-12-15,211353
2024-12-16,211039
2024-12-16,211189
2024-12-18,210772
2024-12-20,210270
2024-12-23,209107
2024-12-26,207992
2024-12-27,207486
2024-12-30,207613
2025-01-04,207274
2025-01-06,205658
2025-01-09,206299
2025-01-15,207360
2025-01-21,208763
2025-01-22,208935
2025-01-25,209386
2025-01-26,208860
2025-01-31,210931
2025-02-04,207864
2025-02-12,210556
2025-02-17,211867
2025-02-20,213612
2025-02-22,213979
2025-03-01,215860
2025-03-07,217785
2025-03-09,217886
2025-03-13,218879
2025-03-17,219052
2025-03-21,221039
2025-03-26,221796
2025-03-28,217337
2025-04-01,218019
2025-04-05,220134
2025-04-09,221518
2025-04-12,222379
2025-04-17,230209
2025-04-22,233967
2025-04-25,239499
2025-04-30,248615
2025-05-04,249803
2025-05-08,252411
2025-05-15,256552
2025-05-18,258647
2025-05-20,259598
2025-05-27,271595
2025-06-02,274474
2025-06-04,277761
2025-06-07,282875
2025-06-12,286581
2025-06-15,288777
2025-06-18,291900
2025-06-19,293100
2025-06-23,296415
2025-06-25,303413
2025-06-30,312376
2025-07-03,317274
2025-07-05,325977
2025-07-08,333899
2025-07-11,339759
2025-07-12,341193
2025-07-13,330579
2025-07-13,330577
2025-07-16,330577
2025-07-16,305309
2025-07-18,305309
2025-07-18,308168
2025-07-23,308215
2025-07-26,311663
2025-07-30,313078
2025-08-01,313985
2025-08-03,314719
2025-08-08,315833
2025-08-08,315833
2025-08-13,316062
2025-08-14,316804
2025-08-19,317681
2025-08-24,321056
2025-08-29,322509
2025-09-05,328876
2025-09-08,332847
2025-09-14,336211
2025-09-15,336689
2025-09-25,168984
2025-09-27,170217
2025-10-02,171045
2025-10-04,169017
2025-10-08,168965
2025-10-13,168664
2025-10-16,169529
2025-10-25,190310
2025-11-01,196229
2025-11-02,195662
2025-11-04,196632
2025-11-07,198287
2025-11-11,195708
2025-11-11,195654
2025-11-15,198652
2025-11-18,189601
2025-11-21,185298
2025-11-23,185298
2025-11-27,176045
Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+487 -247
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 109,429 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: **December 11 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 170,362 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,70 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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)
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)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -132,9 +207,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -142,61 +223,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -206,51 +291,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.
`--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.
#### Using 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.
`--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.
@@ -260,41 +327,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
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.
@@ -314,77 +392,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -398,40 +576,40 @@ ipconfig /flushdns
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
@@ -439,61 +617,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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!.
+982
View File
@@ -0,0 +1,982 @@
2016-12-17,40087
2016-12-18,40133
2016-12-18,41562
2016-12-19,41588
2016-12-20,41665
2016-12-21,41701
2016-12-21,41658
2016-12-22,41694
2016-12-25,41708
2016-12-27,41730
2016-12-28,41750
2017-01-02,41765
2017-01-05,39736
2017-01-05,41766
2017-01-10,41839
2017-01-11,41944
2017-01-14,41940
2017-01-18,41989
2017-01-18,41990
2017-01-20,42007
2017-01-22,42015
2017-01-26,42061
2017-01-31,42100
2017-02-04,42106
2017-02-04,42106
2017-02-07,42085
2017-02-07,42084
2017-02-10,42098
2017-02-11,42100
2017-02-13,42100
2017-02-15,42120
2017-02-17,42116
2017-02-17,42116
2017-02-20,42185
2017-02-22,46085
2017-02-23,46084
2017-02-23,45540
2017-02-24,45532
2017-02-24,45119
2017-02-26,45146
2017-03-01,45202
2017-03-04,45244
2017-03-07,45250
2017-03-10,45400
2017-03-15,45428
2017-03-16,45434
2017-03-20,45444
2017-03-22,45454
2017-03-25,45480
2017-03-30,45565
2017-04-05,45605
2017-04-08,45413
2017-04-08,45413
2017-04-08,45413
2017-04-11,45501
2017-04-13,45425
2017-04-15,45456
2017-04-16,45456
2017-04-17,45475
2017-04-18,45492
2017-04-22,45545
2017-04-25,45578
2017-04-26,45604
2017-05-02,45650
2017-05-07,45689
2017-05-08,45693
2017-05-10,45755
2017-05-13,45863
2017-05-15,45879
2017-05-15,45879
2017-05-16,45944
2017-05-21,45944
2017-05-21,46022
2017-05-23,46046
2017-05-28,46186
2017-05-29,46229
2017-05-30,46239
2017-06-02,46331
2017-06-05,46373
2017-06-11,46442
2017-06-21,46655
2017-06-22,46684
2017-06-24,46605
2017-06-28,46654
2017-07-04,46657
2017-07-10,46796
2017-07-11,46807
2017-07-11,46808
2017-07-12,46822
2017-07-17,46548
2017-07-17,46547
2017-07-18,46487
2017-07-26,46191
2017-07-28,46192
2017-07-31,46221
2017-08-08,45950
2017-08-12,46109
2017-08-15,48612
2017-08-15,48612
2017-08-18,48633
2017-08-18,48388
2017-08-20,48388
2017-08-20,48402
2017-08-20,48402
2017-08-21,48362
2017-08-28,48430
2017-08-31,48422
2017-09-05,48333
2017-09-07,48397
2017-09-13,48430
2017-09-18,48379
2017-09-21,48402
2017-09-29,48421
2017-10-05,48433
2017-10-11,48418
2017-10-15,52777
2017-10-19,52746
2017-10-25,52778
2017-10-25,52805
2017-10-28,52804
2017-11-01,52849
2017-11-04,52867
2017-11-09,52903
2017-11-16,52979
2017-11-25,53028
2017-11-30,53064
2017-12-07,52980
2017-12-11,52990
2017-12-17,55683
2017-12-18,53022
2017-12-21,53030
2017-12-27,53032
2017-12-30,53031
2018-01-01,53051
2018-01-06,54758
2018-01-10,54754
2018-01-13,54664
2018-01-14,54672
2018-01-21,54769
2018-01-22,54771
2018-01-23,54777
2018-01-26,54780
2018-01-26,54883
2018-01-31,54798
2018-02-02,53995
2018-02-08,66728
2018-02-09,66728
2018-02-11,66743
2018-02-13,66717
2018-02-14,66743
2018-02-15,66740
2018-02-20,66708
2018-02-24,70771
2018-02-24,67694
2018-02-25,67687
2018-02-25,67686
2018-02-26,67702
2018-02-28,67722
2018-03-03,67718
2018-03-04,67733
2018-03-04,67655
2018-03-06,67709
2018-03-07,67709
2018-03-08,67704
2018-03-09,67720
2018-03-10,67721
2018-03-12,67745
2018-03-13,67747
2018-03-14,67754
2018-03-15,68253
2018-03-15,67764
2018-03-17,67769
2018-03-17,67769
2018-03-19,67806
2018-03-20,67844
2018-03-22,67848
2018-03-23,72261
2018-03-23,72261
2018-03-24,68334
2018-03-26,68388
2018-03-28,68453
2018-03-29,68445
2018-03-30,68444
2018-04-02,67996
2018-04-02,67490
2018-04-04,66878
2018-04-05,66857
2018-04-06,66802
2018-04-06,66807
2018-04-08,66739
2018-04-12,66755
2018-04-16,66652
2018-04-17,66741
2018-04-19,66680
2018-04-21,66713
2018-04-22,66711
2018-04-24,66721
2018-04-25,66599
2018-04-30,66654
2018-05-02,66433
2018-05-05,66440
2018-05-08,66291
2018-05-12,66313
2018-05-13,66309
2018-05-17,65988
2018-05-19,65997
2018-05-22,66010
2018-05-30,67232
2018-06-02,67250
2018-06-02,67250
2018-06-02,67250
2018-06-05,67465
2018-06-08,68615
2018-06-10,68637
2018-06-14,68752
2018-06-14,68751
2018-06-14,68750
2018-06-14,68750
2018-06-14,68750
2018-06-16,68961
2018-06-17,69155
2018-06-18,69242
2018-06-20,69572
2018-06-24,69623
2018-06-28,69667
2018-06-30,69853
2018-07-04,71365
2018-07-06,74402
2018-07-09,74455
2018-07-11,73223
2018-07-16,73228
2018-07-23,72742
2018-07-26,72929
2018-07-26,72929
2018-07-30,73749
2018-08-01,73813
2018-08-08,74274
2018-08-13,74597
2018-08-19,75524
2018-08-22,74902
2018-08-24,74224
2018-08-25,74144
2018-08-29,73229
2018-09-04,73168
2018-09-05,72433
2018-09-06,72505
2018-09-08,72500
2018-09-13,71684
2018-09-16,70481
2018-09-18,69617
2018-09-23,69909
2018-10-02,69912
2018-10-05,68788
2018-10-09,68738
2018-10-14,68815
2018-10-22,66983
2018-10-23,66717
2018-11-01,66142
2018-11-02,66534
2018-11-14,78784
2018-11-20,78023
2018-11-21,78137
2018-11-26,77316
2018-11-29,77844
2018-12-04,77835
2018-12-11,76491
2018-12-15,76497
2018-12-23,76865
2018-12-29,89324
2018-12-30,76787
2019-01-04,76582
2019-01-10,52048
2019-01-13,52051
2019-01-22,52076
2019-01-26,52299
2019-01-29,52324
2019-02-06,52396
2019-02-11,52341
2019-02-18,52446
2019-02-24,52468
2019-03-02,52458
2019-03-06,51972
2019-03-15,51751
2019-03-21,53579
2019-03-26,53699
2019-04-02,53650
2019-04-07,53608
2019-04-11,53331
2019-04-17,53047
2019-04-25,53354
2019-05-02,55751
2019-05-04,55739
2019-05-05,55744
2019-05-10,55612
2019-05-13,55574
2019-05-23,55613
2019-05-24,55605
2019-05-29,55861
2019-06-05,55853
2019-06-11,55856
2019-06-17,57255
2019-06-19,57266
2019-06-22,57298
2019-06-28,55634
2019-07-04,55683
2019-07-21,55984
2019-07-27,56062
2019-07-31,56085
2019-08-06,56725
2019-08-10,56880
2019-08-13,57159
2019-08-14,57288
2019-08-14,57288
2019-08-22,57442
2019-08-30,57481
2019-09-06,54942
2019-09-09,54355
2019-09-09,54976
2019-09-09,54367
2019-09-10,57562
2019-09-19,57596
2019-09-23,57652
2019-09-29,57704
2019-10-10,55031
2019-10-12,55047
2019-10-15,58264
2019-10-18,58138
2019-10-27,59518
2019-10-27,60272
2019-10-30,60391
2019-10-31,60552
2019-11-03,60707
2019-11-15,60396
2019-11-17,60477
2019-11-20,61646
2019-11-26,61989
2019-11-27,61992
2019-12-02,62011
2019-12-11,58872
2019-12-15,58569
2019-12-20,58611
2019-12-21,58618
2019-12-23,58607
2019-12-30,58642
2020-01-01,58622
2020-01-04,58782
2020-01-06,58750
2020-01-09,59475
2020-01-11,59826
2020-01-14,70184
2020-01-16,70188
2020-01-16,70190
2020-01-16,70192
2020-01-19,70183
2020-01-21,70146
2020-01-23,69911
2020-01-24,69398
2020-01-30,70364
2020-02-03,70628
2020-02-05,70537
2020-02-09,70579
2020-02-14,70687
2020-02-17,70728
2020-02-21,70911
2020-02-22,70911
2020-02-25,70898
2020-02-25,70897
2020-03-01,71042
2020-03-05,70949
2020-03-07,70984
2020-03-11,71600
2020-03-15,72979
2020-03-18,73275
2020-03-21,73694
2020-03-25,74080
2020-03-28,74281
2020-03-29,74244
2020-04-01,74335
2020-04-03,73648
2020-04-03,73648
2020-04-03,74494
2020-04-04,74441
2020-04-06,74524
2020-04-09,74741
2020-04-10,74774
2020-04-11,77244
2020-04-13,77419
2020-04-16,77740
2020-04-18,77857
2020-04-22,78009
2020-04-26,77986
2020-04-28,77920
2020-05-02,78704
2020-05-05,78282
2020-05-05,78413
2020-05-12,80331
2020-05-13,80473
2020-05-13,80476
2020-05-15,80534
2020-05-20,80465
2020-05-26,80152
2020-05-27,80192
2020-06-02,80363
2020-06-09,80278
2020-06-16,80286
2020-06-22,80148
2020-06-25,80208
2020-06-27,80123
2020-07-02,80268
2020-07-02,80267
2020-07-05,80166
2020-07-06,80136
2020-07-13,80324
2020-07-18,80542
2020-07-24,80715
2020-07-29,81635
2020-08-01,81551
2020-08-03,80889
2020-08-06,81397
2020-08-13,81942
2020-08-14,81989
2020-08-15,82380
2020-08-17,81781
2020-08-19,80559
2020-08-25,80241
2020-09-02,80703
2020-09-07,80649
2020-09-14,81222
2020-09-20,81183
2020-09-26,81536
2020-10-03,81608
2020-10-08,81259
2020-10-13,78759
2020-10-14,80391
2020-10-19,82568
2020-10-29,84245
2020-11-01,83931
2020-11-03,85785
2020-11-08,85751
2020-11-10,85235
2020-11-14,83964
2020-11-15,85839
2020-11-16,85871
2020-11-19,84012
2020-11-22,85987
2020-11-25,86698
2020-11-28,86787
2020-12-02,84805
2020-12-09,85235
2020-12-14,85500
2020-12-19,85364
2020-12-26,85327
2020-12-31,85037
2021-01-02,84855
2021-01-05,85078
2021-01-12,85145
2021-01-17,85925
2021-01-22,86592
2021-01-22,86596
2021-01-24,86949
2021-01-31,87217
2021-02-02,87433
2021-02-03,87470
2021-02-08,88082
2021-02-09,88142
2021-02-14,88465
2021-02-16,93135
2021-02-21,93974
2021-02-22,95465
2021-02-26,95722
2021-02-28,95736
2021-03-06,96814
2021-03-09,97158
2021-03-10,98541
2021-03-16,98122
2021-03-21,98034
2021-03-28,98933
2021-03-31,108329
2021-04-04,108659
2021-04-09,109202
2021-04-13,107192
2021-04-19,110540
2021-04-24,113999
2021-04-26,110410
2021-04-26,110638
2021-04-29,111478
2021-05-01,111271
2021-05-04,109821
2021-05-05,109893
2021-05-06,110010
2021-05-06,110387
2021-05-06,110386
2021-05-12,111716
2021-05-15,112094
2021-05-17,111302
2021-05-22,112305
2021-05-25,113663
2021-05-31,113438
2021-06-07,112791
2021-06-16,111735
2021-06-22,111095
2021-06-28,111838
2021-07-01,112595
2021-07-04,112547
2021-07-13,113286
2021-07-18,113808
2021-07-19,109426
2021-07-26,114484
2021-07-29,115071
2021-08-02,116210
2021-08-09,117893
2021-08-17,117363
2021-08-20,117918
2021-08-25,120317
2021-08-26,120976
2021-08-30,120069
2021-09-02,121205
2021-09-06,122033
2021-09-07,123868
2021-09-12,124370
2021-09-17,124100
2021-09-24,128561
2021-09-30,146489
2021-09-30,134217
2021-10-03,136249
2021-10-05,136965
2021-10-12,137841
2021-10-14,138534
2021-10-19,138823
2021-10-23,138924
2021-10-23,138922
2021-10-27,138263
2021-11-04,138872
2021-11-11,139028
2021-11-14,138991
2021-11-17,139433
2021-11-21,142108
2021-11-29,143462
2021-11-29,143443
2021-12-05,142528
2021-12-09,142453
2021-12-12,142690
2021-12-13,143295
2021-12-16,144095
2021-12-19,144156
2021-12-20,144558
2021-12-25,145693
2021-12-30,145546
2021-12-30,145731
2021-12-30,145720
2022-01-02,145583
2022-01-04,145848
2022-01-07,146134
2022-01-11,141415
2022-01-18,143353
2022-01-19,143022
2022-01-21,143701
2022-01-24,147053
2022-01-28,148848
2022-01-30,148993
2022-01-31,145417
2022-02-01,145818
2022-02-07,146535
2022-02-12,149183
2022-02-13,149312
2022-02-13,149308
2022-02-17,149373
2022-02-22,144818
2022-02-26,144992
2022-03-06,149039
2022-03-07,147853
2022-03-09,148168
2022-03-12,148587
2022-03-14,146794
2022-03-19,147406
2022-03-24,179927
2022-03-29,155242
2022-03-31,155720
2022-04-05,157217
2022-04-09,157916
2022-04-13,158719
2022-04-18,158683
2022-04-21,159432
2022-04-25,156517
2022-04-29,147620
2022-05-03,160939
2022-05-05,161179
2022-05-10,159073
2022-05-14,159820
2022-05-19,162747
2022-05-25,190702
2022-05-29,191374
2022-05-31,159912
2022-06-02,160275
2022-06-07,157362
2022-06-09,157725
2022-06-09,157726
2022-06-16,176438
2022-06-21,156235
2022-06-21,156349
2022-06-25,157329
2022-06-29,169695
2022-07-01,169948
2022-07-04,157935
2022-07-13,193471
2022-07-16,184156
2022-07-16,184149
2022-07-18,160134
2022-07-21,178807
2022-07-23,179866
2022-07-25,178958
2022-07-29,180118
2022-08-03,181180
2022-08-09,181267
2022-08-12,182094
2022-08-17,183095
2022-08-20,184113
2022-08-24,185008
2022-08-25,185455
2022-08-31,185280
2022-09-04,186009
2022-09-05,191150
2022-09-08,192210
2022-09-11,192739
2022-09-13,193955
2022-09-17,195556
2022-09-23,203595
2022-10-01,206303
2022-10-06,207595
2022-10-09,207820
2022-10-13,209870
2022-10-15,210411
2022-10-17,210445
2022-10-20,211111
2022-10-27,213056
2022-11-01,214895
2022-11-09,213898
2022-11-12,213822
2022-11-13,213701
2022-11-20,217547
2022-11-21,217478
2022-11-26,216054
2022-11-28,215549
2022-11-29,216533
2022-12-03,216287
2022-12-04,215939
2022-12-05,217326
2022-12-06,218394
2022-12-11,217056
2022-12-13,217775
2022-12-15,221732
2022-12-18,218986
2022-12-20,222427
2022-12-26,220510
2022-12-29,221192
2022-12-29,221284
2023-01-01,221406
2023-01-06,222410
2023-01-08,222541
2023-01-11,224544
2023-01-13,224881
2023-01-19,227131
2023-01-23,227886
2023-01-24,228564
2023-01-27,229979
2023-01-27,229982
2023-01-27,229980
2023-01-31,230482
2023-02-05,232645
2023-02-07,234221
2023-02-07,234222
2023-02-07,234223
2023-02-16,238469
2023-02-19,239660
2023-02-23,240543
2023-02-28,242822
2023-03-03,242533
2023-03-06,242916
2023-03-07,243245
2023-03-10,245112
2023-03-14,246763
2023-03-21,249711
2023-03-25,251350
2023-03-29,252210
2023-04-07,255968
2023-04-11,257217
2023-04-16,258516
2023-04-18,261931
2023-04-19,227981
2023-04-19,227988
2023-04-23,228602
2023-04-26,232371
2023-04-27,232777
2023-04-30,232869
2023-05-02,233768
2023-05-05,234992
2023-05-08,235141
2023-05-11,237014
2023-05-14,239137
2023-05-15,240278
2023-05-20,241504
2023-05-21,241861
2023-05-24,244461
2023-06-02,247069
2023-06-06,248244
2023-06-10,249053
2023-06-11,249129
2023-06-13,249618
2023-06-14,250496
2023-06-14,251173
2023-06-16,252191
2023-06-17,251903
2023-06-18,251690
2023-06-23,253492
2023-06-27,254124
2023-07-01,254775
2023-07-06,256384
2023-07-09,256861
2023-07-14,258582
2023-07-15,258684
2023-07-21,260454
2023-07-23,260646
2023-07-27,261941
2023-08-01,263188
2023-08-04,265326
2023-08-05,265414
2023-08-08,270570
2023-08-05,265414
2023-08-08,270570
2023-08-13,272235
2023-08-17,273044
2023-08-21,274010
2023-08-22,274384
2023-08-26,275959
2023-08-28,276184
2023-09-03,275805
2023-09-04,278170
2023-09-05,278980
2023-09-06,278575
2023-09-06,279982
2023-09-08,280862
2023-09-08,280878
2023-09-10,256323
2023-09-14,256358
2023-09-17,232841
2023-09-21,199199
2023-09-24,199795
2023-09-25,198770
2023-09-30,199064
2023-10-02,199443
2023-10-04,200832
2023-10-08,201891
2023-10-12,205680
2023-10-13,206398
2023-10-17,207275
2023-10-18,207770
2023-10-21,209452
2023-10-23,209639
2023-10-27,212059
2023-11-01,213199
2023-11-02,213952
2023-11-03,214477
2023-11-08,216418
2023-11-11,217322
2023-11-13,217946
2023-11-19,220345
2023-11-21,221330
2023-11-24,222891
2023-11-25,223246
2023-11-25,223241
2023-11-25,223278
2023-11-26,223349
2023-11-26,223381
2023-12-01,207392
2023-12-03,209541
2023-12-12,207034
2023-12-16,208823
2023-12-17,209016
2023-12-17,209037
2023-12-25,210138
2023-12-30,211310
2024-01-03,212748
2024-01-06,214060
2024-01-13,218573
2024-01-17,219828
2024-01-21,221051
2024-01-27,223709
2024-01-30,224994
2024-02-06,228312
2024-02-10,217231
2024-02-12,218245
2024-02-15,220819
2024-02-24,254773
2024-02-25,254846
2024-02-28,258467
2024-03-04,262156
2024-03-09,267026
2024-03-15,271442
2024-03-19,274180
2024-03-23,276905
2024-03-28,279188
2024-04-02,280141
2024-04-04,224758
2024-04-09,217822
2024-04-11,218370
2024-04-18,218818
2024-04-22,220626
2024-04-25,222020
2024-05-01,221353
2024-05-03,221757
2024-05-12,226221
2024-05-20,231602
2024-05-27,235490
2024-06-03,238514
2024-06-08,241523
2024-06-14,246466
2024-06-16,247579
2024-06-19,250371
2024-06-21,252603
2024-06-24,253666
2024-06-26,255299
2024-07-01,257344
2024-07-04,259190
2024-07-07,246085
2024-07-11,248816
2024-07-14,249839
2024-07-15,250425
2024-07-20,252995
2024-07-27,253085
2024-07-30,254293
2024-08-02,255661
2024-08-04,256149
2024-08-08,258442
2024-08-11,259513
2024-08-16,262077
2024-08-17,262583
2024-08-20,264077
2024-08-26,266546
2024-08-29,267967
2024-08-30,268439
2024-08-31,268540
2024-09-04,273064
2024-09-06,274081
2024-09-10,262681
2024-09-13,263306
2024-09-16,264286
2024-09-20,263237
2024-09-21,211725
2024-09-22,210623
2024-09-25,211676
2024-09-27,212245
2024-09-27,212246
2024-10-01,212246
2024-10-01,213046
2024-10-01,213046
2024-10-03,202837
2024-10-05,202545
2024-10-07,202027
2024-10-09,202480
2024-10-10,202584
2024-10-11,202584
2024-10-11,203474
2024-10-12,203543
2024-10-13,203591
2024-10-15,203698
2024-10-18,203876
2024-10-23,204439
2024-10-26,204302
2024-10-30,205585
2024-11-02,206393
2024-11-07,207710
2024-11-11,207446
2024-11-14,207924
2024-11-19,208021
2024-11-23,207940
2024-11-24,207580
2024-11-28,208481
2024-12-02,208629
2024-12-04,208686
2024-12-06,208763
2024-12-12,208347
2024-12-15,208166
2024-12-16,207852
2024-12-16,208002
2024-12-18,207585
2024-12-20,207083
2024-12-23,205920
2024-12-26,204805
2024-12-27,204299
2024-12-30,204426
2025-01-04,204087
2025-01-06,202471
2025-01-09,203112
2025-01-15,204173
2025-01-21,205576
2025-01-22,205748
2025-01-25,206199
2025-01-26,205673
2025-01-31,207744
2025-02-04,204677
2025-02-12,207369
2025-02-17,208680
2025-02-20,210425
2025-02-22,210792
2025-03-01,212673
2025-03-07,214598
2025-03-09,214699
2025-03-13,215692
2025-03-17,215865
2025-03-21,217852
2025-03-26,218609
2025-03-28,214150
2025-04-01,214832
2025-04-05,216947
2025-04-09,218331
2025-04-12,219192
2025-04-17,227022
2025-04-22,230780
2025-04-25,236312
2025-04-30,245428
2025-05-04,246616
2025-05-08,249224
2025-05-15,253365
2025-05-18,255460
2025-05-20,256411
2025-05-27,268383
2025-06-02,271262
2025-06-04,274549
2025-06-07,279663
2025-06-12,283369
2025-06-15,285565
2025-06-18,288688
2025-06-19,289888
2025-06-23,293203
2025-06-25,300201
2025-06-30,309164
2025-07-03,314062
2025-07-05,322765
2025-07-08,330687
2025-07-11,336547
2025-07-12,337981
2025-07-13,327367
2025-07-13,327365
2025-07-16,327365
2025-07-16,302100
2025-07-18,302100
2025-07-18,304956
2025-07-23,305003
2025-07-26,308451
2025-07-30,309866
2025-08-01,310773
2025-08-03,311507
2025-08-08,312621
2025-08-08,312621
2025-08-13,312850
2025-08-14,313592
2025-08-19,314469
2025-08-24,317844
2025-08-29,319297
2025-09-05,325664
2025-09-08,329635
2025-09-14,332999
2025-09-15,333477
2025-09-25,165772
2025-09-27,167005
2025-10-02,167833
2025-10-04,165805
2025-10-08,165753
2025-10-13,165452
2025-10-16,166317
2025-10-25,187098
2025-11-01,193017
2025-11-02,192450
2025-11-04,193420
2025-11-07,195075
2025-11-11,192496
2025-11-11,192442
2025-11-15,195440
2025-11-18,186389
2025-11-21,182086
2025-11-23,182086
2025-11-27,172833
Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,718 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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 12,144 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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,276 @@
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
2024-10-11,13887
2024-10-11,13886
2024-10-12,13900
2024-10-13,13899
2024-10-15,13902
2024-10-18,13902
2024-10-23,13905
2024-10-26,13906
2024-10-30,13906
2024-11-02,13917
2024-11-07,13921
2024-11-11,13931
2024-11-14,13980
2024-11-19,13980
2024-11-23,13998
2024-11-24,14075
2024-11-28,14075
2024-12-02,14079
2024-12-04,14081
2024-12-06,14085
2024-12-12,14085
2024-12-15,14090
2024-12-16,14090
2024-12-16,14090
2024-12-18,14090
2024-12-20,14090
2024-12-23,14090
2024-12-26,14090
2024-12-27,14090
2024-12-30,14103
2025-01-04,14111
2025-01-06,14112
2025-01-09,14112
2025-01-15,14115
2025-01-21,14116
2025-01-22,14116
2025-01-25,14116
2025-01-26,14116
2025-01-31,14116
2025-02-04,11822
2025-02-12,11825
2025-02-17,11827
2025-02-20,11843
2025-02-22,11843
2025-03-01,11847
2025-03-07,11851
2025-03-09,11851
2025-03-13,11857
2025-03-17,11858
2025-03-21,11871
2025-03-26,11871
2025-03-28,11872
2025-04-01,11872
2025-04-05,11878
2025-04-09,11901
2025-04-12,11901
2025-04-17,11906
2025-04-22,11916
2025-04-25,11918
2025-04-30,11918
2025-05-04,11919
2025-05-08,11919
2025-05-15,11924
2025-05-18,11924
2025-05-20,11931
2025-05-27,11959
2025-06-02,11962
2025-06-04,11970
2025-06-07,11972
2025-06-12,11982
2025-06-15,12010
2025-06-18,12010
2025-06-19,12010
2025-06-23,12018
2025-06-25,12018
2025-06-30,12018
2025-07-03,12023
2025-07-05,12023
2025-07-08,12023
2025-07-11,12027
2025-07-12,12027
2025-07-13,12027
2025-07-13,12027
2025-07-16,12027
2025-07-16,12025
2025-07-18,12025
2025-07-18,12034
2025-07-23,12039
2025-07-26,12044
2025-07-30,12045
2025-08-01,12045
2025-08-03,12045
2025-08-08,12052
2025-08-08,12052
2025-08-13,12058
2025-08-14,12058
2025-08-19,12058
2025-08-24,12058
2025-08-29,12058
2025-09-05,12058
2025-09-08,12058
2025-09-14,12071
2025-09-15,12071
2025-09-25,12093
2025-09-27,12093
2025-10-02,12102
2025-10-04,12102
2025-10-08,12102
2025-10-13,12102
2025-10-16,12102
2025-10-25,12103
2025-11-01,12103
2025-11-02,12103
2025-11-04,12111
2025-11-07,12112
2025-11-11,12120
2025-11-11,12120
2025-11-15,12120
2025-11-18,12120
2025-11-21,12133
2025-11-23,12133
2025-11-27,12133
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+482 -245
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 86,071 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: **December 11 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 98,804 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,68 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -130,9 +202,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -140,61 +218,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -204,51 +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.
`--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.
#### Using 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.
`--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.
@@ -258,41 +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
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.
@@ -312,77 +387,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -396,40 +571,40 @@ ipconfig /flushdns
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
@@ -437,61 +612,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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,982 @@
2016-12-17,34083
2016-12-18,34129
2016-12-18,34157
2016-12-19,34183
2016-12-20,34260
2016-12-21,34292
2016-12-21,34249
2016-12-22,34285
2016-12-25,34299
2016-12-27,34314
2016-12-28,34334
2017-01-02,34349
2017-01-05,32320
2017-01-05,34350
2017-01-10,34423
2017-01-11,34425
2017-01-14,34421
2017-01-18,34470
2017-01-18,34471
2017-01-20,34478
2017-01-22,34415
2017-01-26,34449
2017-01-31,34486
2017-02-04,34493
2017-02-04,34494
2017-02-07,34473
2017-02-07,34472
2017-02-10,34486
2017-02-11,34486
2017-02-13,34486
2017-02-15,34504
2017-02-17,34500
2017-02-17,34500
2017-02-20,34569
2017-02-22,38492
2017-02-23,38491
2017-02-23,37945
2017-02-24,37936
2017-02-24,37523
2017-02-26,37550
2017-03-01,37606
2017-03-04,37648
2017-03-07,37655
2017-03-10,37803
2017-03-15,37834
2017-03-16,37840
2017-03-20,37850
2017-03-22,37859
2017-03-25,37885
2017-03-30,37970
2017-04-05,38010
2017-04-08,37808
2017-04-08,37808
2017-04-08,37808
2017-04-11,37896
2017-04-13,37817
2017-04-15,37848
2017-04-16,37848
2017-04-17,37867
2017-04-18,37884
2017-04-22,37937
2017-04-25,37970
2017-04-26,37996
2017-05-02,38042
2017-05-07,38081
2017-05-08,38081
2017-05-10,38138
2017-05-13,38248
2017-05-15,38264
2017-05-15,38264
2017-05-16,38329
2017-05-21,38329
2017-05-21,38408
2017-05-23,38432
2017-05-28,38574
2017-05-29,38617
2017-05-30,38627
2017-06-02,38718
2017-06-05,38758
2017-06-11,38827
2017-06-21,39040
2017-06-22,39069
2017-06-24,38986
2017-06-28,39035
2017-07-04,39038
2017-07-10,39177
2017-07-11,39188
2017-07-11,39187
2017-07-12,39201
2017-07-17,38927
2017-07-17,38926
2017-07-18,38866
2017-07-26,38571
2017-07-28,38572
2017-07-31,38600
2017-08-08,38329
2017-08-12,38490
2017-08-15,40993
2017-08-15,40993
2017-08-18,41014
2017-08-18,40769
2017-08-20,40769
2017-08-20,40783
2017-08-20,40783
2017-08-21,40743
2017-08-28,40812
2017-08-31,40802
2017-09-05,40713
2017-09-07,40775
2017-09-13,40808
2017-09-18,40754
2017-09-21,40777
2017-09-29,40796
2017-10-05,40808
2017-10-11,40793
2017-10-15,45152
2017-10-19,45121
2017-10-25,45153
2017-10-25,45180
2017-10-28,45179
2017-11-01,45224
2017-11-04,45239
2017-11-09,45275
2017-11-16,45351
2017-11-25,45400
2017-11-30,45436
2017-12-07,45350
2017-12-11,45360
2017-12-17,48052
2017-12-18,45392
2017-12-21,45400
2017-12-27,45402
2017-12-30,45401
2018-01-01,45401
2018-01-06,46443
2018-01-10,46439
2018-01-13,46346
2018-01-14,46353
2018-01-21,46386
2018-01-22,46388
2018-01-23,46394
2018-01-26,46397
2018-01-26,46500
2018-01-31,46413
2018-02-02,45605
2018-02-08,58370
2018-02-09,58370
2018-02-11,58384
2018-02-13,58358
2018-02-14,58358
2018-02-15,58355
2018-02-20,58321
2018-02-24,62384
2018-02-24,59307
2018-02-25,59300
2018-02-25,59299
2018-02-26,59315
2018-02-28,59335
2018-03-03,59331
2018-03-04,59346
2018-03-04,59264
2018-03-06,59318
2018-03-07,59318
2018-03-08,59313
2018-03-09,59329
2018-03-10,59330
2018-03-12,59354
2018-03-13,59356
2018-03-14,59363
2018-03-15,59862
2018-03-15,59373
2018-03-17,59378
2018-03-17,59378
2018-03-19,59415
2018-03-20,59453
2018-03-22,59457
2018-03-23,63897
2018-03-23,63897
2018-03-24,59943
2018-03-26,59997
2018-03-28,60062
2018-03-29,60054
2018-03-30,60053
2018-04-02,59606
2018-04-02,59100
2018-04-04,58488
2018-04-05,58465
2018-04-06,58409
2018-04-06,58414
2018-04-08,58347
2018-04-12,58363
2018-04-16,58259
2018-04-17,58257
2018-04-19,57977
2018-04-21,58010
2018-04-22,58008
2018-04-24,58020
2018-04-25,57895
2018-04-30,57949
2018-05-02,57726
2018-05-05,57732
2018-05-08,57583
2018-05-12,57610
2018-05-13,57606
2018-05-17,57285
2018-05-19,57286
2018-05-22,57299
2018-05-30,58468
2018-06-02,58487
2018-06-02,58487
2018-06-02,58487
2018-06-05,58702
2018-06-08,59850
2018-06-10,59872
2018-06-14,59986
2018-06-14,59985
2018-06-14,59985
2018-06-14,59985
2018-06-14,59985
2018-06-16,60204
2018-06-17,60398
2018-06-18,60485
2018-06-20,60815
2018-06-24,60865
2018-06-28,60898
2018-06-30,61026
2018-07-04,62519
2018-07-06,65555
2018-07-09,65533
2018-07-11,64300
2018-07-16,64305
2018-07-23,63822
2018-07-26,64009
2018-07-26,64009
2018-07-30,64829
2018-08-01,64893
2018-08-08,65354
2018-08-13,65677
2018-08-19,66604
2018-08-22,65982
2018-08-24,65301
2018-08-25,65221
2018-08-29,64301
2018-09-04,64240
2018-09-05,63502
2018-09-06,63574
2018-09-08,63565
2018-09-13,62746
2018-09-16,61544
2018-09-18,60679
2018-09-23,60892
2018-10-02,60893
2018-10-05,59766
2018-10-09,59680
2018-10-14,59756
2018-10-22,57917
2018-10-23,57651
2018-11-01,57073
2018-11-02,57465
2018-11-14,69708
2018-11-20,68945
2018-11-21,69057
2018-11-26,68195
2018-11-29,68716
2018-12-04,68707
2018-12-11,67363
2018-12-15,67369
2018-12-23,67737
2018-12-29,80196
2018-12-30,67659
2019-01-04,67453
2019-01-10,42920
2019-01-13,43237
2019-01-22,43263
2019-01-26,43486
2019-01-29,43511
2019-02-06,43583
2019-02-11,44211
2019-02-18,44177
2019-02-24,44199
2019-03-02,44190
2019-03-06,43703
2019-03-15,43476
2019-03-21,43420
2019-03-26,43544
2019-04-02,43495
2019-04-07,43453
2019-04-11,43171
2019-04-17,42803
2019-04-25,42898
2019-05-02,44537
2019-05-04,44483
2019-05-05,44486
2019-05-10,44351
2019-05-13,44313
2019-05-23,44348
2019-05-24,44340
2019-05-29,44597
2019-06-05,44588
2019-06-11,44590
2019-06-17,45989
2019-06-19,45998
2019-06-22,46217
2019-06-28,46272
2019-07-04,46319
2019-07-21,46620
2019-07-27,46623
2019-07-31,46644
2019-08-06,47284
2019-08-10,47438
2019-08-13,47717
2019-08-14,47781
2019-08-14,47781
2019-08-22,47856
2019-08-30,47893
2019-09-06,45333
2019-09-09,44746
2019-09-09,45367
2019-09-09,44758
2019-09-10,47953
2019-09-19,47987
2019-09-23,48042
2019-09-29,48094
2019-10-10,45421
2019-10-12,45437
2019-10-15,48654
2019-10-18,48515
2019-10-27,48564
2019-10-27,48566
2019-10-30,48592
2019-10-31,48688
2019-11-03,48692
2019-11-15,48381
2019-11-17,48444
2019-11-20,48526
2019-11-26,48823
2019-11-27,48824
2019-12-02,48843
2019-12-11,45704
2019-12-15,45400
2019-12-20,45361
2019-12-21,45366
2019-12-23,45355
2019-12-30,45388
2020-01-01,45365
2020-01-04,45525
2020-01-06,45493
2020-01-09,46214
2020-01-11,46565
2020-01-14,56921
2020-01-16,56925
2020-01-16,56927
2020-01-16,56929
2020-01-19,56920
2020-01-21,56883
2020-01-23,56648
2020-01-24,56130
2020-01-30,57096
2020-02-03,57360
2020-02-05,57269
2020-02-09,57311
2020-02-14,57419
2020-02-17,57460
2020-02-21,57410
2020-02-22,57410
2020-02-25,57397
2020-02-25,57396
2020-03-01,57541
2020-03-05,57446
2020-03-07,57480
2020-03-11,57986
2020-03-15,59267
2020-03-18,59515
2020-03-21,59877
2020-03-25,60055
2020-03-28,60256
2020-03-29,60190
2020-04-01,60281
2020-04-03,59585
2020-04-03,59585
2020-04-03,60440
2020-04-04,60387
2020-04-06,60470
2020-04-09,60687
2020-04-10,60719
2020-04-11,60734
2020-04-13,60691
2020-04-16,61008
2020-04-18,61125
2020-04-22,61278
2020-04-26,61240
2020-04-28,61174
2020-05-02,61961
2020-05-05,61498
2020-05-05,61633
2020-05-12,63551
2020-05-13,63693
2020-05-13,63696
2020-05-15,63754
2020-05-20,63686
2020-05-26,63373
2020-05-27,63413
2020-06-02,63568
2020-06-09,63483
2020-06-16,63484
2020-06-22,63344
2020-06-25,63402
2020-06-27,63317
2020-07-02,63462
2020-07-02,63461
2020-07-05,63359
2020-07-06,63329
2020-07-13,63486
2020-07-18,63682
2020-07-24,63740
2020-07-29,64630
2020-08-01,64529
2020-08-03,63857
2020-08-06,64365
2020-08-13,65105
2020-08-14,65152
2020-08-15,65109
2020-08-17,64510
2020-08-19,63282
2020-08-25,62914
2020-09-02,63376
2020-09-07,63322
2020-09-14,63895
2020-09-20,63856
2020-09-26,64209
2020-10-03,64259
2020-10-08,63910
2020-10-13,63548
2020-10-14,62741
2020-10-19,64818
2020-10-29,65983
2020-11-01,65670
2020-11-03,67524
2020-11-08,67490
2020-11-10,66969
2020-11-14,65094
2020-11-15,66969
2020-11-16,67001
2020-11-19,65142
2020-11-22,67117
2020-11-25,67399
2020-11-28,67488
2020-12-02,65506
2020-12-09,65936
2020-12-14,66202
2020-12-19,66064
2020-12-26,66027
2020-12-31,65737
2021-01-02,65555
2021-01-05,65778
2021-01-12,65845
2021-01-17,66167
2021-01-22,66834
2021-01-22,66838
2021-01-24,67197
2021-01-31,67502
2021-02-02,67718
2021-02-03,67755
2021-02-08,67881
2021-02-09,67941
2021-02-14,68267
2021-02-16,70284
2021-02-21,71114
2021-02-22,72614
2021-02-26,72871
2021-02-28,72885
2021-03-06,73434
2021-03-09,73778
2021-03-10,75161
2021-03-16,74782
2021-03-21,74694
2021-03-28,75593
2021-03-31,84989
2021-04-04,85319
2021-04-09,85862
2021-04-13,83852
2021-04-19,87189
2021-04-24,90650
2021-04-26,87061
2021-04-26,87289
2021-04-29,88129
2021-05-01,87922
2021-05-04,86472
2021-05-05,86544
2021-05-06,86661
2021-05-06,87038
2021-05-06,87037
2021-05-12,88373
2021-05-15,88759
2021-05-17,87967
2021-05-22,88970
2021-05-25,90328
2021-05-31,90103
2021-06-07,89456
2021-06-16,88493
2021-06-22,87853
2021-06-28,88502
2021-07-01,89259
2021-07-04,89211
2021-07-13,89950
2021-07-18,90450
2021-07-19,86068
2021-07-26,91126
2021-07-29,91713
2021-08-02,92852
2021-08-09,94533
2021-08-17,94003
2021-08-20,94558
2021-08-25,96957
2021-08-26,97616
2021-08-30,96611
2021-09-02,97701
2021-09-06,98122
2021-09-07,99957
2021-09-12,100459
2021-09-17,100189
2021-09-24,101570
2021-09-30,110716
2021-09-30,98444
2021-10-03,98715
2021-10-05,99362
2021-10-12,100238
2021-10-14,100931
2021-10-19,101184
2021-10-23,101275
2021-10-23,101275
2021-10-27,100645
2021-11-04,101256
2021-11-11,101414
2021-11-14,101377
2021-11-17,101819
2021-11-21,104500
2021-11-29,105843
2021-11-29,105824
2021-12-05,104909
2021-12-09,104835
2021-12-12,105072
2021-12-13,105677
2021-12-16,106462
2021-12-19,106523
2021-12-20,106925
2021-12-25,108060
2021-12-30,107913
2021-12-30,108098
2021-12-30,108087
2022-01-02,107938
2022-01-04,108203
2022-01-07,108489
2022-01-11,103761
2022-01-18,105145
2022-01-19,104814
2022-01-21,105474
2022-01-24,108826
2022-01-28,110621
2022-01-30,110766
2022-01-31,107190
2022-02-01,107591
2022-02-07,108308
2022-02-12,109351
2022-02-13,109481
2022-02-13,109478
2022-02-17,109541
2022-02-22,104986
2022-02-26,105160
2022-03-06,109207
2022-03-07,108021
2022-03-09,108336
2022-03-12,108755
2022-03-14,106962
2022-03-19,107574
2022-03-24,140095
2022-03-29,115410
2022-03-31,115888
2022-04-05,117146
2022-04-09,117845
2022-04-13,118582
2022-04-18,118546
2022-04-21,119295
2022-04-25,116380
2022-04-29,107483
2022-05-03,120802
2022-05-05,121042
2022-05-10,118936
2022-05-14,119683
2022-05-19,122610
2022-05-25,150565
2022-05-29,151081
2022-05-31,119619
2022-06-02,119982
2022-06-07,117069
2022-06-09,117432
2022-06-09,117433
2022-06-16,136145
2022-06-21,115942
2022-06-21,116056
2022-06-25,117036
2022-06-29,129402
2022-07-01,129655
2022-07-04,117642
2022-07-13,153178
2022-07-16,143863
2022-07-16,143856
2022-07-18,119841
2022-07-21,138514
2022-07-23,139301
2022-07-25,138393
2022-07-29,139549
2022-08-03,140611
2022-08-09,140698
2022-08-12,141525
2022-08-17,142526
2022-08-20,143452
2022-08-24,144077
2022-08-25,144524
2022-08-31,144350
2022-09-04,145079
2022-09-05,149325
2022-09-08,150280
2022-09-11,150782
2022-09-13,151671
2022-09-17,153003
2022-09-23,161042
2022-10-01,163174
2022-10-06,164464
2022-10-09,164689
2022-10-13,166739
2022-10-15,167280
2022-10-17,167314
2022-10-20,167980
2022-10-27,169913
2022-11-01,171702
2022-11-09,170309
2022-11-12,170238
2022-11-13,170117
2022-11-20,173866
2022-11-21,173799
2022-11-26,172367
2022-11-28,171859
2022-11-29,172798
2022-12-03,172552
2022-12-04,172204
2022-12-05,173590
2022-12-06,174653
2022-12-11,173315
2022-12-13,173954
2022-12-15,177911
2022-12-18,175157
2022-12-20,178582
2022-12-26,176644
2022-12-29,177322
2022-12-29,177414
2023-01-01,177536
2023-01-06,178515
2023-01-08,178646
2023-01-11,180639
2023-01-13,180976
2023-01-19,183226
2023-01-23,183981
2023-01-24,184659
2023-01-27,186064
2023-01-27,186067
2023-01-27,186065
2023-01-31,186566
2023-02-05,188588
2023-02-07,190163
2023-02-07,190164
2023-02-07,190165
2023-02-16,194409
2023-02-19,195600
2023-02-23,196417
2023-02-28,198481
2023-03-03,198179
2023-03-06,198562
2023-03-07,198891
2023-03-10,200758
2023-03-14,202389
2023-03-21,205337
2023-03-25,206971
2023-03-29,207696
2023-04-07,211449
2023-04-11,212258
2023-04-16,213557
2023-04-18,216972
2023-04-19,183022
2023-04-19,183029
2023-04-23,183644
2023-04-26,187413
2023-04-27,187819
2023-04-30,187912
2023-05-02,188811
2023-05-05,190035
2023-05-08,189994
2023-05-11,191816
2023-05-14,193875
2023-05-15,195016
2023-05-20,196219
2023-05-21,196350
2023-05-24,198902
2023-06-02,201510
2023-06-06,202684
2023-06-10,203493
2023-06-11,203569
2023-06-13,204058
2023-06-14,204936
2023-06-14,205613
2023-06-16,206631
2023-06-17,206340
2023-06-18,206127
2023-06-23,207919
2023-06-27,208550
2023-07-01,209201
2023-07-06,210673
2023-07-09,211184
2023-07-14,212909
2023-07-15,213011
2023-07-21,214782
2023-07-23,214974
2023-07-27,216269
2023-08-01,217516
2023-08-04,219657
2023-08-05,219745
2023-08-08,220394
2023-08-05,219745
2023-08-08,220394
2023-08-13,222059
2023-08-17,222868
2023-08-21,223834
2023-08-22,224090
2023-08-26,225665
2023-08-28,225890
2023-09-03,225629
2023-09-04,227872
2023-09-05,228684
2023-09-06,228397
2023-09-06,229658
2023-09-08,230537
2023-09-08,230588
2023-09-10,206033
2023-09-14,206068
2023-09-17,182551
2023-09-21,148909
2023-09-24,149502
2023-09-25,148482
2023-09-30,148774
2023-10-02,149153
2023-10-04,150542
2023-10-08,151455
2023-10-12,155244
2023-10-13,155962
2023-10-17,156839
2023-10-18,157334
2023-10-21,159016
2023-10-23,159205
2023-10-27,161626
2023-11-01,162766
2023-11-02,163519
2023-11-03,164044
2023-11-08,165985
2023-11-11,166889
2023-11-13,167513
2023-11-19,169912
2023-11-21,170897
2023-11-24,172458
2023-11-25,172813
2023-11-25,172808
2023-11-25,172845
2023-11-26,172916
2023-11-26,172948
2023-12-01,156959
2023-12-03,157469
2023-12-12,154483
2023-12-16,156272
2023-12-17,156466
2023-12-17,156487
2023-12-25,157588
2023-12-30,158760
2024-01-03,159584
2024-01-06,160893
2024-01-13,165406
2024-01-17,166661
2024-01-21,167884
2024-01-27,170541
2024-01-30,171826
2024-02-06,175118
2024-02-10,164037
2024-02-12,165051
2024-02-15,167625
2024-02-24,174496
2024-02-25,174569
2024-02-28,178190
2024-03-04,181870
2024-03-09,186742
2024-03-15,191158
2024-03-19,193896
2024-03-23,196602
2024-03-28,198885
2024-04-02,199834
2024-04-04,144450
2024-04-09,137818
2024-04-11,138366
2024-04-18,138776
2024-04-22,140584
2024-04-25,142037
2024-05-01,141370
2024-05-03,141774
2024-05-12,146214
2024-05-20,151577
2024-05-27,155465
2024-06-03,158483
2024-06-08,161468
2024-06-14,166408
2024-06-16,167521
2024-06-19,170313
2024-06-21,172545
2024-06-24,173608
2024-06-26,175241
2024-07-01,177286
2024-07-04,179132
2024-07-07,166027
2024-07-11,168758
2024-07-14,169781
2024-07-15,170367
2024-07-20,172937
2024-07-27,173027
2024-07-30,174235
2024-08-02,175603
2024-08-04,176089
2024-08-08,178382
2024-08-11,179430
2024-08-16,181994
2024-08-17,182500
2024-08-20,183994
2024-08-26,186463
2024-08-29,187883
2024-08-30,188355
2024-08-31,188456
2024-09-04,189902
2024-09-06,190919
2024-09-10,179519
2024-09-13,180144
2024-09-16,181124
2024-09-20,180075
2024-09-21,128563
2024-09-22,127461
2024-09-25,128514
2024-09-27,129083
2024-09-27,129084
2024-10-01,129084
2024-10-01,129882
2024-10-01,129882
2024-10-03,130198
2024-10-05,130231
2024-10-07,129706
2024-10-09,130158
2024-10-10,130270
2024-10-11,130270
2024-10-11,131160
2024-10-12,131228
2024-10-13,131276
2024-10-15,131383
2024-10-18,131561
2024-10-23,132122
2024-10-26,131985
2024-10-30,133268
2024-11-02,134074
2024-11-07,135390
2024-11-11,135097
2024-11-14,135493
2024-11-19,135567
2024-11-23,135485
2024-11-24,135072
2024-11-28,135893
2024-12-02,135775
2024-12-04,135826
2024-12-06,135903
2024-12-12,135489
2024-12-15,135308
2024-12-16,134994
2024-12-16,135144
2024-12-18,134727
2024-12-20,134225
2024-12-23,133062
2024-12-26,131947
2024-12-27,131441
2024-12-30,131550
2025-01-04,131204
2025-01-06,129586
2025-01-09,130225
2025-01-15,131286
2025-01-21,132687
2025-01-22,132859
2025-01-25,133310
2025-01-26,132784
2025-01-31,134855
2025-02-04,133155
2025-02-12,135851
2025-02-17,137160
2025-02-20,138905
2025-02-22,139272
2025-03-01,141153
2025-03-07,143078
2025-03-09,143179
2025-03-13,144172
2025-03-17,144345
2025-03-21,146381
2025-03-26,147138
2025-03-28,142679
2025-04-01,143361
2025-04-05,145477
2025-04-09,146857
2025-04-12,147723
2025-04-17,155548
2025-04-22,159306
2025-04-25,164838
2025-04-30,173954
2025-05-04,175142
2025-05-08,177750
2025-05-15,181891
2025-05-18,183986
2025-05-20,184937
2025-05-27,196854
2025-06-02,199733
2025-06-04,203020
2025-06-07,208134
2025-06-12,211840
2025-06-15,214035
2025-06-18,217159
2025-06-19,218359
2025-06-23,221674
2025-06-25,228672
2025-06-30,237634
2025-07-03,242522
2025-07-05,251225
2025-07-08,259147
2025-07-11,265007
2025-07-12,266441
2025-07-13,255827
2025-07-13,255825
2025-07-16,255825
2025-07-16,230599
2025-07-18,230599
2025-07-18,233431
2025-07-23,233475
2025-07-26,236923
2025-07-30,238329
2025-08-01,239236
2025-08-03,239970
2025-08-08,241086
2025-08-08,241086
2025-08-13,241315
2025-08-14,242057
2025-08-19,242934
2025-08-24,246309
2025-08-29,247762
2025-09-05,254129
2025-09-08,258088
2025-09-14,261448
2025-09-15,261926
2025-09-25,94220
2025-09-27,95453
2025-10-02,96280
2025-10-04,94252
2025-10-08,94200
2025-10-13,93899
2025-10-16,94764
2025-10-25,115542
2025-11-01,121461
2025-11-02,120894
2025-11-04,121867
2025-11-07,123522
2025-11-11,120943
2025-11-11,120889
2025-11-15,123887
2025-11-18,114836
2025-11-21,110528
2025-11-23,110528
2025-11-27,101275
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+481 -243
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 83,256 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: **December 11 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 95,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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,66 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -128,9 +201,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -138,61 +217,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -202,51 +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.
`--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.
#### Using 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.
`--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.
@@ -256,41 +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
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.
@@ -310,77 +386,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -394,40 +570,40 @@ ipconfig /flushdns
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
@@ -435,61 +611,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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!.
+982
View File
@@ -0,0 +1,982 @@
2016-12-17,33853
2016-12-18,33899
2016-12-18,33927
2016-12-19,33953
2016-12-20,34030
2016-12-21,34062
2016-12-21,34019
2016-12-22,34055
2016-12-25,34069
2016-12-27,34084
2016-12-28,34104
2017-01-02,34119
2017-01-05,32090
2017-01-05,34120
2017-01-10,34193
2017-01-11,34195
2017-01-14,34191
2017-01-18,34240
2017-01-18,34241
2017-01-20,34248
2017-01-22,34185
2017-01-26,34219
2017-01-31,34256
2017-02-04,34263
2017-02-04,34263
2017-02-07,34242
2017-02-07,34241
2017-02-10,34255
2017-02-11,34255
2017-02-13,34255
2017-02-15,34273
2017-02-17,34269
2017-02-17,34269
2017-02-20,34338
2017-02-22,38261
2017-02-23,38260
2017-02-23,37714
2017-02-24,37705
2017-02-24,37292
2017-02-26,37319
2017-03-01,37375
2017-03-04,37417
2017-03-07,37423
2017-03-10,37571
2017-03-15,37602
2017-03-16,37608
2017-03-20,37618
2017-03-22,37627
2017-03-25,37653
2017-03-30,37738
2017-04-05,37778
2017-04-08,37576
2017-04-08,37576
2017-04-08,37576
2017-04-11,37664
2017-04-13,37584
2017-04-15,37615
2017-04-16,37615
2017-04-17,37634
2017-04-18,37651
2017-04-22,37704
2017-04-25,37737
2017-04-26,37763
2017-05-02,37809
2017-05-07,37848
2017-05-08,37848
2017-05-10,37905
2017-05-13,38015
2017-05-15,38031
2017-05-15,38031
2017-05-16,38096
2017-05-21,38096
2017-05-21,38175
2017-05-23,38199
2017-05-28,38341
2017-05-29,38384
2017-05-30,38394
2017-06-02,38485
2017-06-05,38525
2017-06-11,38594
2017-06-21,38807
2017-06-22,38836
2017-06-24,38753
2017-06-28,38802
2017-07-04,38805
2017-07-10,38944
2017-07-11,38955
2017-07-11,38954
2017-07-12,38968
2017-07-17,38694
2017-07-17,38693
2017-07-18,38633
2017-07-26,38338
2017-07-28,38339
2017-07-31,38367
2017-08-08,38096
2017-08-12,38257
2017-08-15,40760
2017-08-15,40760
2017-08-18,40781
2017-08-18,40536
2017-08-20,40536
2017-08-20,40550
2017-08-20,40550
2017-08-21,40510
2017-08-28,40579
2017-08-31,40569
2017-09-05,40480
2017-09-07,40542
2017-09-13,40575
2017-09-18,40521
2017-09-21,40544
2017-09-29,40563
2017-10-05,40575
2017-10-11,40560
2017-10-15,44919
2017-10-19,44888
2017-10-25,44920
2017-10-25,44947
2017-10-28,44946
2017-11-01,44991
2017-11-04,45006
2017-11-09,45042
2017-11-16,45118
2017-11-25,45167
2017-11-30,45203
2017-12-07,45117
2017-12-11,45127
2017-12-17,47820
2017-12-18,45159
2017-12-21,45167
2017-12-27,45169
2017-12-30,45168
2018-01-01,45168
2018-01-06,45295
2018-01-10,45291
2018-01-13,45198
2018-01-14,45205
2018-01-21,45238
2018-01-22,45240
2018-01-23,45246
2018-01-26,45249
2018-01-26,45352
2018-01-31,45265
2018-02-02,44457
2018-02-08,57222
2018-02-09,57222
2018-02-11,57237
2018-02-13,57211
2018-02-14,57211
2018-02-15,57208
2018-02-20,57174
2018-02-24,61237
2018-02-24,58160
2018-02-25,58153
2018-02-25,58152
2018-02-26,58168
2018-02-28,58188
2018-03-03,58184
2018-03-04,58199
2018-03-04,58117
2018-03-06,58171
2018-03-07,58171
2018-03-08,58166
2018-03-09,58182
2018-03-10,58183
2018-03-12,58207
2018-03-13,58209
2018-03-14,58216
2018-03-15,58715
2018-03-15,58226
2018-03-17,58231
2018-03-17,58231
2018-03-19,58268
2018-03-20,58306
2018-03-22,58310
2018-03-23,62756
2018-03-23,62756
2018-03-24,58796
2018-03-26,58850
2018-03-28,58915
2018-03-29,58907
2018-03-30,58906
2018-04-02,58459
2018-04-02,57953
2018-04-04,57341
2018-04-05,57318
2018-04-06,57262
2018-04-06,57267
2018-04-08,57200
2018-04-12,57216
2018-04-16,57112
2018-04-17,57110
2018-04-19,56830
2018-04-21,56863
2018-04-22,56861
2018-04-24,56873
2018-04-25,56748
2018-04-30,56802
2018-05-02,56579
2018-05-05,56585
2018-05-08,56436
2018-05-12,56458
2018-05-13,56454
2018-05-17,56133
2018-05-19,56134
2018-05-22,56147
2018-05-30,57314
2018-06-02,57330
2018-06-02,57330
2018-06-02,57330
2018-06-05,57545
2018-06-08,58693
2018-06-10,58715
2018-06-14,58830
2018-06-14,58829
2018-06-14,58828
2018-06-14,58828
2018-06-14,58828
2018-06-16,59047
2018-06-17,59241
2018-06-18,59328
2018-06-20,59658
2018-06-24,59708
2018-06-28,59741
2018-06-30,59869
2018-07-04,61362
2018-07-06,64398
2018-07-09,64375
2018-07-11,63142
2018-07-16,63147
2018-07-23,62664
2018-07-26,62851
2018-07-26,62851
2018-07-30,63671
2018-08-01,63735
2018-08-08,64196
2018-08-13,64519
2018-08-19,65444
2018-08-22,64822
2018-08-24,64142
2018-08-25,64062
2018-08-29,63142
2018-09-04,63081
2018-09-05,62343
2018-09-06,62415
2018-09-08,62406
2018-09-13,61587
2018-09-16,60385
2018-09-18,59520
2018-09-23,59733
2018-10-02,59734
2018-10-05,58607
2018-10-09,58521
2018-10-14,58597
2018-10-22,56758
2018-10-23,56492
2018-11-01,55914
2018-11-02,56306
2018-11-14,68549
2018-11-20,67786
2018-11-21,67898
2018-11-26,67036
2018-11-29,67556
2018-12-04,67547
2018-12-11,66203
2018-12-15,66209
2018-12-23,66577
2018-12-29,79036
2018-12-30,66499
2019-01-04,66293
2019-01-10,41759
2019-01-13,41760
2019-01-22,41786
2019-01-26,42009
2019-01-29,42034
2019-02-06,42106
2019-02-11,41927
2019-02-18,41893
2019-02-24,41915
2019-03-02,41906
2019-03-06,41419
2019-03-15,41192
2019-03-21,41136
2019-03-26,41260
2019-04-02,41211
2019-04-07,41169
2019-04-11,40887
2019-04-17,40519
2019-04-25,40610
2019-05-02,42249
2019-05-04,42195
2019-05-05,42198
2019-05-10,42062
2019-05-13,42024
2019-05-23,42061
2019-05-24,42053
2019-05-29,42310
2019-06-05,42302
2019-06-11,42304
2019-06-17,43703
2019-06-19,43712
2019-06-22,43742
2019-06-28,43797
2019-07-04,43844
2019-07-21,44145
2019-07-27,44148
2019-07-31,44169
2019-08-06,44809
2019-08-10,44963
2019-08-13,45242
2019-08-14,45306
2019-08-14,45306
2019-08-22,45381
2019-08-30,45418
2019-09-06,42858
2019-09-09,42271
2019-09-09,42892
2019-09-09,42283
2019-09-10,45478
2019-09-19,45512
2019-09-23,45567
2019-09-29,45619
2019-10-10,42946
2019-10-12,42962
2019-10-15,46179
2019-10-18,46040
2019-10-27,46089
2019-10-27,46091
2019-10-30,46117
2019-10-31,46213
2019-11-03,46217
2019-11-15,45906
2019-11-17,45969
2019-11-20,46051
2019-11-26,46348
2019-11-27,46349
2019-12-02,46368
2019-12-11,43229
2019-12-15,42924
2019-12-20,42885
2019-12-21,42890
2019-12-23,42879
2019-12-30,42912
2020-01-01,42889
2020-01-04,43049
2020-01-06,43017
2020-01-09,43738
2020-01-11,44089
2020-01-14,54453
2020-01-16,54457
2020-01-16,54459
2020-01-16,54461
2020-01-19,54452
2020-01-21,54415
2020-01-23,54180
2020-01-24,53662
2020-01-30,54628
2020-02-03,54892
2020-02-05,54801
2020-02-09,54843
2020-02-14,54951
2020-02-17,54992
2020-02-21,54942
2020-02-22,54942
2020-02-25,54929
2020-02-25,54928
2020-03-01,55073
2020-03-05,54978
2020-03-07,55012
2020-03-11,55236
2020-03-15,56517
2020-03-18,56765
2020-03-21,57127
2020-03-25,57305
2020-03-28,57506
2020-03-29,57440
2020-04-01,57530
2020-04-03,56834
2020-04-03,56834
2020-04-03,57689
2020-04-04,57636
2020-04-06,57719
2020-04-09,57936
2020-04-10,57968
2020-04-11,57983
2020-04-13,57940
2020-04-16,58257
2020-04-18,58374
2020-04-22,58527
2020-04-26,58489
2020-04-28,58423
2020-05-02,59210
2020-05-05,58747
2020-05-05,58882
2020-05-12,60800
2020-05-13,60942
2020-05-13,60945
2020-05-15,61003
2020-05-20,60935
2020-05-26,60622
2020-05-27,60662
2020-06-02,60811
2020-06-09,60726
2020-06-16,60727
2020-06-22,60587
2020-06-25,60645
2020-06-27,60560
2020-07-02,60705
2020-07-02,60704
2020-07-05,60602
2020-07-06,60572
2020-07-13,60729
2020-07-18,60925
2020-07-24,60983
2020-07-29,61873
2020-08-01,61772
2020-08-03,61100
2020-08-06,61608
2020-08-13,62348
2020-08-14,62395
2020-08-15,62352
2020-08-17,61753
2020-08-19,60525
2020-08-25,60157
2020-09-02,60619
2020-09-07,60565
2020-09-14,61138
2020-09-20,61099
2020-09-26,61452
2020-10-03,61502
2020-10-08,61153
2020-10-13,60791
2020-10-14,59984
2020-10-19,62061
2020-10-29,63226
2020-11-01,62913
2020-11-03,64767
2020-11-08,64733
2020-11-10,64212
2020-11-14,62336
2020-11-15,64211
2020-11-16,64243
2020-11-19,62384
2020-11-22,64359
2020-11-25,64641
2020-11-28,64730
2020-12-02,62748
2020-12-09,63178
2020-12-14,63444
2020-12-19,63305
2020-12-26,63268
2020-12-31,62978
2021-01-02,62796
2021-01-05,63019
2021-01-12,63086
2021-01-17,63408
2021-01-22,64075
2021-01-22,64079
2021-01-24,64438
2021-01-31,64705
2021-02-02,64921
2021-02-03,64958
2021-02-08,65084
2021-02-09,65144
2021-02-14,65462
2021-02-16,67479
2021-02-21,68309
2021-02-22,69809
2021-02-26,70066
2021-02-28,70080
2021-03-06,70629
2021-03-09,70973
2021-03-10,72356
2021-03-16,71977
2021-03-21,71889
2021-03-28,72788
2021-03-31,82184
2021-04-04,82514
2021-04-09,83057
2021-04-13,81047
2021-04-19,84384
2021-04-24,87845
2021-04-26,84256
2021-04-26,84484
2021-04-29,85324
2021-05-01,85117
2021-05-04,83667
2021-05-05,83739
2021-05-06,83856
2021-05-06,84233
2021-05-06,84232
2021-05-12,85568
2021-05-15,85954
2021-05-17,85162
2021-05-22,86165
2021-05-25,87523
2021-05-31,87298
2021-06-07,86651
2021-06-16,85688
2021-06-22,85048
2021-06-28,85687
2021-07-01,86444
2021-07-04,86396
2021-07-13,87135
2021-07-18,87635
2021-07-19,83253
2021-07-26,88311
2021-07-29,88898
2021-08-02,90037
2021-08-09,91720
2021-08-17,91190
2021-08-20,91745
2021-08-25,94144
2021-08-26,94803
2021-08-30,93798
2021-09-02,94888
2021-09-06,95309
2021-09-07,97144
2021-09-12,97646
2021-09-17,97376
2021-09-24,98757
2021-09-30,107903
2021-09-30,95631
2021-10-03,95902
2021-10-05,96549
2021-10-12,97425
2021-10-14,98118
2021-10-19,98371
2021-10-23,98462
2021-10-23,98462
2021-10-27,97832
2021-11-04,98443
2021-11-11,98599
2021-11-14,98562
2021-11-17,99004
2021-11-21,101685
2021-11-29,103031
2021-11-29,103012
2021-12-05,102097
2021-12-09,102022
2021-12-12,102259
2021-12-13,102864
2021-12-16,103647
2021-12-19,103708
2021-12-20,104110
2021-12-25,105245
2021-12-30,105098
2021-12-30,105283
2021-12-30,105272
2022-01-02,105123
2022-01-04,105388
2022-01-07,105674
2022-01-11,100946
2022-01-18,102330
2022-01-19,101999
2022-01-21,102659
2022-01-24,106011
2022-01-28,107806
2022-01-30,107951
2022-01-31,104375
2022-02-01,104776
2022-02-07,105493
2022-02-12,106536
2022-02-13,106666
2022-02-13,106663
2022-02-17,106726
2022-02-22,102171
2022-02-26,102345
2022-03-06,106392
2022-03-07,105206
2022-03-09,105521
2022-03-12,105940
2022-03-14,104147
2022-03-19,104759
2022-03-24,137280
2022-03-29,112595
2022-03-31,113073
2022-04-05,114331
2022-04-09,115030
2022-04-13,115767
2022-04-18,115731
2022-04-21,116480
2022-04-25,113565
2022-04-29,104668
2022-05-03,117987
2022-05-05,118227
2022-05-10,116121
2022-05-14,116868
2022-05-19,119795
2022-05-25,147750
2022-05-29,148266
2022-05-31,116804
2022-06-02,117167
2022-06-07,114254
2022-06-09,114617
2022-06-09,114618
2022-06-16,133330
2022-06-21,113127
2022-06-21,113241
2022-06-25,114221
2022-06-29,126587
2022-07-01,126840
2022-07-04,114827
2022-07-13,150363
2022-07-16,141048
2022-07-16,141041
2022-07-18,117026
2022-07-21,135699
2022-07-23,136486
2022-07-25,135578
2022-07-29,136723
2022-08-03,137785
2022-08-09,137872
2022-08-12,138699
2022-08-17,139700
2022-08-20,140626
2022-08-24,141251
2022-08-25,141698
2022-08-31,141524
2022-09-04,142253
2022-09-05,146499
2022-09-08,147454
2022-09-11,147956
2022-09-13,148845
2022-09-17,150177
2022-09-23,158216
2022-10-01,160348
2022-10-06,161639
2022-10-09,161864
2022-10-13,163914
2022-10-15,164455
2022-10-17,164489
2022-10-20,165155
2022-10-27,167088
2022-11-01,168877
2022-11-09,167484
2022-11-12,167413
2022-11-13,167292
2022-11-20,171041
2022-11-21,170974
2022-11-26,169542
2022-11-28,169034
2022-11-29,169973
2022-12-03,169727
2022-12-04,169379
2022-12-05,170765
2022-12-06,171828
2022-12-11,170490
2022-12-13,171129
2022-12-15,175086
2022-12-18,172332
2022-12-20,175757
2022-12-26,173819
2022-12-29,174497
2022-12-29,174589
2023-01-01,174711
2023-01-06,175690
2023-01-08,175821
2023-01-11,177814
2023-01-13,178151
2023-01-19,180401
2023-01-23,181156
2023-01-24,181834
2023-01-27,183239
2023-01-27,183242
2023-01-27,183240
2023-01-31,183741
2023-02-05,185763
2023-02-07,187339
2023-02-07,187340
2023-02-07,187341
2023-02-16,191585
2023-02-19,192776
2023-02-23,193593
2023-02-28,195657
2023-03-03,195355
2023-03-06,195738
2023-03-07,196067
2023-03-10,197934
2023-03-14,199565
2023-03-21,202513
2023-03-25,204147
2023-03-29,204872
2023-04-07,208625
2023-04-11,209434
2023-04-16,210733
2023-04-18,214148
2023-04-19,180198
2023-04-19,180205
2023-04-23,180820
2023-04-26,184589
2023-04-27,184995
2023-04-30,185088
2023-05-02,185987
2023-05-05,187211
2023-05-08,187170
2023-05-11,188992
2023-05-14,191051
2023-05-15,192192
2023-05-20,193395
2023-05-21,193526
2023-05-24,196078
2023-06-02,198686
2023-06-06,199860
2023-06-10,200669
2023-06-11,200745
2023-06-13,201234
2023-06-14,202112
2023-06-14,202789
2023-06-16,203807
2023-06-17,203516
2023-06-18,203303
2023-06-23,205095
2023-06-27,205726
2023-07-01,206377
2023-07-06,207849
2023-07-09,208360
2023-07-14,210085
2023-07-15,210187
2023-07-21,211958
2023-07-23,212150
2023-07-27,213445
2023-08-01,214692
2023-08-04,216833
2023-08-05,216921
2023-08-08,217570
2023-08-05,216921
2023-08-08,217570
2023-08-13,219235
2023-08-17,220044
2023-08-21,221010
2023-08-22,221266
2023-08-26,222841
2023-08-28,223066
2023-09-03,222805
2023-09-04,225048
2023-09-05,225860
2023-09-06,225573
2023-09-06,226834
2023-09-08,227713
2023-09-08,227764
2023-09-10,203209
2023-09-14,203244
2023-09-17,179727
2023-09-21,146085
2023-09-24,146678
2023-09-25,145658
2023-09-30,145950
2023-10-02,146329
2023-10-04,147718
2023-10-08,148631
2023-10-12,152420
2023-10-13,153138
2023-10-17,154015
2023-10-18,154510
2023-10-21,156192
2023-10-23,156381
2023-10-27,158802
2023-11-01,159942
2023-11-02,160695
2023-11-03,161220
2023-11-08,163161
2023-11-11,164065
2023-11-13,164689
2023-11-19,167088
2023-11-21,168073
2023-11-24,169634
2023-11-25,169989
2023-11-25,169984
2023-11-25,170021
2023-11-26,170092
2023-11-26,170124
2023-12-01,154135
2023-12-03,154645
2023-12-12,151659
2023-12-16,153448
2023-12-17,153642
2023-12-17,153663
2023-12-25,154764
2023-12-30,155936
2024-01-03,156756
2024-01-06,158065
2024-01-13,162578
2024-01-17,163833
2024-01-21,165056
2024-01-27,167713
2024-01-30,168998
2024-02-06,172290
2024-02-10,161209
2024-02-12,162223
2024-02-15,164797
2024-02-24,171668
2024-02-25,171741
2024-02-28,175362
2024-03-04,179041
2024-03-09,183913
2024-03-15,188329
2024-03-19,191067
2024-03-23,193773
2024-03-28,196056
2024-04-02,197005
2024-04-04,141621
2024-04-09,134687
2024-04-11,135235
2024-04-18,135645
2024-04-22,137453
2024-04-25,138845
2024-05-01,138178
2024-05-03,138582
2024-05-12,143022
2024-05-20,148385
2024-05-27,152273
2024-06-03,155291
2024-06-08,158276
2024-06-14,163216
2024-06-16,164329
2024-06-19,167121
2024-06-21,169353
2024-06-24,170416
2024-06-26,172049
2024-07-01,174094
2024-07-04,175940
2024-07-07,162835
2024-07-11,165566
2024-07-14,166589
2024-07-15,167175
2024-07-20,169745
2024-07-27,169835
2024-07-30,171043
2024-08-02,172411
2024-08-04,172897
2024-08-08,175190
2024-08-11,176238
2024-08-16,178802
2024-08-17,179308
2024-08-20,180802
2024-08-26,183271
2024-08-29,184691
2024-08-30,185163
2024-08-31,185264
2024-09-04,186710
2024-09-06,187727
2024-09-10,176327
2024-09-13,176952
2024-09-16,177932
2024-09-20,176883
2024-09-21,125371
2024-09-22,124269
2024-09-25,125322
2024-09-27,125891
2024-09-27,125892
2024-10-01,125892
2024-10-01,126687
2024-10-01,126687
2024-10-03,127003
2024-10-05,127036
2024-10-07,126518
2024-10-09,126970
2024-10-10,127082
2024-10-11,127082
2024-10-11,127972
2024-10-12,128040
2024-10-13,128088
2024-10-15,128195
2024-10-18,128373
2024-10-23,128934
2024-10-26,128797
2024-10-30,130080
2024-11-02,130886
2024-11-07,132202
2024-11-11,131909
2024-11-14,132305
2024-11-19,132379
2024-11-23,132297
2024-11-24,131884
2024-11-28,132705
2024-12-02,132587
2024-12-04,132638
2024-12-06,132715
2024-12-12,132301
2024-12-15,132120
2024-12-16,131806
2024-12-16,131956
2024-12-18,131539
2024-12-20,131037
2024-12-23,129874
2024-12-26,128759
2024-12-27,128253
2024-12-30,128362
2025-01-04,128016
2025-01-06,126398
2025-01-09,127037
2025-01-15,128098
2025-01-21,129499
2025-01-22,129671
2025-01-25,130122
2025-01-26,129596
2025-01-31,131667
2025-02-04,129967
2025-02-12,132663
2025-02-17,133972
2025-02-20,135717
2025-02-22,136084
2025-03-01,137965
2025-03-07,139890
2025-03-09,139991
2025-03-13,140984
2025-03-17,141157
2025-03-21,143193
2025-03-26,143950
2025-03-28,139491
2025-04-01,140173
2025-04-05,142289
2025-04-09,143669
2025-04-12,144535
2025-04-17,152360
2025-04-22,156118
2025-04-25,161650
2025-04-30,170766
2025-05-04,171954
2025-05-08,174562
2025-05-15,178703
2025-05-18,180798
2025-05-20,181749
2025-05-27,193641
2025-06-02,196520
2025-06-04,199807
2025-06-07,204921
2025-06-12,208627
2025-06-15,210822
2025-06-18,213946
2025-06-19,215146
2025-06-23,218461
2025-06-25,225459
2025-06-30,234421
2025-07-03,239309
2025-07-05,248012
2025-07-08,255934
2025-07-11,261794
2025-07-12,263228
2025-07-13,252614
2025-07-13,252612
2025-07-16,252612
2025-07-16,227389
2025-07-18,227389
2025-07-18,230218
2025-07-23,230262
2025-07-26,233710
2025-07-30,235116
2025-08-01,236023
2025-08-03,236757
2025-08-08,237873
2025-08-08,237873
2025-08-13,238102
2025-08-14,238844
2025-08-19,239721
2025-08-24,243096
2025-08-29,244549
2025-09-05,250916
2025-09-08,254875
2025-09-14,258235
2025-09-15,258713
2025-09-25,91007
2025-09-27,92240
2025-10-02,93067
2025-10-04,91039
2025-10-08,90987
2025-10-13,90686
2025-10-16,91551
2025-10-25,112329
2025-11-01,118248
2025-11-02,117681
2025-11-04,118654
2025-11-07,120309
2025-11-11,117730
2025-11-11,117676
2025-11-15,120674
2025-11-18,111623
2025-11-21,107315
2025-11-23,107315
2025-11-27,98062
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"-pl",
"olx.pl",
"npost",
"blogspot.com",
".ipfs."
]
}
+715
View File
@@ -0,0 +1,715 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,188 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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!.
+263
View File
@@ -0,0 +1,263 @@
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
2024-10-11,2194
2024-10-11,2194
2024-10-12,2194
2024-10-13,2194
2024-10-15,2194
2024-10-18,2194
2024-10-23,2194
2024-10-26,2194
2024-10-30,2194
2024-11-02,2194
2024-11-07,2194
2024-11-11,2194
2024-11-14,2194
2024-11-19,2194
2024-11-23,2194
2024-11-24,2194
2024-11-28,2194
2024-12-02,2194
2024-12-04,2194
2024-12-06,2194
2024-12-12,2194
2024-12-15,2194
2024-12-16,2194
2024-12-16,2194
2024-12-18,2194
2024-12-20,2194
2024-12-23,2194
2024-12-26,2194
2024-12-27,2194
2024-12-30,2194
2025-01-04,2194
2025-01-06,2194
2025-01-09,2194
2025-01-15,2194
2025-01-21,2194
2025-01-22,2194
2025-01-25,2194
2025-01-26,2194
2025-01-31,2194
2025-02-04,2194
2025-02-12,2194
2025-02-17,2194
2025-02-20,2194
2025-02-22,2194
2025-03-01,2194
2025-03-07,2194
2025-03-09,2194
2025-03-13,2194
2025-03-17,2194
2025-03-21,2194
2025-03-26,2194
2025-03-28,2194
2025-04-01,2194
2025-04-05,2194
2025-04-09,2194
2025-04-12,2194
2025-04-17,2194
2025-04-22,2194
2025-04-25,2194
2025-04-30,2194
2025-05-04,2194
2025-05-08,2194
2025-05-15,2194
2025-05-18,2194
2025-05-20,2194
2025-05-27,2194
2025-06-02,2194
2025-06-04,2194
2025-06-07,2194
2025-06-12,2194
2025-06-15,2194
2025-06-18,2194
2025-06-19,2194
2025-06-23,2194
2025-06-25,2194
2025-06-30,2194
2025-07-03,2194
2025-07-05,2194
2025-07-08,2194
2025-07-11,2194
2025-07-12,2194
2025-07-13,2194
2025-07-13,2194
2025-07-16,2194
2025-07-16,2188
2025-07-18,2188
2025-07-23,2188
2025-07-26,2188
2025-07-30,2188
2025-08-01,2188
2025-08-03,2188
2025-08-08,2188
2025-08-08,2188
2025-08-13,2188
2025-08-14,2188
2025-08-19,2188
2025-08-24,2188
2025-08-29,2188
2025-09-05,2188
2025-09-08,2188
2025-09-14,2188
2025-09-15,2188
2025-09-25,2188
2025-09-27,2188
2025-10-02,2188
2025-10-04,2188
2025-10-08,2188
2025-10-13,2188
2025-10-16,2188
2025-10-25,2188
2025-11-01,2188
2025-11-02,2188
2025-11-04,2188
2025-11-07,2188
2025-11-11,2188
2025-11-11,2188
2025-11-15,2188
2025-11-18,2188
2025-11-21,2188
2025-11-23,2188
2025-11-27,2188
Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because it is too large Load Diff
+721
View File
@@ -0,0 +1,721 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,683 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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!.
+275
View File
@@ -0,0 +1,275 @@
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
2024-10-11,78391
2024-10-11,78391
2024-10-12,78392
2024-10-13,78392
2024-10-15,78392
2024-10-18,78392
2024-10-23,78394
2024-10-26,78394
2024-10-30,78394
2024-11-02,78396
2024-11-07,78397
2024-11-11,78426
2024-11-14,78508
2024-11-19,78538
2024-11-23,78539
2024-11-24,78592
2024-11-28,78672
2024-12-02,78938
2024-12-04,78944
2024-12-06,78944
2024-12-12,78942
2024-12-15,78942
2024-12-16,78942
2024-12-16,78942
2024-12-18,78942
2024-12-20,78942
2024-12-23,78942
2024-12-26,78942
2024-12-27,78942
2024-12-30,78960
2025-01-04,78960
2025-01-06,78962
2025-01-09,78964
2025-01-15,78964
2025-01-21,78966
2025-01-22,78966
2025-01-25,78966
2025-01-26,78966
2025-01-31,78966
2025-02-04,77599
2025-02-12,77601
2025-02-17,77603
2025-02-20,77603
2025-02-22,77603
2025-03-01,77603
2025-03-07,77603
2025-03-09,77603
2025-03-13,77603
2025-03-17,77603
2025-03-21,77554
2025-03-26,77554
2025-03-28,77554
2025-04-01,77554
2025-04-05,77554
2025-04-09,77558
2025-04-12,77553
2025-04-17,77558
2025-04-22,77558
2025-04-25,77558
2025-04-30,77558
2025-05-04,77558
2025-05-08,77558
2025-05-15,77558
2025-05-18,77558
2025-05-20,77558
2025-05-27,77638
2025-06-02,77638
2025-06-04,77638
2025-06-07,77638
2025-06-12,77638
2025-06-15,77639
2025-06-18,77639
2025-06-19,77639
2025-06-23,77639
2025-06-25,77639
2025-06-30,77639
2025-07-03,77649
2025-07-05,77649
2025-07-08,77649
2025-07-11,77649
2025-07-12,77649
2025-07-13,77649
2025-07-13,77649
2025-07-16,77649
2025-07-16,77601
2025-07-18,77601
2025-07-18,77649
2025-07-23,77652
2025-07-26,77652
2025-07-30,77661
2025-08-01,77661
2025-08-03,77661
2025-08-08,77661
2025-08-08,77661
2025-08-13,77661
2025-08-14,77661
2025-08-19,77661
2025-08-24,77661
2025-08-29,77661
2025-09-05,77661
2025-09-08,77673
2025-09-14,77677
2025-09-15,77677
2025-09-25,77677
2025-09-27,77677
2025-10-02,77678
2025-10-04,77678
2025-10-08,77678
2025-10-13,77678
2025-10-16,77678
2025-10-25,77681
2025-11-01,77681
2025-11-02,77681
2025-11-04,77678
2025-11-07,77678
2025-11-11,77678
2025-11-11,77678
2025-11-15,77678
2025-11-18,77678
2025-11-21,77683
2025-11-23,77683
2025-11-27,77683
Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,722 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,924 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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,275 @@
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
2024-10-11,81607
2024-10-11,81607
2024-10-12,81608
2024-10-13,81608
2024-10-15,81608
2024-10-18,81608
2024-10-23,81610
2024-10-26,81610
2024-10-30,81610
2024-11-02,81612
2024-11-07,81613
2024-11-11,81642
2024-11-14,81724
2024-11-19,81754
2024-11-23,81755
2024-11-24,81808
2024-11-28,81888
2024-12-02,82154
2024-12-04,82160
2024-12-06,82160
2024-12-12,82158
2024-12-15,82158
2024-12-16,82158
2024-12-16,82158
2024-12-18,82158
2024-12-20,82158
2024-12-23,82158
2024-12-26,82158
2024-12-27,82158
2024-12-30,82176
2025-01-04,82176
2025-01-06,82178
2025-01-09,82180
2025-01-15,82180
2025-01-21,82182
2025-01-22,82182
2025-01-25,82182
2025-01-26,82182
2025-01-31,82182
2025-02-04,80815
2025-02-12,80817
2025-02-17,80819
2025-02-20,80819
2025-02-22,80819
2025-03-01,80819
2025-03-07,80819
2025-03-09,80819
2025-03-13,80819
2025-03-17,80819
2025-03-21,80770
2025-03-26,80770
2025-03-28,80770
2025-04-01,80770
2025-04-05,80770
2025-04-09,80774
2025-04-12,80769
2025-04-17,80774
2025-04-22,80774
2025-04-25,80774
2025-04-30,80774
2025-05-04,80774
2025-05-08,80774
2025-05-15,80774
2025-05-18,80774
2025-05-20,80774
2025-05-27,80879
2025-06-02,80879
2025-06-04,80879
2025-06-07,80879
2025-06-12,80879
2025-06-15,80880
2025-06-18,80880
2025-06-19,80880
2025-06-23,80880
2025-06-25,80880
2025-06-30,80880
2025-07-03,80890
2025-07-05,80890
2025-07-08,80890
2025-07-11,80890
2025-07-12,80890
2025-07-13,80890
2025-07-13,80890
2025-07-16,80890
2025-07-16,80839
2025-07-18,80839
2025-07-18,80890
2025-07-23,80893
2025-07-26,80893
2025-07-30,80902
2025-08-01,80902
2025-08-03,80902
2025-08-08,80902
2025-08-08,80902
2025-08-13,80902
2025-08-14,80902
2025-08-19,80902
2025-08-24,80902
2025-08-29,80902
2025-09-05,80902
2025-09-08,80914
2025-09-14,80918
2025-09-15,80918
2025-09-25,80918
2025-09-27,80918
2025-10-02,80919
2025-10-04,80919
2025-10-08,80919
2025-10-13,80919
2025-10-16,80919
2025-10-25,80922
2025-11-01,80922
2025-11-02,80922
2025-11-04,80919
2025-11-07,80919
2025-11-11,80919
2025-11-11,80919
2025-11-15,80919
2025-11-18,80919
2025-11-21,80924
2025-11-23,80924
2025-11-27,80924
Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+486 -248
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 109,786 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: **December 11 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 166,878 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,71 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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)
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)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -133,9 +206,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -143,61 +222,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -207,51 +290,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.
`--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.
#### Using 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.
`--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.
@@ -261,41 +326,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
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.
@@ -315,77 +391,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -399,40 +575,40 @@ ipconfig /flushdns
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
@@ -440,61 +616,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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!.
+982
View File
@@ -0,0 +1,982 @@
2016-12-17,38797
2016-12-18,38843
2016-12-18,40272
2016-12-19,40298
2016-12-20,40375
2016-12-21,40411
2016-12-21,40368
2016-12-22,40404
2016-12-25,40418
2016-12-27,40440
2016-12-28,40460
2017-01-02,40475
2017-01-05,38446
2017-01-05,40475
2017-01-10,40548
2017-01-11,40653
2017-01-14,40649
2017-01-18,40698
2017-01-18,40699
2017-01-20,40716
2017-01-22,40724
2017-01-26,40772
2017-01-31,40811
2017-02-04,40817
2017-02-04,40818
2017-02-07,40797
2017-02-07,40796
2017-02-10,40810
2017-02-11,40812
2017-02-13,40812
2017-02-15,40832
2017-02-17,40828
2017-02-17,40828
2017-02-20,40897
2017-02-22,44800
2017-02-23,44799
2017-02-23,44255
2017-02-24,44247
2017-02-24,43834
2017-02-26,43861
2017-03-01,43917
2017-03-04,43959
2017-03-07,43966
2017-03-10,44116
2017-03-15,44144
2017-03-16,44150
2017-03-20,44160
2017-03-22,44170
2017-03-25,44196
2017-03-30,44281
2017-04-05,44321
2017-04-08,44129
2017-04-08,44129
2017-04-08,44129
2017-04-11,44217
2017-04-13,44142
2017-04-15,44173
2017-04-16,44173
2017-04-17,44192
2017-04-18,44209
2017-04-22,44262
2017-04-25,44295
2017-04-26,44321
2017-05-02,44367
2017-05-07,44406
2017-05-08,44410
2017-05-10,44472
2017-05-13,44580
2017-05-15,44596
2017-05-15,44596
2017-05-16,44661
2017-05-21,44661
2017-05-21,44739
2017-05-23,44764
2017-05-28,44905
2017-05-29,44948
2017-05-30,44958
2017-06-02,45050
2017-06-05,45092
2017-06-11,45161
2017-06-21,45374
2017-06-22,45403
2017-06-24,45324
2017-06-28,45373
2017-07-04,45376
2017-07-10,45511
2017-07-11,45522
2017-07-11,45523
2017-07-12,45537
2017-07-17,45251
2017-07-17,45250
2017-07-18,45190
2017-07-26,44894
2017-07-28,44895
2017-07-31,44924
2017-08-08,44653
2017-08-12,44812
2017-08-15,47315
2017-08-15,47315
2017-08-18,47336
2017-08-18,47091
2017-08-20,47091
2017-08-20,47105
2017-08-20,47105
2017-08-21,47065
2017-08-28,47133
2017-08-31,47125
2017-09-05,47036
2017-09-07,47100
2017-09-13,47133
2017-09-18,47082
2017-09-21,47105
2017-09-29,47124
2017-10-05,47136
2017-10-11,47121
2017-10-15,51480
2017-10-19,51449
2017-10-25,51481
2017-10-25,51508
2017-10-28,51507
2017-11-01,51552
2017-11-04,51570
2017-11-09,51606
2017-11-16,51682
2017-11-25,51731
2017-11-30,51767
2017-12-07,51683
2017-12-11,51693
2017-12-17,54385
2017-12-18,51725
2017-12-21,51733
2017-12-27,51735
2017-12-30,51734
2018-01-01,51754
2018-01-06,54376
2018-01-10,54372
2018-01-13,54282
2018-01-14,54290
2018-01-21,54387
2018-01-22,54389
2018-01-23,54395
2018-01-26,54398
2018-01-26,54501
2018-01-31,54416
2018-02-02,53613
2018-02-08,66364
2018-02-09,66364
2018-02-11,66378
2018-02-13,66352
2018-02-14,66378
2018-02-15,66375
2018-02-20,66343
2018-02-24,70406
2018-02-24,67329
2018-02-25,67322
2018-02-25,67321
2018-02-26,67337
2018-02-28,67357
2018-03-03,67353
2018-03-04,67368
2018-03-04,67290
2018-03-06,67344
2018-03-07,67344
2018-03-08,67339
2018-03-09,67355
2018-03-10,67356
2018-03-12,67380
2018-03-13,67382
2018-03-14,67389
2018-03-15,67888
2018-03-15,67399
2018-03-17,67404
2018-03-17,67404
2018-03-19,67441
2018-03-20,67479
2018-03-22,67483
2018-03-23,71890
2018-03-23,71890
2018-03-24,67969
2018-03-26,68023
2018-03-28,68088
2018-03-29,68080
2018-03-30,68079
2018-04-02,67631
2018-04-02,67125
2018-04-04,66513
2018-04-05,66492
2018-04-06,66437
2018-04-06,66442
2018-04-08,66374
2018-04-12,66390
2018-04-16,66287
2018-04-17,66376
2018-04-19,66315
2018-04-21,66348
2018-04-22,66346
2018-04-24,66356
2018-04-25,66234
2018-04-30,66289
2018-05-02,66068
2018-05-05,66075
2018-05-08,65926
2018-05-12,65953
2018-05-13,65949
2018-05-17,65628
2018-05-19,65637
2018-05-22,65650
2018-05-30,66768
2018-06-02,66789
2018-06-02,66789
2018-06-02,66789
2018-06-05,67004
2018-06-08,68154
2018-06-10,68176
2018-06-14,68290
2018-06-14,68289
2018-06-14,68289
2018-06-14,68289
2018-06-14,68289
2018-06-16,68500
2018-06-17,68694
2018-06-18,68781
2018-06-20,69111
2018-06-24,69162
2018-06-28,69206
2018-06-30,69392
2018-07-04,70904
2018-07-06,73941
2018-07-09,73995
2018-07-11,72762
2018-07-16,72767
2018-07-23,72281
2018-07-26,72468
2018-07-26,72468
2018-07-30,73288
2018-08-01,73352
2018-08-08,73813
2018-08-13,74136
2018-08-19,75065
2018-08-22,74443
2018-08-24,73764
2018-08-25,73684
2018-08-29,72769
2018-09-04,72691
2018-09-05,71956
2018-09-06,72028
2018-09-08,72023
2018-09-13,71202
2018-09-16,69999
2018-09-18,69135
2018-09-23,69427
2018-10-02,69430
2018-10-05,68306
2018-10-09,68256
2018-10-14,68333
2018-10-22,66498
2018-10-23,66232
2018-11-01,65042
2018-11-02,65434
2018-11-14,77677
2018-11-20,76915
2018-11-21,77029
2018-11-26,76208
2018-11-29,76737
2018-12-04,76728
2018-12-11,75384
2018-12-15,75390
2018-12-23,75758
2018-12-29,88217
2018-12-30,75680
2019-01-04,75475
2019-01-10,50942
2019-01-13,51261
2019-01-22,51286
2019-01-26,51509
2019-01-29,51534
2019-02-06,51606
2019-02-11,52358
2019-02-18,52463
2019-02-24,52485
2019-03-02,52475
2019-03-06,51988
2019-03-15,51767
2019-03-21,53594
2019-03-26,53714
2019-04-02,53665
2019-04-07,53623
2019-04-11,53346
2019-04-17,53062
2019-04-25,53373
2019-05-02,55770
2019-05-04,55758
2019-05-05,55763
2019-05-10,55632
2019-05-13,55594
2019-05-23,55631
2019-05-24,55623
2019-05-29,55879
2019-06-05,55870
2019-06-11,55873
2019-06-17,57272
2019-06-19,57283
2019-06-22,57504
2019-06-28,55840
2019-07-04,55889
2019-07-21,56187
2019-07-27,56265
2019-07-31,56288
2019-08-06,56928
2019-08-10,57082
2019-08-13,57361
2019-08-14,57490
2019-08-14,57490
2019-08-22,57644
2019-08-30,57683
2019-09-06,55144
2019-09-09,54557
2019-09-09,55178
2019-09-09,54569
2019-09-10,57764
2019-09-19,57798
2019-09-23,57854
2019-09-29,57906
2019-10-10,55233
2019-10-12,55249
2019-10-15,58466
2019-10-18,58340
2019-10-27,59720
2019-10-27,60474
2019-10-30,60593
2019-10-31,60754
2019-11-03,60909
2019-11-15,60598
2019-11-17,60679
2019-11-20,61848
2019-11-26,62191
2019-11-27,62194
2019-12-02,62213
2019-12-11,59074
2019-12-15,58772
2019-12-20,58814
2019-12-21,58821
2019-12-23,58810
2019-12-30,58847
2020-01-01,58827
2020-01-04,58987
2020-01-06,58923
2020-01-09,59648
2020-01-11,59982
2020-01-14,70332
2020-01-16,70336
2020-01-16,70338
2020-01-16,70340
2020-01-19,70331
2020-01-21,70294
2020-01-23,70059
2020-01-24,69546
2020-01-30,70512
2020-02-03,70776
2020-02-05,70683
2020-02-09,70725
2020-02-14,70833
2020-02-17,70874
2020-02-21,71057
2020-02-22,71057
2020-02-25,71044
2020-02-25,71043
2020-03-01,71188
2020-03-05,71095
2020-03-07,71130
2020-03-11,72028
2020-03-15,73407
2020-03-18,73703
2020-03-21,74122
2020-03-25,74508
2020-03-28,74709
2020-03-29,74672
2020-04-01,74764
2020-04-03,74072
2020-04-03,74072
2020-04-03,74923
2020-04-04,74870
2020-04-06,74953
2020-04-09,75170
2020-04-10,75203
2020-04-11,77671
2020-04-13,77846
2020-04-16,78167
2020-04-18,78284
2020-04-22,78436
2020-04-26,78413
2020-04-28,78347
2020-05-02,79131
2020-05-05,78709
2020-05-05,78840
2020-05-12,80758
2020-05-13,80900
2020-05-13,80903
2020-05-15,80961
2020-05-20,80892
2020-05-26,80579
2020-05-27,80619
2020-06-02,80795
2020-06-09,80710
2020-06-16,80718
2020-06-22,80580
2020-06-25,80640
2020-06-27,80555
2020-07-02,80700
2020-07-02,80699
2020-07-05,80598
2020-07-06,80568
2020-07-13,80756
2020-07-18,80974
2020-07-24,81147
2020-07-29,82067
2020-08-01,81983
2020-08-03,81321
2020-08-06,81829
2020-08-13,82374
2020-08-14,82421
2020-08-15,82812
2020-08-17,82213
2020-08-19,80991
2020-08-25,80673
2020-09-02,81135
2020-09-07,81081
2020-09-14,81654
2020-09-20,81615
2020-09-26,81968
2020-10-03,82040
2020-10-08,81691
2020-10-13,79191
2020-10-14,80823
2020-10-19,83000
2020-10-29,84677
2020-11-01,84363
2020-11-03,86217
2020-11-08,86183
2020-11-10,85667
2020-11-14,84397
2020-11-15,86272
2020-11-16,86304
2020-11-19,84445
2020-11-22,86420
2020-11-25,87131
2020-11-28,87220
2020-12-02,85238
2020-12-09,85668
2020-12-14,85933
2020-12-19,85798
2020-12-26,85761
2020-12-31,85471
2021-01-02,85289
2021-01-05,85512
2021-01-12,85579
2021-01-17,86335
2021-01-22,87002
2021-01-22,87006
2021-01-24,87359
2021-01-31,87663
2021-02-02,87879
2021-02-03,87916
2021-02-08,88528
2021-02-09,88588
2021-02-14,88888
2021-02-16,93558
2021-02-21,94394
2021-02-22,95888
2021-02-26,96145
2021-02-28,96159
2021-03-06,97237
2021-03-09,97581
2021-03-10,98964
2021-03-16,98545
2021-03-21,98457
2021-03-28,99356
2021-03-31,108751
2021-04-04,109081
2021-04-09,109624
2021-04-13,107614
2021-04-19,110962
2021-04-24,114421
2021-04-26,110832
2021-04-26,111060
2021-04-29,111900
2021-05-01,111693
2021-05-04,110243
2021-05-05,110315
2021-05-06,110432
2021-05-06,110809
2021-05-06,110808
2021-05-12,112139
2021-05-15,112517
2021-05-17,111725
2021-05-22,112728
2021-05-25,114086
2021-05-31,113861
2021-06-07,113214
2021-06-16,112158
2021-06-22,111518
2021-06-28,112195
2021-07-01,112952
2021-07-04,112904
2021-07-13,113643
2021-07-18,114165
2021-07-19,109783
2021-07-26,114841
2021-07-29,115428
2021-08-02,116567
2021-08-09,118248
2021-08-17,117718
2021-08-20,118273
2021-08-25,120672
2021-08-26,121331
2021-08-30,120423
2021-09-02,121559
2021-09-06,122387
2021-09-07,124222
2021-09-12,124724
2021-09-17,124454
2021-09-24,128915
2021-09-30,146843
2021-09-30,134571
2021-10-03,136601
2021-10-05,137317
2021-10-12,138193
2021-10-14,138886
2021-10-19,139175
2021-10-23,139276
2021-10-23,139274
2021-10-27,138615
2021-11-04,139224
2021-11-11,139382
2021-11-14,139345
2021-11-17,139787
2021-11-21,142462
2021-11-29,143813
2021-11-29,143794
2021-12-05,142879
2021-12-09,142805
2021-12-12,143042
2021-12-13,143647
2021-12-16,144449
2021-12-19,144510
2021-12-20,144912
2021-12-25,146047
2021-12-30,145900
2021-12-30,146085
2021-12-30,146074
2022-01-02,145937
2022-01-04,146202
2022-01-07,146488
2022-01-11,141769
2022-01-18,143707
2022-01-19,143376
2022-01-21,144009
2022-01-24,147361
2022-01-28,149156
2022-01-30,149301
2022-01-31,145725
2022-02-01,146126
2022-02-07,146843
2022-02-12,149485
2022-02-13,149615
2022-02-13,149611
2022-02-17,149676
2022-02-22,145121
2022-02-26,145295
2022-03-06,149342
2022-03-07,148156
2022-03-09,148471
2022-03-12,148890
2022-03-14,147097
2022-03-19,147709
2022-03-24,180230
2022-03-29,155545
2022-03-31,156023
2022-04-05,157492
2022-04-09,158191
2022-04-13,158994
2022-04-18,158958
2022-04-21,159707
2022-04-25,156792
2022-04-29,147895
2022-05-03,161214
2022-05-05,161454
2022-05-10,159348
2022-05-14,160095
2022-05-19,163022
2022-05-25,190977
2022-05-29,191643
2022-05-31,160181
2022-06-02,160544
2022-06-07,157631
2022-06-09,157994
2022-06-09,157995
2022-06-16,176707
2022-06-21,156504
2022-06-21,156618
2022-06-25,157598
2022-06-29,169964
2022-07-01,170217
2022-07-04,158204
2022-07-13,193740
2022-07-16,184425
2022-07-16,184418
2022-07-18,160403
2022-07-21,179076
2022-07-23,180117
2022-07-25,179209
2022-07-29,180380
2022-08-03,181442
2022-08-09,181529
2022-08-12,182356
2022-08-17,183357
2022-08-20,184375
2022-08-24,185270
2022-08-25,185717
2022-08-31,185542
2022-09-04,186271
2022-09-05,187324
2022-09-08,188064
2022-09-11,188521
2022-09-13,189712
2022-09-17,191305
2022-09-23,199339
2022-10-01,202046
2022-10-06,203337
2022-10-09,203562
2022-10-13,205612
2022-10-15,206153
2022-10-17,206187
2022-10-20,206853
2022-10-27,208787
2022-11-01,210626
2022-11-09,210168
2022-11-12,210078
2022-11-13,209957
2022-11-20,213976
2022-11-21,213910
2022-11-26,212413
2022-11-28,211833
2022-11-29,212721
2022-12-03,212427
2022-12-04,212079
2022-12-05,213434
2022-12-06,214490
2022-12-11,213092
2022-12-13,213742
2022-12-15,217673
2022-12-18,214907
2022-12-20,218320
2022-12-26,216396
2022-12-29,217076
2022-12-29,217168
2023-01-01,217290
2023-01-06,218118
2023-01-08,218249
2023-01-11,220229
2023-01-13,220566
2023-01-19,222816
2023-01-23,223571
2023-01-24,224249
2023-01-27,225568
2023-01-27,225571
2023-01-27,225569
2023-01-31,226045
2023-02-05,228211
2023-02-07,229784
2023-02-07,229785
2023-02-07,229786
2023-02-16,234013
2023-02-19,235204
2023-02-23,236001
2023-02-28,238204
2023-03-03,237910
2023-03-06,238293
2023-03-07,238622
2023-03-10,240489
2023-03-14,242140
2023-03-21,245088
2023-03-25,246726
2023-03-29,247580
2023-04-07,251327
2023-04-11,252576
2023-04-16,253875
2023-04-18,257290
2023-04-19,223340
2023-04-19,223347
2023-04-23,223961
2023-04-26,227730
2023-04-27,228136
2023-04-30,228228
2023-05-02,229127
2023-05-05,230351
2023-05-08,230474
2023-05-11,232345
2023-05-14,234459
2023-05-15,235600
2023-05-20,236819
2023-05-21,237172
2023-05-24,239759
2023-06-02,242334
2023-06-06,243502
2023-06-10,244311
2023-06-11,244387
2023-06-13,244876
2023-06-14,245754
2023-06-14,246431
2023-06-16,247449
2023-06-17,247149
2023-06-18,246936
2023-06-23,248679
2023-06-27,249303
2023-07-01,250471
2023-07-06,252022
2023-07-09,252421
2023-07-14,254055
2023-07-15,254157
2023-07-21,255901
2023-07-23,256093
2023-07-27,257384
2023-08-01,258619
2023-08-04,260751
2023-08-05,260839
2023-08-08,265995
2023-08-05,260839
2023-08-08,265995
2023-08-13,267643
2023-08-17,268442
2023-08-21,269390
2023-08-22,269764
2023-08-26,271339
2023-08-28,271551
2023-09-03,271172
2023-09-04,273499
2023-09-05,274305
2023-09-06,273900
2023-09-06,275307
2023-09-08,276178
2023-09-08,276194
2023-09-10,251639
2023-09-14,251658
2023-09-17,228141
2023-09-21,194479
2023-09-24,195050
2023-09-25,194003
2023-09-30,194252
2023-10-02,194631
2023-10-04,196020
2023-10-08,197056
2023-10-12,200838
2023-10-13,201556
2023-10-17,202429
2023-10-18,202924
2023-10-21,204606
2023-10-23,204793
2023-10-27,207213
2023-11-01,208347
2023-11-02,209100
2023-11-03,209625
2023-11-08,211558
2023-11-11,212456
2023-11-13,213076
2023-11-19,215437
2023-11-21,216422
2023-11-24,217983
2023-11-25,218338
2023-11-25,218333
2023-11-25,218370
2023-11-26,218441
2023-11-26,218473
2023-12-01,202409
2023-12-03,204539
2023-12-12,202021
2023-12-16,203808
2023-12-17,203996
2023-12-17,204017
2023-12-25,205114
2023-12-30,206282
2024-01-03,207707
2024-01-06,208987
2024-01-13,213463
2024-01-17,214678
2024-01-21,215899
2024-01-27,218553
2024-01-30,219838
2024-02-06,223121
2024-02-10,212040
2024-02-12,213054
2024-02-15,215628
2024-02-24,249550
2024-02-25,249623
2024-02-28,253242
2024-03-04,256922
2024-03-09,261792
2024-03-15,266206
2024-03-19,268940
2024-03-23,271665
2024-03-28,273945
2024-04-02,274896
2024-04-04,219513
2024-04-09,212872
2024-04-11,213420
2024-04-18,213851
2024-04-22,215645
2024-04-25,217095
2024-05-01,216428
2024-05-03,216830
2024-05-12,221245
2024-05-20,226604
2024-05-27,230487
2024-06-03,233502
2024-06-08,236503
2024-06-14,241435
2024-06-16,242535
2024-06-19,245320
2024-06-21,247552
2024-06-24,248605
2024-06-26,250238
2024-07-01,252281
2024-07-04,254127
2024-07-07,241012
2024-07-11,243731
2024-07-14,244731
2024-07-15,245303
2024-07-20,247868
2024-07-27,247957
2024-07-30,249165
2024-08-02,250531
2024-08-04,251009
2024-08-08,253278
2024-08-11,254326
2024-08-16,256890
2024-08-17,257396
2024-08-20,258887
2024-08-26,261344
2024-08-29,262760
2024-08-30,263219
2024-08-31,263320
2024-09-04,267834
2024-09-06,268848
2024-09-10,257448
2024-09-13,258073
2024-09-16,259041
2024-09-20,257992
2024-09-21,206480
2024-09-22,205378
2024-09-25,206431
2024-09-27,207000
2024-09-27,207001
2024-10-01,207001
2024-10-01,207789
2024-10-01,207789
2024-10-03,197574
2024-10-05,197275
2024-10-07,196750
2024-10-09,197203
2024-10-10,197307
2024-10-11,197307
2024-10-11,198198
2024-10-12,198253
2024-10-13,198302
2024-10-15,198406
2024-10-18,198584
2024-10-23,199144
2024-10-26,199006
2024-10-30,200289
2024-11-02,201086
2024-11-07,202399
2024-11-11,202125
2024-11-14,202554
2024-11-19,202651
2024-11-23,202552
2024-11-24,202115
2024-11-28,203016
2024-12-02,203160
2024-12-04,203215
2024-12-06,203288
2024-12-12,202872
2024-12-15,202686
2024-12-16,202372
2024-12-16,202522
2024-12-18,202105
2024-12-20,201603
2024-12-23,200440
2024-12-26,199325
2024-12-27,198819
2024-12-30,198933
2025-01-04,198586
2025-01-06,196969
2025-01-09,197610
2025-01-15,198668
2025-01-21,200070
2025-01-22,200242
2025-01-25,200693
2025-01-26,200167
2025-01-31,202238
2025-02-04,201465
2025-02-12,204154
2025-02-17,205463
2025-02-20,207192
2025-02-22,207559
2025-03-01,209436
2025-03-07,211357
2025-03-09,211458
2025-03-13,212445
2025-03-17,212617
2025-03-21,214591
2025-03-26,215348
2025-03-28,210888
2025-04-01,211570
2025-04-05,213679
2025-04-09,215040
2025-04-12,215901
2025-04-17,223726
2025-04-22,227474
2025-04-25,233004
2025-04-30,242120
2025-05-04,243307
2025-05-08,245915
2025-05-15,250051
2025-05-18,252146
2025-05-20,253090
2025-05-27,265084
2025-06-02,267960
2025-06-04,271239
2025-06-07,276351
2025-06-12,280047
2025-06-15,282215
2025-06-18,285338
2025-06-19,286538
2025-06-23,289845
2025-06-25,296843
2025-06-30,305806
2025-07-03,310699
2025-07-05,319402
2025-07-08,327324
2025-07-11,333180
2025-07-12,334614
2025-07-13,324000
2025-07-13,323998
2025-07-16,323998
2025-07-16,298723
2025-07-18,298723
2025-07-18,301582
2025-07-23,301624
2025-07-26,305067
2025-07-30,306481
2025-08-01,307388
2025-08-03,308122
2025-08-08,309229
2025-08-08,309229
2025-08-13,309452
2025-08-14,310194
2025-08-19,311071
2025-08-24,314446
2025-08-29,315899
2025-09-05,322266
2025-09-08,326237
2025-09-14,329588
2025-09-15,330066
2025-09-25,162339
2025-09-27,163572
2025-10-02,164391
2025-10-04,162363
2025-10-08,162311
2025-10-13,162010
2025-10-16,162875
2025-10-25,183655
2025-11-01,189575
2025-11-02,189008
2025-11-04,189970
2025-11-07,191624
2025-11-11,189037
2025-11-11,188983
2025-11-15,191981
2025-11-18,182930
2025-11-21,178614
2025-11-23,178614
2025-11-27,169361
Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

+127727 -71189
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+485 -246
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 106,972 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: **December 11 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 163,666 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,69 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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)
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)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -131,9 +205,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -141,61 +221,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -205,51 +289,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.
`--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.
#### Using 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.
`--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.
@@ -259,41 +325,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
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.
@@ -313,77 +390,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -397,40 +574,40 @@ ipconfig /flushdns
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
@@ -438,61 +615,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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!.
+982
View File
@@ -0,0 +1,982 @@
2016-12-17,38567
2016-12-18,38613
2016-12-18,40042
2016-12-19,40068
2016-12-20,40145
2016-12-21,40181
2016-12-21,40138
2016-12-22,40174
2016-12-25,40188
2016-12-27,40210
2016-12-28,40230
2017-01-02,40245
2017-01-05,38216
2017-01-05,40245
2017-01-10,40318
2017-01-11,40423
2017-01-14,40419
2017-01-18,40468
2017-01-18,40469
2017-01-20,40486
2017-01-22,40494
2017-01-26,40542
2017-01-31,40581
2017-02-04,40587
2017-02-04,40587
2017-02-07,40566
2017-02-07,40565
2017-02-10,40579
2017-02-11,40581
2017-02-13,40581
2017-02-15,40601
2017-02-17,40597
2017-02-17,40597
2017-02-20,40666
2017-02-22,44569
2017-02-23,44568
2017-02-23,44024
2017-02-24,44016
2017-02-24,43603
2017-02-26,43630
2017-03-01,43686
2017-03-04,43728
2017-03-07,43734
2017-03-10,43884
2017-03-15,43912
2017-03-16,43918
2017-03-20,43928
2017-03-22,43938
2017-03-25,43964
2017-03-30,44049
2017-04-05,44089
2017-04-08,43897
2017-04-08,43897
2017-04-08,43897
2017-04-11,43985
2017-04-13,43909
2017-04-15,43940
2017-04-16,43940
2017-04-17,43959
2017-04-18,43976
2017-04-22,44029
2017-04-25,44062
2017-04-26,44088
2017-05-02,44134
2017-05-07,44173
2017-05-08,44177
2017-05-10,44239
2017-05-13,44347
2017-05-15,44363
2017-05-15,44363
2017-05-16,44428
2017-05-21,44428
2017-05-21,44506
2017-05-23,44531
2017-05-28,44672
2017-05-29,44715
2017-05-30,44725
2017-06-02,44817
2017-06-05,44859
2017-06-11,44928
2017-06-21,45141
2017-06-22,45170
2017-06-24,45091
2017-06-28,45140
2017-07-04,45143
2017-07-10,45278
2017-07-11,45289
2017-07-11,45290
2017-07-12,45304
2017-07-17,45018
2017-07-17,45017
2017-07-18,44957
2017-07-26,44661
2017-07-28,44662
2017-07-31,44691
2017-08-08,44420
2017-08-12,44579
2017-08-15,47082
2017-08-15,47082
2017-08-18,47103
2017-08-18,46858
2017-08-20,46858
2017-08-20,46872
2017-08-20,46872
2017-08-21,46832
2017-08-28,46900
2017-08-31,46892
2017-09-05,46803
2017-09-07,46867
2017-09-13,46900
2017-09-18,46849
2017-09-21,46872
2017-09-29,46891
2017-10-05,46903
2017-10-11,46888
2017-10-15,51247
2017-10-19,51216
2017-10-25,51248
2017-10-25,51275
2017-10-28,51274
2017-11-01,51319
2017-11-04,51337
2017-11-09,51373
2017-11-16,51449
2017-11-25,51498
2017-11-30,51534
2017-12-07,51450
2017-12-11,51460
2017-12-17,54153
2017-12-18,51492
2017-12-21,51500
2017-12-27,51502
2017-12-30,51501
2018-01-01,51521
2018-01-06,53228
2018-01-10,53224
2018-01-13,53134
2018-01-14,53142
2018-01-21,53239
2018-01-22,53241
2018-01-23,53247
2018-01-26,53250
2018-01-26,53353
2018-01-31,53268
2018-02-02,52465
2018-02-08,65216
2018-02-09,65216
2018-02-11,65231
2018-02-13,65205
2018-02-14,65231
2018-02-15,65228
2018-02-20,65196
2018-02-24,69259
2018-02-24,66182
2018-02-25,66175
2018-02-25,66174
2018-02-26,66190
2018-02-28,66210
2018-03-03,66206
2018-03-04,66221
2018-03-04,66143
2018-03-06,66197
2018-03-07,66197
2018-03-08,66192
2018-03-09,66208
2018-03-10,66209
2018-03-12,66233
2018-03-13,66235
2018-03-14,66242
2018-03-15,66741
2018-03-15,66252
2018-03-17,66257
2018-03-17,66257
2018-03-19,66294
2018-03-20,66332
2018-03-22,66336
2018-03-23,70749
2018-03-23,70749
2018-03-24,66822
2018-03-26,66876
2018-03-28,66941
2018-03-29,66933
2018-03-30,66932
2018-04-02,66484
2018-04-02,65978
2018-04-04,65366
2018-04-05,65345
2018-04-06,65290
2018-04-06,65295
2018-04-08,65227
2018-04-12,65243
2018-04-16,65140
2018-04-17,65229
2018-04-19,65168
2018-04-21,65201
2018-04-22,65199
2018-04-24,65209
2018-04-25,65087
2018-04-30,65142
2018-05-02,64921
2018-05-05,64928
2018-05-08,64779
2018-05-12,64801
2018-05-13,64797
2018-05-17,64476
2018-05-19,64485
2018-05-22,64498
2018-05-30,65615
2018-06-02,65633
2018-06-02,65633
2018-06-02,65633
2018-06-05,65848
2018-06-08,66998
2018-06-10,67020
2018-06-14,67135
2018-06-14,67134
2018-06-14,67133
2018-06-14,67133
2018-06-14,67133
2018-06-16,67344
2018-06-17,67538
2018-06-18,67625
2018-06-20,67955
2018-06-24,68006
2018-06-28,68050
2018-06-30,68236
2018-07-04,69748
2018-07-06,72785
2018-07-09,72838
2018-07-11,71605
2018-07-16,71610
2018-07-23,71124
2018-07-26,71311
2018-07-26,71311
2018-07-30,72131
2018-08-01,72195
2018-08-08,72656
2018-08-13,72979
2018-08-19,73906
2018-08-22,73284
2018-08-24,72606
2018-08-25,72526
2018-08-29,71611
2018-09-04,71533
2018-09-05,70798
2018-09-06,70870
2018-09-08,70865
2018-09-13,70044
2018-09-16,68841
2018-09-18,67977
2018-09-23,68269
2018-10-02,68272
2018-10-05,67148
2018-10-09,67098
2018-10-14,67175
2018-10-22,65340
2018-10-23,65074
2018-11-01,63884
2018-11-02,64276
2018-11-14,76519
2018-11-20,75757
2018-11-21,75871
2018-11-26,75050
2018-11-29,75578
2018-12-04,75569
2018-12-11,74225
2018-12-15,74231
2018-12-23,74599
2018-12-29,87058
2018-12-30,74521
2019-01-04,74316
2019-01-10,49782
2019-01-13,49785
2019-01-22,49810
2019-01-26,50033
2019-01-29,50058
2019-02-06,50130
2019-02-11,50075
2019-02-18,50180
2019-02-24,50202
2019-03-02,50192
2019-03-06,49705
2019-03-15,49484
2019-03-21,51311
2019-03-26,51431
2019-04-02,51382
2019-04-07,51340
2019-04-11,51063
2019-04-17,50779
2019-04-25,51086
2019-05-02,53483
2019-05-04,53471
2019-05-05,53476
2019-05-10,53344
2019-05-13,53306
2019-05-23,53345
2019-05-24,53337
2019-05-29,53593
2019-06-05,53585
2019-06-11,53588
2019-06-17,54987
2019-06-19,54998
2019-06-22,55030
2019-06-28,53366
2019-07-04,53415
2019-07-21,53713
2019-07-27,53791
2019-07-31,53814
2019-08-06,54454
2019-08-10,54608
2019-08-13,54887
2019-08-14,55016
2019-08-14,55016
2019-08-22,55170
2019-08-30,55209
2019-09-06,52670
2019-09-09,52083
2019-09-09,52704
2019-09-09,52095
2019-09-10,55290
2019-09-19,55324
2019-09-23,55380
2019-09-29,55432
2019-10-10,52759
2019-10-12,52775
2019-10-15,55992
2019-10-18,55866
2019-10-27,57246
2019-10-27,58000
2019-10-30,58119
2019-10-31,58280
2019-11-03,58435
2019-11-15,58124
2019-11-17,58205
2019-11-20,59374
2019-11-26,59717
2019-11-27,59720
2019-12-02,59739
2019-12-11,56600
2019-12-15,56297
2019-12-20,56339
2019-12-21,56346
2019-12-23,56335
2019-12-30,56372
2020-01-01,56352
2020-01-04,56512
2020-01-06,56448
2020-01-09,57173
2020-01-11,57507
2020-01-14,67865
2020-01-16,67869
2020-01-16,67871
2020-01-16,67873
2020-01-19,67864
2020-01-21,67827
2020-01-23,67592
2020-01-24,67079
2020-01-30,68045
2020-02-03,68309
2020-02-05,68216
2020-02-09,68258
2020-02-14,68366
2020-02-17,68407
2020-02-21,68590
2020-02-22,68590
2020-02-25,68577
2020-02-25,68576
2020-03-01,68721
2020-03-05,68628
2020-03-07,68663
2020-03-11,69279
2020-03-15,70658
2020-03-18,70954
2020-03-21,71373
2020-03-25,71759
2020-03-28,71960
2020-03-29,71923
2020-04-01,72014
2020-04-03,71322
2020-04-03,71322
2020-04-03,72173
2020-04-04,72120
2020-04-06,72203
2020-04-09,72420
2020-04-10,72453
2020-04-11,74921
2020-04-13,75096
2020-04-16,75417
2020-04-18,75534
2020-04-22,75686
2020-04-26,75663
2020-04-28,75597
2020-05-02,76381
2020-05-05,75959
2020-05-05,76090
2020-05-12,78008
2020-05-13,78150
2020-05-13,78153
2020-05-15,78211
2020-05-20,78142
2020-05-26,77829
2020-05-27,77869
2020-06-02,78039
2020-06-09,77954
2020-06-16,77962
2020-06-22,77824
2020-06-25,77884
2020-06-27,77799
2020-07-02,77944
2020-07-02,77943
2020-07-05,77842
2020-07-06,77812
2020-07-13,78000
2020-07-18,78218
2020-07-24,78391
2020-07-29,79311
2020-08-01,79227
2020-08-03,78565
2020-08-06,79073
2020-08-13,79618
2020-08-14,79665
2020-08-15,80056
2020-08-17,79457
2020-08-19,78235
2020-08-25,77917
2020-09-02,78379
2020-09-07,78325
2020-09-14,78898
2020-09-20,78859
2020-09-26,79212
2020-10-03,79284
2020-10-08,78935
2020-10-13,76435
2020-10-14,78067
2020-10-19,80244
2020-10-29,81921
2020-11-01,81607
2020-11-03,83461
2020-11-08,83427
2020-11-10,82911
2020-11-14,81640
2020-11-15,83515
2020-11-16,83547
2020-11-19,81688
2020-11-22,83663
2020-11-25,84374
2020-11-28,84463
2020-12-02,82481
2020-12-09,82911
2020-12-14,83176
2020-12-19,83040
2020-12-26,83003
2020-12-31,82713
2021-01-02,82531
2021-01-05,82754
2021-01-12,82821
2021-01-17,83577
2021-01-22,84244
2021-01-22,84248
2021-01-24,84601
2021-01-31,84867
2021-02-02,85083
2021-02-03,85120
2021-02-08,85732
2021-02-09,85792
2021-02-14,86084
2021-02-16,90754
2021-02-21,91590
2021-02-22,93084
2021-02-26,93341
2021-02-28,93355
2021-03-06,94433
2021-03-09,94777
2021-03-10,96160
2021-03-16,95741
2021-03-21,95653
2021-03-28,96552
2021-03-31,105947
2021-04-04,106277
2021-04-09,106820
2021-04-13,104810
2021-04-19,108158
2021-04-24,111617
2021-04-26,108028
2021-04-26,108256
2021-04-29,109096
2021-05-01,108889
2021-05-04,107439
2021-05-05,107511
2021-05-06,107628
2021-05-06,108005
2021-05-06,108004
2021-05-12,109335
2021-05-15,109713
2021-05-17,108921
2021-05-22,109924
2021-05-25,111282
2021-05-31,111057
2021-06-07,110410
2021-06-16,109354
2021-06-22,108714
2021-06-28,109381
2021-07-01,110138
2021-07-04,110090
2021-07-13,110829
2021-07-18,111351
2021-07-19,106969
2021-07-26,112027
2021-07-29,112614
2021-08-02,113753
2021-08-09,115436
2021-08-17,114906
2021-08-20,115461
2021-08-25,117860
2021-08-26,118519
2021-08-30,117611
2021-09-02,118747
2021-09-06,119575
2021-09-07,121410
2021-09-12,121912
2021-09-17,121642
2021-09-24,126103
2021-09-30,144031
2021-09-30,131759
2021-10-03,133789
2021-10-05,134505
2021-10-12,135381
2021-10-14,136074
2021-10-19,136363
2021-10-23,136464
2021-10-23,136462
2021-10-27,135803
2021-11-04,136412
2021-11-11,136568
2021-11-14,136531
2021-11-17,136973
2021-11-21,139648
2021-11-29,141002
2021-11-29,140983
2021-12-05,140068
2021-12-09,139993
2021-12-12,140230
2021-12-13,140835
2021-12-16,141635
2021-12-19,141696
2021-12-20,142098
2021-12-25,143233
2021-12-30,143086
2021-12-30,143271
2021-12-30,143260
2022-01-02,143123
2022-01-04,143388
2022-01-07,143674
2022-01-11,138955
2022-01-18,140893
2022-01-19,140562
2022-01-21,141195
2022-01-24,144547
2022-01-28,146342
2022-01-30,146487
2022-01-31,142911
2022-02-01,143312
2022-02-07,144029
2022-02-12,146672
2022-02-13,146801
2022-02-13,146797
2022-02-17,146862
2022-02-22,142307
2022-02-26,142481
2022-03-06,146528
2022-03-07,145342
2022-03-09,145657
2022-03-12,146076
2022-03-14,144283
2022-03-19,144895
2022-03-24,177416
2022-03-29,152731
2022-03-31,153209
2022-04-05,154678
2022-04-09,155377
2022-04-13,156180
2022-04-18,156144
2022-04-21,156893
2022-04-25,153978
2022-04-29,145081
2022-05-03,158400
2022-05-05,158640
2022-05-10,156534
2022-05-14,157281
2022-05-19,160208
2022-05-25,188163
2022-05-29,188829
2022-05-31,157367
2022-06-02,157730
2022-06-07,154817
2022-06-09,155180
2022-06-09,155181
2022-06-16,173893
2022-06-21,153690
2022-06-21,153804
2022-06-25,154784
2022-06-29,167150
2022-07-01,167403
2022-07-04,155390
2022-07-13,190926
2022-07-16,181611
2022-07-16,181604
2022-07-18,157589
2022-07-21,176262
2022-07-23,177303
2022-07-25,176395
2022-07-29,177555
2022-08-03,178617
2022-08-09,178704
2022-08-12,179531
2022-08-17,180532
2022-08-20,181550
2022-08-24,182445
2022-08-25,182892
2022-08-31,182717
2022-09-04,183446
2022-09-05,184499
2022-09-08,185239
2022-09-11,185696
2022-09-13,186887
2022-09-17,188480
2022-09-23,196514
2022-10-01,199221
2022-10-06,200513
2022-10-09,200738
2022-10-13,202788
2022-10-15,203329
2022-10-17,203363
2022-10-20,204029
2022-10-27,205963
2022-11-01,207802
2022-11-09,207344
2022-11-12,207254
2022-11-13,207133
2022-11-20,211152
2022-11-21,211086
2022-11-26,209589
2022-11-28,209009
2022-11-29,209897
2022-12-03,209603
2022-12-04,209255
2022-12-05,210610
2022-12-06,211666
2022-12-11,210268
2022-12-13,210918
2022-12-15,214849
2022-12-18,212083
2022-12-20,215496
2022-12-26,213572
2022-12-29,214252
2022-12-29,214344
2023-01-01,214466
2023-01-06,215294
2023-01-08,215425
2023-01-11,217405
2023-01-13,217742
2023-01-19,219992
2023-01-23,220747
2023-01-24,221425
2023-01-27,222744
2023-01-27,222747
2023-01-27,222745
2023-01-31,223221
2023-02-05,225387
2023-02-07,226961
2023-02-07,226962
2023-02-07,226963
2023-02-16,231190
2023-02-19,232381
2023-02-23,233178
2023-02-28,235381
2023-03-03,235087
2023-03-06,235470
2023-03-07,235799
2023-03-10,237666
2023-03-14,239317
2023-03-21,242265
2023-03-25,243903
2023-03-29,244757
2023-04-07,248504
2023-04-11,249753
2023-04-16,251052
2023-04-18,254467
2023-04-19,220517
2023-04-19,220524
2023-04-23,221138
2023-04-26,224907
2023-04-27,225313
2023-04-30,225405
2023-05-02,226304
2023-05-05,227528
2023-05-08,227651
2023-05-11,229522
2023-05-14,231636
2023-05-15,232777
2023-05-20,233996
2023-05-21,234349
2023-05-24,236936
2023-06-02,239511
2023-06-06,240679
2023-06-10,241488
2023-06-11,241564
2023-06-13,242053
2023-06-14,242931
2023-06-14,243608
2023-06-16,244626
2023-06-17,244326
2023-06-18,244113
2023-06-23,245856
2023-06-27,246480
2023-07-01,247648
2023-07-06,249199
2023-07-09,249598
2023-07-14,251232
2023-07-15,251334
2023-07-21,253078
2023-07-23,253270
2023-07-27,254561
2023-08-01,255796
2023-08-04,257928
2023-08-05,258016
2023-08-08,263172
2023-08-05,258016
2023-08-08,263172
2023-08-13,264820
2023-08-17,265619
2023-08-21,266567
2023-08-22,266941
2023-08-26,268516
2023-08-28,268728
2023-09-03,268349
2023-09-04,270676
2023-09-05,271482
2023-09-06,271077
2023-09-06,272484
2023-09-08,273355
2023-09-08,273371
2023-09-10,248816
2023-09-14,248835
2023-09-17,225318
2023-09-21,191656
2023-09-24,192227
2023-09-25,191180
2023-09-30,191429
2023-10-02,191808
2023-10-04,193197
2023-10-08,194233
2023-10-12,198015
2023-10-13,198733
2023-10-17,199606
2023-10-18,200101
2023-10-21,201783
2023-10-23,201970
2023-10-27,204390
2023-11-01,205524
2023-11-02,206277
2023-11-03,206802
2023-11-08,208735
2023-11-11,209633
2023-11-13,210253
2023-11-19,212614
2023-11-21,213599
2023-11-24,215160
2023-11-25,215515
2023-11-25,215510
2023-11-25,215547
2023-11-26,215618
2023-11-26,215650
2023-12-01,199586
2023-12-03,201716
2023-12-12,199200
2023-12-16,200987
2023-12-17,201174
2023-12-17,201195
2023-12-25,202292
2023-12-30,203460
2024-01-03,204881
2024-01-06,206161
2024-01-13,210637
2024-01-17,211852
2024-01-21,213073
2024-01-27,215727
2024-01-30,217012
2024-02-06,220295
2024-02-10,209214
2024-02-12,210228
2024-02-15,212802
2024-02-24,246723
2024-02-25,246796
2024-02-28,250415
2024-03-04,254094
2024-03-09,258964
2024-03-15,263378
2024-03-19,266112
2024-03-23,268837
2024-03-28,271117
2024-04-02,272068
2024-04-04,216685
2024-04-09,209742
2024-04-11,210290
2024-04-18,210721
2024-04-22,212515
2024-04-25,213904
2024-05-01,213237
2024-05-03,213639
2024-05-12,218054
2024-05-20,223413
2024-05-27,227296
2024-06-03,230311
2024-06-08,233312
2024-06-14,238244
2024-06-16,239344
2024-06-19,242129
2024-06-21,244361
2024-06-24,245414
2024-06-26,247047
2024-07-01,249090
2024-07-04,250936
2024-07-07,237821
2024-07-11,240540
2024-07-14,241540
2024-07-15,242112
2024-07-20,244677
2024-07-27,244766
2024-07-30,245974
2024-08-02,247340
2024-08-04,247818
2024-08-08,250087
2024-08-11,251135
2024-08-16,253699
2024-08-17,254205
2024-08-20,255696
2024-08-26,258153
2024-08-29,259569
2024-08-30,260028
2024-08-31,260129
2024-09-04,264643
2024-09-06,265657
2024-09-10,254257
2024-09-13,254882
2024-09-16,255850
2024-09-20,254801
2024-09-21,203289
2024-09-22,202187
2024-09-25,203240
2024-09-27,203809
2024-09-27,203810
2024-10-01,203810
2024-10-01,204595
2024-10-01,204595
2024-10-03,194380
2024-10-05,194081
2024-10-07,193563
2024-10-09,194016
2024-10-10,194120
2024-10-11,194120
2024-10-11,195011
2024-10-12,195066
2024-10-13,195115
2024-10-15,195219
2024-10-18,195397
2024-10-23,195957
2024-10-26,195819
2024-10-30,197102
2024-11-02,197899
2024-11-07,199212
2024-11-11,198938
2024-11-14,199367
2024-11-19,199464
2024-11-23,199365
2024-11-24,198928
2024-11-28,199829
2024-12-02,199973
2024-12-04,200028
2024-12-06,200101
2024-12-12,199685
2024-12-15,199499
2024-12-16,199185
2024-12-16,199335
2024-12-18,198918
2024-12-20,198416
2024-12-23,197253
2024-12-26,196138
2024-12-27,195632
2024-12-30,195746
2025-01-04,195399
2025-01-06,193782
2025-01-09,194423
2025-01-15,195481
2025-01-21,196883
2025-01-22,197055
2025-01-25,197506
2025-01-26,196980
2025-01-31,199051
2025-02-04,198278
2025-02-12,200967
2025-02-17,202276
2025-02-20,204005
2025-02-22,204372
2025-03-01,206249
2025-03-07,208170
2025-03-09,208271
2025-03-13,209258
2025-03-17,209430
2025-03-21,211404
2025-03-26,212161
2025-03-28,207701
2025-04-01,208383
2025-04-05,210492
2025-04-09,211853
2025-04-12,212714
2025-04-17,220539
2025-04-22,224287
2025-04-25,229817
2025-04-30,238933
2025-05-04,240120
2025-05-08,242728
2025-05-15,246864
2025-05-18,248959
2025-05-20,249903
2025-05-27,261872
2025-06-02,264748
2025-06-04,268027
2025-06-07,273139
2025-06-12,276835
2025-06-15,279003
2025-06-18,282126
2025-06-19,283326
2025-06-23,286633
2025-06-25,293631
2025-06-30,302594
2025-07-03,307487
2025-07-05,316190
2025-07-08,324112
2025-07-11,329968
2025-07-12,331402
2025-07-13,320788
2025-07-13,320786
2025-07-16,320786
2025-07-16,295514
2025-07-18,295514
2025-07-18,298370
2025-07-23,298412
2025-07-26,301855
2025-07-30,303269
2025-08-01,304176
2025-08-03,304910
2025-08-08,306017
2025-08-08,306017
2025-08-13,306240
2025-08-14,306982
2025-08-19,307859
2025-08-24,311234
2025-08-29,312687
2025-09-05,319054
2025-09-08,323025
2025-09-14,326376
2025-09-15,326854
2025-09-25,159127
2025-09-27,160360
2025-10-02,161179
2025-10-04,159151
2025-10-08,159099
2025-10-13,158798
2025-10-16,159663
2025-10-25,180443
2025-11-01,186363
2025-11-02,185796
2025-11-04,186758
2025-11-07,188412
2025-11-11,185825
2025-11-11,185771
2025-11-15,188769
2025-11-18,179718
2025-11-21,175402
2025-11-23,175402
2025-11-27,166149
Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

File diff suppressed because it is too large Load Diff
+716
View File
@@ -0,0 +1,716 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,436 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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!.
+264
View File
@@ -0,0 +1,264 @@
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
2024-10-11,5411
2024-10-11,5411
2024-10-12,5411
2024-10-13,5411
2024-10-15,5411
2024-10-18,5411
2024-10-23,5411
2024-10-26,5411
2024-10-30,5411
2024-11-02,5411
2024-11-07,5411
2024-11-11,5411
2024-11-14,5411
2024-11-19,5411
2024-11-23,5411
2024-11-24,5411
2024-11-28,5411
2024-12-02,5411
2024-12-04,5411
2024-12-06,5411
2024-12-12,5411
2024-12-15,5411
2024-12-16,5411
2024-12-16,5411
2024-12-18,5411
2024-12-20,5411
2024-12-23,5411
2024-12-26,5411
2024-12-27,5411
2024-12-30,5411
2025-01-04,5411
2025-01-06,5411
2025-01-09,5411
2025-01-15,5411
2025-01-21,5411
2025-01-22,5411
2025-01-25,5411
2025-01-26,5411
2025-01-31,5411
2025-02-04,5411
2025-02-12,5411
2025-02-17,5411
2025-02-20,5411
2025-02-22,5411
2025-03-01,5411
2025-03-07,5411
2025-03-09,5411
2025-03-13,5411
2025-03-17,5411
2025-03-21,5411
2025-03-26,5411
2025-03-28,5411
2025-04-01,5411
2025-04-05,5411
2025-04-09,5411
2025-04-12,5411
2025-04-17,5411
2025-04-22,5411
2025-04-25,5411
2025-04-30,5411
2025-05-04,5411
2025-05-08,5411
2025-05-15,5411
2025-05-18,5411
2025-05-20,5411
2025-05-27,5436
2025-06-02,5436
2025-06-04,5436
2025-06-07,5436
2025-06-12,5436
2025-06-15,5436
2025-06-18,5436
2025-06-19,5436
2025-06-23,5436
2025-06-25,5436
2025-06-30,5436
2025-07-03,5436
2025-07-05,5436
2025-07-08,5436
2025-07-11,5436
2025-07-12,5436
2025-07-13,5436
2025-07-13,5436
2025-07-16,5436
2025-07-16,5427
2025-07-18,5427
2025-07-18,5436
2025-07-23,5436
2025-07-26,5436
2025-07-30,5436
2025-08-01,5436
2025-08-03,5436
2025-08-08,5436
2025-08-08,5436
2025-08-13,5436
2025-08-14,5436
2025-08-19,5436
2025-08-24,5436
2025-08-29,5436
2025-09-05,5436
2025-09-08,5436
2025-09-14,5436
2025-09-15,5436
2025-09-25,5436
2025-09-27,5436
2025-10-02,5436
2025-10-04,5436
2025-10-08,5436
2025-10-13,5436
2025-10-16,5436
2025-10-25,5436
2025-11-01,5436
2025-11-02,5436
2025-11-04,5436
2025-11-07,5436
2025-11-11,5436
2025-11-11,5436
2025-11-15,5436
2025-11-18,5436
2025-11-21,5436
2025-11-23,5436
2025-11-27,5436
Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

+55565 -47217
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+480 -244
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 83,614 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: **December 11 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 92,108 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,67 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -129,9 +200,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -139,61 +216,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -203,51 +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.
`--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.
#### Using 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.
`--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.
@@ -257,41 +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
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.
@@ -311,77 +385,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -395,40 +569,40 @@ ipconfig /flushdns
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
@@ -436,61 +610,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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!.
+982
View File
@@ -0,0 +1,982 @@
2016-12-17,32563
2016-12-18,32609
2016-12-18,32637
2016-12-19,32663
2016-12-20,32740
2016-12-21,32772
2016-12-21,32729
2016-12-22,32765
2016-12-25,32779
2016-12-27,32794
2016-12-28,32814
2017-01-02,32829
2017-01-05,30800
2017-01-05,32829
2017-01-10,32902
2017-01-11,32904
2017-01-14,32900
2017-01-18,32949
2017-01-18,32950
2017-01-20,32957
2017-01-22,32894
2017-01-26,32930
2017-01-31,32967
2017-02-04,32974
2017-02-04,32975
2017-02-07,32954
2017-02-07,32953
2017-02-10,32967
2017-02-11,32967
2017-02-13,32967
2017-02-15,32985
2017-02-17,32981
2017-02-17,32981
2017-02-20,33050
2017-02-22,36976
2017-02-23,36975
2017-02-23,36429
2017-02-24,36420
2017-02-24,36007
2017-02-26,36034
2017-03-01,36090
2017-03-04,36132
2017-03-07,36139
2017-03-10,36287
2017-03-15,36318
2017-03-16,36324
2017-03-20,36334
2017-03-22,36343
2017-03-25,36369
2017-03-30,36454
2017-04-05,36494
2017-04-08,36292
2017-04-08,36292
2017-04-08,36292
2017-04-11,36380
2017-04-13,36301
2017-04-15,36332
2017-04-16,36332
2017-04-17,36351
2017-04-18,36368
2017-04-22,36421
2017-04-25,36454
2017-04-26,36480
2017-05-02,36526
2017-05-07,36565
2017-05-08,36565
2017-05-10,36622
2017-05-13,36732
2017-05-15,36748
2017-05-15,36748
2017-05-16,36813
2017-05-21,36813
2017-05-21,36892
2017-05-23,36917
2017-05-28,37060
2017-05-29,37103
2017-05-30,37113
2017-06-02,37204
2017-06-05,37244
2017-06-11,37313
2017-06-21,37526
2017-06-22,37555
2017-06-24,37472
2017-06-28,37521
2017-07-04,37524
2017-07-10,37659
2017-07-11,37670
2017-07-11,37669
2017-07-12,37683
2017-07-17,37397
2017-07-17,37396
2017-07-18,37336
2017-07-26,37041
2017-07-28,37042
2017-07-31,37070
2017-08-08,36799
2017-08-12,36960
2017-08-15,39463
2017-08-15,39463
2017-08-18,39484
2017-08-18,39239
2017-08-20,39239
2017-08-20,39253
2017-08-20,39253
2017-08-21,39213
2017-08-28,39282
2017-08-31,39272
2017-09-05,39183
2017-09-07,39245
2017-09-13,39278
2017-09-18,39224
2017-09-21,39247
2017-09-29,39266
2017-10-05,39278
2017-10-11,39263
2017-10-15,43622
2017-10-19,43591
2017-10-25,43623
2017-10-25,43650
2017-10-28,43649
2017-11-01,43694
2017-11-04,43709
2017-11-09,43745
2017-11-16,43821
2017-11-25,43870
2017-11-30,43906
2017-12-07,43820
2017-12-11,43830
2017-12-17,46522
2017-12-18,43862
2017-12-21,43870
2017-12-27,43872
2017-12-30,43871
2018-01-01,43871
2018-01-06,44913
2018-01-10,44909
2018-01-13,44816
2018-01-14,44823
2018-01-21,44856
2018-01-22,44858
2018-01-23,44864
2018-01-26,44867
2018-01-26,44970
2018-01-31,44883
2018-02-02,44075
2018-02-08,56858
2018-02-09,56858
2018-02-11,56872
2018-02-13,56846
2018-02-14,56846
2018-02-15,56843
2018-02-20,56809
2018-02-24,60872
2018-02-24,57795
2018-02-25,57788
2018-02-25,57787
2018-02-26,57803
2018-02-28,57823
2018-03-03,57819
2018-03-04,57834
2018-03-04,57752
2018-03-06,57806
2018-03-07,57806
2018-03-08,57801
2018-03-09,57817
2018-03-10,57818
2018-03-12,57842
2018-03-13,57844
2018-03-14,57851
2018-03-15,58350
2018-03-15,57861
2018-03-17,57866
2018-03-17,57866
2018-03-19,57903
2018-03-20,57941
2018-03-22,57945
2018-03-23,62385
2018-03-23,62385
2018-03-24,58431
2018-03-26,58485
2018-03-28,58550
2018-03-29,58542
2018-03-30,58541
2018-04-02,58094
2018-04-02,57588
2018-04-04,56976
2018-04-05,56953
2018-04-06,56897
2018-04-06,56902
2018-04-08,56835
2018-04-12,56851
2018-04-16,56747
2018-04-17,56745
2018-04-19,56465
2018-04-21,56498
2018-04-22,56496
2018-04-24,56508
2018-04-25,56383
2018-04-30,56437
2018-05-02,56214
2018-05-05,56220
2018-05-08,56071
2018-05-12,56098
2018-05-13,56094
2018-05-17,55773
2018-05-19,55774
2018-05-22,55787
2018-05-30,56851
2018-06-02,56870
2018-06-02,56870
2018-06-02,56870
2018-06-05,57085
2018-06-08,58233
2018-06-10,58255
2018-06-14,58369
2018-06-14,58368
2018-06-14,58368
2018-06-14,58368
2018-06-14,58368
2018-06-16,58587
2018-06-17,58781
2018-06-18,58868
2018-06-20,59198
2018-06-24,59248
2018-06-28,59281
2018-06-30,59409
2018-07-04,60902
2018-07-06,63938
2018-07-09,63916
2018-07-11,62682
2018-07-16,62687
2018-07-23,62204
2018-07-26,62391
2018-07-26,62391
2018-07-30,63211
2018-08-01,63275
2018-08-08,63736
2018-08-13,64059
2018-08-19,64986
2018-08-22,64364
2018-08-24,63683
2018-08-25,63603
2018-08-29,62683
2018-09-04,62605
2018-09-05,61867
2018-09-06,61939
2018-09-08,61930
2018-09-13,61106
2018-09-16,59904
2018-09-18,59039
2018-09-23,59252
2018-10-02,59253
2018-10-05,58126
2018-10-09,58040
2018-10-14,58116
2018-10-22,56274
2018-10-23,56008
2018-11-01,54815
2018-11-02,55207
2018-11-14,67443
2018-11-20,66679
2018-11-21,66791
2018-11-26,65929
2018-11-29,66450
2018-12-04,66441
2018-12-11,65097
2018-12-15,65103
2018-12-23,65471
2018-12-29,77930
2018-12-30,65393
2019-01-04,65187
2019-01-10,40654
2019-01-13,40971
2019-01-22,40997
2019-01-26,41220
2019-01-29,41245
2019-02-06,41317
2019-02-11,41945
2019-02-18,41911
2019-02-24,41933
2019-03-02,41924
2019-03-06,41436
2019-03-15,41209
2019-03-21,41152
2019-03-26,41276
2019-04-02,41227
2019-04-07,41185
2019-04-11,40903
2019-04-17,40535
2019-04-25,40630
2019-05-02,42269
2019-05-04,42215
2019-05-05,42218
2019-05-10,42083
2019-05-13,42045
2019-05-23,42080
2019-05-24,42072
2019-05-29,42329
2019-06-05,42320
2019-06-11,42322
2019-06-17,43721
2019-06-19,43730
2019-06-22,43949
2019-06-28,44004
2019-07-04,44051
2019-07-21,44349
2019-07-27,44352
2019-07-31,44373
2019-08-06,45013
2019-08-10,45166
2019-08-13,45445
2019-08-14,45509
2019-08-14,45509
2019-08-22,45584
2019-08-30,45621
2019-09-06,43061
2019-09-09,42474
2019-09-09,43095
2019-09-09,42486
2019-09-10,45681
2019-09-19,45715
2019-09-23,45770
2019-09-29,45822
2019-10-10,43149
2019-10-12,43165
2019-10-15,46382
2019-10-18,46243
2019-10-27,46292
2019-10-27,46294
2019-10-30,46320
2019-10-31,46416
2019-11-03,46420
2019-11-15,46109
2019-11-17,46172
2019-11-20,46254
2019-11-26,46551
2019-11-27,46552
2019-12-02,46571
2019-12-11,43432
2019-12-15,43128
2019-12-20,43089
2019-12-21,43094
2019-12-23,43083
2019-12-30,43118
2020-01-01,43095
2020-01-04,43255
2020-01-06,43191
2020-01-09,43912
2020-01-11,44246
2020-01-14,54602
2020-01-16,54606
2020-01-16,54608
2020-01-16,54610
2020-01-19,54601
2020-01-21,54564
2020-01-23,54329
2020-01-24,53811
2020-01-30,54777
2020-02-03,55041
2020-02-05,54948
2020-02-09,54990
2020-02-14,55098
2020-02-17,55139
2020-02-21,55089
2020-02-22,55089
2020-02-25,55076
2020-02-25,55075
2020-03-01,55220
2020-03-05,55125
2020-03-07,55159
2020-03-11,55665
2020-03-15,56946
2020-03-18,57194
2020-03-21,57556
2020-03-25,57734
2020-03-28,57935
2020-03-29,57869
2020-04-01,57960
2020-04-03,57259
2020-04-03,57259
2020-04-03,58119
2020-04-04,58066
2020-04-06,58149
2020-04-09,58366
2020-04-10,58398
2020-04-11,58411
2020-04-13,58368
2020-04-16,58685
2020-04-18,58802
2020-04-22,58955
2020-04-26,58917
2020-04-28,58851
2020-05-02,59638
2020-05-05,59175
2020-05-05,59310
2020-05-12,61228
2020-05-13,61370
2020-05-13,61373
2020-05-15,61431
2020-05-20,61363
2020-05-26,61050
2020-05-27,61090
2020-06-02,61244
2020-06-09,61159
2020-06-16,61160
2020-06-22,61020
2020-06-25,61078
2020-06-27,60993
2020-07-02,61138
2020-07-02,61137
2020-07-05,61035
2020-07-06,61005
2020-07-13,61162
2020-07-18,61358
2020-07-24,61416
2020-07-29,62306
2020-08-01,62205
2020-08-03,61533
2020-08-06,62041
2020-08-13,62781
2020-08-14,62828
2020-08-15,62785
2020-08-17,62186
2020-08-19,60958
2020-08-25,60590
2020-09-02,61052
2020-09-07,60998
2020-09-14,61571
2020-09-20,61532
2020-09-26,61885
2020-10-03,61935
2020-10-08,61586
2020-10-13,61224
2020-10-14,60417
2020-10-19,62494
2020-10-29,63659
2020-11-01,63346
2020-11-03,65200
2020-11-08,65166
2020-11-10,64645
2020-11-14,62770
2020-11-15,64645
2020-11-16,64677
2020-11-19,62818
2020-11-22,64793
2020-11-25,65075
2020-11-28,65164
2020-12-02,63182
2020-12-09,63612
2020-12-14,63878
2020-12-19,63740
2020-12-26,63703
2020-12-31,63413
2021-01-02,63231
2021-01-05,63454
2021-01-12,63521
2021-01-17,63819
2021-01-22,64486
2021-01-22,64490
2021-01-24,64849
2021-01-31,65152
2021-02-02,65368
2021-02-03,65405
2021-02-08,65531
2021-02-09,65591
2021-02-14,65886
2021-02-16,67903
2021-02-21,68730
2021-02-22,70233
2021-02-26,70490
2021-02-28,70504
2021-03-06,71053
2021-03-09,71397
2021-03-10,72780
2021-03-16,72401
2021-03-21,72313
2021-03-28,73212
2021-03-31,82607
2021-04-04,82937
2021-04-09,83480
2021-04-13,81470
2021-04-19,84807
2021-04-24,88268
2021-04-26,84679
2021-04-26,84907
2021-04-29,85747
2021-05-01,85540
2021-05-04,84090
2021-05-05,84162
2021-05-06,84279
2021-05-06,84656
2021-05-06,84655
2021-05-12,85992
2021-05-15,86378
2021-05-17,85586
2021-05-22,86589
2021-05-25,87947
2021-05-31,87722
2021-06-07,87075
2021-06-16,86112
2021-06-22,85472
2021-06-28,86045
2021-07-01,86802
2021-07-04,86754
2021-07-13,87493
2021-07-18,87993
2021-07-19,83611
2021-07-26,88669
2021-07-29,89256
2021-08-02,90395
2021-08-09,92076
2021-08-17,91546
2021-08-20,92101
2021-08-25,94500
2021-08-26,95159
2021-08-30,94154
2021-09-02,95244
2021-09-06,95665
2021-09-07,97500
2021-09-12,98002
2021-09-17,97732
2021-09-24,99113
2021-09-30,108259
2021-09-30,95987
2021-10-03,96256
2021-10-05,96903
2021-10-12,97779
2021-10-14,98472
2021-10-19,98725
2021-10-23,98816
2021-10-23,98816
2021-10-27,98186
2021-11-04,98797
2021-11-11,98955
2021-11-14,98918
2021-11-17,99360
2021-11-21,102041
2021-11-29,103384
2021-11-29,103365
2021-12-05,102450
2021-12-09,102376
2021-12-12,102613
2021-12-13,103218
2021-12-16,104003
2021-12-19,104064
2021-12-20,104466
2021-12-25,105601
2021-12-30,105454
2021-12-30,105639
2021-12-30,105628
2022-01-02,105479
2022-01-04,105744
2022-01-07,106030
2022-01-11,101302
2022-01-18,102686
2022-01-19,102355
2022-01-21,102969
2022-01-24,106321
2022-01-28,108116
2022-01-30,108261
2022-01-31,104685
2022-02-01,105086
2022-02-07,105803
2022-02-12,106841
2022-02-13,106971
2022-02-13,106968
2022-02-17,107031
2022-02-22,102476
2022-02-26,102650
2022-03-06,106697
2022-03-07,105511
2022-03-09,105826
2022-03-12,106245
2022-03-14,104452
2022-03-19,105064
2022-03-24,137585
2022-03-29,112900
2022-03-31,113378
2022-04-05,114608
2022-04-09,115307
2022-04-13,116044
2022-04-18,116008
2022-04-21,116757
2022-04-25,113842
2022-04-29,104945
2022-05-03,118264
2022-05-05,118504
2022-05-10,116398
2022-05-14,117145
2022-05-19,120072
2022-05-25,148027
2022-05-29,148537
2022-05-31,117075
2022-06-02,117438
2022-06-07,114525
2022-06-09,114888
2022-06-09,114889
2022-06-16,133601
2022-06-21,113398
2022-06-21,113512
2022-06-25,114492
2022-06-29,126858
2022-07-01,127111
2022-07-04,115098
2022-07-13,150634
2022-07-16,141319
2022-07-16,141312
2022-07-18,117297
2022-07-21,135970
2022-07-23,136739
2022-07-25,135831
2022-07-29,136987
2022-08-03,138049
2022-08-09,138136
2022-08-12,138963
2022-08-17,139964
2022-08-20,140890
2022-08-24,141515
2022-08-25,141962
2022-08-31,141788
2022-09-04,142517
2022-09-05,142674
2022-09-08,143309
2022-09-11,143739
2022-09-13,144603
2022-09-17,145927
2022-09-23,153961
2022-10-01,156092
2022-10-06,157382
2022-10-09,157607
2022-10-13,159657
2022-10-15,160198
2022-10-17,160232
2022-10-20,160898
2022-10-27,162820
2022-11-01,164609
2022-11-09,163755
2022-11-12,163670
2022-11-13,163549
2022-11-20,167471
2022-11-21,167407
2022-11-26,165902
2022-11-28,165319
2022-11-29,166162
2022-12-03,165868
2022-12-04,165520
2022-12-05,166874
2022-12-06,167925
2022-12-11,166527
2022-12-13,167097
2022-12-15,171028
2022-12-18,168254
2022-12-20,171651
2022-12-26,169706
2022-12-29,170382
2022-12-29,170474
2023-01-01,170596
2023-01-06,171399
2023-01-08,171530
2023-01-11,173500
2023-01-13,173837
2023-01-19,176087
2023-01-23,176842
2023-01-24,177520
2023-01-27,178829
2023-01-27,178832
2023-01-27,178830
2023-01-31,179305
2023-02-05,181330
2023-02-07,182903
2023-02-07,182904
2023-02-07,182905
2023-02-16,187130
2023-02-19,188321
2023-02-23,189052
2023-02-28,191040
2023-03-03,190733
2023-03-06,191116
2023-03-07,191445
2023-03-10,193312
2023-03-14,194943
2023-03-21,197891
2023-03-25,199524
2023-03-29,200243
2023-04-07,203985
2023-04-11,204794
2023-04-16,206093
2023-04-18,209508
2023-04-19,175558
2023-04-19,175565
2023-04-23,176180
2023-04-26,179949
2023-04-27,180355
2023-04-30,180448
2023-05-02,181347
2023-05-05,182571
2023-05-08,182504
2023-05-11,184324
2023-05-14,186374
2023-05-15,187515
2023-05-20,188711
2023-05-21,188838
2023-05-24,191377
2023-06-02,193952
2023-06-06,195119
2023-06-10,195928
2023-06-11,196004
2023-06-13,196493
2023-06-14,197371
2023-06-14,198048
2023-06-16,199066
2023-06-17,198763
2023-06-18,198550
2023-06-23,200283
2023-06-27,200906
2023-07-01,202074
2023-07-06,203488
2023-07-09,203921
2023-07-14,205559
2023-07-15,205661
2023-07-21,207406
2023-07-23,207598
2023-07-27,208889
2023-08-01,210124
2023-08-04,212259
2023-08-05,212347
2023-08-08,212996
2023-08-05,212347
2023-08-08,212996
2023-08-13,214644
2023-08-17,215443
2023-08-21,216391
2023-08-22,216647
2023-08-26,218222
2023-08-28,218434
2023-09-03,218173
2023-09-04,220378
2023-09-05,221186
2023-09-06,220899
2023-09-06,222160
2023-09-08,223030
2023-09-08,223081
2023-09-10,198526
2023-09-14,198545
2023-09-17,175028
2023-09-21,141366
2023-09-24,141934
2023-09-25,140892
2023-09-30,141139
2023-10-02,141518
2023-10-04,142907
2023-10-08,143797
2023-10-12,147579
2023-10-13,148297
2023-10-17,149170
2023-10-18,149665
2023-10-21,151347
2023-10-23,151536
2023-10-27,153957
2023-11-01,155091
2023-11-02,155844
2023-11-03,156369
2023-11-08,158302
2023-11-11,159200
2023-11-13,159820
2023-11-19,162181
2023-11-21,163166
2023-11-24,164727
2023-11-25,165082
2023-11-25,165077
2023-11-25,165114
2023-11-26,165185
2023-11-26,165217
2023-12-01,149153
2023-12-03,149644
2023-12-12,146649
2023-12-16,148436
2023-12-17,148624
2023-12-17,148645
2023-12-25,149742
2023-12-30,150910
2024-01-03,151717
2024-01-06,152994
2024-01-13,157470
2024-01-17,158685
2024-01-21,159906
2024-01-27,162559
2024-01-30,163844
2024-02-06,167101
2024-02-10,156020
2024-02-12,157034
2024-02-15,159608
2024-02-24,166446
2024-02-25,166519
2024-02-28,170138
2024-03-04,173808
2024-03-09,178680
2024-03-15,183094
2024-03-19,185828
2024-03-23,188534
2024-03-28,190814
2024-04-02,191761
2024-04-04,136377
2024-04-09,129738
2024-04-11,130286
2024-04-18,130679
2024-04-22,132473
2024-04-25,133921
2024-05-01,133254
2024-05-03,133656
2024-05-12,138047
2024-05-20,143388
2024-05-27,147271
2024-06-03,150280
2024-06-08,153257
2024-06-14,158186
2024-06-16,159286
2024-06-19,162071
2024-06-21,164303
2024-06-24,165356
2024-06-26,166989
2024-07-01,169032
2024-07-04,170878
2024-07-07,157763
2024-07-11,160482
2024-07-14,161482
2024-07-15,162054
2024-07-20,164619
2024-07-27,164708
2024-07-30,165916
2024-08-02,167282
2024-08-04,167758
2024-08-08,170027
2024-08-11,171052
2024-08-16,173616
2024-08-17,174122
2024-08-20,175613
2024-08-26,178070
2024-08-29,179485
2024-08-30,179944
2024-08-31,180045
2024-09-04,181481
2024-09-06,182495
2024-09-10,171095
2024-09-13,171720
2024-09-16,172688
2024-09-20,171639
2024-09-21,120127
2024-09-22,119025
2024-09-25,120078
2024-09-27,120647
2024-09-27,120648
2024-10-01,120648
2024-10-01,121431
2024-10-01,121431
2024-10-03,121741
2024-10-05,121767
2024-10-07,121242
2024-10-09,121694
2024-10-10,121806
2024-10-11,121806
2024-10-11,122697
2024-10-12,122751
2024-10-13,122800
2024-10-15,122904
2024-10-18,123082
2024-10-23,123640
2024-10-26,123502
2024-10-30,124785
2024-11-02,125580
2024-11-07,126892
2024-11-11,126589
2024-11-14,126936
2024-11-19,127010
2024-11-23,126910
2024-11-24,126420
2024-11-28,127241
2024-12-02,127119
2024-12-04,127168
2024-12-06,127241
2024-12-12,126827
2024-12-15,126641
2024-12-16,126327
2024-12-16,126477
2024-12-18,126060
2024-12-20,125558
2024-12-23,124395
2024-12-26,123280
2024-12-27,122774
2024-12-30,122870
2025-01-04,122516
2025-01-06,120897
2025-01-09,121536
2025-01-15,122594
2025-01-21,123994
2025-01-22,124166
2025-01-25,124617
2025-01-26,124091
2025-01-31,126162
2025-02-04,126756
2025-02-12,129449
2025-02-17,130756
2025-02-20,132485
2025-02-22,132852
2025-03-01,134729
2025-03-07,136650
2025-03-09,136751
2025-03-13,137738
2025-03-17,137910
2025-03-21,139933
2025-03-26,140690
2025-03-28,136230
2025-04-01,136912
2025-04-05,139022
2025-04-09,140379
2025-04-12,141245
2025-04-17,149065
2025-04-22,152813
2025-04-25,158343
2025-04-30,167459
2025-05-04,168646
2025-05-08,171254
2025-05-15,175390
2025-05-18,177485
2025-05-20,178429
2025-05-27,190343
2025-06-02,193219
2025-06-04,196498
2025-06-07,201610
2025-06-12,205306
2025-06-15,207473
2025-06-18,210597
2025-06-19,211797
2025-06-23,215104
2025-06-25,222102
2025-06-30,231064
2025-07-03,235947
2025-07-05,244650
2025-07-08,252572
2025-07-11,258428
2025-07-12,259862
2025-07-13,249248
2025-07-13,249246
2025-07-16,249246
2025-07-16,224013
2025-07-18,224013
2025-07-18,226845
2025-07-23,226884
2025-07-26,230327
2025-07-30,231732
2025-08-01,232639
2025-08-03,233373
2025-08-08,234482
2025-08-08,234482
2025-08-13,234705
2025-08-14,235447
2025-08-19,236324
2025-08-24,239699
2025-08-29,241152
2025-09-05,247519
2025-09-08,251478
2025-09-14,254825
2025-09-15,255303
2025-09-25,87575
2025-09-27,88808
2025-10-02,89626
2025-10-04,87598
2025-10-08,87546
2025-10-13,87245
2025-10-16,88110
2025-10-25,108887
2025-11-01,114807
2025-11-02,114240
2025-11-04,115205
2025-11-07,116859
2025-11-11,114272
2025-11-11,114218
2025-11-15,117216
2025-11-18,108165
2025-11-21,103844
2025-11-23,103844
2025-11-27,94591
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

+55136 -47195
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
{
"filters": [
"allegro",
"bilet",
"olx.pl",
"npost",
"blogspot.com",
".ipfs.",
"c752sa3k9"
]
}
+479 -242
View File
@@ -1,56 +1,90 @@
**Take Note!**
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
* 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.
----
> [!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.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/github/workflow/status/StevenBlack/hosts/CI/master)](https://github.com/StevenBlack/hosts/actions?query=workflow%3ACI+branch%3Amaster)
[![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: **July 19 2021**.
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 80,799 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: **December 11 2025**.
- Here's the
[raw hosts file Unified hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts)
containing 88,895 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) | 78,604 | [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) | 80,799 | [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) | 81,061 | [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) | 104,777 | [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) | 81,419 | [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) | 83,256 | [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) | 106,972 | [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) | 83,614 | [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) | 107,234 | [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) | 83,876 | [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) | 107,591 | [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) | 109,429 | [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) | 86,071 | [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) | 109,786 | [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) | 110,048 | [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) | 112,243 | [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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
**Expectation**: These unified hosts files should serve all devices, regardless
@@ -61,65 +95,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)
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) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
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)
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)
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/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](mailto:hosts@someonewhocares.org)
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)
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 | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
URLHaus | A project from [abuse.ch](https://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:contactme@abuse.ch)
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)
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
You have two options to generate your own hosts file. You can do it in your own environment, or within a Docker container. We'll cover Docker first because it's a short section.
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: Generate in a Docker container
### Option 1: Use our container image (Linux only)
We provide a [Dockerfile](https://github.com/StevenBlack/hosts/blob/master/Dockerfile) that you can use to create a Docker container 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.
> This will replace your `/etc/hosts`.
Build the Docker container like this:
We assume you have Docker available on your host. Just run the following
command. Set extensions to your preference.
```sh
docker build ./
docker run --pull always --rm -it -v /etc/hosts:/etc/hosts \
ghcr.io/stevenblack/hosts:latest updateHostsFile.py --auto \
--replace --extensions gambling porn
```
Access the terminal like this:
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
docker run -it (containerid) bash
-v "path/to/myhosts:/hosts/myhosts" \
-v "path/to/whitelist:/hosts/whitelist" \
```
### Option 2: Generate it in your own environment.
You can rerun this exact command later to update based on the latest available
hosts (for example, add it to a weekly cron job).
To generate your own amalgamated hosts files you will need Python 3.5 or later.
### 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:
@@ -127,9 +199,15 @@ 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).
### Common steps regardless of your development environment.
### 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:
@@ -137,61 +215,65 @@ To **run unit tests**, in the top-level directory, run:
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.
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.
`--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.
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.
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
`--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).
@@ -201,51 +283,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.
`--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.
#### Using 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.
`--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.
@@ -255,41 +319,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
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.
@@ -309,77 +384,177 @@ 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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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:
### For older versions of Windows
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"
### For new versions of Windows
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
"Run as Administrator"
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
"Run as Administrator"
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service.
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
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.cmd)
---
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.
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
@@ -393,40 +568,40 @@ ipconfig /flushdns
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
@@ -434,61 +609,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.
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
* [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.
- [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`
* [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.
## Contribute
* [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.
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.
* [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.
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 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.
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).
* [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 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.
## 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!.
+983
View File
@@ -0,0 +1,983 @@
2016-12-17,32333
2016-12-18,32379
2016-12-18,32407
2016-12-19,32433
2016-12-20,32510
2016-12-21,32542
2016-12-21,32499
2016-12-22,32535
2016-12-25,32549
2016-12-27,32564
2016-12-28,32584
2017-01-02,32599
2017-01-05,30570
2017-01-05,32599
2017-01-10,32672
2017-01-11,32674
2017-01-14,32670
2017-01-18,32719
2017-01-18,32720
2017-01-20,32727
2017-01-22,32664
2017-01-26,32700
2017-01-31,32737
2017-02-04,32744
2017-02-04,32744
2017-02-07,32723
2017-02-07,32722
2017-02-10,32736
2017-02-11,32736
2017-02-13,32736
2017-02-15,32754
2017-02-17,32750
2017-02-17,32750
2017-02-20,32819
2017-02-22,36745
2017-02-23,36744
2017-02-23,36198
2017-02-24,36189
2017-02-24,35776
2017-02-26,35803
2017-03-01,35859
2017-03-04,35901
2017-03-07,35907
2017-03-10,36055
2017-03-15,36086
2017-03-16,36092
2017-03-20,36102
2017-03-22,36111
2017-03-25,36137
2017-03-30,36222
2017-04-05,36262
2017-04-08,36060
2017-04-08,36060
2017-04-08,36060
2017-04-11,36148
2017-04-13,36068
2017-04-15,36099
2017-04-16,36099
2017-04-17,36118
2017-04-18,36135
2017-04-22,36188
2017-04-25,36221
2017-04-26,36247
2017-05-02,36293
2017-05-07,36332
2017-05-08,36332
2017-05-10,36389
2017-05-13,36499
2017-05-15,36515
2017-05-15,36515
2017-05-16,36580
2017-05-21,36580
2017-05-21,36659
2017-05-23,36684
2017-05-28,36827
2017-05-29,36870
2017-05-30,36880
2017-06-02,36971
2017-06-05,37011
2017-06-11,37080
2017-06-21,37293
2017-06-22,37322
2017-06-24,37239
2017-06-28,37288
2017-07-04,37291
2017-07-10,37426
2017-07-11,37437
2017-07-11,37436
2017-07-12,37450
2017-07-17,37164
2017-07-17,37163
2017-07-18,37103
2017-07-26,36808
2017-07-28,36809
2017-07-31,36837
2017-08-08,36566
2017-08-12,36727
2017-08-15,39230
2017-08-15,39230
2017-08-18,39251
2017-08-18,39006
2017-08-20,39006
2017-08-20,39020
2017-08-20,39020
2017-08-21,38980
2017-08-28,39049
2017-08-31,39039
2017-09-05,38950
2017-09-07,39012
2017-09-13,39045
2017-09-18,38991
2017-09-21,39014
2017-09-29,39033
2017-10-05,39045
2017-10-11,39030
2017-10-15,43389
2017-10-19,43358
2017-10-24,43358
2017-10-25,43390
2017-10-25,43417
2017-10-28,43416
2017-11-01,43461
2017-11-04,43476
2017-11-09,43512
2017-11-16,43588
2017-11-25,43637
2017-11-30,43673
2017-12-07,43587
2017-12-11,43597
2017-12-17,46290
2017-12-18,43629
2017-12-21,43637
2017-12-27,43639
2017-12-30,43638
2018-01-01,43638
2018-01-06,43765
2018-01-10,43761
2018-01-13,43668
2018-01-14,43675
2018-01-21,43708
2018-01-22,43710
2018-01-23,43716
2018-01-26,43719
2018-01-26,43822
2018-01-31,43735
2018-02-02,42927
2018-02-08,55710
2018-02-09,55710
2018-02-11,55725
2018-02-13,55699
2018-02-14,55699
2018-02-15,55696
2018-02-20,55662
2018-02-24,59725
2018-02-24,56648
2018-02-25,56641
2018-02-25,56640
2018-02-26,56656
2018-02-28,56676
2018-03-03,56672
2018-03-04,56687
2018-03-04,56605
2018-03-06,56659
2018-03-07,56659
2018-03-08,56654
2018-03-09,56670
2018-03-10,56671
2018-03-12,56695
2018-03-13,56697
2018-03-14,56704
2018-03-15,57203
2018-03-15,56714
2018-03-17,56719
2018-03-17,56719
2018-03-19,56756
2018-03-20,56794
2018-03-22,56798
2018-03-23,61244
2018-03-23,61244
2018-03-24,57284
2018-03-26,57338
2018-03-28,57403
2018-03-29,57395
2018-03-30,57394
2018-04-02,56947
2018-04-02,56441
2018-04-04,55829
2018-04-05,55806
2018-04-06,55750
2018-04-06,55755
2018-04-08,55688
2018-04-12,55704
2018-04-16,55600
2018-04-17,55598
2018-04-19,55318
2018-04-21,55351
2018-04-22,55349
2018-04-24,55361
2018-04-25,55236
2018-04-30,55290
2018-05-02,55067
2018-05-05,55073
2018-05-08,54924
2018-05-12,54946
2018-05-13,54942
2018-05-17,54621
2018-05-19,54622
2018-05-22,54635
2018-05-30,55697
2018-06-02,55713
2018-06-02,55713
2018-06-02,55713
2018-06-05,55928
2018-06-08,57076
2018-06-10,57098
2018-06-14,57213
2018-06-14,57212
2018-06-14,57211
2018-06-14,57211
2018-06-14,57211
2018-06-16,57430
2018-06-17,57624
2018-06-18,57711
2018-06-20,58041
2018-06-24,58091
2018-06-28,58124
2018-06-30,58252
2018-07-04,59745
2018-07-06,62781
2018-07-09,62758
2018-07-11,61524
2018-07-16,61529
2018-07-23,61046
2018-07-26,61233
2018-07-26,61233
2018-07-30,62053
2018-08-01,62117
2018-08-08,62578
2018-08-13,62901
2018-08-19,63826
2018-08-22,63204
2018-08-24,62524
2018-08-25,62444
2018-08-29,61524
2018-09-04,61446
2018-09-05,60708
2018-09-06,60780
2018-09-08,60771
2018-09-13,59947
2018-09-16,58745
2018-09-18,57880
2018-09-23,58093
2018-10-02,58094
2018-10-05,56967
2018-10-09,56881
2018-10-14,56957
2018-10-22,55115
2018-10-23,54849
2018-11-01,53656
2018-11-02,54048
2018-11-14,66284
2018-11-20,65520
2018-11-21,65632
2018-11-26,64770
2018-11-29,65290
2018-12-04,65281
2018-12-11,63937
2018-12-15,63943
2018-12-23,64311
2018-12-29,76770
2018-12-30,64233
2019-01-04,64027
2019-01-10,39493
2019-01-13,39494
2019-01-22,39520
2019-01-26,39743
2019-01-29,39768
2019-02-06,39840
2019-02-11,39661
2019-02-18,39627
2019-02-24,39649
2019-03-02,39640
2019-03-06,39152
2019-03-15,38925
2019-03-21,38868
2019-03-26,38992
2019-04-02,38943
2019-04-07,38901
2019-04-11,38619
2019-04-17,38251
2019-04-25,38342
2019-05-02,39981
2019-05-04,39927
2019-05-05,39930
2019-05-10,39794
2019-05-13,39756
2019-05-23,39793
2019-05-24,39785
2019-05-29,40042
2019-06-05,40034
2019-06-11,40036
2019-06-17,41435
2019-06-19,41444
2019-06-22,41474
2019-06-28,41529
2019-07-04,41576
2019-07-21,41874
2019-07-27,41877
2019-07-31,41898
2019-08-06,42538
2019-08-10,42691
2019-08-13,42970
2019-08-14,43034
2019-08-14,43034
2019-08-22,43109
2019-08-30,43146
2019-09-06,40586
2019-09-09,39999
2019-09-09,40620
2019-09-09,40011
2019-09-10,43206
2019-09-19,43240
2019-09-23,43295
2019-09-29,43347
2019-10-10,40674
2019-10-12,40690
2019-10-15,43907
2019-10-18,43768
2019-10-27,43817
2019-10-27,43819
2019-10-30,43845
2019-10-31,43941
2019-11-03,43945
2019-11-15,43634
2019-11-17,43697
2019-11-20,43779
2019-11-26,44076
2019-11-27,44077
2019-12-02,44096
2019-12-11,40957
2019-12-15,40652
2019-12-20,40613
2019-12-21,40618
2019-12-23,40607
2019-12-30,40642
2020-01-01,40619
2020-01-04,40779
2020-01-06,40715
2020-01-09,41436
2020-01-11,41770
2020-01-14,52134
2020-01-16,52138
2020-01-16,52140
2020-01-16,52142
2020-01-19,52133
2020-01-21,52096
2020-01-23,51861
2020-01-24,51343
2020-01-30,52309
2020-02-03,52573
2020-02-05,52480
2020-02-09,52522
2020-02-14,52630
2020-02-17,52671
2020-02-21,52621
2020-02-22,52621
2020-02-25,52608
2020-02-25,52607
2020-03-01,52752
2020-03-05,52657
2020-03-07,52691
2020-03-11,52915
2020-03-15,54196
2020-03-18,54444
2020-03-21,54806
2020-03-25,54984
2020-03-28,55185
2020-03-29,55119
2020-04-01,55209
2020-04-03,54508
2020-04-03,54508
2020-04-03,55368
2020-04-04,55315
2020-04-06,55398
2020-04-09,55615
2020-04-10,55647
2020-04-11,55660
2020-04-13,55617
2020-04-16,55934
2020-04-18,56051
2020-04-22,56204
2020-04-26,56166
2020-04-28,56100
2020-05-02,56887
2020-05-05,56424
2020-05-05,56559
2020-05-12,58477
2020-05-13,58619
2020-05-13,58622
2020-05-15,58680
2020-05-20,58612
2020-05-26,58299
2020-05-27,58339
2020-06-02,58487
2020-06-09,58402
2020-06-16,58403
2020-06-22,58263
2020-06-25,58321
2020-06-27,58236
2020-07-02,58381
2020-07-02,58380
2020-07-05,58278
2020-07-06,58248
2020-07-13,58405
2020-07-18,58601
2020-07-24,58659
2020-07-29,59549
2020-08-01,59448
2020-08-03,58776
2020-08-06,59284
2020-08-13,60024
2020-08-14,60071
2020-08-15,60028
2020-08-17,59429
2020-08-19,58201
2020-08-25,57833
2020-09-02,58295
2020-09-07,58241
2020-09-14,58814
2020-09-20,58775
2020-09-26,59128
2020-10-03,59178
2020-10-08,58829
2020-10-13,58467
2020-10-14,57660
2020-10-19,59737
2020-10-29,60902
2020-11-01,60589
2020-11-03,62443
2020-11-08,62409
2020-11-10,61888
2020-11-14,60012
2020-11-15,61887
2020-11-16,61919
2020-11-19,60060
2020-11-22,62035
2020-11-25,62317
2020-11-28,62406
2020-12-02,60424
2020-12-09,60854
2020-12-14,61120
2020-12-19,60981
2020-12-26,60944
2020-12-31,60654
2021-01-02,60472
2021-01-05,60695
2021-01-12,60762
2021-01-17,61060
2021-01-22,61727
2021-01-22,61731
2021-01-24,62090
2021-01-31,62355
2021-02-02,62571
2021-02-03,62608
2021-02-08,62734
2021-02-09,62794
2021-02-14,63081
2021-02-16,65098
2021-02-21,65925
2021-02-22,67428
2021-02-26,67685
2021-02-28,67699
2021-03-06,68248
2021-03-09,68592
2021-03-10,69975
2021-03-16,69596
2021-03-21,69508
2021-03-28,70407
2021-03-31,79802
2021-04-04,80132
2021-04-09,80675
2021-04-13,78665
2021-04-19,82002
2021-04-24,85463
2021-04-26,81874
2021-04-26,82102
2021-04-29,82942
2021-05-01,82735
2021-05-04,81285
2021-05-05,81357
2021-05-06,81474
2021-05-06,81851
2021-05-06,81850
2021-05-12,83187
2021-05-15,83573
2021-05-17,82781
2021-05-22,83784
2021-05-25,85142
2021-05-31,84917
2021-06-07,84270
2021-06-16,83307
2021-06-22,82667
2021-06-28,83230
2021-07-01,83987
2021-07-04,83939
2021-07-13,84678
2021-07-18,85178
2021-07-19,80796
2021-07-26,85854
2021-07-29,86441
2021-08-02,87580
2021-08-09,89263
2021-08-17,88733
2021-08-20,89288
2021-08-25,91687
2021-08-26,92346
2021-08-30,91341
2021-09-02,92431
2021-09-06,92852
2021-09-07,94687
2021-09-12,95189
2021-09-17,94919
2021-09-24,96300
2021-09-30,105446
2021-09-30,93174
2021-10-03,93443
2021-10-05,94090
2021-10-12,94966
2021-10-14,95659
2021-10-19,95912
2021-10-23,96003
2021-10-23,96003
2021-10-27,95373
2021-11-04,95984
2021-11-11,96140
2021-11-14,96103
2021-11-17,96545
2021-11-21,99226
2021-11-29,100572
2021-11-29,100553
2021-12-05,99638
2021-12-09,99563
2021-12-12,99800
2021-12-13,100405
2021-12-16,101188
2021-12-19,101249
2021-12-20,101651
2021-12-25,102786
2021-12-30,102639
2021-12-30,102824
2021-12-30,102813
2022-01-02,102664
2022-01-04,102929
2022-01-07,103215
2022-01-11,98487
2022-01-18,99871
2022-01-19,99540
2022-01-21,100154
2022-01-24,103506
2022-01-28,105301
2022-01-30,105446
2022-01-31,101870
2022-02-01,102271
2022-02-07,102988
2022-02-12,104026
2022-02-13,104156
2022-02-13,104153
2022-02-17,104216
2022-02-22,99661
2022-02-26,99835
2022-03-06,103882
2022-03-07,102696
2022-03-09,103011
2022-03-12,103430
2022-03-14,101637
2022-03-19,102249
2022-03-24,134770
2022-03-29,110085
2022-03-31,110563
2022-04-05,111793
2022-04-09,112492
2022-04-13,113229
2022-04-18,113193
2022-04-21,113942
2022-04-25,111027
2022-04-29,102130
2022-05-03,115449
2022-05-05,115689
2022-05-10,113583
2022-05-14,114330
2022-05-19,117257
2022-05-25,145212
2022-05-29,145722
2022-05-31,114260
2022-06-02,114623
2022-06-07,111710
2022-06-09,112073
2022-06-09,112074
2022-06-16,130786
2022-06-21,110583
2022-06-21,110697
2022-06-25,111677
2022-06-29,124043
2022-07-01,124296
2022-07-04,112283
2022-07-13,147819
2022-07-16,138504
2022-07-16,138497
2022-07-18,114482
2022-07-21,133155
2022-07-23,133924
2022-07-25,133016
2022-07-29,134161
2022-08-03,135223
2022-08-09,135310
2022-08-12,136137
2022-08-17,137138
2022-08-20,138064
2022-08-24,138689
2022-08-25,139136
2022-08-31,138962
2022-09-04,139691
2022-09-05,139848
2022-09-08,140483
2022-09-11,140913
2022-09-13,141777
2022-09-17,143101
2022-09-23,151135
2022-10-01,153266
2022-10-06,154557
2022-10-09,154782
2022-10-13,156832
2022-10-15,157373
2022-10-17,157407
2022-10-20,158073
2022-10-27,159995
2022-11-01,161784
2022-11-09,160930
2022-11-12,160845
2022-11-13,160724
2022-11-20,164646
2022-11-21,164582
2022-11-26,163077
2022-11-28,162494
2022-11-29,163337
2022-12-03,163043
2022-12-04,162695
2022-12-05,164049
2022-12-06,165100
2022-12-11,163702
2022-12-13,164272
2022-12-15,168203
2022-12-18,165429
2022-12-20,168826
2022-12-26,166881
2022-12-29,167557
2022-12-29,167649
2023-01-01,167771
2023-01-06,168574
2023-01-08,168705
2023-01-11,170675
2023-01-13,171012
2023-01-19,173262
2023-01-23,174017
2023-01-24,174695
2023-01-27,176004
2023-01-27,176007
2023-01-27,176005
2023-01-31,176480
2023-02-05,178505
2023-02-07,180079
2023-02-07,180080
2023-02-07,180081
2023-02-16,184306
2023-02-19,185497
2023-02-23,186228
2023-02-28,188216
2023-03-03,187909
2023-03-06,188292
2023-03-07,188621
2023-03-10,190488
2023-03-14,192119
2023-03-21,195067
2023-03-25,196700
2023-03-29,197419
2023-04-07,201161
2023-04-11,201970
2023-04-16,203269
2023-04-18,206684
2023-04-19,172734
2023-04-19,172741
2023-04-23,173356
2023-04-26,177125
2023-04-27,177531
2023-04-30,177624
2023-05-02,178523
2023-05-05,179747
2023-05-08,179680
2023-05-11,181500
2023-05-14,183550
2023-05-15,184691
2023-05-20,185887
2023-05-21,186014
2023-05-24,188553
2023-06-02,191128
2023-06-06,192295
2023-06-10,193104
2023-06-11,193180
2023-06-13,193669
2023-06-14,194547
2023-06-14,195224
2023-06-16,196242
2023-06-17,195939
2023-06-18,195726
2023-06-23,197459
2023-06-27,198082
2023-07-01,199250
2023-07-06,200664
2023-07-09,201097
2023-07-14,202735
2023-07-15,202837
2023-07-21,204582
2023-07-23,204774
2023-07-27,206065
2023-08-01,207300
2023-08-04,209435
2023-08-05,209523
2023-08-08,210172
2023-08-05,209523
2023-08-08,210172
2023-08-13,211820
2023-08-17,212619
2023-08-21,213567
2023-08-22,213823
2023-08-26,215398
2023-08-28,215610
2023-09-03,215349
2023-09-04,217554
2023-09-05,218362
2023-09-06,218075
2023-09-06,219336
2023-09-08,220206
2023-09-08,220257
2023-09-10,195702
2023-09-14,195721
2023-09-17,172204
2023-09-21,138542
2023-09-24,139110
2023-09-25,138068
2023-09-30,138315
2023-10-02,138694
2023-10-04,140083
2023-10-08,140973
2023-10-12,144755
2023-10-13,145473
2023-10-17,146346
2023-10-18,146841
2023-10-21,148523
2023-10-23,148712
2023-10-27,151133
2023-11-01,152267
2023-11-02,153020
2023-11-03,153545
2023-11-08,155478
2023-11-11,156376
2023-11-13,156996
2023-11-19,159357
2023-11-21,160342
2023-11-24,161903
2023-11-25,162258
2023-11-25,162253
2023-11-25,162290
2023-11-26,162361
2023-11-26,162393
2023-12-01,146329
2023-12-03,146820
2023-12-12,143825
2023-12-16,145612
2023-12-17,145800
2023-12-17,145821
2023-12-25,146918
2023-12-30,148086
2024-01-03,148889
2024-01-06,150166
2024-01-13,154642
2024-01-17,155857
2024-01-21,157078
2024-01-27,159731
2024-01-30,161016
2024-02-06,164273
2024-02-10,153192
2024-02-12,154206
2024-02-15,156780
2024-02-24,163618
2024-02-25,163691
2024-02-28,167310
2024-03-04,170979
2024-03-09,175851
2024-03-15,180265
2024-03-19,182999
2024-03-23,185705
2024-03-28,187985
2024-04-02,188932
2024-04-04,133548
2024-04-09,126607
2024-04-11,127155
2024-04-18,127548
2024-04-22,129342
2024-04-25,130729
2024-05-01,130062
2024-05-03,130464
2024-05-12,134855
2024-05-20,140196
2024-05-27,144079
2024-06-03,147088
2024-06-08,150065
2024-06-14,154994
2024-06-16,156094
2024-06-19,158879
2024-06-21,161111
2024-06-24,162164
2024-06-26,163797
2024-07-01,165840
2024-07-04,167686
2024-07-07,154571
2024-07-11,157290
2024-07-14,158290
2024-07-15,158862
2024-07-20,161427
2024-07-27,161516
2024-07-30,162724
2024-08-02,164090
2024-08-04,164566
2024-08-08,166835
2024-08-11,167860
2024-08-16,170424
2024-08-17,170930
2024-08-20,172421
2024-08-26,174878
2024-08-29,176293
2024-08-30,176752
2024-08-31,176853
2024-09-04,178289
2024-09-06,179303
2024-09-10,167903
2024-09-13,168528
2024-09-16,169496
2024-09-20,168447
2024-09-21,116935
2024-09-22,115833
2024-09-25,116886
2024-09-27,117455
2024-09-27,117456
2024-10-01,117456
2024-10-01,118236
2024-10-01,118236
2024-10-03,118546
2024-10-05,118572
2024-10-07,118054
2024-10-09,118506
2024-10-10,118618
2024-10-11,118618
2024-10-11,119509
2024-10-12,119563
2024-10-13,119612
2024-10-15,119716
2024-10-18,119894
2024-10-23,120452
2024-10-26,120314
2024-10-30,121597
2024-11-02,122392
2024-11-07,123704
2024-11-11,123401
2024-11-14,123748
2024-11-19,123822
2024-11-23,123722
2024-11-24,123232
2024-11-28,124053
2024-12-02,123931
2024-12-04,123980
2024-12-06,124053
2024-12-12,123639
2024-12-15,123453
2024-12-16,123139
2024-12-16,123289
2024-12-18,122872
2024-12-20,122370
2024-12-23,121207
2024-12-26,120092
2024-12-27,119586
2024-12-30,119682
2025-01-04,119328
2025-01-06,117709
2025-01-09,118348
2025-01-15,119406
2025-01-21,120806
2025-01-22,120978
2025-01-25,121429
2025-01-26,120903
2025-01-31,122974
2025-02-04,123568
2025-02-12,126261
2025-02-17,127568
2025-02-20,129297
2025-02-22,129664
2025-03-01,131541
2025-03-07,133462
2025-03-09,133563
2025-03-13,134550
2025-03-17,134722
2025-03-21,136745
2025-03-26,137502
2025-03-28,133042
2025-04-01,133724
2025-04-05,135834
2025-04-09,137191
2025-04-12,138057
2025-04-17,145877
2025-04-22,149625
2025-04-25,155155
2025-04-30,164271
2025-05-04,165458
2025-05-08,168066
2025-05-15,172202
2025-05-18,174297
2025-05-20,175241
2025-05-27,187130
2025-06-02,190006
2025-06-04,193285
2025-06-07,198397
2025-06-12,202093
2025-06-15,204260
2025-06-18,207384
2025-06-19,208584
2025-06-23,211891
2025-06-25,218889
2025-06-30,227851
2025-07-03,232734
2025-07-05,241437
2025-07-08,249359
2025-07-11,255215
2025-07-12,256649
2025-07-13,246035
2025-07-13,246033
2025-07-16,246033
2025-07-16,220803
2025-07-18,220803
2025-07-18,223632
2025-07-23,223671
2025-07-26,227114
2025-07-30,228519
2025-08-01,229426
2025-08-03,230160
2025-08-08,231269
2025-08-08,231269
2025-08-13,231492
2025-08-14,232234
2025-08-19,233111
2025-08-24,236486
2025-08-29,237939
2025-09-05,244306
2025-09-08,248265
2025-09-14,251612
2025-09-15,252090
2025-09-25,84362
2025-09-27,85595
2025-10-02,86413
2025-10-04,84385
2025-10-08,84333
2025-10-13,84032
2025-10-16,84897
2025-10-25,105674
2025-11-01,111594
2025-11-02,111027
2025-11-04,111992
2025-11-07,113646
2025-11-11,111059
2025-11-11,111005
2025-11-15,114003
2025-11-18,104952
2025-11-21,100631
2025-11-23,100631
2025-11-27,91378
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

File diff suppressed because it is too large Load Diff
+716
View File
@@ -0,0 +1,716 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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,708 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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!.
+276
View File
@@ -0,0 +1,276 @@
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
2024-10-11,8476
2024-10-11,8475
2024-10-12,8489
2024-10-13,8488
2024-10-15,8491
2024-10-18,8491
2024-10-23,8494
2024-10-26,8495
2024-10-30,8495
2024-11-02,8506
2024-11-07,8510
2024-11-11,8520
2024-11-14,8569
2024-11-19,8569
2024-11-23,8587
2024-11-24,8664
2024-11-28,8664
2024-12-02,8668
2024-12-04,8670
2024-12-06,8674
2024-12-12,8674
2024-12-15,8679
2024-12-16,8679
2024-12-16,8679
2024-12-18,8679
2024-12-20,8679
2024-12-23,8679
2024-12-26,8679
2024-12-27,8679
2024-12-30,8692
2025-01-04,8700
2025-01-06,8701
2025-01-09,8701
2025-01-15,8704
2025-01-21,8705
2025-01-22,8705
2025-01-25,8705
2025-01-26,8705
2025-01-31,8705
2025-02-04,6411
2025-02-12,6414
2025-02-17,6416
2025-02-20,6432
2025-02-22,6432
2025-03-01,6436
2025-03-07,6440
2025-03-09,6440
2025-03-13,6446
2025-03-17,6447
2025-03-21,6460
2025-03-26,6460
2025-03-28,6461
2025-04-01,6461
2025-04-05,6467
2025-04-09,6490
2025-04-12,6490
2025-04-17,6495
2025-04-22,6505
2025-04-25,6507
2025-04-30,6507
2025-05-04,6508
2025-05-08,6508
2025-05-15,6513
2025-05-18,6513
2025-05-20,6520
2025-05-27,6523
2025-06-02,6526
2025-06-04,6534
2025-06-07,6536
2025-06-12,6546
2025-06-15,6574
2025-06-18,6574
2025-06-19,6574
2025-06-23,6582
2025-06-25,6582
2025-06-30,6582
2025-07-03,6587
2025-07-05,6587
2025-07-08,6587
2025-07-11,6591
2025-07-12,6591
2025-07-13,6591
2025-07-13,6591
2025-07-16,6591
2025-07-16,6598
2025-07-18,6598
2025-07-18,6598
2025-07-23,6603
2025-07-26,6608
2025-07-30,6609
2025-08-01,6609
2025-08-03,6609
2025-08-08,6616
2025-08-08,6616
2025-08-13,6622
2025-08-14,6622
2025-08-19,6622
2025-08-24,6622
2025-08-29,6622
2025-09-05,6622
2025-09-08,6622
2025-09-14,6635
2025-09-15,6635
2025-09-25,6657
2025-09-27,6657
2025-10-02,6666
2025-10-04,6666
2025-10-08,6666
2025-10-13,6666
2025-10-16,6666
2025-10-25,6667
2025-11-01,6667
2025-11-02,6667
2025-11-04,6675
2025-11-07,6676
2025-11-11,6684
2025-11-11,6684
2025-11-15,6684
2025-11-18,6684
2025-11-21,6697
2025-11-23,6697
2025-11-27,6697
Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff
+722
View File
@@ -0,0 +1,722 @@
> [!IMPORTANT]
> **Cloning this repository can take a long time!**
> You probably just want to start with the latest version, not its whole history since 2018.
> **Therefore** you probably want to use `git clone --depth 1 ...` to save significant time.
> [!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: **December 11 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 82,197 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) | 85,715 | [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) | 88,895 | [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,188 | [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) | 93,403 | [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,708 | [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) | 161,478 | [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,489 | [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) | 89,920 | [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,242 | [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) | 95,591 | [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,902 | [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) | 163,666 | [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,683 | [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) | 92,108 | [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,436 | [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) | 168,174 | [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) | 82,197 | [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) | 96,616 | [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,950 | [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) | 164,690 | [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,730 | [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) | 170,362 | [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,391 | [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) | 98,804 | [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) | 12,144 | [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) | 166,878 | [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,924 | [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) | 171,386 | [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,438 | [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) | 173,574 | [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,581 | [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 = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
hosts = {
url = "github:StevenBlack/hosts"; # or a fork/mirror
inputs.nixpkgs.follows = "nixpkgs";
};
};
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.)
### For older versions of Windows
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"
### For new versions of Windows
On modern versions of Windows (10 and especially 11) not all features of the
aforementioned batch script work (specifically checking if the current shell has
administrative priviliges) and therefore a more modern approach is recommended.
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
same thing as the batch script, but without the need for the python script, with
added options, and uses only built-in commands (self-contained). As with the
batch file it **MUST** be ran with administrative privildges, but it can
relaunch itself if not.
To run execute the script type:
```Powershell
.\updateHostsWindows.ps1
```
into any available Windows command line and for detailed information type:
```Powershell
Get-Help .\updateHostsWindows.ps1 -Full
```
Newer Windows comes with several issues (that can be overcome) and for more
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
---
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!.
+276
View File
@@ -0,0 +1,276 @@
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
2024-10-11,84673
2024-10-11,84672
2024-10-12,84687
2024-10-13,84686
2024-10-15,84689
2024-10-18,84689
2024-10-23,84694
2024-10-26,84695
2024-10-30,84695
2024-11-02,84708
2024-11-07,84713
2024-11-11,84752
2024-11-14,84883
2024-11-19,84913
2024-11-23,84932
2024-11-24,85062
2024-11-28,85142
2024-12-02,85412
2024-12-04,85420
2024-12-06,85424
2024-12-12,85422
2024-12-15,85427
2024-12-16,85427
2024-12-16,85427
2024-12-18,85427
2024-12-20,85427
2024-12-23,85427
2024-12-26,85427
2024-12-27,85427
2024-12-30,85458
2025-01-04,85466
2025-01-06,85469
2025-01-09,85471
2025-01-15,85474
2025-01-21,85477
2025-01-22,85477
2025-01-25,85477
2025-01-26,85477
2025-01-31,85477
2025-02-04,81816
2025-02-12,81821
2025-02-17,81825
2025-02-20,81841
2025-02-22,81841
2025-03-01,81845
2025-03-07,81849
2025-03-09,81849
2025-03-13,81855
2025-03-17,81856
2025-03-21,81820
2025-03-26,81820
2025-03-28,81821
2025-04-01,81821
2025-04-05,81827
2025-04-09,81854
2025-04-12,81849
2025-04-17,81859
2025-04-22,81869
2025-04-25,81871
2025-04-30,81871
2025-05-04,81872
2025-05-08,81872
2025-05-15,81877
2025-05-18,81877
2025-05-20,81884
2025-05-27,81967
2025-06-02,81970
2025-06-04,81978
2025-06-07,81980
2025-06-12,81990
2025-06-15,82019
2025-06-18,82019
2025-06-19,82019
2025-06-23,82027
2025-06-25,82027
2025-06-30,82027
2025-07-03,82042
2025-07-05,82042
2025-07-08,82042
2025-07-11,82046
2025-07-12,82046
2025-07-13,82046
2025-07-13,82046
2025-07-16,82046
2025-07-16,82011
2025-07-18,82011
2025-07-18,82053
2025-07-23,82061
2025-07-26,82066
2025-07-30,82076
2025-08-01,82076
2025-08-03,82076
2025-08-08,82083
2025-08-08,82083
2025-08-13,82089
2025-08-14,82089
2025-08-19,82089
2025-08-24,82089
2025-08-29,82089
2025-09-05,82089
2025-09-08,82101
2025-09-14,82118
2025-09-15,82118
2025-09-25,82140
2025-09-27,82140
2025-10-02,82150
2025-10-04,82150
2025-10-08,82150
2025-10-13,82150
2025-10-16,82150
2025-10-25,82154
2025-11-01,82154
2025-11-02,82154
2025-11-04,82159
2025-11-07,82160
2025-11-11,82168
2025-11-11,82168
2025-11-15,82168
2025-11-18,82168
2025-11-21,82186
2025-11-23,82186
2025-11-27,82186
Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because it is too large Load Diff

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