Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6be86d6fd | ||
|
|
908e884bb9 | ||
|
|
dcf08b854a | ||
|
|
2e8d71e7b5 | ||
|
|
8e673bbecb | ||
|
|
22a9c6a58d | ||
|
|
3440915982 | ||
|
|
cb5daa41ea | ||
|
|
1bdc7c033b | ||
|
|
2f251d3670 | ||
|
|
e4b3dfdc59 | ||
|
|
990d54841f | ||
|
|
ea2c1ec1eb | ||
|
|
6dcaad5729 | ||
|
|
b681eceec0 | ||
|
|
866cf0af3f | ||
|
|
5d601830bf | ||
|
|
7d9817ccbe | ||
|
|
83dd698bbc | ||
|
|
f1191b5c03 | ||
|
|
b5cd497787 | ||
|
|
521652c74f | ||
|
|
2bb49d741a | ||
|
|
055144d287 | ||
|
|
de2c4e2852 | ||
|
|
70f9d76ae5 | ||
|
|
d28b9d8892 | ||
|
|
12c33bee78 | ||
|
|
294422ee16 | ||
|
|
1f91b53245 | ||
|
|
fbfd5ca4e9 | ||
|
|
ae79163dbe | ||
|
|
9d7273b7e1 | ||
|
|
4731c9c341 | ||
|
|
1e8362c0ec | ||
|
|
d1ff8cc2e8 | ||
|
|
7557a944d6 | ||
|
|
35db0ae94f | ||
|
|
253be2f030 | ||
|
|
3b5af80f24 | ||
|
|
5ed212f814 | ||
|
|
7b6c97c083 | ||
|
|
3a411c0f2f | ||
|
|
92a38fd106 | ||
|
|
b48b3e273a | ||
|
|
0e539b37c9 | ||
|
|
d1dd20d9a5 | ||
|
|
6f108a2281 | ||
|
|
8fc551eba8 | ||
|
|
8d2a3f3339 | ||
|
|
1936e1fc90 | ||
|
|
c6d020525a | ||
|
|
c478f57e79 | ||
|
|
5f7ef5e1e0 | ||
|
|
0aa9f4ff6d | ||
|
|
51aec88a14 | ||
|
|
56641ec920 | ||
|
|
04ac803115 | ||
|
|
dc2660e079 | ||
|
|
1e7e13ad4e | ||
|
|
509f7aa62a | ||
|
|
b39b80928f | ||
|
|
21d629609d | ||
|
|
1a818290dd | ||
|
|
aa369b2c5e | ||
|
|
62e7e2476e | ||
|
|
a482acae96 | ||
|
|
2720feb242 | ||
|
|
9ac826f725 | ||
|
|
5c2a3b5bb6 | ||
|
|
24b4a81b63 | ||
|
|
616b0f7304 | ||
|
|
47632d389d | ||
|
|
c189d5d3a7 | ||
|
|
d445fb6e37 | ||
|
|
8d95ef3469 | ||
|
|
57e00c7e22 | ||
|
|
4c4df65b1e | ||
|
|
40cbbc1b0d | ||
|
|
60d89a3dd3 | ||
|
|
1c78d47920 | ||
|
|
4acbfaa6c2 | ||
|
|
1e920988f9 | ||
|
|
15aa742a19 | ||
|
|
00d7f66ef6 | ||
|
|
be1cc7bc72 | ||
|
|
c912e408e6 | ||
|
|
cf34812381 | ||
|
|
d6ca0b04fb | ||
|
|
134252ceab | ||
|
|
ce948dea2a | ||
|
|
d491d42dec | ||
|
|
290d639e12 | ||
|
|
05a0627549 | ||
|
|
8bbba8794c | ||
|
|
1decde17f2 | ||
|
|
e81f7ea06e | ||
|
|
aac7193a2e | ||
|
|
79b81bb65e | ||
|
|
096c1e3bc6 | ||
|
|
6a8888bc76 | ||
|
|
5729ac18b7 | ||
|
|
db9076b311 | ||
|
|
54bfb354e8 | ||
|
|
8067d17bba | ||
|
|
c7a87b2566 | ||
|
|
a3f88ecd27 | ||
|
|
87e9330082 | ||
|
|
f0c1e87868 | ||
|
|
f1a13a0d99 | ||
|
|
b4f4d7af89 | ||
|
|
eabf4093ca | ||
|
|
b69f6533d5 | ||
|
|
71b47e42bf | ||
|
|
0e7dd7596d | ||
|
|
bf3260a038 | ||
|
|
9db3052ff0 | ||
|
|
2a73530306 | ||
|
|
6d7dab027c | ||
|
|
6ea99ec2e3 | ||
|
|
2368189081 | ||
|
|
82114f23a6 | ||
|
|
9ded1583ad | ||
|
|
4e1e847ffe | ||
|
|
05a503d85c | ||
|
|
79b51de682 | ||
|
|
d3e8387125 | ||
|
|
85e4029547 | ||
|
|
c43f9a8c82 | ||
|
|
c23f146657 | ||
|
|
9c281c6535 | ||
|
|
0062e63821 | ||
|
|
3be10f1353 | ||
|
|
331bb99d8c | ||
|
|
95ac18c612 | ||
|
|
4c196c6b61 | ||
|
|
c30616c6f3 | ||
|
|
1ad2f21a0a | ||
|
|
8ce06e1ed6 | ||
|
|
13ca06fd89 | ||
|
|
64ffd8d73c | ||
|
|
4a68876c7f | ||
|
|
11337d758f | ||
|
|
6558ea57ed | ||
|
|
e4bdb531b6 | ||
|
|
2939112453 | ||
|
|
db4d4a1749 | ||
|
|
8b5abf8b02 | ||
|
|
61b93463b3 | ||
|
|
d7e76f249b | ||
|
|
a37afe9499 | ||
|
|
0303516fa0 | ||
|
|
d5b7e74f31 | ||
|
|
c4e1f3776d | ||
|
|
e6de3d602e | ||
|
|
66180dae89 | ||
|
|
7adda9b685 | ||
|
|
db6c334e94 | ||
|
|
f924014d99 | ||
|
|
44d7516aeb | ||
|
|
46c0aa9d8b | ||
|
|
cc3ba5c8d7 | ||
|
|
23b56e0cf8 | ||
|
|
b3c92e9e6c | ||
|
|
79f66145a0 | ||
|
|
cd1be14063 | ||
|
|
7f1f33fb5a | ||
|
|
c003c4577c | ||
|
|
f8d0760a5e | ||
|
|
cb5591eb35 | ||
|
|
d3d91eaa84 | ||
|
|
3f81eef529 | ||
|
|
ed4ca8687f | ||
|
|
50392318f5 | ||
|
|
ff624524b1 | ||
|
|
3a1eee9a03 | ||
|
|
bc62e6d1d1 | ||
|
|
cb5d2f0587 | ||
|
|
172724a33f | ||
|
|
3a1a618233 | ||
|
|
af9c4bdc1d | ||
|
|
155312fa9c | ||
|
|
e85057489e | ||
|
|
5090055e2d | ||
|
|
8698cbcad4 | ||
|
|
24b12bd67d | ||
|
|
a2f143116f | ||
|
|
c5915141ac | ||
|
|
2270493e25 | ||
|
|
b32ed2a83c | ||
|
|
4c328a13f5 | ||
|
|
484d3c71b9 | ||
|
|
b3ffdef4a8 | ||
|
|
cc8b1cfe46 | ||
|
|
8d58f2b861 | ||
|
|
df123eca64 | ||
|
|
1960e05c52 | ||
|
|
588550252c | ||
|
|
c0d3d6ecb9 | ||
|
|
d74b1fe176 | ||
|
|
0d24f15143 | ||
|
|
9d408efd1f | ||
|
|
cbc25fc645 | ||
|
|
92750560ef | ||
|
|
14c25f7f2c | ||
|
|
a053158d07 | ||
|
|
ea6aab5c1c | ||
|
|
04aa21e2d6 | ||
|
|
b003ff0c1b | ||
|
|
00bf53fd41 | ||
|
|
98531c8bb5 | ||
|
|
c7e28f8712 | ||
|
|
48ea7ae51c | ||
|
|
cdcfda5856 | ||
|
|
1af162231e | ||
|
|
626078de2d | ||
|
|
7ea67ed353 | ||
|
|
7687291fd2 | ||
|
|
1b64aa5457 | ||
|
|
cbc2424b55 | ||
|
|
60b6d51de5 | ||
|
|
b7a7604bae | ||
|
|
a11c6962b2 | ||
|
|
b4ffb868a1 | ||
|
|
0056238593 | ||
|
|
e7f58f628e | ||
|
|
d0d12a5e36 | ||
|
|
d990cf46c7 | ||
|
|
6897cff7b2 | ||
|
|
3266e47d63 | ||
|
|
bbfcecfc07 | ||
|
|
ea3f9a3aad | ||
|
|
482c264bdb | ||
|
|
db2c832bea | ||
|
|
efc8a55167 | ||
|
|
10abd15dd5 | ||
|
|
5bee2524e1 | ||
|
|
008d87fe38 | ||
|
|
5660f4dee2 | ||
|
|
8ec5a22cad | ||
|
|
e935123043 | ||
|
|
42f8f2313c | ||
|
|
62e6fe04d9 | ||
|
|
4aab86857b | ||
|
|
743fec3a2b | ||
|
|
73927c60b9 | ||
|
|
57bdf9a301 | ||
|
|
5897a2df1c | ||
|
|
7b4e587923 | ||
|
|
d4582f6d88 | ||
|
|
40cc5b2859 | ||
|
|
93a8a25aa9 | ||
|
|
4b5d257520 | ||
|
|
24968b6f91 | ||
|
|
0d607a88f8 | ||
|
|
6294c0d848 | ||
|
|
c9d4adf2b6 | ||
|
|
ffeebc2be7 | ||
|
|
837804d3f9 | ||
|
|
cfd15cacfd | ||
|
|
2e4a8da63c | ||
|
|
24c51b8cc0 | ||
|
|
843070588e | ||
|
|
d7adc726b0 | ||
|
|
88c487e370 | ||
|
|
3c3e6d8c0d | ||
|
|
7696c451a5 | ||
|
|
821e6fbca7 | ||
|
|
562ec546cc | ||
|
|
dc2a318361 | ||
|
|
4618a21510 | ||
|
|
2d2b75afb9 | ||
|
|
7f24594f7a | ||
|
|
2591849aaa | ||
|
|
c50bcfd40c | ||
|
|
0b7224699a | ||
|
|
2ee4352ba2 | ||
|
|
24f3631c4c | ||
|
|
ecb4558464 | ||
|
|
f0c008d73a | ||
|
|
8ffc573cc6 | ||
|
|
e00b355112 | ||
|
|
5969fd5bf9 | ||
|
|
5300bf25b3 | ||
|
|
dca6f8a57d | ||
|
|
b124e714df | ||
|
|
6fbdb5a511 | ||
|
|
96906cc2dc | ||
|
|
f276b3b139 | ||
|
|
9257ce1e43 | ||
|
|
e2b2979535 | ||
|
|
21ce4c0266 | ||
|
|
3007a0cf43 | ||
|
|
c66c4aa05a | ||
|
|
86b479aab1 | ||
|
|
e849fb75e2 | ||
|
|
07572891cb | ||
|
|
e73fefff81 | ||
|
|
48a41c5a47 | ||
|
|
eb8b88d342 | ||
|
|
4469282345 | ||
|
|
aa0268982a | ||
|
|
6a3fc8f654 | ||
|
|
c20ffe6227 | ||
|
|
5e1932a3c9 | ||
|
|
99bdb28ee2 | ||
|
|
428e84affa | ||
|
|
182dabf6fd | ||
|
|
19859c0036 | ||
|
|
ab6186d8eb | ||
|
|
43d0fcc9c8 | ||
|
|
14131be40b | ||
|
|
fb8db8e46a | ||
|
|
9e555e33a6 | ||
|
|
1fec798248 | ||
|
|
43a0f7b9b9 | ||
|
|
b4398978f9 | ||
|
|
c314197721 | ||
|
|
2b274d002c | ||
|
|
b84071ce7a | ||
|
|
5da10a61af | ||
|
|
95a5ee9faf | ||
|
|
706999aff1 | ||
|
|
384aa2b0d3 | ||
|
|
19abb97df4 | ||
|
|
e7dea17d45 | ||
|
|
1cb61353d4 | ||
|
|
0615aafda0 | ||
|
|
d5866d0eca | ||
|
|
407d3201f3 | ||
|
|
e816a0ea1a | ||
|
|
0009a08a7d | ||
|
|
4be9eba3ad | ||
|
|
680002b8ee | ||
|
|
040284cd9d | ||
|
|
cb59fe4b55 | ||
|
|
2f1227cdc9 | ||
|
|
d2d175ed7a | ||
|
|
9f2cc8e5c8 | ||
|
|
2eae34d447 | ||
|
|
3f29234854 | ||
|
|
93ab5c0221 | ||
|
|
290e7abc27 | ||
|
|
7441a6dc76 | ||
|
|
122b248d72 | ||
|
|
b6fe732457 | ||
|
|
0a64bfb3c7 |
@@ -1,17 +1,54 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
cooldown:
|
||||
default-days: 7
|
||||
schedule:
|
||||
interval: monthly
|
||||
labels:
|
||||
- dependencies
|
||||
- github_actions
|
||||
- package-ecosystem: "pip"
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
||||
update-types:
|
||||
- minor
|
||||
- patch
|
||||
- package-ecosystem: pip
|
||||
directory: "/"
|
||||
cooldown:
|
||||
default-days: 7
|
||||
schedule:
|
||||
interval: weekly
|
||||
interval: monthly
|
||||
labels:
|
||||
- dependencies
|
||||
- python
|
||||
groups:
|
||||
pip-deps:
|
||||
patterns:
|
||||
- "*"
|
||||
update-types:
|
||||
- minor
|
||||
- patch
|
||||
versioning-strategy: lockfile-only
|
||||
- package-ecosystem: npm
|
||||
directory: "/"
|
||||
cooldown:
|
||||
default-days: 7
|
||||
schedule:
|
||||
interval: monthly
|
||||
labels:
|
||||
- dependencies
|
||||
versioning-strategy: increase
|
||||
groups:
|
||||
production-dependencies:
|
||||
dependency-type: production
|
||||
update-types:
|
||||
- minor
|
||||
- patch
|
||||
development-dependencies:
|
||||
dependency-type: development
|
||||
update-types:
|
||||
- minor
|
||||
- patch
|
||||
|
||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@@ -15,6 +15,7 @@ jobs:
|
||||
test:
|
||||
name: Python ${{ matrix.python }} on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 15
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -25,26 +26,27 @@ jobs:
|
||||
- '3.11'
|
||||
- '3.12'
|
||||
- '3.13'
|
||||
- '3.14'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
include:
|
||||
- os: macos-latest
|
||||
python: '3.9'
|
||||
- os: macos-latest
|
||||
python: '3.13'
|
||||
python: '3.14'
|
||||
- os: windows-latest
|
||||
python: '3.9'
|
||||
- os: windows-latest
|
||||
python: '3.13'
|
||||
python: '3.14'
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
cache: pip
|
||||
|
||||
@@ -15,29 +15,37 @@ on:
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
name: Analyze (${{ matrix.language }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- language: actions
|
||||
build-mode: none
|
||||
- language: python
|
||||
build-mode: none
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
|
||||
with:
|
||||
languages: "python"
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build-mode }}
|
||||
queries: +security-and-quality
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
|
||||
with:
|
||||
category: "/language:python"
|
||||
category: "/language:${{ matrix.language }}"
|
||||
|
||||
@@ -15,20 +15,21 @@ jobs:
|
||||
build-and-push-image:
|
||||
name: Build and push container image
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
|
||||
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -36,14 +37,16 @@ jobs:
|
||||
|
||||
- name: Extract metadata (tags, labels)
|
||||
id: meta
|
||||
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
|
||||
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
- name: Build and push container image
|
||||
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
provenance: true
|
||||
sbom: true
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
name: 'Dependency Review'
|
||||
on: [pull_request]
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -7,11 +9,12 @@ permissions:
|
||||
jobs:
|
||||
dependency-review:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3
|
||||
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
|
||||
@@ -9,3 +9,4 @@ hosts-*
|
||||
/node_modules/
|
||||
/package-lock.json
|
||||
/yarn.lock
|
||||
/flake.lock
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM docker.io/python:3-alpine
|
||||
|
||||
ENV IN_CONTAINER 1
|
||||
ENV IN_CONTAINER=1
|
||||
|
||||
RUN apk add --no-cache git sudo
|
||||
|
||||
@@ -8,6 +8,6 @@ COPY . /hosts
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /hosts/requirements.txt
|
||||
|
||||
ENV PATH $PATH:/hosts
|
||||
ENV PATH=$PATH:/hosts
|
||||
|
||||
WORKDIR /hosts
|
||||
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 30 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,851 entries.
|
||||
containing 8,866 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -160,6 +165,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -415,8 +426,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -432,8 +445,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -441,22 +477,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -628,6 +648,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,9771
|
||||
2023-06-13,9771
|
||||
2023-06-14,9771
|
||||
@@ -246,3 +245,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,334 entries.
|
||||
containing 85,659 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -166,6 +171,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -421,8 +432,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -438,8 +451,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -447,22 +483,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -634,6 +654,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,58796
|
||||
2023-06-13,58796
|
||||
2023-06-14,58796
|
||||
@@ -246,3 +245,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,524 entries.
|
||||
containing 89,413 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -167,6 +172,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -422,8 +433,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -439,8 +452,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -448,22 +484,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -635,6 +655,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,61636
|
||||
2023-06-13,61636
|
||||
2023-06-14,61636
|
||||
@@ -245,3 +244,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 168,984 entries.
|
||||
containing 165,024 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -183,6 +188,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -438,8 +449,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -455,8 +468,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -464,22 +500,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -651,6 +671,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,40317
|
||||
2016-12-18,40363
|
||||
2016-12-18,41792
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 59 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 165,772 entries.
|
||||
containing 161,250 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -182,6 +187,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -437,8 +448,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -454,8 +467,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -463,22 +499,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -650,6 +670,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,40087
|
||||
2016-12-18,40133
|
||||
2016-12-18,41562
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,093 entries.
|
||||
containing 12,674 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -161,6 +166,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -416,8 +427,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -433,8 +446,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -442,22 +478,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -629,6 +649,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,12612
|
||||
2023-06-13,12612
|
||||
2023-06-14,12612
|
||||
@@ -246,3 +245,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 94,220 entries.
|
||||
containing 88,952 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -177,6 +182,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -432,8 +443,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -449,8 +462,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -458,22 +494,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -645,6 +665,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,34083
|
||||
2016-12-18,34129
|
||||
2016-12-18,34157
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 56 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 91,007 entries.
|
||||
containing 85,176 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -176,6 +181,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -431,8 +442,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -448,8 +461,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -457,22 +493,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -644,6 +664,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,33853
|
||||
2016-12-18,33899
|
||||
2016-12-18,33927
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 55 KiB |
@@ -3,10 +3,10 @@
|
||||
# This hosts file is a merged collection of hosts from reputable sources,
|
||||
# with a dash of crowd sourcing via GitHub
|
||||
#
|
||||
# Date: 26 September 2025 02:12:11 (UTC)
|
||||
# Date: 25 September 2026 19:30:10 (UTC)
|
||||
# The unified hosts file was not used while generating this file.
|
||||
# Extensions used to generate this file: fakenews
|
||||
# Number of unique domains: 2,188
|
||||
# Number of unique domains: 2,187
|
||||
#
|
||||
# Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts
|
||||
# Project home page: https://github.com/StevenBlack/hosts
|
||||
@@ -1878,7 +1878,6 @@
|
||||
0.0.0.0 wastachnews.com
|
||||
0.0.0.0 waterfilters.news
|
||||
0.0.0.0 waterfordtoday.com
|
||||
0.0.0.0 waterfordwhispersnews.com
|
||||
0.0.0.0 waterlooreview.com
|
||||
0.0.0.0 waterlootimes.com
|
||||
0.0.0.0 waterwars.news
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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.
|
||||
containing 2,187 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -158,6 +163,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -413,8 +424,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -430,8 +443,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -439,22 +475,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -626,6 +646,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,2194
|
||||
2023-06-13,2194
|
||||
2023-06-14,2194
|
||||
@@ -233,3 +232,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,677 entries.
|
||||
containing 78,986 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -164,6 +169,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -419,8 +430,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -436,8 +449,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -445,22 +481,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -632,6 +652,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,51219
|
||||
2023-06-13,51219
|
||||
2023-06-14,51219
|
||||
@@ -245,3 +244,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,918 entries.
|
||||
containing 82,792 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -165,6 +170,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -420,8 +431,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -437,8 +450,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -446,22 +482,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -633,6 +653,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,54059
|
||||
2023-06-13,54059
|
||||
2023-06-14,54059
|
||||
@@ -245,3 +244,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 162,339 entries.
|
||||
containing 158,363 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -181,6 +186,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -436,8 +447,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -453,8 +466,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -462,22 +498,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -649,6 +669,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,38797
|
||||
2016-12-18,38843
|
||||
2016-12-18,40272
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 58 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 159,127 entries.
|
||||
containing 154,589 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -180,6 +185,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -435,8 +446,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -452,8 +465,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -461,22 +497,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -648,6 +668,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,38567
|
||||
2016-12-18,38613
|
||||
2016-12-18,40042
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 57 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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.
|
||||
containing 6,001 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -159,6 +164,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -414,8 +425,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -431,8 +444,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -440,22 +476,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -627,6 +647,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,5035
|
||||
2023-06-13,5035
|
||||
2023-06-14,5035
|
||||
@@ -234,3 +233,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 41 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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 87,575 entries.
|
||||
containing 82,291 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -175,6 +180,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -430,8 +441,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -447,8 +460,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -456,22 +492,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -643,6 +663,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,32563
|
||||
2016-12-18,32609
|
||||
2016-12-18,32637
|
||||
@@ -952,3 +951,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 55 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts)
|
||||
containing 84,362 entries.
|
||||
containing 78,515 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -174,6 +179,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -429,8 +440,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -446,8 +459,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -455,22 +491,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -642,6 +662,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-12-17,32333
|
||||
2016-12-18,32379
|
||||
2016-12-18,32407
|
||||
@@ -953,3 +952,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 55 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: gambling](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts)
|
||||
containing 6,657 entries.
|
||||
containing 6,673 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -159,6 +164,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -414,8 +425,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -431,8 +444,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -440,22 +476,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -627,6 +647,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,7577
|
||||
2023-06-13,7577
|
||||
2023-06-14,7577
|
||||
@@ -246,3 +245,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 46 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- 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,140 entries.
|
||||
containing 83,466 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -165,6 +170,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -420,8 +431,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -437,8 +450,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -446,22 +482,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -633,6 +653,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,56602
|
||||
2023-06-13,56602
|
||||
2023-06-14,56602
|
||||
@@ -246,3 +245,32 @@
|
||||
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
|
||||
|
||||
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 42 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: gambling, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts)
|
||||
containing 85,381 entries.
|
||||
containing 87,272 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -166,6 +171,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -421,8 +432,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -438,8 +451,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -447,22 +483,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -634,6 +654,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,59442
|
||||
2023-06-13,59442
|
||||
2023-06-14,59442
|
||||
@@ -246,3 +245,32 @@
|
||||
2025-08-01,85317
|
||||
2025-08-03,85317
|
||||
2025-08-08,85324
|
||||
2025-08-08,85324
|
||||
2025-08-13,85330
|
||||
2025-08-14,85330
|
||||
2025-08-19,85330
|
||||
2025-08-24,85330
|
||||
2025-08-29,85330
|
||||
2025-09-05,85330
|
||||
2025-09-08,85342
|
||||
2025-09-14,85359
|
||||
2025-09-15,85359
|
||||
2025-09-25,85381
|
||||
2025-09-27,85381
|
||||
2025-10-02,85391
|
||||
2025-10-04,85391
|
||||
2025-10-08,85391
|
||||
2025-10-13,85391
|
||||
2025-10-16,85391
|
||||
2025-10-25,85395
|
||||
2025-11-01,85395
|
||||
2025-11-02,85395
|
||||
2025-11-04,85400
|
||||
2025-11-07,85401
|
||||
2025-11-11,85409
|
||||
2025-11-11,85409
|
||||
2025-11-15,85409
|
||||
2025-11-18,85409
|
||||
2025-11-21,85427
|
||||
2025-11-23,85427
|
||||
2025-11-27,85427
|
||||
|
||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 43 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts)
|
||||
containing 166,796 entries.
|
||||
containing 162,837 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -182,6 +187,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -437,8 +448,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -454,8 +467,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -463,22 +499,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -650,6 +670,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-03-13,33270
|
||||
2016-03-13,33270
|
||||
2016-03-13,33271
|
||||
@@ -1082,3 +1081,32 @@
|
||||
2025-08-01,311797
|
||||
2025-08-03,312531
|
||||
2025-08-08,313645
|
||||
2025-08-08,313645
|
||||
2025-08-13,313874
|
||||
2025-08-14,314616
|
||||
2025-08-19,315493
|
||||
2025-08-24,318868
|
||||
2025-08-29,320321
|
||||
2025-09-05,326688
|
||||
2025-09-08,330659
|
||||
2025-09-14,334023
|
||||
2025-09-15,334501
|
||||
2025-09-25,166796
|
||||
2025-09-27,168029
|
||||
2025-10-02,168857
|
||||
2025-10-04,166829
|
||||
2025-10-08,166777
|
||||
2025-10-13,166476
|
||||
2025-10-16,167341
|
||||
2025-10-25,188122
|
||||
2025-11-01,194041
|
||||
2025-11-02,193474
|
||||
2025-11-04,194444
|
||||
2025-11-07,196099
|
||||
2025-11-11,193520
|
||||
2025-11-11,193466
|
||||
2025-11-15,196464
|
||||
2025-11-18,187413
|
||||
2025-11-21,183110
|
||||
2025-11-23,183110
|
||||
2025-11-27,173857
|
||||
|
||||
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 60 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts)
|
||||
containing 163,584 entries.
|
||||
containing 159,063 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -181,6 +186,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -436,8 +447,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -453,8 +466,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -462,22 +498,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -649,6 +669,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2016-03-13,33215
|
||||
2016-03-13,33215
|
||||
2016-03-13,33216
|
||||
@@ -1082,3 +1081,32 @@
|
||||
2025-08-01,308585
|
||||
2025-08-03,309319
|
||||
2025-08-08,310433
|
||||
2025-08-08,310433
|
||||
2025-08-13,310662
|
||||
2025-08-14,311404
|
||||
2025-08-19,312281
|
||||
2025-08-24,315656
|
||||
2025-08-29,317109
|
||||
2025-09-05,323476
|
||||
2025-09-08,327447
|
||||
2025-09-14,330811
|
||||
2025-09-15,331289
|
||||
2025-09-25,163584
|
||||
2025-09-27,164817
|
||||
2025-10-02,165645
|
||||
2025-10-04,163617
|
||||
2025-10-08,163565
|
||||
2025-10-13,163264
|
||||
2025-10-16,164129
|
||||
2025-10-25,184910
|
||||
2025-11-01,190829
|
||||
2025-11-02,190262
|
||||
2025-11-04,191232
|
||||
2025-11-07,192887
|
||||
2025-11-11,190308
|
||||
2025-11-11,190254
|
||||
2025-11-15,193252
|
||||
2025-11-18,184201
|
||||
2025-11-21,179898
|
||||
2025-11-23,179898
|
||||
2025-11-27,170645
|
||||
|
||||
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 59 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: gambling, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts)
|
||||
containing 9,899 entries.
|
||||
containing 10,481 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -160,6 +165,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -415,8 +426,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -432,8 +445,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -441,22 +477,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -628,6 +648,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
2023-06-11,10418
|
||||
2023-06-13,10418
|
||||
2023-06-14,10418
|
||||
@@ -246,3 +245,32 @@
|
||||
2025-08-01,9851
|
||||
2025-08-03,9851
|
||||
2025-08-08,9858
|
||||
2025-08-08,9858
|
||||
2025-08-13,9864
|
||||
2025-08-14,9864
|
||||
2025-08-19,9864
|
||||
2025-08-24,9864
|
||||
2025-08-29,9864
|
||||
2025-09-05,9864
|
||||
2025-09-08,9864
|
||||
2025-09-14,9877
|
||||
2025-09-15,9877
|
||||
2025-09-25,9899
|
||||
2025-09-27,9899
|
||||
2025-10-02,9908
|
||||
2025-10-04,9908
|
||||
2025-10-08,9908
|
||||
2025-10-13,9908
|
||||
2025-10-16,9908
|
||||
2025-10-25,9909
|
||||
2025-11-01,9909
|
||||
2025-11-02,9909
|
||||
2025-11-04,9917
|
||||
2025-11-07,9918
|
||||
2025-11-11,9926
|
||||
2025-11-11,9926
|
||||
2025-11-15,9926
|
||||
2025-11-18,9926
|
||||
2025-11-21,9939
|
||||
2025-11-23,9939
|
||||
2025-11-27,9939
|
||||
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
@@ -1,6 +1,11 @@
|
||||
**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
|
||||
|
||||
> [!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
|
||||
@@ -30,10 +35,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **September 26 2025**.
|
||||
- Last updated: **September 25 2026**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts)
|
||||
containing 92,032 entries.
|
||||
containing 86,765 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +54,37 @@ 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) | 80,060 | [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) | 84,362 | [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) | 88,819 | [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,657 | [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) | 156,939 | [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,483 | [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) | 85,387 | [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) | 91,007 | [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,851 | [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) | 159,127 | [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,677 | [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) | 87,575 | [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) | 163,584 | [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,140 | [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) | 92,032 | [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,899 | [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) | 160,151 | [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,724 | [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) | 165,772 | [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,334 | [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) | 94,220 | [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,093 | [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) | 162,339 | [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,918 | [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) | 166,796 | [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,381 | [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) | 168,984 | [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,524 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 75,944 | [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) | 78,515 | [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,187 | [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) | 82,989 | [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,673 | [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) | 152,402 | [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) | 76,793 | [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) | 80,104 | [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,808 | [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) | 85,176 | [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,866 | [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) | 154,589 | [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) | 78,986 | [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) | 82,291 | [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) | 6,001 | [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) | 159,063 | [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) | 83,466 | [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) | 86,765 | [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) | 10,481 | [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) | 156,176 | [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) | 80,599 | [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) | 161,250 | [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) | 85,659 | [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) | 88,952 | [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,674 | [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) | 158,363 | [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) | 82,792 | [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) | 162,837 | [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) | 87,272 | [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) | 165,024 | [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) | 89,413 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -176,6 +181,12 @@ Build the Docker container from the root of this repo like this:
|
||||
docker build --no-cache . -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Or without cloning (directly from GitHub):
|
||||
|
||||
```sh
|
||||
docker build --no-cache https://github.com/StevenBlack/hosts.git -t stevenblack-hosts
|
||||
```
|
||||
|
||||
Then run your command as such:
|
||||
|
||||
```sh
|
||||
@@ -431,8 +442,10 @@ To install hosts file on your machine add the following into your
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through _flakes_ can use the hosts file
|
||||
like this:
|
||||
NixOS installations which are managed through _flakes_ can directly use the `flake.nix` in this repository as an input.
|
||||
|
||||
It contains a `nixosModule` that can be used to install the `hosts` file locally, as well as a package containing config files for the [Unbound](https://github.com/NLnetLabs/unbound) DNS server to be used as blocklists.
|
||||
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -448,8 +461,31 @@ like this:
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
# nixosModule to install hosts file locally:
|
||||
hosts.nixosModule
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enable = true;
|
||||
# optionally:
|
||||
# enableIPv6 = true;
|
||||
# blockFakenews = true;
|
||||
# blockGambling = true;
|
||||
# blockPorn = true;
|
||||
# blockSocial = true;
|
||||
};
|
||||
}
|
||||
|
||||
# configure unbound to use config as blocklist:
|
||||
{
|
||||
{
|
||||
services.unbound = {
|
||||
enable = true;
|
||||
settings.server.include = [
|
||||
"${hosts.packages.${system}.unbound}/hosts"
|
||||
# alternates are also available, e.g. /fakenews, /fakenews-gambling etc.
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -457,22 +493,6 @@ like this:
|
||||
}
|
||||
```
|
||||
|
||||
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.)
|
||||
@@ -644,6 +664,7 @@ devices under a variety of operating systems.
|
||||
most welcome.
|
||||
- [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager,
|
||||
written in Java, by Christian Martínez. Check it out!
|
||||
- [SaneHosts](https://sanehosts.com "SaneHosts") (for macOS): A native hosts file manager with profile-based blocking, Touch ID protection, and support for 200+ curated blocklists. Open source.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
|
||||