Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1dd1fc4a30 | ||
|
|
7896766d8e | ||
|
|
4792d4359c | ||
|
|
7583934e9b | ||
|
|
44da0697fb | ||
|
|
2497d5406e | ||
|
|
bcaeb79bbf | ||
|
|
38bb6ce2e6 | ||
|
|
0802370099 | ||
|
|
d6f14eaedd | ||
|
|
3137006c26 | ||
|
|
30ce23a78a | ||
|
|
961747eaee | ||
|
|
cbd0461bf1 | ||
|
|
b0781e7975 | ||
|
|
a87c3a1a1b | ||
|
|
d888b26ad8 | ||
|
|
7df1533fb0 | ||
|
|
e73113b0da | ||
|
|
64ee012b7e | ||
|
|
18828ee671 | ||
|
|
bc5a23dd2e | ||
|
|
99c3bb9306 | ||
|
|
496b69f840 | ||
|
|
6c5e31e6f9 | ||
|
|
dd6c2435a0 | ||
|
|
9c49c97787 | ||
|
|
8bbc2587c7 | ||
|
|
dd9b63e52e | ||
|
|
9039220a06 | ||
|
|
105e874feb | ||
|
|
a11705bff2 | ||
|
|
9b27ae27d1 | ||
|
|
5398a10d1d | ||
|
|
98071b092e | ||
|
|
e6f6ddd65b | ||
|
|
5c49f77b72 | ||
|
|
eb7c7c73a1 | ||
|
|
b093dd1ef0 | ||
|
|
1ca3c38058 | ||
|
|
a0efa72e2e | ||
|
|
90ab32da7b | ||
|
|
dd9bd42f52 | ||
|
|
484bb922dd | ||
|
|
e8743be589 | ||
|
|
1af15453fd | ||
|
|
6601b26018 | ||
|
|
08ebdd4bb5 | ||
|
|
5e77c7c7b1 | ||
|
|
36d7958e58 | ||
|
|
5e5d438091 | ||
|
|
85aeab65b5 | ||
|
|
2abb813196 | ||
|
|
064e3bf72b | ||
|
|
125d549ef4 | ||
|
|
9db4bfd5a2 | ||
|
|
99c1834851 | ||
|
|
a8ccb59df1 | ||
|
|
865d74f92a | ||
|
|
b89d4aad70 | ||
|
|
1fd8390cab | ||
|
|
b67793d89a | ||
|
|
43c492f685 | ||
|
|
8e5a49fc80 | ||
|
|
175f5cbef5 | ||
|
|
bef2c6a206 | ||
|
|
777857f176 | ||
|
|
8ae357794a | ||
|
|
026a9fab06 | ||
|
|
b9d4d50a6a | ||
|
|
d4d4469162 | ||
|
|
2d5e933709 | ||
|
|
90e1c13433 | ||
|
|
b016d4cd30 | ||
|
|
1005c2bc2e | ||
|
|
42bfc78696 | ||
|
|
929f830dec | ||
|
|
8567dd2856 | ||
|
|
142c3b45d5 | ||
|
|
4010d76b6f | ||
|
|
8f17aa5b35 | ||
|
|
eb961b441c | ||
|
|
a3713a140b | ||
|
|
961e1bdfd8 | ||
|
|
c33258ee5c | ||
|
|
27cf50e55d | ||
|
|
14a0ae0dcd | ||
|
|
0ffc44b850 | ||
|
|
3ba25afdbe | ||
|
|
02b4c402c1 | ||
|
|
4a0b3155ce | ||
|
|
7bb65c07c1 | ||
|
|
b3259ed2bd | ||
|
|
bfbfc7deb7 | ||
|
|
19bd59dddf | ||
|
|
06a99e9a11 | ||
|
|
b7e976dd8c | ||
|
|
83b4e7108b | ||
|
|
fbea953f59 | ||
|
|
6cedd43690 | ||
|
|
2b0e1279f4 | ||
|
|
6c742ee03f | ||
|
|
335cd7caa0 | ||
|
|
2ca8daf848 | ||
|
|
b5c9188aee | ||
|
|
8371feb6fe | ||
|
|
ea7bd50ad7 | ||
|
|
6e6d20dd24 | ||
|
|
2e91a6a325 | ||
|
|
ce42e633f8 | ||
|
|
ec0641f8ec | ||
|
|
527a17983b | ||
|
|
4f663aa0f0 | ||
|
|
879d29826c | ||
|
|
dbdcb03270 | ||
|
|
39a4c9c885 | ||
|
|
a51fb874ae | ||
|
|
403d8bf36c | ||
|
|
4135c1d6f4 | ||
|
|
3f7669def3 | ||
|
|
9a5c90e8e3 | ||
|
|
05a9df2347 | ||
|
|
d64ec295d0 | ||
|
|
66fd6e46ae | ||
|
|
0fe61c4b6a | ||
|
|
454f26b549 | ||
|
|
181b549344 | ||
|
|
14fa6296ae | ||
|
|
beb85bf784 | ||
|
|
3bfb2b1fa8 | ||
|
|
79841c6356 | ||
|
|
5450d4466d | ||
|
|
8699040ec4 | ||
|
|
cb2893d958 | ||
|
|
8c73d74238 | ||
|
|
6e7698abef | ||
|
|
dabb0647f3 | ||
|
|
21f7f0a933 | ||
|
|
f4235aced3 | ||
|
|
034cb9a299 | ||
|
|
26fc979d07 | ||
|
|
37a200a82d | ||
|
|
a649a959ba | ||
|
|
acab5f674a | ||
|
|
815487ebb9 | ||
|
|
058b044ab5 | ||
|
|
50524d5b78 | ||
|
|
4dfbcfc8b9 | ||
|
|
7e4a962196 | ||
|
|
4d95851d4e | ||
|
|
9cc0a018fc | ||
|
|
5424279ae0 | ||
|
|
60f983269a | ||
|
|
202a52cbc2 | ||
|
|
99c5f53e32 | ||
|
|
bfe72bcae7 | ||
|
|
5c72f8f22e | ||
|
|
5c3490d85d | ||
|
|
9644218ede | ||
|
|
909d8f5dcb | ||
|
|
511c57b854 | ||
|
|
de2c069f0d | ||
|
|
d50598a41b | ||
|
|
cd0b6c4456 | ||
|
|
4604e47117 | ||
|
|
3e9c651afa | ||
|
|
299151a32d | ||
|
|
75b18a2af1 | ||
|
|
cc4d98b069 | ||
|
|
8df476e3b5 | ||
|
|
7d5bba233a | ||
|
|
ffc008fca4 | ||
|
|
f0155ac705 | ||
|
|
53496c0f67 | ||
|
|
d8ff947926 | ||
|
|
527daadb16 | ||
|
|
3588a19fa6 | ||
|
|
f20b4803bf | ||
|
|
37cd96c0fe | ||
|
|
7ec703ac7c | ||
|
|
04e625de9d | ||
|
|
1d01b082d6 | ||
|
|
72a93d1368 | ||
|
|
8ca227e21a | ||
|
|
9ab153e271 | ||
|
|
a0af3d5cb1 | ||
|
|
ee1fe633e1 | ||
|
|
55a9a74a5f | ||
|
|
5f8af25572 | ||
|
|
6631d69419 | ||
|
|
94ce558ed5 | ||
|
|
9f4ceb29a3 | ||
|
|
ec8562f9f6 | ||
|
|
abd39949d3 | ||
|
|
fb63ebaf9c | ||
|
|
e457be3a9c | ||
|
|
1f2c2afc3c | ||
|
|
1b19054c88 | ||
|
|
2a3cb6a965 | ||
|
|
6c9e54b5c9 | ||
|
|
3f40d08abc | ||
|
|
3b9e5a2e53 |
@@ -20,31 +20,31 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python:
|
||||
- '3.8'
|
||||
- '3.9'
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
- '3.12'
|
||||
- '3.13'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
include:
|
||||
- os: macos-latest
|
||||
python: '3.8'
|
||||
python: '3.9'
|
||||
- os: macos-latest
|
||||
python: '3.12'
|
||||
python: '3.13'
|
||||
- os: windows-latest
|
||||
python: '3.8'
|
||||
python: '3.9'
|
||||
- os: windows-latest
|
||||
python: '3.12'
|
||||
python: '3.13'
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
cache: pip
|
||||
|
||||
@@ -24,20 +24,20 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
with:
|
||||
languages: "python"
|
||||
queries: +security-and-quality
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
with:
|
||||
category: "/language:python"
|
||||
|
||||
@@ -20,15 +20,15 @@ jobs:
|
||||
packages: write
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -36,12 +36,12 @@ jobs:
|
||||
|
||||
- name: Extract metadata (tags, labels)
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
- name: Build and push container image
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
|
||||
@@ -9,9 +9,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@v4
|
||||
uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3
|
||||
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, gambling](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts)
|
||||
containing 10,895 entries.
|
||||
containing 8,851 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -420,7 +420,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -439,6 +446,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -447,10 +455,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -474,6 +486,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,96 @@
|
||||
2024-10-07,10670
|
||||
2024-10-09,10670
|
||||
2024-10-10,10670
|
||||
2024-10-11,10670
|
||||
2024-10-11,10669
|
||||
2024-10-12,10683
|
||||
2024-10-13,10682
|
||||
2024-10-15,10685
|
||||
2024-10-18,10685
|
||||
2024-10-23,10688
|
||||
2024-10-26,10689
|
||||
2024-10-30,10689
|
||||
2024-11-02,10700
|
||||
2024-11-07,10704
|
||||
2024-11-11,10714
|
||||
2024-11-14,10763
|
||||
2024-11-19,10763
|
||||
2024-11-23,10781
|
||||
2024-11-24,10858
|
||||
2024-11-28,10858
|
||||
2024-12-02,10862
|
||||
2024-12-04,10864
|
||||
2024-12-06,10868
|
||||
2024-12-12,10868
|
||||
2024-12-15,10873
|
||||
2024-12-16,10873
|
||||
2024-12-16,10873
|
||||
2024-12-18,10873
|
||||
2024-12-20,10873
|
||||
2024-12-23,10873
|
||||
2024-12-26,10873
|
||||
2024-12-27,10873
|
||||
2024-12-30,10886
|
||||
2025-01-04,10894
|
||||
2025-01-06,10895
|
||||
2025-01-09,10895
|
||||
2025-01-15,10898
|
||||
2025-01-21,10899
|
||||
2025-01-22,10899
|
||||
2025-01-25,10899
|
||||
2025-01-26,10899
|
||||
2025-01-31,10899
|
||||
2025-02-04,8605
|
||||
2025-02-12,8608
|
||||
2025-02-17,8610
|
||||
2025-02-20,8626
|
||||
2025-02-22,8626
|
||||
2025-03-01,8630
|
||||
2025-03-07,8634
|
||||
2025-03-09,8634
|
||||
2025-03-13,8640
|
||||
2025-03-17,8641
|
||||
2025-03-21,8654
|
||||
2025-03-26,8654
|
||||
2025-03-28,8655
|
||||
2025-04-01,8655
|
||||
2025-04-05,8661
|
||||
2025-04-09,8684
|
||||
2025-04-12,8684
|
||||
2025-04-17,8689
|
||||
2025-04-22,8699
|
||||
2025-04-25,8701
|
||||
2025-04-30,8701
|
||||
2025-05-04,8702
|
||||
2025-05-08,8702
|
||||
2025-05-15,8707
|
||||
2025-05-18,8707
|
||||
2025-05-20,8714
|
||||
2025-05-27,8717
|
||||
2025-06-02,8720
|
||||
2025-06-04,8728
|
||||
2025-06-07,8730
|
||||
2025-06-12,8740
|
||||
2025-06-15,8768
|
||||
2025-06-18,8768
|
||||
2025-06-19,8768
|
||||
2025-06-23,8776
|
||||
2025-06-25,8776
|
||||
2025-06-30,8776
|
||||
2025-07-03,8781
|
||||
2025-07-05,8781
|
||||
2025-07-08,8781
|
||||
2025-07-11,8785
|
||||
2025-07-12,8785
|
||||
2025-07-13,8785
|
||||
2025-07-13,8785
|
||||
2025-07-16,8785
|
||||
2025-07-16,8786
|
||||
2025-07-18,8786
|
||||
2025-07-18,8792
|
||||
2025-07-23,8797
|
||||
2025-07-26,8802
|
||||
2025-07-30,8803
|
||||
2025-08-01,8803
|
||||
2025-08-03,8803
|
||||
2025-08-08,8810
|
||||
|
||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 46 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, gambling, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts)
|
||||
containing 87,663 entries.
|
||||
containing 84,334 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -426,7 +426,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -445,6 +452,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -453,10 +461,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -480,6 +492,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,96 @@
|
||||
2024-10-07,86874
|
||||
2024-10-09,86875
|
||||
2024-10-10,86867
|
||||
2024-10-11,86867
|
||||
2024-10-11,86866
|
||||
2024-10-12,86881
|
||||
2024-10-13,86880
|
||||
2024-10-15,86883
|
||||
2024-10-18,86883
|
||||
2024-10-23,86888
|
||||
2024-10-26,86889
|
||||
2024-10-30,86889
|
||||
2024-11-02,86902
|
||||
2024-11-07,86907
|
||||
2024-11-11,86946
|
||||
2024-11-14,87077
|
||||
2024-11-19,87107
|
||||
2024-11-23,87126
|
||||
2024-11-24,87256
|
||||
2024-11-28,87336
|
||||
2024-12-02,87606
|
||||
2024-12-04,87614
|
||||
2024-12-06,87618
|
||||
2024-12-12,87616
|
||||
2024-12-15,87621
|
||||
2024-12-16,87621
|
||||
2024-12-16,87621
|
||||
2024-12-18,87621
|
||||
2024-12-20,87621
|
||||
2024-12-23,87621
|
||||
2024-12-26,87621
|
||||
2024-12-27,87621
|
||||
2024-12-30,87652
|
||||
2025-01-04,87660
|
||||
2025-01-06,87663
|
||||
2025-01-09,87665
|
||||
2025-01-15,87668
|
||||
2025-01-21,87671
|
||||
2025-01-22,87671
|
||||
2025-01-25,87671
|
||||
2025-01-26,87671
|
||||
2025-01-31,87671
|
||||
2025-02-04,84010
|
||||
2025-02-12,84015
|
||||
2025-02-17,84019
|
||||
2025-02-20,84035
|
||||
2025-02-22,84035
|
||||
2025-03-01,84039
|
||||
2025-03-07,84043
|
||||
2025-03-09,84043
|
||||
2025-03-13,84049
|
||||
2025-03-17,84050
|
||||
2025-03-21,84014
|
||||
2025-03-26,84014
|
||||
2025-03-28,84015
|
||||
2025-04-01,84015
|
||||
2025-04-05,84021
|
||||
2025-04-09,84048
|
||||
2025-04-12,84043
|
||||
2025-04-17,84053
|
||||
2025-04-22,84063
|
||||
2025-04-25,84065
|
||||
2025-04-30,84065
|
||||
2025-05-04,84066
|
||||
2025-05-08,84066
|
||||
2025-05-15,84071
|
||||
2025-05-18,84071
|
||||
2025-05-20,84078
|
||||
2025-05-27,84161
|
||||
2025-06-02,84164
|
||||
2025-06-04,84172
|
||||
2025-06-07,84174
|
||||
2025-06-12,84184
|
||||
2025-06-15,84213
|
||||
2025-06-18,84213
|
||||
2025-06-19,84213
|
||||
2025-06-23,84221
|
||||
2025-06-25,84221
|
||||
2025-06-30,84221
|
||||
2025-07-03,84236
|
||||
2025-07-05,84236
|
||||
2025-07-08,84236
|
||||
2025-07-11,84240
|
||||
2025-07-12,84240
|
||||
2025-07-13,84240
|
||||
2025-07-13,84240
|
||||
2025-07-16,84240
|
||||
2025-07-16,84199
|
||||
2025-07-18,84199
|
||||
2025-07-18,84247
|
||||
2025-07-23,84255
|
||||
2025-07-26,84260
|
||||
2025-07-30,84270
|
||||
2025-08-01,84270
|
||||
2025-08-03,84270
|
||||
2025-08-08,84277
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 43 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"-pl",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs."
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, gambling, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts)
|
||||
containing 90,879 entries.
|
||||
containing 87,524 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -427,7 +427,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -446,6 +453,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -454,10 +462,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -481,6 +493,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,95 @@
|
||||
2024-10-07,90090
|
||||
2024-10-09,90091
|
||||
2024-10-10,90083
|
||||
2024-10-11,90083
|
||||
2024-10-11,90082
|
||||
2024-10-12,90097
|
||||
2024-10-13,90096
|
||||
2024-10-15,90099
|
||||
2024-10-18,90099
|
||||
2024-10-23,90104
|
||||
2024-10-26,90105
|
||||
2024-10-30,90105
|
||||
2024-11-02,90118
|
||||
2024-11-07,90123
|
||||
2024-11-11,90162
|
||||
2024-11-14,90293
|
||||
2024-11-19,90323
|
||||
2024-11-23,90342
|
||||
2024-11-24,90472
|
||||
2024-11-28,90552
|
||||
2024-12-02,90822
|
||||
2024-12-04,90830
|
||||
2024-12-06,90834
|
||||
2024-12-12,90832
|
||||
2024-12-15,90837
|
||||
2024-12-16,90837
|
||||
2024-12-16,90837
|
||||
2024-12-18,90837
|
||||
2024-12-20,90837
|
||||
2024-12-23,90837
|
||||
2024-12-26,90837
|
||||
2024-12-27,90837
|
||||
2024-12-30,90868
|
||||
2025-01-04,90876
|
||||
2025-01-06,90879
|
||||
2025-01-09,90881
|
||||
2025-01-15,90884
|
||||
2025-01-21,90887
|
||||
2025-01-22,90887
|
||||
2025-01-25,90887
|
||||
2025-01-26,90887
|
||||
2025-01-31,90887
|
||||
2025-02-04,87226
|
||||
2025-02-12,87231
|
||||
2025-02-17,87235
|
||||
2025-02-20,87251
|
||||
2025-02-22,87251
|
||||
2025-03-01,87255
|
||||
2025-03-07,87259
|
||||
2025-03-09,87259
|
||||
2025-03-13,87265
|
||||
2025-03-17,87266
|
||||
2025-03-21,87230
|
||||
2025-03-26,87230
|
||||
2025-03-28,87231
|
||||
2025-04-01,87231
|
||||
2025-04-05,87237
|
||||
2025-04-09,87264
|
||||
2025-04-12,87259
|
||||
2025-04-17,87269
|
||||
2025-04-22,87279
|
||||
2025-04-25,87281
|
||||
2025-04-30,87281
|
||||
2025-05-04,87282
|
||||
2025-05-08,87282
|
||||
2025-05-15,87287
|
||||
2025-05-18,87287
|
||||
2025-05-20,87294
|
||||
2025-05-27,87402
|
||||
2025-06-02,87405
|
||||
2025-06-04,87413
|
||||
2025-06-07,87415
|
||||
2025-06-12,87425
|
||||
2025-06-15,87454
|
||||
2025-06-18,87454
|
||||
2025-06-19,87454
|
||||
2025-06-23,87462
|
||||
2025-06-25,87462
|
||||
2025-06-30,87462
|
||||
2025-07-03,87477
|
||||
2025-07-05,87477
|
||||
2025-07-08,87477
|
||||
2025-07-11,87481
|
||||
2025-07-12,87481
|
||||
2025-07-13,87481
|
||||
2025-07-13,87481
|
||||
2025-07-16,87481
|
||||
2025-07-16,87437
|
||||
2025-07-18,87437
|
||||
2025-07-23,87445
|
||||
2025-07-26,87450
|
||||
2025-07-30,87460
|
||||
2025-08-01,87460
|
||||
2025-08-03,87460
|
||||
2025-08-08,87467
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 44 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts)
|
||||
containing 205,658 entries.
|
||||
containing 168,984 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -443,7 +443,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -462,6 +469,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -470,10 +478,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -497,6 +509,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 58 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts)
|
||||
containing 202,471 entries.
|
||||
containing 165,772 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -442,7 +442,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -461,6 +468,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -469,10 +477,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -496,6 +508,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 57 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, gambling, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts)
|
||||
containing 14,112 entries.
|
||||
containing 12,093 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -421,7 +421,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -440,6 +447,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -448,10 +456,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -475,6 +487,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,96 @@
|
||||
2024-10-07,13887
|
||||
2024-10-09,13887
|
||||
2024-10-10,13887
|
||||
2024-10-11,13887
|
||||
2024-10-11,13886
|
||||
2024-10-12,13900
|
||||
2024-10-13,13899
|
||||
2024-10-15,13902
|
||||
2024-10-18,13902
|
||||
2024-10-23,13905
|
||||
2024-10-26,13906
|
||||
2024-10-30,13906
|
||||
2024-11-02,13917
|
||||
2024-11-07,13921
|
||||
2024-11-11,13931
|
||||
2024-11-14,13980
|
||||
2024-11-19,13980
|
||||
2024-11-23,13998
|
||||
2024-11-24,14075
|
||||
2024-11-28,14075
|
||||
2024-12-02,14079
|
||||
2024-12-04,14081
|
||||
2024-12-06,14085
|
||||
2024-12-12,14085
|
||||
2024-12-15,14090
|
||||
2024-12-16,14090
|
||||
2024-12-16,14090
|
||||
2024-12-18,14090
|
||||
2024-12-20,14090
|
||||
2024-12-23,14090
|
||||
2024-12-26,14090
|
||||
2024-12-27,14090
|
||||
2024-12-30,14103
|
||||
2025-01-04,14111
|
||||
2025-01-06,14112
|
||||
2025-01-09,14112
|
||||
2025-01-15,14115
|
||||
2025-01-21,14116
|
||||
2025-01-22,14116
|
||||
2025-01-25,14116
|
||||
2025-01-26,14116
|
||||
2025-01-31,14116
|
||||
2025-02-04,11822
|
||||
2025-02-12,11825
|
||||
2025-02-17,11827
|
||||
2025-02-20,11843
|
||||
2025-02-22,11843
|
||||
2025-03-01,11847
|
||||
2025-03-07,11851
|
||||
2025-03-09,11851
|
||||
2025-03-13,11857
|
||||
2025-03-17,11858
|
||||
2025-03-21,11871
|
||||
2025-03-26,11871
|
||||
2025-03-28,11872
|
||||
2025-04-01,11872
|
||||
2025-04-05,11878
|
||||
2025-04-09,11901
|
||||
2025-04-12,11901
|
||||
2025-04-17,11906
|
||||
2025-04-22,11916
|
||||
2025-04-25,11918
|
||||
2025-04-30,11918
|
||||
2025-05-04,11919
|
||||
2025-05-08,11919
|
||||
2025-05-15,11924
|
||||
2025-05-18,11924
|
||||
2025-05-20,11931
|
||||
2025-05-27,11959
|
||||
2025-06-02,11962
|
||||
2025-06-04,11970
|
||||
2025-06-07,11972
|
||||
2025-06-12,11982
|
||||
2025-06-15,12010
|
||||
2025-06-18,12010
|
||||
2025-06-19,12010
|
||||
2025-06-23,12018
|
||||
2025-06-25,12018
|
||||
2025-06-30,12018
|
||||
2025-07-03,12023
|
||||
2025-07-05,12023
|
||||
2025-07-08,12023
|
||||
2025-07-11,12027
|
||||
2025-07-12,12027
|
||||
2025-07-13,12027
|
||||
2025-07-13,12027
|
||||
2025-07-16,12027
|
||||
2025-07-16,12025
|
||||
2025-07-18,12025
|
||||
2025-07-18,12034
|
||||
2025-07-23,12039
|
||||
2025-07-26,12044
|
||||
2025-07-30,12045
|
||||
2025-08-01,12045
|
||||
2025-08-03,12045
|
||||
2025-08-08,12052
|
||||
|
||||
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 47 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts)
|
||||
containing 129,586 entries.
|
||||
containing 94,220 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -437,7 +437,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -456,6 +463,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -464,10 +472,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -491,6 +503,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 55 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts)
|
||||
containing 126,398 entries.
|
||||
containing 91,007 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -436,7 +436,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -455,6 +462,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -463,10 +471,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -490,6 +502,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 54 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: 06 January 2025 21:17:38 (UTC)
|
||||
# Date: 26 September 2025 02:12:11 (UTC)
|
||||
# The unified hosts file was not used while generating this file.
|
||||
# Extensions used to generate this file: fakenews
|
||||
# Number of unique domains: 2,194
|
||||
# Number of unique domains: 2,188
|
||||
#
|
||||
# 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
|
||||
@@ -25,7 +25,6 @@
|
||||
0.0.0.0 4threvolutionarywar.wordpress.com
|
||||
0.0.0.0 5galert.com
|
||||
0.0.0.0 70news.wordpress.com
|
||||
0.0.0.0 aanirfan.blogspot.com
|
||||
0.0.0.0 abcnews.com.co
|
||||
0.0.0.0 abilenetimes.com
|
||||
0.0.0.0 abolishsocialism.com
|
||||
@@ -742,7 +741,6 @@
|
||||
0.0.0.0 jacksonpurchasenews.com
|
||||
0.0.0.0 jacksonreporter.com
|
||||
0.0.0.0 jamescomey.news
|
||||
0.0.0.0 jamesfetzer.blogspot.com
|
||||
0.0.0.0 jameslico.com
|
||||
0.0.0.0 janmorganmedia.com
|
||||
0.0.0.0 jaspercountyguide.com
|
||||
@@ -806,7 +804,6 @@
|
||||
0.0.0.0 lakenonatoday.com
|
||||
0.0.0.0 lakeregionnews.com
|
||||
0.0.0.0 laketahoesun.com
|
||||
0.0.0.0 landdestroyer.blogspot.com
|
||||
0.0.0.0 laneconews.com
|
||||
0.0.0.0 lansingreporter.com
|
||||
0.0.0.0 lansingsun.com
|
||||
@@ -1513,7 +1510,6 @@
|
||||
0.0.0.0 silverstatetimes.com
|
||||
0.0.0.0 siouxcitytimes.com
|
||||
0.0.0.0 siouxempiretoday.com
|
||||
0.0.0.0 sitsshow.blogspot.com
|
||||
0.0.0.0 skeptiko.com
|
||||
0.0.0.0 slctimes.com
|
||||
0.0.0.0 slender.news
|
||||
@@ -1772,7 +1768,6 @@
|
||||
0.0.0.0 toprightnews.com
|
||||
0.0.0.0 torontobusinessdaily.com
|
||||
0.0.0.0 totalworldnews.com
|
||||
0.0.0.0 tradcatknight.blogspot.com
|
||||
0.0.0.0 trafficking.news
|
||||
0.0.0.0 transhumanism.news
|
||||
0.0.0.0 treason.news
|
||||
@@ -2046,7 +2041,6 @@
|
||||
0.0.0.0 www.ewao.com
|
||||
0.0.0.0 www.express.co.uk
|
||||
0.0.0.0 www.eyeopening.info
|
||||
0.0.0.0 www.floridasunpost.com
|
||||
0.0.0.0 www.fort-russ.com
|
||||
0.0.0.0 www.fourwinds10.net
|
||||
0.0.0.0 www.freewoodpost.com
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"-pl",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs."
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts)
|
||||
containing 2,194 entries.
|
||||
containing 2,188 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -418,7 +418,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -437,6 +444,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -445,10 +453,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -472,6 +484,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -141,3 +141,95 @@
|
||||
2024-10-07,2194
|
||||
2024-10-09,2194
|
||||
2024-10-10,2194
|
||||
2024-10-11,2194
|
||||
2024-10-11,2194
|
||||
2024-10-12,2194
|
||||
2024-10-13,2194
|
||||
2024-10-15,2194
|
||||
2024-10-18,2194
|
||||
2024-10-23,2194
|
||||
2024-10-26,2194
|
||||
2024-10-30,2194
|
||||
2024-11-02,2194
|
||||
2024-11-07,2194
|
||||
2024-11-11,2194
|
||||
2024-11-14,2194
|
||||
2024-11-19,2194
|
||||
2024-11-23,2194
|
||||
2024-11-24,2194
|
||||
2024-11-28,2194
|
||||
2024-12-02,2194
|
||||
2024-12-04,2194
|
||||
2024-12-06,2194
|
||||
2024-12-12,2194
|
||||
2024-12-15,2194
|
||||
2024-12-16,2194
|
||||
2024-12-16,2194
|
||||
2024-12-18,2194
|
||||
2024-12-20,2194
|
||||
2024-12-23,2194
|
||||
2024-12-26,2194
|
||||
2024-12-27,2194
|
||||
2024-12-30,2194
|
||||
2025-01-04,2194
|
||||
2025-01-06,2194
|
||||
2025-01-09,2194
|
||||
2025-01-15,2194
|
||||
2025-01-21,2194
|
||||
2025-01-22,2194
|
||||
2025-01-25,2194
|
||||
2025-01-26,2194
|
||||
2025-01-31,2194
|
||||
2025-02-04,2194
|
||||
2025-02-12,2194
|
||||
2025-02-17,2194
|
||||
2025-02-20,2194
|
||||
2025-02-22,2194
|
||||
2025-03-01,2194
|
||||
2025-03-07,2194
|
||||
2025-03-09,2194
|
||||
2025-03-13,2194
|
||||
2025-03-17,2194
|
||||
2025-03-21,2194
|
||||
2025-03-26,2194
|
||||
2025-03-28,2194
|
||||
2025-04-01,2194
|
||||
2025-04-05,2194
|
||||
2025-04-09,2194
|
||||
2025-04-12,2194
|
||||
2025-04-17,2194
|
||||
2025-04-22,2194
|
||||
2025-04-25,2194
|
||||
2025-04-30,2194
|
||||
2025-05-04,2194
|
||||
2025-05-08,2194
|
||||
2025-05-15,2194
|
||||
2025-05-18,2194
|
||||
2025-05-20,2194
|
||||
2025-05-27,2194
|
||||
2025-06-02,2194
|
||||
2025-06-04,2194
|
||||
2025-06-07,2194
|
||||
2025-06-12,2194
|
||||
2025-06-15,2194
|
||||
2025-06-18,2194
|
||||
2025-06-19,2194
|
||||
2025-06-23,2194
|
||||
2025-06-25,2194
|
||||
2025-06-30,2194
|
||||
2025-07-03,2194
|
||||
2025-07-05,2194
|
||||
2025-07-08,2194
|
||||
2025-07-11,2194
|
||||
2025-07-12,2194
|
||||
2025-07-13,2194
|
||||
2025-07-13,2194
|
||||
2025-07-16,2194
|
||||
2025-07-16,2188
|
||||
2025-07-18,2188
|
||||
2025-07-23,2188
|
||||
2025-07-26,2188
|
||||
2025-07-30,2188
|
||||
2025-08-01,2188
|
||||
2025-08-03,2188
|
||||
2025-08-08,2188
|
||||
|
||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 42 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts)
|
||||
containing 78,962 entries.
|
||||
containing 77,677 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -424,7 +424,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -443,6 +450,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -451,10 +459,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -478,6 +490,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -152,3 +152,96 @@
|
||||
2024-10-07,78398
|
||||
2024-10-09,78399
|
||||
2024-10-10,78391
|
||||
2024-10-11,78391
|
||||
2024-10-11,78391
|
||||
2024-10-12,78392
|
||||
2024-10-13,78392
|
||||
2024-10-15,78392
|
||||
2024-10-18,78392
|
||||
2024-10-23,78394
|
||||
2024-10-26,78394
|
||||
2024-10-30,78394
|
||||
2024-11-02,78396
|
||||
2024-11-07,78397
|
||||
2024-11-11,78426
|
||||
2024-11-14,78508
|
||||
2024-11-19,78538
|
||||
2024-11-23,78539
|
||||
2024-11-24,78592
|
||||
2024-11-28,78672
|
||||
2024-12-02,78938
|
||||
2024-12-04,78944
|
||||
2024-12-06,78944
|
||||
2024-12-12,78942
|
||||
2024-12-15,78942
|
||||
2024-12-16,78942
|
||||
2024-12-16,78942
|
||||
2024-12-18,78942
|
||||
2024-12-20,78942
|
||||
2024-12-23,78942
|
||||
2024-12-26,78942
|
||||
2024-12-27,78942
|
||||
2024-12-30,78960
|
||||
2025-01-04,78960
|
||||
2025-01-06,78962
|
||||
2025-01-09,78964
|
||||
2025-01-15,78964
|
||||
2025-01-21,78966
|
||||
2025-01-22,78966
|
||||
2025-01-25,78966
|
||||
2025-01-26,78966
|
||||
2025-01-31,78966
|
||||
2025-02-04,77599
|
||||
2025-02-12,77601
|
||||
2025-02-17,77603
|
||||
2025-02-20,77603
|
||||
2025-02-22,77603
|
||||
2025-03-01,77603
|
||||
2025-03-07,77603
|
||||
2025-03-09,77603
|
||||
2025-03-13,77603
|
||||
2025-03-17,77603
|
||||
2025-03-21,77554
|
||||
2025-03-26,77554
|
||||
2025-03-28,77554
|
||||
2025-04-01,77554
|
||||
2025-04-05,77554
|
||||
2025-04-09,77558
|
||||
2025-04-12,77553
|
||||
2025-04-17,77558
|
||||
2025-04-22,77558
|
||||
2025-04-25,77558
|
||||
2025-04-30,77558
|
||||
2025-05-04,77558
|
||||
2025-05-08,77558
|
||||
2025-05-15,77558
|
||||
2025-05-18,77558
|
||||
2025-05-20,77558
|
||||
2025-05-27,77638
|
||||
2025-06-02,77638
|
||||
2025-06-04,77638
|
||||
2025-06-07,77638
|
||||
2025-06-12,77638
|
||||
2025-06-15,77639
|
||||
2025-06-18,77639
|
||||
2025-06-19,77639
|
||||
2025-06-23,77639
|
||||
2025-06-25,77639
|
||||
2025-06-30,77639
|
||||
2025-07-03,77649
|
||||
2025-07-05,77649
|
||||
2025-07-08,77649
|
||||
2025-07-11,77649
|
||||
2025-07-12,77649
|
||||
2025-07-13,77649
|
||||
2025-07-13,77649
|
||||
2025-07-16,77649
|
||||
2025-07-16,77601
|
||||
2025-07-18,77601
|
||||
2025-07-18,77649
|
||||
2025-07-23,77652
|
||||
2025-07-26,77652
|
||||
2025-07-30,77661
|
||||
2025-08-01,77661
|
||||
2025-08-03,77661
|
||||
2025-08-08,77661
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 41 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts)
|
||||
containing 82,178 entries.
|
||||
containing 80,918 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -425,7 +425,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -444,6 +451,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -452,10 +460,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -479,6 +491,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -152,3 +152,96 @@
|
||||
2024-10-07,81614
|
||||
2024-10-09,81615
|
||||
2024-10-10,81607
|
||||
2024-10-11,81607
|
||||
2024-10-11,81607
|
||||
2024-10-12,81608
|
||||
2024-10-13,81608
|
||||
2024-10-15,81608
|
||||
2024-10-18,81608
|
||||
2024-10-23,81610
|
||||
2024-10-26,81610
|
||||
2024-10-30,81610
|
||||
2024-11-02,81612
|
||||
2024-11-07,81613
|
||||
2024-11-11,81642
|
||||
2024-11-14,81724
|
||||
2024-11-19,81754
|
||||
2024-11-23,81755
|
||||
2024-11-24,81808
|
||||
2024-11-28,81888
|
||||
2024-12-02,82154
|
||||
2024-12-04,82160
|
||||
2024-12-06,82160
|
||||
2024-12-12,82158
|
||||
2024-12-15,82158
|
||||
2024-12-16,82158
|
||||
2024-12-16,82158
|
||||
2024-12-18,82158
|
||||
2024-12-20,82158
|
||||
2024-12-23,82158
|
||||
2024-12-26,82158
|
||||
2024-12-27,82158
|
||||
2024-12-30,82176
|
||||
2025-01-04,82176
|
||||
2025-01-06,82178
|
||||
2025-01-09,82180
|
||||
2025-01-15,82180
|
||||
2025-01-21,82182
|
||||
2025-01-22,82182
|
||||
2025-01-25,82182
|
||||
2025-01-26,82182
|
||||
2025-01-31,82182
|
||||
2025-02-04,80815
|
||||
2025-02-12,80817
|
||||
2025-02-17,80819
|
||||
2025-02-20,80819
|
||||
2025-02-22,80819
|
||||
2025-03-01,80819
|
||||
2025-03-07,80819
|
||||
2025-03-09,80819
|
||||
2025-03-13,80819
|
||||
2025-03-17,80819
|
||||
2025-03-21,80770
|
||||
2025-03-26,80770
|
||||
2025-03-28,80770
|
||||
2025-04-01,80770
|
||||
2025-04-05,80770
|
||||
2025-04-09,80774
|
||||
2025-04-12,80769
|
||||
2025-04-17,80774
|
||||
2025-04-22,80774
|
||||
2025-04-25,80774
|
||||
2025-04-30,80774
|
||||
2025-05-04,80774
|
||||
2025-05-08,80774
|
||||
2025-05-15,80774
|
||||
2025-05-18,80774
|
||||
2025-05-20,80774
|
||||
2025-05-27,80879
|
||||
2025-06-02,80879
|
||||
2025-06-04,80879
|
||||
2025-06-07,80879
|
||||
2025-06-12,80879
|
||||
2025-06-15,80880
|
||||
2025-06-18,80880
|
||||
2025-06-19,80880
|
||||
2025-06-23,80880
|
||||
2025-06-25,80880
|
||||
2025-06-30,80880
|
||||
2025-07-03,80890
|
||||
2025-07-05,80890
|
||||
2025-07-08,80890
|
||||
2025-07-11,80890
|
||||
2025-07-12,80890
|
||||
2025-07-13,80890
|
||||
2025-07-13,80890
|
||||
2025-07-16,80890
|
||||
2025-07-16,80839
|
||||
2025-07-18,80839
|
||||
2025-07-18,80890
|
||||
2025-07-23,80893
|
||||
2025-07-26,80893
|
||||
2025-07-30,80902
|
||||
2025-08-01,80902
|
||||
2025-08-03,80902
|
||||
2025-08-08,80902
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts)
|
||||
containing 196,969 entries.
|
||||
containing 162,339 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -441,7 +441,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -460,6 +467,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -468,10 +476,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -495,6 +507,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 57 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts)
|
||||
containing 193,782 entries.
|
||||
containing 159,127 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -440,7 +440,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -459,6 +466,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -467,10 +475,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -494,6 +506,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 56 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: 06 January 2025 21:17:50 (UTC)
|
||||
# Date: 26 September 2025 02:12:23 (UTC)
|
||||
# The unified hosts file was not used while generating this file.
|
||||
# Extensions used to generate this file: fakenews, social
|
||||
# Number of unique domains: 5,411
|
||||
# Number of unique domains: 5,436
|
||||
#
|
||||
# Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts
|
||||
# Project home page: https://github.com/StevenBlack/hosts
|
||||
@@ -4381,6 +4381,7 @@
|
||||
0.0.0.0 z-p42-scontent-yyz1-1.cdninstagram.com
|
||||
0.0.0.0 z-p42-scontent.cdninstagram.com
|
||||
0.0.0.0 z-p42-static.cdninstagram.com
|
||||
0.0.0.0 scontent.fallback.cdninstagram.com
|
||||
|
||||
# Whatsapp
|
||||
0.0.0.0 account.whatsapp.com
|
||||
@@ -5464,6 +5465,33 @@
|
||||
0.0.0.0 web.snapchat.com
|
||||
0.0.0.0 www.snapchat.com
|
||||
|
||||
# Twitch
|
||||
# from https://www.netify.ai/resources/applications/twitch & Browser Networktraffic
|
||||
0.0.0.0 twitch.tv
|
||||
0.0.0.0 www.twitch.tv
|
||||
0.0.0.0 ttvnw.net
|
||||
0.0.0.0 live-video.net
|
||||
0.0.0.0 jtvnw.net
|
||||
0.0.0.0 twitchcdn.net
|
||||
0.0.0.0 ext-twitch.tv
|
||||
0.0.0.0 twitch-shadow.net
|
||||
0.0.0.0 twitch.a2z.com
|
||||
0.0.0.0 twitchcdn-shadow.net
|
||||
0.0.0.0 twitchsvc-staging.tech
|
||||
0.0.0.0 twitchsvc.net
|
||||
0.0.0.0 assets.twitch.tv
|
||||
0.0.0.0 k.twitchcdn.net
|
||||
0.0.0.0 hermes.twitch.tv
|
||||
0.0.0.0 irc-ws.chat.twitch.tv
|
||||
0.0.0.0 gql.twitch.tv
|
||||
0.0.0.0 static-cdn.jtvnw.net
|
||||
0.0.0.0 pubsub-edge.twitch.tv
|
||||
0.0.0.0 usher.ttvnw.net
|
||||
0.0.0.0 global.poe.live-video.net
|
||||
0.0.0.0 supervisor.ext-twitch.tv
|
||||
0.0.0.0 extensions-discovery-images.twitch.tv
|
||||
0.0.0.0 panels.twitch.tv
|
||||
|
||||
# Other
|
||||
0.0.0.0 pinpages.alwaysdata.net
|
||||
0.0.0.0 allotalk.com
|
||||
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: fakenews, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts)
|
||||
containing 5,411 entries.
|
||||
containing 5,436 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -419,7 +419,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -438,6 +445,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -446,10 +454,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -473,6 +485,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -141,3 +141,96 @@
|
||||
2024-10-07,5411
|
||||
2024-10-09,5411
|
||||
2024-10-10,5411
|
||||
2024-10-11,5411
|
||||
2024-10-11,5411
|
||||
2024-10-12,5411
|
||||
2024-10-13,5411
|
||||
2024-10-15,5411
|
||||
2024-10-18,5411
|
||||
2024-10-23,5411
|
||||
2024-10-26,5411
|
||||
2024-10-30,5411
|
||||
2024-11-02,5411
|
||||
2024-11-07,5411
|
||||
2024-11-11,5411
|
||||
2024-11-14,5411
|
||||
2024-11-19,5411
|
||||
2024-11-23,5411
|
||||
2024-11-24,5411
|
||||
2024-11-28,5411
|
||||
2024-12-02,5411
|
||||
2024-12-04,5411
|
||||
2024-12-06,5411
|
||||
2024-12-12,5411
|
||||
2024-12-15,5411
|
||||
2024-12-16,5411
|
||||
2024-12-16,5411
|
||||
2024-12-18,5411
|
||||
2024-12-20,5411
|
||||
2024-12-23,5411
|
||||
2024-12-26,5411
|
||||
2024-12-27,5411
|
||||
2024-12-30,5411
|
||||
2025-01-04,5411
|
||||
2025-01-06,5411
|
||||
2025-01-09,5411
|
||||
2025-01-15,5411
|
||||
2025-01-21,5411
|
||||
2025-01-22,5411
|
||||
2025-01-25,5411
|
||||
2025-01-26,5411
|
||||
2025-01-31,5411
|
||||
2025-02-04,5411
|
||||
2025-02-12,5411
|
||||
2025-02-17,5411
|
||||
2025-02-20,5411
|
||||
2025-02-22,5411
|
||||
2025-03-01,5411
|
||||
2025-03-07,5411
|
||||
2025-03-09,5411
|
||||
2025-03-13,5411
|
||||
2025-03-17,5411
|
||||
2025-03-21,5411
|
||||
2025-03-26,5411
|
||||
2025-03-28,5411
|
||||
2025-04-01,5411
|
||||
2025-04-05,5411
|
||||
2025-04-09,5411
|
||||
2025-04-12,5411
|
||||
2025-04-17,5411
|
||||
2025-04-22,5411
|
||||
2025-04-25,5411
|
||||
2025-04-30,5411
|
||||
2025-05-04,5411
|
||||
2025-05-08,5411
|
||||
2025-05-15,5411
|
||||
2025-05-18,5411
|
||||
2025-05-20,5411
|
||||
2025-05-27,5436
|
||||
2025-06-02,5436
|
||||
2025-06-04,5436
|
||||
2025-06-07,5436
|
||||
2025-06-12,5436
|
||||
2025-06-15,5436
|
||||
2025-06-18,5436
|
||||
2025-06-19,5436
|
||||
2025-06-23,5436
|
||||
2025-06-25,5436
|
||||
2025-06-30,5436
|
||||
2025-07-03,5436
|
||||
2025-07-05,5436
|
||||
2025-07-08,5436
|
||||
2025-07-11,5436
|
||||
2025-07-12,5436
|
||||
2025-07-13,5436
|
||||
2025-07-13,5436
|
||||
2025-07-16,5436
|
||||
2025-07-16,5427
|
||||
2025-07-18,5427
|
||||
2025-07-18,5436
|
||||
2025-07-23,5436
|
||||
2025-07-26,5436
|
||||
2025-07-30,5436
|
||||
2025-08-01,5436
|
||||
2025-08-03,5436
|
||||
2025-08-08,5436
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 42 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Unified hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts)
|
||||
containing 120,897 entries.
|
||||
containing 87,575 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -435,7 +435,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -454,6 +461,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -462,10 +470,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -489,6 +501,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

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

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -434,7 +434,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -453,6 +460,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -461,10 +469,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -488,6 +500,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 54 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

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

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -419,7 +419,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -438,6 +445,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -446,10 +454,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -473,6 +485,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,96 @@
|
||||
2024-10-07,8476
|
||||
2024-10-09,8476
|
||||
2024-10-10,8476
|
||||
2024-10-11,8476
|
||||
2024-10-11,8475
|
||||
2024-10-12,8489
|
||||
2024-10-13,8488
|
||||
2024-10-15,8491
|
||||
2024-10-18,8491
|
||||
2024-10-23,8494
|
||||
2024-10-26,8495
|
||||
2024-10-30,8495
|
||||
2024-11-02,8506
|
||||
2024-11-07,8510
|
||||
2024-11-11,8520
|
||||
2024-11-14,8569
|
||||
2024-11-19,8569
|
||||
2024-11-23,8587
|
||||
2024-11-24,8664
|
||||
2024-11-28,8664
|
||||
2024-12-02,8668
|
||||
2024-12-04,8670
|
||||
2024-12-06,8674
|
||||
2024-12-12,8674
|
||||
2024-12-15,8679
|
||||
2024-12-16,8679
|
||||
2024-12-16,8679
|
||||
2024-12-18,8679
|
||||
2024-12-20,8679
|
||||
2024-12-23,8679
|
||||
2024-12-26,8679
|
||||
2024-12-27,8679
|
||||
2024-12-30,8692
|
||||
2025-01-04,8700
|
||||
2025-01-06,8701
|
||||
2025-01-09,8701
|
||||
2025-01-15,8704
|
||||
2025-01-21,8705
|
||||
2025-01-22,8705
|
||||
2025-01-25,8705
|
||||
2025-01-26,8705
|
||||
2025-01-31,8705
|
||||
2025-02-04,6411
|
||||
2025-02-12,6414
|
||||
2025-02-17,6416
|
||||
2025-02-20,6432
|
||||
2025-02-22,6432
|
||||
2025-03-01,6436
|
||||
2025-03-07,6440
|
||||
2025-03-09,6440
|
||||
2025-03-13,6446
|
||||
2025-03-17,6447
|
||||
2025-03-21,6460
|
||||
2025-03-26,6460
|
||||
2025-03-28,6461
|
||||
2025-04-01,6461
|
||||
2025-04-05,6467
|
||||
2025-04-09,6490
|
||||
2025-04-12,6490
|
||||
2025-04-17,6495
|
||||
2025-04-22,6505
|
||||
2025-04-25,6507
|
||||
2025-04-30,6507
|
||||
2025-05-04,6508
|
||||
2025-05-08,6508
|
||||
2025-05-15,6513
|
||||
2025-05-18,6513
|
||||
2025-05-20,6520
|
||||
2025-05-27,6523
|
||||
2025-06-02,6526
|
||||
2025-06-04,6534
|
||||
2025-06-07,6536
|
||||
2025-06-12,6546
|
||||
2025-06-15,6574
|
||||
2025-06-18,6574
|
||||
2025-06-19,6574
|
||||
2025-06-23,6582
|
||||
2025-06-25,6582
|
||||
2025-06-30,6582
|
||||
2025-07-03,6587
|
||||
2025-07-05,6587
|
||||
2025-07-08,6587
|
||||
2025-07-11,6591
|
||||
2025-07-12,6591
|
||||
2025-07-13,6591
|
||||
2025-07-13,6591
|
||||
2025-07-16,6591
|
||||
2025-07-16,6598
|
||||
2025-07-18,6598
|
||||
2025-07-18,6598
|
||||
2025-07-23,6603
|
||||
2025-07-26,6608
|
||||
2025-07-30,6609
|
||||
2025-08-01,6609
|
||||
2025-08-03,6609
|
||||
2025-08-08,6616
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 47 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

|
||||
|
||||
- Last updated: **January 06 2025**.
|
||||
- Last updated: **September 26 2025**.
|
||||
- Here's the
|
||||
[raw hosts file Limited to the extensions: gambling, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts)
|
||||
containing 85,469 entries.
|
||||
containing 82,140 entries.
|
||||
|
||||

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -425,7 +425,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -444,6 +451,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -452,10 +460,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -479,6 +491,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,96 @@
|
||||
2024-10-07,84680
|
||||
2024-10-09,84681
|
||||
2024-10-10,84673
|
||||
2024-10-11,84673
|
||||
2024-10-11,84672
|
||||
2024-10-12,84687
|
||||
2024-10-13,84686
|
||||
2024-10-15,84689
|
||||
2024-10-18,84689
|
||||
2024-10-23,84694
|
||||
2024-10-26,84695
|
||||
2024-10-30,84695
|
||||
2024-11-02,84708
|
||||
2024-11-07,84713
|
||||
2024-11-11,84752
|
||||
2024-11-14,84883
|
||||
2024-11-19,84913
|
||||
2024-11-23,84932
|
||||
2024-11-24,85062
|
||||
2024-11-28,85142
|
||||
2024-12-02,85412
|
||||
2024-12-04,85420
|
||||
2024-12-06,85424
|
||||
2024-12-12,85422
|
||||
2024-12-15,85427
|
||||
2024-12-16,85427
|
||||
2024-12-16,85427
|
||||
2024-12-18,85427
|
||||
2024-12-20,85427
|
||||
2024-12-23,85427
|
||||
2024-12-26,85427
|
||||
2024-12-27,85427
|
||||
2024-12-30,85458
|
||||
2025-01-04,85466
|
||||
2025-01-06,85469
|
||||
2025-01-09,85471
|
||||
2025-01-15,85474
|
||||
2025-01-21,85477
|
||||
2025-01-22,85477
|
||||
2025-01-25,85477
|
||||
2025-01-26,85477
|
||||
2025-01-31,85477
|
||||
2025-02-04,81816
|
||||
2025-02-12,81821
|
||||
2025-02-17,81825
|
||||
2025-02-20,81841
|
||||
2025-02-22,81841
|
||||
2025-03-01,81845
|
||||
2025-03-07,81849
|
||||
2025-03-09,81849
|
||||
2025-03-13,81855
|
||||
2025-03-17,81856
|
||||
2025-03-21,81820
|
||||
2025-03-26,81820
|
||||
2025-03-28,81821
|
||||
2025-04-01,81821
|
||||
2025-04-05,81827
|
||||
2025-04-09,81854
|
||||
2025-04-12,81849
|
||||
2025-04-17,81859
|
||||
2025-04-22,81869
|
||||
2025-04-25,81871
|
||||
2025-04-30,81871
|
||||
2025-05-04,81872
|
||||
2025-05-08,81872
|
||||
2025-05-15,81877
|
||||
2025-05-18,81877
|
||||
2025-05-20,81884
|
||||
2025-05-27,81967
|
||||
2025-06-02,81970
|
||||
2025-06-04,81978
|
||||
2025-06-07,81980
|
||||
2025-06-12,81990
|
||||
2025-06-15,82019
|
||||
2025-06-18,82019
|
||||
2025-06-19,82019
|
||||
2025-06-23,82027
|
||||
2025-06-25,82027
|
||||
2025-06-30,82027
|
||||
2025-07-03,82042
|
||||
2025-07-05,82042
|
||||
2025-07-08,82042
|
||||
2025-07-11,82046
|
||||
2025-07-12,82046
|
||||
2025-07-13,82046
|
||||
2025-07-13,82046
|
||||
2025-07-16,82046
|
||||
2025-07-16,82011
|
||||
2025-07-18,82011
|
||||
2025-07-18,82053
|
||||
2025-07-23,82061
|
||||
2025-07-26,82066
|
||||
2025-07-30,82076
|
||||
2025-08-01,82076
|
||||
2025-08-03,82076
|
||||
2025-08-08,82083
|
||||
|
||||
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 43 KiB |
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

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

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -426,7 +426,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -445,6 +452,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -453,10 +461,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -480,6 +492,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
@@ -153,3 +153,96 @@
|
||||
2024-10-07,87896
|
||||
2024-10-09,87897
|
||||
2024-10-10,87889
|
||||
2024-10-11,87889
|
||||
2024-10-11,87888
|
||||
2024-10-12,87903
|
||||
2024-10-13,87902
|
||||
2024-10-15,87905
|
||||
2024-10-18,87905
|
||||
2024-10-23,87910
|
||||
2024-10-26,87911
|
||||
2024-10-30,87911
|
||||
2024-11-02,87924
|
||||
2024-11-07,87929
|
||||
2024-11-11,87968
|
||||
2024-11-14,88099
|
||||
2024-11-19,88129
|
||||
2024-11-23,88148
|
||||
2024-11-24,88278
|
||||
2024-11-28,88358
|
||||
2024-12-02,88628
|
||||
2024-12-04,88636
|
||||
2024-12-06,88640
|
||||
2024-12-12,88638
|
||||
2024-12-15,88643
|
||||
2024-12-16,88643
|
||||
2024-12-16,88643
|
||||
2024-12-18,88643
|
||||
2024-12-20,88643
|
||||
2024-12-23,88643
|
||||
2024-12-26,88643
|
||||
2024-12-27,88643
|
||||
2024-12-30,88674
|
||||
2025-01-04,88682
|
||||
2025-01-06,88685
|
||||
2025-01-09,88687
|
||||
2025-01-15,88690
|
||||
2025-01-21,88693
|
||||
2025-01-22,88693
|
||||
2025-01-25,88693
|
||||
2025-01-26,88693
|
||||
2025-01-31,88693
|
||||
2025-02-04,85032
|
||||
2025-02-12,85037
|
||||
2025-02-17,85041
|
||||
2025-02-20,85057
|
||||
2025-02-22,85057
|
||||
2025-03-01,85061
|
||||
2025-03-07,85065
|
||||
2025-03-09,85065
|
||||
2025-03-13,85071
|
||||
2025-03-17,85072
|
||||
2025-03-21,85036
|
||||
2025-03-26,85036
|
||||
2025-03-28,85037
|
||||
2025-04-01,85037
|
||||
2025-04-05,85043
|
||||
2025-04-09,85070
|
||||
2025-04-12,85065
|
||||
2025-04-17,85075
|
||||
2025-04-22,85085
|
||||
2025-04-25,85087
|
||||
2025-04-30,85087
|
||||
2025-05-04,85088
|
||||
2025-05-08,85088
|
||||
2025-05-15,85093
|
||||
2025-05-18,85093
|
||||
2025-05-20,85100
|
||||
2025-05-27,85208
|
||||
2025-06-02,85211
|
||||
2025-06-04,85219
|
||||
2025-06-07,85221
|
||||
2025-06-12,85231
|
||||
2025-06-15,85260
|
||||
2025-06-18,85260
|
||||
2025-06-19,85260
|
||||
2025-06-23,85268
|
||||
2025-06-25,85268
|
||||
2025-06-30,85268
|
||||
2025-07-03,85283
|
||||
2025-07-05,85283
|
||||
2025-07-08,85283
|
||||
2025-07-11,85287
|
||||
2025-07-12,85287
|
||||
2025-07-13,85287
|
||||
2025-07-13,85287
|
||||
2025-07-16,85287
|
||||
2025-07-16,85249
|
||||
2025-07-18,85249
|
||||
2025-07-18,85294
|
||||
2025-07-23,85302
|
||||
2025-07-26,85307
|
||||
2025-07-30,85317
|
||||
2025-08-01,85317
|
||||
2025-08-03,85317
|
||||
2025-08-08,85324
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 44 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

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

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -442,7 +442,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -461,6 +468,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -469,10 +477,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -496,6 +508,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 56 KiB |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"filters": [
|
||||
"allegro",
|
||||
"bilet",
|
||||
"olx.pl",
|
||||
"npost",
|
||||
"blogspot.com",
|
||||
".ipfs.",
|
||||
"c752sa3k9"
|
||||
]
|
||||
}
|
||||
@@ -30,10 +30,10 @@ files are provided.
|
||||
|
||||

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

|
||||
|
||||
@@ -49,37 +49,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) | 115,515 | [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) | 117,709 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
**fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) | 2,194 | [link](http://sbc.io/hosts/alternates/fakenews-only/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 124,204 | [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) | 8,701 | [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) | 191,588 | [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,768 | [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) | 118,703 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
**social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) | 3,217 | [link](http://sbc.io/hosts/alternates/social-only/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 126,398 | [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) | 10,895 | [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) | 193,782 | [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,962 | [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) | 120,897 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
**fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social-only/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) | 5,411 | [link](http://sbc.io/hosts/alternates/fakenews-social-only/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 200,277 | [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) | 85,469 | [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) | 127,392 | [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) | 11,918 | [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) | 194,775 | [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) | 79,984 | [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) | 202,471 | [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) | 87,663 | [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) | 129,586 | [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) | 14,112 | [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) | 196,969 | [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,178 | [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) | 203,464 | [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) | 88,685 | [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) | 205,658 | [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) | 90,879 | [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) | 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)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -441,7 +441,14 @@ like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = "github:StevenBlack/hosts";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs?ref=$YOUR-REF";
|
||||
hosts = {
|
||||
url = "github:StevenBlack/hosts"; # or a fork/mirror
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
@@ -460,6 +467,7 @@ The hosts extensions are also available with the following options:
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
enableIPv6 = true;
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
@@ -468,10 +476,14 @@ The hosts extensions are also available with the following options:
|
||||
}
|
||||
```
|
||||
|
||||
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
|
||||
### For older versions of Windows
|
||||
|
||||
On Linux and macOS, run the Python script. On Windows more work is required due
|
||||
to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
@@ -495,6 +507,32 @@ following:
|
||||
- **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run
|
||||
as Administrator"
|
||||
|
||||
### For new versions of Windows
|
||||
|
||||
On modern versions of Windows (10 and especially 11) not all features of the
|
||||
aforementioned batch script work (specifically checking if the current shell has
|
||||
administrative priviliges) and therefore a more modern approach is recommended.
|
||||
|
||||
The provided `updateHostsWindows.ps1` is a Powershell 5.1 script that does the
|
||||
same thing as the batch script, but without the need for the python script, with
|
||||
added options, and uses only built-in commands (self-contained). As with the
|
||||
batch file it **MUST** be ran with administrative privildges, but it can
|
||||
relaunch itself if not.
|
||||
|
||||
To run execute the script type:
|
||||
```Powershell
|
||||
.\updateHostsWindows.ps1
|
||||
```
|
||||
into any available Windows command line and for detailed information type:
|
||||
```Powershell
|
||||
Get-Help .\updateHostsWindows.ps1 -Full
|
||||
```
|
||||
|
||||
Newer Windows comes with several issues (that can be overcome) and for more
|
||||
information and solutions please visit the home of this script [here](https://github.com/Lateralus138/updateHostsWindows-stevenblack).
|
||||
|
||||
---
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further
|
||||
recommended solutions from third parties.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 55 KiB |