mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-25 22:05:28 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d99f8f6d0 | ||
|
|
e91839a2be | ||
|
|
199df73051 | ||
|
|
b742118cd1 | ||
|
|
8c355cf9b1 | ||
|
|
4256e49a2f | ||
|
|
58ab6075df | ||
|
|
2e9f343097 | ||
|
|
eb4da4e06f | ||
|
|
56ad6444fc | ||
|
|
5d58fbafae | ||
|
|
2e45a2fb11 | ||
|
|
4742ba369e | ||
|
|
6705ea32d5 | ||
|
|
ae38b087f3 | ||
|
|
f89915afb0 | ||
|
|
b3f0b8a29a | ||
|
|
ec79156afd | ||
|
|
0aa12bc001 | ||
|
|
29818bdfc7 | ||
|
|
83a58c60a0 | ||
|
|
8c25b87ac8 | ||
|
|
e76211e381 | ||
|
|
d96a4a98fc | ||
|
|
29a643b3e5 | ||
|
|
505a661412 | ||
|
|
16d79233ac | ||
|
|
7bf15bf336 | ||
|
|
1714afb293 | ||
|
|
dd5334d1d3 | ||
|
|
218ce3c901 | ||
|
|
06a5353290 | ||
|
|
0adb22b4bf | ||
|
|
62d25db457 | ||
|
|
945973f172 | ||
|
|
e814c42d56 | ||
|
|
37b2df6b29 | ||
|
|
b04eb1eb3f | ||
|
|
6d26d239e2 | ||
|
|
5ecce58def | ||
|
|
d22b726edc | ||
|
|
177e9755a3 | ||
|
|
071a3a1e0e | ||
|
|
491f45e017 | ||
|
|
2ffc7c2617 | ||
|
|
b6674ba5b2 | ||
|
|
11632cc2d6 | ||
|
|
823612498f | ||
|
|
e6da3b0fbf | ||
|
|
333bfc4989 | ||
|
|
697dcc60f7 | ||
|
|
72627fbdcb | ||
|
|
33fc378336 | ||
|
|
6b926591ff | ||
|
|
00fcd37e13 | ||
|
|
849081479f | ||
|
|
4756aa9838 | ||
|
|
b9532d15e2 | ||
|
|
595249aa6f | ||
|
|
dc0140e960 | ||
|
|
824cd374f2 | ||
|
|
9f51581741 | ||
|
|
637692dc11 | ||
|
|
1f4f41a349 | ||
|
|
40f47bcc24 | ||
|
|
cbbafd2885 | ||
|
|
65a40f9e94 | ||
|
|
ab33efbe28 | ||
|
|
aebd77a7da | ||
|
|
118c69a9fc | ||
|
|
89c42d1c09 | ||
|
|
5eaf9cc61c | ||
|
|
55aa505a9b | ||
|
|
f39ab11c61 | ||
|
|
595dc4faa1 | ||
|
|
0bf4d0c42f | ||
|
|
fc1972c2e1 | ||
|
|
ce88f0c8f4 | ||
|
|
4a7ffe1866 | ||
|
|
417a3d06bc | ||
|
|
21867a5b3e | ||
|
|
d09c4ce425 | ||
|
|
c85f1986ff | ||
|
|
c64344f6af | ||
|
|
e1dc29cddd | ||
|
|
986882538f | ||
|
|
f0ace3c4c1 | ||
|
|
3dd76ee05e | ||
|
|
4a2a08ed58 | ||
|
|
3575b45dd0 | ||
|
|
a9555abd54 | ||
|
|
f5d5efabae | ||
|
|
6d2f6b4063 | ||
|
|
9dd494e704 | ||
|
|
5d045a6d72 | ||
|
|
3e9678b8d3 | ||
|
|
f8ac2b58fe | ||
|
|
18a2462788 | ||
|
|
74343a8647 | ||
|
|
f218e6f447 | ||
|
|
3554093e2a | ||
|
|
76dde75bc4 | ||
|
|
b542984f05 | ||
|
|
3bd2924442 | ||
|
|
759668b05f | ||
|
|
c57a61bb09 | ||
|
|
666bf35e3c | ||
|
|
577097732b | ||
|
|
842e206867 | ||
|
|
7d468cf38a | ||
|
|
c6887fd933 | ||
|
|
3e9ea05906 | ||
|
|
ccf7b1741d | ||
|
|
e1d561b3e0 | ||
|
|
a2f6ab2beb | ||
|
|
99c474f9f1 | ||
|
|
957a13c7f3 | ||
|
|
0cd9735aac | ||
|
|
4ec66247fe | ||
|
|
1572393ca7 | ||
|
|
2da1667876 | ||
|
|
8ba2e895f8 | ||
|
|
91c14a636f | ||
|
|
5c82cdf216 | ||
|
|
b6fd01f620 | ||
|
|
db6777fce3 | ||
|
|
22373a2364 | ||
|
|
b056cfb8d1 | ||
|
|
7954f7a0d7 | ||
|
|
c3abc74533 | ||
|
|
2bafad9142 | ||
|
|
f57666224a | ||
|
|
59c0cab371 | ||
|
|
1eea9225ce | ||
|
|
91a63bf3b4 | ||
|
|
7d316dd101 | ||
|
|
834c55e981 | ||
|
|
e1fd266698 | ||
|
|
5eeb149b83 | ||
|
|
20c6ec25be | ||
|
|
c083d9ca73 | ||
|
|
58cf92a10a | ||
|
|
5d9ac28164 | ||
|
|
3718b4bac9 | ||
|
|
9ac65652e1 | ||
|
|
70980caa09 | ||
|
|
907c2f5cdc | ||
|
|
73c8564b29 | ||
|
|
0aaa893a1f | ||
|
|
8b63b4dc90 | ||
|
|
53740c42ec | ||
|
|
ba204b916a | ||
|
|
83a976e1a0 | ||
|
|
71def412ef | ||
|
|
9b6d8dea9a | ||
|
|
9ac56f6b39 | ||
|
|
03c292f15b | ||
|
|
7bcea82cff | ||
|
|
706a78f8de | ||
|
|
afc70e8fda | ||
|
|
56312e0607 | ||
|
|
7faf3319ef | ||
|
|
bd2d8d6236 | ||
|
|
7e5d4b0f62 | ||
|
|
b318187d3d | ||
|
|
9e503a4c4f | ||
|
|
f3535d79b5 | ||
|
|
cbf0515e91 | ||
|
|
7906983a36 | ||
|
|
9ae2dd20da | ||
|
|
932d83fbd8 | ||
|
|
433cb28d16 | ||
|
|
d367c94d2a | ||
|
|
017c01548b | ||
|
|
a17811938e | ||
|
|
04e312a989 | ||
|
|
bce4b79920 | ||
|
|
12ad4d5fbf | ||
|
|
7d8d443521 | ||
|
|
4b5e7069b5 | ||
|
|
0bb9609878 | ||
|
|
c2a97eef7a | ||
|
|
708edf16c7 | ||
|
|
41509ece31 | ||
|
|
72bb9205da | ||
|
|
f170136f2b | ||
|
|
2d12485adb | ||
|
|
ec4dcc09a0 | ||
|
|
7540185b82 | ||
|
|
4dad78108e | ||
|
|
57241b0e05 | ||
|
|
284fe91da2 | ||
|
|
e533b373de | ||
|
|
c707b7e848 | ||
|
|
869e46fceb | ||
|
|
ae31696b9b | ||
|
|
cb107d03b5 | ||
|
|
618f0d3775 | ||
|
|
1c9548a219 | ||
|
|
9b07d2e326 | ||
|
|
0c702e4b77 | ||
|
|
eb4ff5e796 | ||
|
|
1d346c35b4 | ||
|
|
3c251ca1e5 | ||
|
|
b727fd3885 | ||
|
|
195b31ef94 | ||
|
|
3fa0d7ea18 | ||
|
|
4a856698ab | ||
|
|
471a2d41dd | ||
|
|
3185c957a5 | ||
|
|
6c585c7161 | ||
|
|
32102d9544 | ||
|
|
a3bdc8b71b | ||
|
|
33b07738cb | ||
|
|
65e47216e7 | ||
|
|
56f1d1dc3d | ||
|
|
bcfa89e7f8 | ||
|
|
c109e935d7 | ||
|
|
755c177b7f | ||
|
|
8f1d4f2f34 | ||
|
|
c7664c2274 | ||
|
|
97a725524a | ||
|
|
9c6a21b65f | ||
|
|
95549958ab | ||
|
|
96af7f4727 | ||
|
|
9a9ca36692 | ||
|
|
2b6fdb456b | ||
|
|
11fc36fbaf | ||
|
|
20e44c3148 | ||
|
|
f17ce97e53 | ||
|
|
74ab2267fd | ||
|
|
c2403d7e75 | ||
|
|
5334aefa0d | ||
|
|
df8d4ba1b5 | ||
|
|
094007692a | ||
|
|
61cbdbac9c | ||
|
|
a3bf19e5e9 | ||
|
|
3495bf81d0 | ||
|
|
6f75f8cfe9 | ||
|
|
33efa05254 | ||
|
|
589b1fe6c5 | ||
|
|
491e5f2dfc | ||
|
|
b1f0b9cf81 | ||
|
|
47dae8af00 | ||
|
|
3876cd84b4 | ||
|
|
c35dc17cfb | ||
|
|
e23366c1c7 | ||
|
|
cd87d48120 | ||
|
|
47f42718fc | ||
|
|
b8d5fccea1 | ||
|
|
43916bdc5e | ||
|
|
df85792b13 | ||
|
|
687628a6c3 | ||
|
|
97b11505b3 | ||
|
|
7ef93611e4 | ||
|
|
b4bcdc8a92 | ||
|
|
5c47b168d1 | ||
|
|
e22343e9da | ||
|
|
f929591bd6 | ||
|
|
20ce5dab79 | ||
|
|
392fddc9c6 | ||
|
|
9d6508546d | ||
|
|
16f297b992 | ||
|
|
47a4b23351 | ||
|
|
9435305ee7 | ||
|
|
22cb856d7a | ||
|
|
e1b208b9ba | ||
|
|
da493216d5 | ||
|
|
3779940907 | ||
|
|
cc5023c042 | ||
|
|
1af14dbc19 | ||
|
|
c09616db65 | ||
|
|
16b732e3d8 | ||
|
|
4cf04b9e2b | ||
|
|
a6c7f1f838 | ||
|
|
4f6ddfaab8 | ||
|
|
6299aebe61 | ||
|
|
52d759a680 | ||
|
|
cfb18f4cd3 | ||
|
|
71d4fc0d25 | ||
|
|
1164db81ca | ||
|
|
7f97ee0bbd | ||
|
|
a8d4a6b2fd | ||
|
|
1c5c2dc676 | ||
|
|
faed7b300f | ||
|
|
f69ec27dc4 | ||
|
|
926b3ca967 | ||
|
|
a5e20414db | ||
|
|
78dd986279 | ||
|
|
150d84202d | ||
|
|
2beb1050cc | ||
|
|
8da7e542e5 | ||
|
|
e9c636cf42 | ||
|
|
2512291d86 | ||
|
|
bc45e3fb99 | ||
|
|
89dcee98bd | ||
|
|
2c24227ea1 | ||
|
|
9cca4f1506 | ||
|
|
36e7022307 | ||
|
|
f67b8cfcec | ||
|
|
c74ad7c588 | ||
|
|
723f0ac68d | ||
|
|
badb91ba78 | ||
|
|
35860c801a | ||
|
|
433049d905 | ||
|
|
70884b069e | ||
|
|
a6d995d94d | ||
|
|
8b677f273d | ||
|
|
80a049b36d | ||
|
|
c4f7936057 | ||
|
|
8da1f68409 | ||
|
|
ad34acf46b | ||
|
|
bd72b10add | ||
|
|
7ad72d7615 | ||
|
|
b96b4b596c | ||
|
|
74606d0545 | ||
|
|
dcc468f7f2 | ||
|
|
ce669d0591 | ||
|
|
18f1298eb7 | ||
|
|
cd011f88f6 | ||
|
|
fda33828bd | ||
|
|
9cd1d30dec | ||
|
|
63fb683ca6 | ||
|
|
f974eb031a | ||
|
|
e0487c132b | ||
|
|
c2ceaa1721 | ||
|
|
567590f914 | ||
|
|
b933b7dc3f | ||
|
|
60daf1b4ea | ||
|
|
84a9a2fbe3 | ||
|
|
18b6f49b0c | ||
|
|
94dacdc288 | ||
|
|
9d8a4f0597 | ||
|
|
30128036d3 | ||
|
|
27213aebbd | ||
|
|
58ed572ba7 | ||
|
|
40c5d2806d | ||
|
|
4a6715f035 | ||
|
|
cc382ca70f | ||
|
|
b4b611e55a | ||
|
|
36ebe82fe0 | ||
|
|
628ef5ef74 | ||
|
|
708fc8ad43 | ||
|
|
b7f0f0a8aa | ||
|
|
143761d99b | ||
|
|
4f32220ea6 | ||
|
|
189e5b0551 | ||
|
|
037f143f2d | ||
|
|
122360c1c9 | ||
|
|
97766531df | ||
|
|
19302c4975 | ||
|
|
b813657131 | ||
|
|
13f9433284 | ||
|
|
560e40c1e5 | ||
|
|
8804c324a2 | ||
|
|
023eb7faa7 | ||
|
|
2b167dcce8 | ||
|
|
1d515c1de3 | ||
|
|
f87007cc61 | ||
|
|
0a022ab381 | ||
|
|
783764d0b4 | ||
|
|
227c83fbdf | ||
|
|
8c24637605 | ||
|
|
33823d682c | ||
|
|
e58b6f2cff | ||
|
|
c202dbda75 | ||
|
|
3753195d75 |
@@ -0,0 +1,3 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [StevenBlack, funilrys, XhmikosR]
|
||||
@@ -0,0 +1,17 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
labels:
|
||||
- dependencies
|
||||
- python
|
||||
versioning-strategy: lockfile-only
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: monthly
|
||||
labels:
|
||||
- dependencies
|
||||
- github_actions
|
||||
+22
-23
@@ -1,20 +1,27 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Python ${{ matrix.python }} on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python:
|
||||
- 3.5
|
||||
- 3.6
|
||||
- 3.7
|
||||
- 3.8
|
||||
- 3.9
|
||||
- '3.6'
|
||||
- '3.7'
|
||||
- '3.8'
|
||||
- '3.9'
|
||||
- '3.10'
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
@@ -22,29 +29,18 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
cache: pip
|
||||
|
||||
- run: python --version
|
||||
- run: pip --version
|
||||
|
||||
- name: Get pip cache directory
|
||||
id: pip-cache
|
||||
- name: Print versions
|
||||
run: |
|
||||
echo "::set-output name=dir::$(pip cache dir)"
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.pip-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-python-v${{ matrix.python }}-${{ hashFiles('**/requirements.txt') }}
|
||||
${{ runner.os }}-python-v${{ matrix.python }}-
|
||||
python --version
|
||||
pip --version
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r requirements.txt
|
||||
@@ -52,5 +48,8 @@ jobs:
|
||||
- name: Run lint
|
||||
run: flake8
|
||||
|
||||
- name: Run makeHosts.py
|
||||
run: python makeHosts.py
|
||||
|
||||
- name: Run tests
|
||||
run: python testUpdateHostsFile.py
|
||||
|
||||
@@ -1,62 +1,36 @@
|
||||
# For most projects, this workflow file will not need changing; you simply need
|
||||
# to commit it to your repository.
|
||||
#
|
||||
# You may wish to alter this file to override the set of languages analyzed,
|
||||
# or to provide custom queries or build logic.
|
||||
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches:
|
||||
- master
|
||||
- "!dependabot/**"
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
branches:
|
||||
- master
|
||||
- "!dependabot/**"
|
||||
schedule:
|
||||
- cron: "40 15 * * 4"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: ['python']
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||
# Learn more...
|
||||
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: "python"
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
# and modify them (or add more) to build your code if your project
|
||||
# uses a compiled language
|
||||
|
||||
#- run: |
|
||||
# make bootstrap
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@
|
||||
myhosts
|
||||
blacklist
|
||||
whitelist
|
||||
readmeData.json
|
||||
hosts-*
|
||||
/web.config
|
||||
/__pycache__
|
||||
/node_modules
|
||||
/node_modules/
|
||||
/package-lock.json
|
||||
|
||||
+86066
-37270
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 112,008 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 160,733 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,27 +65,27 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -123,9 +123,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -135,7 +135,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -152,7 +152,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -213,23 +213,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -331,16 +314,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -359,26 +390,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -392,36 +424,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -443,11 +469,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -461,30 +484,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+86053
-37269
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 109,204 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 157,919 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,27 +65,27 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -121,9 +121,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -133,7 +133,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -150,7 +150,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -211,23 +211,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -329,16 +312,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -357,26 +388,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -390,36 +422,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -441,11 +467,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -459,30 +482,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+65372
-33307
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 85,864 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 117,848 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
@@ -119,9 +118,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -131,7 +130,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -148,7 +147,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -209,23 +208,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -327,16 +309,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -355,26 +385,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -388,36 +419,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -439,11 +464,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -457,30 +479,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+65359
-33306
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 83,059 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 115,033 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
@@ -117,9 +116,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -129,7 +128,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -146,7 +145,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -207,23 +206,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -325,16 +307,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -353,26 +383,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -386,36 +417,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -437,11 +462,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -455,30 +477,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+84508
-35868
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 109,626 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 158,194 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,26 +65,26 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -122,9 +122,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -134,7 +134,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -151,7 +151,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -212,23 +212,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -330,16 +313,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -358,26 +389,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -391,36 +423,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -442,11 +468,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -460,30 +483,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+84495
-35867
File diff suppressed because it is too large
Load Diff
+123
-106
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 106,822 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 155,380 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,26 +65,26 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -120,9 +120,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -132,7 +132,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -149,7 +149,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -210,23 +210,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -328,16 +311,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -356,26 +387,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -389,36 +421,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -440,11 +466,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -458,30 +481,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+63814
-31905
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 83,482 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 115,310 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
@@ -118,9 +117,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -130,7 +129,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -147,7 +146,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -208,23 +207,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -326,16 +308,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -354,26 +384,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -387,36 +418,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -438,11 +463,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -456,30 +478,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+63801
-31904
File diff suppressed because it is too large
Load Diff
+121
-105
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 80,677 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 112,495 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
|
||||
@@ -116,9 +115,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -128,7 +127,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -145,7 +144,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -206,23 +205,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -324,16 +306,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -352,26 +382,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -385,36 +416,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -436,11 +461,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -454,30 +476,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+86066
-37270
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 109,813 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 158,538 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,26 +65,26 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -122,9 +122,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -134,7 +134,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -151,7 +151,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -212,23 +212,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -330,16 +313,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -358,26 +389,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -391,36 +423,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -442,11 +468,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -460,30 +483,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+86053
-37269
File diff suppressed because it is too large
Load Diff
+123
-106
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 107,009 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 155,724 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,26 +65,26 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -120,9 +120,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -132,7 +132,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -149,7 +149,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -210,23 +210,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -328,16 +311,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -356,26 +387,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -389,36 +421,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -440,11 +466,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -458,30 +481,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+65372
-33307
File diff suppressed because it is too large
Load Diff
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 83,669 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 115,653 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
@@ -118,9 +117,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -130,7 +129,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -147,7 +146,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -208,23 +207,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -326,16 +308,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -354,26 +384,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -387,36 +418,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -438,11 +463,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -456,30 +478,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+65359
-33306
File diff suppressed because it is too large
Load Diff
+121
-105
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 80,864 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 112,838 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
|
||||
@@ -116,9 +115,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -128,7 +127,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -145,7 +144,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -206,23 +205,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -324,16 +306,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -352,26 +382,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -385,36 +416,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -436,11 +461,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -454,30 +476,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+84508
-35868
File diff suppressed because it is too large
Load Diff
+123
-106
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 107,431 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 156,000 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,25 +65,25 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -121,9 +121,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -133,7 +133,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -150,7 +150,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -211,23 +211,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -329,16 +312,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -357,26 +388,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -390,36 +422,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -441,11 +467,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -459,30 +482,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+84495
-35867
File diff suppressed because it is too large
Load Diff
+123
-106
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 104,627 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 153,186 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,25 +65,25 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
brijrajparmar27 - pornography | hosts files for DNS based content blocking |[link](https://github.com/brijrajparmar27/host-sources) | [raw](https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts) | occasional | CC BY 4.0 | [issues](https://github.com/brijrajparmar27/host-sources/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -119,9 +119,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -131,7 +131,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -148,7 +148,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -209,23 +209,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -327,16 +310,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -355,26 +386,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -388,36 +420,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -439,11 +465,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -457,30 +480,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+63814
-31905
File diff suppressed because it is too large
Load Diff
+121
-105
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 81,287 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 113,115 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
@@ -117,9 +116,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -129,7 +128,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -146,7 +145,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -207,23 +206,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -325,16 +307,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -353,26 +383,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -386,36 +417,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -437,11 +462,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -455,30 +477,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+21321
-3420
File diff suppressed because it is too large
Load Diff
+654
-7
@@ -27,7 +27,7 @@
|
||||
|
||||
##### Version Information #
|
||||
###################################################
|
||||
### Version: V1.2021.04.8528
|
||||
### Version: V1.2021.05.8588
|
||||
##### Version Information ##
|
||||
|
||||
# Use this file to prevent your computer or server from connecting to selected
|
||||
@@ -106,7 +106,6 @@
|
||||
0.0.0.0 12u.info
|
||||
0.0.0.0 12xhardcore.com
|
||||
0.0.0.0 1314dh.com
|
||||
0.0.0.0 1337crew.info
|
||||
0.0.0.0 13453765871837679316.googlegroups.com
|
||||
0.0.0.0 138shenbosbo.com
|
||||
0.0.0.0 13tabs.com
|
||||
@@ -164,7 +163,6 @@
|
||||
0.0.0.0 259572.com
|
||||
0.0.0.0 271395.com
|
||||
0.0.0.0 289931.com
|
||||
0.0.0.0 2cam.nl
|
||||
0.0.0.0 2daytrendingnews.com
|
||||
0.0.0.0 2gay.net
|
||||
0.0.0.0 2girls1cumshot.com
|
||||
@@ -234,7 +232,6 @@
|
||||
0.0.0.0 4realzed.com
|
||||
0.0.0.0 4replicawatch.net
|
||||
0.0.0.0 4takt-oel.de
|
||||
0.0.0.0 4teacher.de
|
||||
0.0.0.0 4th3d48.com
|
||||
0.0.0.0 4u69.com
|
||||
0.0.0.0 4ur.click
|
||||
@@ -518,6 +515,7 @@
|
||||
0.0.0.0 animal36.com
|
||||
0.0.0.0 animalcum.net
|
||||
0.0.0.0 animal-drawings.com
|
||||
0.0.0.0 annotated802.site
|
||||
0.0.0.0 anolysis.privacy.cliqz.com
|
||||
0.0.0.0 antcompany.com
|
||||
0.0.0.0 anticodistretto.com
|
||||
@@ -526,7 +524,9 @@
|
||||
0.0.0.0 apepix.com
|
||||
0.0.0.0 aphrodisia01.free.fr
|
||||
0.0.0.0 appyaviator.com
|
||||
0.0.0.0 arsinvest.it
|
||||
0.0.0.0 ashlynnbrookevideos.com
|
||||
0.0.0.0 atfitreasonyou.live
|
||||
0.0.0.0 aviodg.eu
|
||||
0.0.0.0 avitocars.ru
|
||||
0.0.0.0 avixxx.com
|
||||
@@ -538,6 +538,7 @@
|
||||
0.0.0.0 avpayments.com
|
||||
0.0.0.0 avramstroy.ru
|
||||
0.0.0.0 ayerbo.xhost.ro
|
||||
0.0.0.0 azulerie.it
|
||||
0.0.0.0 babsy.foreverhorny.com
|
||||
0.0.0.0 babylyst.com
|
||||
0.0.0.0 babywantsbling.com
|
||||
@@ -554,7 +555,13 @@
|
||||
0.0.0.0 backvids.com
|
||||
0.0.0.0 bag.mobile.system.video.sms13.de
|
||||
0.0.0.0 bagsonsale.online
|
||||
0.0.0.0 barmillevani.it
|
||||
0.0.0.0 beamfall.info
|
||||
0.0.0.0 casaemily.it
|
||||
0.0.0.0 casalespinazzella.it
|
||||
0.0.0.0 cascinamolinodellapaglia.it
|
||||
0.0.0.0 chalet-volpi.it
|
||||
0.0.0.0 chithra629.site
|
||||
0.0.0.0 cialisforsalecialiscostcye.com
|
||||
0.0.0.0 cialismed.com
|
||||
0.0.0.0 cialiswithoutadoctor.net
|
||||
@@ -576,6 +583,7 @@
|
||||
0.0.0.0 cingualr.com
|
||||
0.0.0.0 collector-hpn.cliqz.com
|
||||
0.0.0.0 collector.hpn.cliqz.com
|
||||
0.0.0.0 comeisolarecasa.it
|
||||
0.0.0.0 communisave.co.za
|
||||
0.0.0.0 community.allhiphop.com
|
||||
0.0.0.0 communitypetclinicmanteca.com
|
||||
@@ -591,7 +599,6 @@
|
||||
0.0.0.0 comsalud360.com
|
||||
0.0.0.0 comsprague.com
|
||||
0.0.0.0 comsysnet.com
|
||||
0.0.0.0 constructionskills.in
|
||||
0.0.0.0 construfuturo.com.mx
|
||||
0.0.0.0 construmac.com.mx
|
||||
0.0.0.0 consultant-online.ru
|
||||
@@ -617,7 +624,15 @@
|
||||
0.0.0.0 cs-gra.pl
|
||||
0.0.0.0 csk.ru
|
||||
0.0.0.0 cstrespsurvey.ca
|
||||
0.0.0.0 damafinimmobiliare.it
|
||||
0.0.0.0 distribuzionevolantinaggio.it
|
||||
0.0.0.0 docs.pipenv.org
|
||||
0.0.0.0 easymetal.it
|
||||
0.0.0.0 ensinger964.site
|
||||
0.0.0.0 enterprise327.site
|
||||
0.0.0.0 eremogaudio.it
|
||||
0.0.0.0 espritensemble.com
|
||||
0.0.0.0 essereessenza.it
|
||||
0.0.0.0 etemis.com
|
||||
0.0.0.0 ethanslayton.com
|
||||
0.0.0.0 ethan.wang
|
||||
@@ -625,7 +640,6 @@
|
||||
0.0.0.0 ethnicking.com
|
||||
0.0.0.0 etisalatebill.net
|
||||
0.0.0.0 etm-consult.de
|
||||
0.0.0.0 etymonline.co
|
||||
0.0.0.0 euadoroisso.com.br
|
||||
0.0.0.0 eu-cookie-law.info
|
||||
0.0.0.0 eupornstar.info
|
||||
@@ -633,6 +647,7 @@
|
||||
0.0.0.0 eurospanker.com
|
||||
0.0.0.0 eurovisions.free.fr
|
||||
0.0.0.0 eu-survey.com
|
||||
0.0.0.0 evaporator558.site
|
||||
0.0.0.0 event-tracking.com
|
||||
0.0.0.0 everestclick.com
|
||||
0.0.0.0 every-day.net
|
||||
@@ -654,9 +669,13 @@
|
||||
0.0.0.0 familyholiday.ml
|
||||
0.0.0.0 familyhomefinance.com.au
|
||||
0.0.0.0 famir.com
|
||||
0.0.0.0 farmafit.it
|
||||
0.0.0.0 fd1.eye.to
|
||||
0.0.0.0 fd2.eye.to
|
||||
0.0.0.0 fd4.eye.to
|
||||
0.0.0.0 ferser.it
|
||||
0.0.0.0 fincert.it
|
||||
0.0.0.0 foone.com.br
|
||||
0.0.0.0 freedomart.cz
|
||||
0.0.0.0 free-gay.de
|
||||
0.0.0.0 freegayporn.biz
|
||||
@@ -670,6 +689,8 @@
|
||||
0.0.0.0 freehostservers.com
|
||||
0.0.0.0 freeindiangals.com
|
||||
0.0.0.0 freeuploader.ml
|
||||
0.0.0.0 futurouomo.it
|
||||
0.0.0.0 fxadviceformeandyou.com
|
||||
0.0.0.0 fx.gtop.ro
|
||||
0.0.0.0 girlporn.ru
|
||||
0.0.0.0 globetrotting-culture.ru
|
||||
@@ -685,13 +706,13 @@
|
||||
0.0.0.0 goforexvps.com
|
||||
0.0.0.0 gofun.info
|
||||
0.0.0.0 go-gal.com
|
||||
0.0.0.0 gommoneusato.it
|
||||
0.0.0.0 gotporn.info
|
||||
0.0.0.0 gotwebsite1.com
|
||||
0.0.0.0 gov.yanao.ru
|
||||
0.0.0.0 grabbersex.com
|
||||
0.0.0.0 grabraeuber.de
|
||||
0.0.0.0 gracecore.com
|
||||
0.0.0.0 grafit.pl
|
||||
0.0.0.0 gratis-sexkontakte.com
|
||||
0.0.0.0 gratis.sms.senden.sms13.de
|
||||
0.0.0.0 gratisweb.com
|
||||
@@ -706,6 +727,8 @@
|
||||
0.0.0.0 greatpussies.com
|
||||
0.0.0.0 greatsexcontent.dk
|
||||
0.0.0.0 greatsimplicity.com
|
||||
0.0.0.0 gustomagro.it
|
||||
0.0.0.0 habanerotaqueria.it
|
||||
0.0.0.0 hallohaus.co
|
||||
0.0.0.0 hmuana.com
|
||||
0.0.0.0 hpn-collector.cliqz.com
|
||||
@@ -732,6 +755,7 @@
|
||||
0.0.0.0 hut1.ru
|
||||
0.0.0.0 hvd-store.com
|
||||
0.0.0.0 h-villamotel.com
|
||||
0.0.0.0 hybridization809.site
|
||||
0.0.0.0 hybrid.ru
|
||||
0.0.0.0 hydropneuengg.com
|
||||
0.0.0.0 hydropump.su
|
||||
@@ -769,21 +793,644 @@
|
||||
0.0.0.0 imageprostyle-communication.fr
|
||||
0.0.0.0 imap.dpsl.net
|
||||
0.0.0.0 indetiske.ya.ru
|
||||
0.0.0.0 infogiovanialtopavese.it
|
||||
0.0.0.0 informazionicoronavirus.it
|
||||
0.0.0.0 inleadership.co.nz
|
||||
0.0.0.0 installer892.site
|
||||
0.0.0.0 kartlab.it
|
||||
0.0.0.0 laanchoa.it
|
||||
0.0.0.0 lacasadialicedesenzano.it
|
||||
0.0.0.0 ladsblue.com
|
||||
0.0.0.0 library.cowley.edu
|
||||
0.0.0.0 live1powerlife.com
|
||||
0.0.0.0 maincert.com
|
||||
0.0.0.0 maltipoo883.site
|
||||
0.0.0.0 manufacta-italia.it
|
||||
0.0.0.0 matureporno.info
|
||||
0.0.0.0 maxtek.it
|
||||
0.0.0.0 maxxisproduct.com
|
||||
0.0.0.0 nerodavolasicilia.it
|
||||
0.0.0.0 nobuomo.it
|
||||
0.0.0.0 nottepad-plus-plus.org
|
||||
0.0.0.0 nucleolus980.site
|
||||
0.0.0.0 physical309.site
|
||||
0.0.0.0 picura.it
|
||||
0.0.0.0 pipenv.org
|
||||
0.0.0.0 plasmid904.site
|
||||
0.0.0.0 prizesforyou.com
|
||||
0.0.0.0 prizesfu74.life
|
||||
0.0.0.0 progettazione-integrata.it
|
||||
0.0.0.0 ristorante53.it
|
||||
0.0.0.0 ristorantebiri.it
|
||||
0.0.0.0 ristoranteilmedioevo.it
|
||||
0.0.0.0 rosafondente.it
|
||||
0.0.0.0 sala5.it
|
||||
0.0.0.0 sitononraggiungibile.it
|
||||
0.0.0.0 solidmaker.it
|
||||
0.0.0.0 spacebridemag.com
|
||||
0.0.0.0 spl63.fr
|
||||
0.0.0.0 ssl.eroscomix.com
|
||||
0.0.0.0 starebenesipuo.it
|
||||
0.0.0.0 stats.cliqz.com
|
||||
0.0.0.0 subplots341.site
|
||||
0.0.0.0 superior400.site
|
||||
0.0.0.0 tigustolanostracucina.it
|
||||
0.0.0.0 townhousefilms.com
|
||||
0.0.0.0 utopia-privacy.com
|
||||
0.0.0.0 www.000free.us
|
||||
0.0.0.0 www.007angels.com
|
||||
0.0.0.0 www.00author.com
|
||||
0.0.0.0 www.00go.com
|
||||
0.0.0.0 www.00it.com
|
||||
0.0.0.0 www.00webcams.com
|
||||
0.0.0.0 www.017gj.com
|
||||
0.0.0.0 www.01apple.com
|
||||
0.0.0.0 www.01-sex-amateur.info
|
||||
0.0.0.0 www.03e.info
|
||||
0.0.0.0 www.03p.info
|
||||
0.0.0.0 www.07634.com
|
||||
0.0.0.0 www.0900-telefonerotik.de
|
||||
0.0.0.0 www.09zyy.com
|
||||
0.0.0.0 www.0azx1.com
|
||||
0.0.0.0 www.0dax.com
|
||||
0.0.0.0 www.0lovespells0.blogspot.com
|
||||
0.0.0.0 www.0n-line.tv
|
||||
0.0.0.0 www.10000hai.com
|
||||
0.0.0.0 www.1000lashes.com
|
||||
0.0.0.0 www.1000russianwomen.com
|
||||
0.0.0.0 www.1001lingerie.com
|
||||
0.0.0.0 www.100dollars-seo.com
|
||||
0.0.0.0 www.100shemales.com
|
||||
0.0.0.0 www.101flag.ru
|
||||
0.0.0.0 www.101raccoon.ru
|
||||
0.0.0.0 www.108shot.com
|
||||
0.0.0.0 www.11-15.net
|
||||
0.0.0.0 www.121phonesex.co.uk
|
||||
0.0.0.0 www.123any.com
|
||||
0.0.0.0 www.123cha.com
|
||||
0.0.0.0 www.123kuma.com
|
||||
0.0.0.0 www.123laceypink.com
|
||||
0.0.0.0 www.123locker.com
|
||||
0.0.0.0 www.123sex.biz
|
||||
0.0.0.0 www.12cams.be
|
||||
0.0.0.0 www.12.com
|
||||
0.0.0.0 www.1-2fly-befragung.de
|
||||
0.0.0.0 www.12masterov.com
|
||||
0.0.0.0 www.12research.com
|
||||
0.0.0.0 www.12xhardcore.com
|
||||
0.0.0.0 www.1314dh.com
|
||||
0.0.0.0 www.138shenbosbo.com
|
||||
0.0.0.0 www.13tabs.com
|
||||
0.0.0.0 www.14teen.com
|
||||
0.0.0.0 www.166f.com
|
||||
0.0.0.0 www.17chezhan.com
|
||||
0.0.0.0 www.17youzi.com
|
||||
0.0.0.0 www.18744.com
|
||||
0.0.0.0 www.189zx.com
|
||||
0.0.0.0 www.18freeporn.com
|
||||
0.0.0.0 www.18hdxxx.com
|
||||
0.0.0.0 www.18pluscard.com
|
||||
0.0.0.0 www.18pluspics.com
|
||||
0.0.0.0 www.18plusstore.com
|
||||
0.0.0.0 www.18xtube.com
|
||||
0.0.0.0 www.1adult.com
|
||||
0.0.0.0 www.1bet.com
|
||||
0.0.0.0 www.1ejaculationinterne.com
|
||||
0.0.0.0 www.1forced.com
|
||||
0.0.0.0 www.1-free-share-buttons.com
|
||||
0.0.0.0 www.1hwy.com
|
||||
0.0.0.0 www.1kinobig.ru
|
||||
0.0.0.0 www.1pamm.ru
|
||||
0.0.0.0 www.1-pregnant-sex.com
|
||||
0.0.0.0 www.1qingdao.com
|
||||
0.0.0.0 www.1re.info
|
||||
0.0.0.0 www.1stat.ru
|
||||
0.0.0.0 www.1studio.net
|
||||
0.0.0.0 www.1unblock.com
|
||||
0.0.0.0 www.1wish.net
|
||||
0.0.0.0 www.1worlditsolutions.com
|
||||
0.0.0.0 www.2005-search.com
|
||||
0.0.0.0 www.201mb.com
|
||||
0.0.0.0 www.2020iscoming.info
|
||||
0.0.0.0 www.202ch.com
|
||||
0.0.0.0 www.20pascals.nl
|
||||
0.0.0.0 www.22kkkk.com
|
||||
0.0.0.0 www.24695.com
|
||||
0.0.0.0 www.247lyrics.com
|
||||
0.0.0.0 www.24-ak.ru
|
||||
0.0.0.0 www.24holdem.com
|
||||
0.0.0.0 www.24tradeplus.com
|
||||
0.0.0.0 www.24videos.tv
|
||||
0.0.0.0 www.24-xxx.biz
|
||||
0.0.0.0 www.259572.com
|
||||
0.0.0.0 www.271395.com
|
||||
0.0.0.0 www.289931.com
|
||||
0.0.0.0 www.2daytrendingnews.com
|
||||
0.0.0.0 www.2gay.net
|
||||
0.0.0.0 www.2girls1cumshot.com
|
||||
0.0.0.0 www.2girls1cup-free.com
|
||||
0.0.0.0 www.2kata.ru
|
||||
0.0.0.0 www.2kporn.com
|
||||
0.0.0.0 www.2lesbians.net
|
||||
0.0.0.0 www.2manshow.com
|
||||
0.0.0.0 www.2mj.pl
|
||||
0.0.0.0 www.2mouses.com
|
||||
0.0.0.0 www.2mycomputer.com
|
||||
0.0.0.0 www.2n2qlh5hqcwrvo.net
|
||||
0.0.0.0 www.2o34.com
|
||||
0.0.0.0 www.2p9fyvx.com
|
||||
0.0.0.0 www.2rich4bitches.com
|
||||
0.0.0.0 www.2sexy.ro
|
||||
0.0.0.0 www.2step-garage.co.uk
|
||||
0.0.0.0 www.2wink.com.au
|
||||
0.0.0.0 www.2ydian.com
|
||||
0.0.0.0 www.300sk.com
|
||||
0.0.0.0 www.30sec.info
|
||||
0.0.0.0 www.34.gs
|
||||
0.0.0.0 www.365locksmithsminneapolis.com
|
||||
0.0.0.0 www.3am.info
|
||||
0.0.0.0 www.3angelsvideo.com
|
||||
0.0.0.0 www.3cloud.net
|
||||
0.0.0.0 www.3date.de
|
||||
0.0.0.0 www.3-dauto.com
|
||||
0.0.0.0 www.3dbluerayplayer.com
|
||||
0.0.0.0 www.3dcgfx.net
|
||||
0.0.0.0 www.3d-daughter-list.info
|
||||
0.0.0.0 www.3d-hentai.de
|
||||
0.0.0.0 www.3donlinegames.de
|
||||
0.0.0.0 www.3dpassport.com
|
||||
0.0.0.0 www.3dsemulator.info
|
||||
0.0.0.0 www.3dviolet.com
|
||||
0.0.0.0 www.3-gay.com
|
||||
0.0.0.0 www.3gplay.pl
|
||||
0.0.0.0 www.3henterprise.com
|
||||
0.0.0.0 www.3-letter-domains.net
|
||||
0.0.0.0 www.3vig.com
|
||||
0.0.0.0 www.3w24.com
|
||||
0.0.0.0 www.3weekdiet.com
|
||||
0.0.0.0 www.3xit.net
|
||||
0.0.0.0 www.40cg.com
|
||||
0.0.0.0 www.423.ru
|
||||
0.0.0.0 www.4asianporn.com
|
||||
0.0.0.0 www.4beast.com
|
||||
0.0.0.0 www.4biogas.de
|
||||
0.0.0.0 www.4bqs.com
|
||||
0.0.0.0 www.4cock.com
|
||||
0.0.0.0 www.4ever.cc
|
||||
0.0.0.0 www.4girlss.com
|
||||
0.0.0.0 www.4love.info
|
||||
0.0.0.0 www.4meme.com
|
||||
0.0.0.0 www.4plus11.com
|
||||
0.0.0.0 www.4pornxxx.com
|
||||
0.0.0.0 www.4pp13.com
|
||||
0.0.0.0 www.4pussies.com
|
||||
0.0.0.0 www.4realzed.com
|
||||
0.0.0.0 www.4replicawatch.net
|
||||
0.0.0.0 www.4takt-oel.de
|
||||
0.0.0.0 www.4u69.com
|
||||
0.0.0.0 www.4ur.click
|
||||
0.0.0.0 www.4ureyesonly.com
|
||||
0.0.0.0 www.4webmasters.com
|
||||
0.0.0.0 www.4wheel.de
|
||||
0.0.0.0 www.4xporn.com
|
||||
0.0.0.0 www.4youcom.com
|
||||
0.0.0.0 www.50centstreetkingimmortal.com
|
||||
0.0.0.0 www.51.la
|
||||
0.0.0.0 www.5241.it
|
||||
0.0.0.0 www.529collegesaving.com
|
||||
0.0.0.0 www.550a.com
|
||||
0.0.0.0 www.57883.net
|
||||
0.0.0.0 www.59cn7.com
|
||||
0.0.0.0 www.5finder.com
|
||||
0.0.0.0 www.5forex.ru
|
||||
0.0.0.0 www.5i2.net
|
||||
0.0.0.0 www.5kstore.com
|
||||
0.0.0.0 www.5u.com
|
||||
0.0.0.0 www.5udt.com
|
||||
0.0.0.0 www.5wh.co.zw
|
||||
0.0.0.0 www.6000518.com
|
||||
0.0.0.0 www.60secpanic.com
|
||||
0.0.0.0 www.65xps.com
|
||||
0.0.0.0 www.6660003.com
|
||||
0.0.0.0 www.69er.de
|
||||
0.0.0.0 www.69net.de
|
||||
0.0.0.0 www.6amateure.net
|
||||
0.0.0.0 www.6e.co.kr
|
||||
0.0.0.0 www.6ftlady.com
|
||||
0.0.0.0 www.6ox.de
|
||||
0.0.0.0 www.6server.com
|
||||
0.0.0.0 www.6stuff.com
|
||||
0.0.0.0 www.777-club.ru
|
||||
0.0.0.0 www.77sky.de
|
||||
0.0.0.0 www.791026.com
|
||||
0.0.0.0 www.7fb.ru
|
||||
0.0.0.0 www.7gfs.com
|
||||
0.0.0.0 www.7minuteworkout.com
|
||||
0.0.0.0 www.7search.com
|
||||
0.0.0.0 www.7thlegion.ru
|
||||
0.0.0.0 www.7wind.ru
|
||||
0.0.0.0 www.7y7.us
|
||||
0.0.0.0 www.83net.jp
|
||||
0.0.0.0 www.87w.info
|
||||
0.0.0.0 www.883zy.com
|
||||
0.0.0.0 www.888.com
|
||||
0.0.0.0 www.8899804.com
|
||||
0.0.0.0 www.8gold.com
|
||||
0.0.0.0 www.8khmer.com
|
||||
0.0.0.0 www.8rf.com
|
||||
0.0.0.0 www.8si.ru
|
||||
0.0.0.0 www.8streams.com
|
||||
0.0.0.0 www.8ue9q7i.com
|
||||
0.0.0.0 www.8xv8.com
|
||||
0.0.0.0 www.925.lt
|
||||
0.0.0.0 www.999webdesign.com
|
||||
0.0.0.0 www.99topnn.info
|
||||
0.0.0.0 www.9ics.cn
|
||||
0.0.0.0 www.9med.net
|
||||
0.0.0.0 www.9stoneinvestments.com
|
||||
0.0.0.0 www.a1thumbpost.com
|
||||
0.0.0.0 www.a2btrans.pl
|
||||
0.0.0.0 www.a2sex.com
|
||||
0.0.0.0 www.a2zgroup.in
|
||||
0.0.0.0 www.a-5.info
|
||||
0.0.0.0 www.a94.info
|
||||
0.0.0.0 www.aaannuairex.com
|
||||
0.0.0.0 www.aaaurgentcare.net
|
||||
0.0.0.0 www.aab94f698f36684c5a852a2ef272e031bb.com
|
||||
0.0.0.0 www.aadroid.net
|
||||
0.0.0.0 www.aadultwork.com
|
||||
0.0.0.0 www.aalures.com
|
||||
0.0.0.0 www.aanqylta.com
|
||||
0.0.0.0 www.aapz.com
|
||||
0.0.0.0 www.aarbur.com
|
||||
0.0.0.0 www.aaronabel.com
|
||||
0.0.0.0 www.aaronautosandtrucks.com
|
||||
0.0.0.0 www.aashyamayro.com
|
||||
0.0.0.0 www.ab199.de
|
||||
0.0.0.0 www.abacusnet.info
|
||||
0.0.0.0 www.abadass.com
|
||||
0.0.0.0 www.abbanreddy.com
|
||||
0.0.0.0 www.abclauncher.com
|
||||
0.0.0.0 www.abcsex.dk
|
||||
0.0.0.0 www.abctoppictures.net
|
||||
0.0.0.0 www.abdicted.com
|
||||
0.0.0.0 www.abdl-adult-baby-phone-sex.info
|
||||
0.0.0.0 www.abdlphone.com
|
||||
0.0.0.0 www.abetran.com
|
||||
0.0.0.0 www.abetting.net
|
||||
0.0.0.0 www.ablefull.com
|
||||
0.0.0.0 www.abogadodejacksonville.com
|
||||
0.0.0.0 www.abouthomesdecorating.com
|
||||
0.0.0.0 www.aboutproperty.co.uk
|
||||
0.0.0.0 www.above.com
|
||||
0.0.0.0 www.abrahamschildren.com
|
||||
0.0.0.0 www.absolute-live.com
|
||||
0.0.0.0 www.acenar.com
|
||||
0.0.0.0 www.acheterviagrafr24.com
|
||||
0.0.0.0 www.achterin.nl
|
||||
0.0.0.0 www.aciklise.web.tr
|
||||
0.0.0.0 www.acimo.com
|
||||
0.0.0.0 www.acmmarketingdigital.com.br
|
||||
0.0.0.0 www.acmsa.com.ar
|
||||
0.0.0.0 www.acneforums.com
|
||||
0.0.0.0 www.acompanhantesdeportugal.com
|
||||
0.0.0.0 www.acornpointlodge.com
|
||||
0.0.0.0 www.acoustoopticmodulator.com
|
||||
0.0.0.0 www.acpbdf.com.br
|
||||
0.0.0.0 www.acproyectos.com
|
||||
0.0.0.0 www.acrh.be
|
||||
0.0.0.0 www.acrowiswhite.com
|
||||
0.0.0.0 www.actionmobilemarine.net
|
||||
0.0.0.0 www.actionnooz.com
|
||||
0.0.0.0 www.activeideas.net
|
||||
0.0.0.0 www.activepr.ru
|
||||
0.0.0.0 www.activewatch.ro
|
||||
0.0.0.0 www.ac-transfer.com
|
||||
0.0.0.0 www.actulite.com
|
||||
0.0.0.0 www.adrunnr.com
|
||||
0.0.0.0 www.ahasex.de
|
||||
0.0.0.0 www.airmore.co
|
||||
0.0.0.0 www.airnetinfotech.com
|
||||
0.0.0.0 www.airpb.com
|
||||
0.0.0.0 www.airportsys.com
|
||||
0.0.0.0 www.aisiansex.com
|
||||
0.0.0.0 www.ajansyenimedya.com
|
||||
0.0.0.0 www.ajkzd9h.com
|
||||
0.0.0.0 www.akaflieg-sb.de
|
||||
0.0.0.0 www.akama.com
|
||||
0.0.0.0 www.akariyer.com
|
||||
0.0.0.0 www.akita.kz
|
||||
0.0.0.0 www.aksao.com
|
||||
0.0.0.0 www.aksonural.ru
|
||||
0.0.0.0 www.aktivator-windows10.blogspot.com
|
||||
0.0.0.0 www.akuhni.by
|
||||
0.0.0.0 www.akusherok.ru
|
||||
0.0.0.0 www.alabamabackpage.com
|
||||
0.0.0.0 www.alamosupply.com
|
||||
0.0.0.0 www.alamuk.com
|
||||
0.0.0.0 www.alarash.com
|
||||
0.0.0.0 www.alarmobninsk.ru
|
||||
0.0.0.0 www.albamargroup.com
|
||||
0.0.0.0 www.albanypowerexchange.com
|
||||
0.0.0.0 www.alberguecasaanita.com
|
||||
0.0.0.0 www.alblux.com
|
||||
0.0.0.0 www.alboautotrasportatori.it
|
||||
0.0.0.0 www.aldik.com
|
||||
0.0.0.0 www.alessandraleone.com
|
||||
0.0.0.0 www.alexianer-service.de
|
||||
0.0.0.0 www.alexine.net
|
||||
0.0.0.0 www.alexxxxpages.info
|
||||
0.0.0.0 www.alfa9.com
|
||||
0.0.0.0 www.alfa-img.com
|
||||
0.0.0.0 www.alfa-medosmotr.ru
|
||||
0.0.0.0 www.alfapro.ru
|
||||
0.0.0.0 www.alfa-search.com
|
||||
0.0.0.0 www.alf-img.com
|
||||
0.0.0.0 www.algerianembassy.co.in
|
||||
0.0.0.0 www.algodon.net
|
||||
0.0.0.0 www.alibestsale.com
|
||||
0.0.0.0 www.aliclonepro.xyz
|
||||
0.0.0.0 www.aliecspres.com
|
||||
0.0.0.0 www.alif-ba-ta.com
|
||||
0.0.0.0 www.alini.de
|
||||
0.0.0.0 www.alirey.com
|
||||
0.0.0.0 www.alisatilsner.com
|
||||
0.0.0.0 www.alive-ua.com
|
||||
0.0.0.0 www.aljassarengineering.com
|
||||
0.0.0.0 www.all4wap.ru
|
||||
0.0.0.0 www.allcredits.su
|
||||
0.0.0.0 www.allergiques.com
|
||||
0.0.0.0 www.allergycenter.info
|
||||
0.0.0.0 www.allornamenti.com
|
||||
0.0.0.0 www.allo-sexe.com
|
||||
0.0.0.0 www.alloysteel.ru
|
||||
0.0.0.0 www.allpdfmags.net
|
||||
0.0.0.0 www.amateursconvert.com
|
||||
0.0.0.0 www.amateursexdvd.com
|
||||
0.0.0.0 www.amateursexplace.com
|
||||
0.0.0.0 www.amateurspain.com
|
||||
0.0.0.0 www.amateurwifevids.com
|
||||
0.0.0.0 www.amatrice-partouzeuse.com
|
||||
0.0.0.0 www.amatrices-sexy.fr
|
||||
0.0.0.0 www.amospalla.es
|
||||
0.0.0.0 www.ampower.me
|
||||
0.0.0.0 www.amt-k.ru
|
||||
0.0.0.0 www.amung.us
|
||||
0.0.0.0 www.amwatching.com
|
||||
0.0.0.0 www.anal-acrobats.com
|
||||
0.0.0.0 www.anal.cx
|
||||
0.0.0.0 www.analdude.com
|
||||
0.0.0.0 www.anale-seks.nl
|
||||
0.0.0.0 www.anale-sex.nl
|
||||
0.0.0.0 www.anal-et-sodomie.com
|
||||
0.0.0.0 www.anal-love.net
|
||||
0.0.0.0 www.analpics.net
|
||||
0.0.0.0 www.anal-pictures.biz
|
||||
0.0.0.0 www.anal-videos-photos.com
|
||||
0.0.0.0 www.ananashotel.com
|
||||
0.0.0.0 www.anatomytrains.co.uk
|
||||
0.0.0.0 www.anbstudios.com
|
||||
0.0.0.0 www.anchorwheelmotel.com.au
|
||||
0.0.0.0 www.andersondiamonds.com
|
||||
0.0.0.0 www.an-donut.com
|
||||
0.0.0.0 www.android-style.com
|
||||
0.0.0.0 www.anduongjsc.com
|
||||
0.0.0.0 www.andydill.com
|
||||
0.0.0.0 www.anews.cc
|
||||
0.0.0.0 www.anewyoufitness.com
|
||||
0.0.0.0 www.angelalittle.net
|
||||
0.0.0.0 www.angelas-place.com
|
||||
0.0.0.0 www.angelbetting.com
|
||||
0.0.0.0 www.angelinfo.com
|
||||
0.0.0.0 www.animadulte.com
|
||||
0.0.0.0 www.animal36.com
|
||||
0.0.0.0 www.animal-drawings.com
|
||||
0.0.0.0 www.antcompany.com
|
||||
0.0.0.0 www.anticodistretto.com
|
||||
0.0.0.0 www.anticosm.com
|
||||
0.0.0.0 www.antifa.co.at
|
||||
0.0.0.0 www.apepix.com
|
||||
0.0.0.0 www.arsinvest.it
|
||||
0.0.0.0 www.ashlynnbrookevideos.com
|
||||
0.0.0.0 www.aviodg.eu
|
||||
0.0.0.0 www.avitocars.ru
|
||||
0.0.0.0 www.avkzarabotok.info
|
||||
0.0.0.0 www.avoidaroid.com
|
||||
0.0.0.0 www.avon-severozapad.ru
|
||||
0.0.0.0 www.avpayments.com
|
||||
0.0.0.0 www.avramstroy.ru
|
||||
0.0.0.0 www.azulerie.it
|
||||
0.0.0.0 www.babylyst.com
|
||||
0.0.0.0 www.babywantsbling.com
|
||||
0.0.0.0 www.backalleyblowjobs.com
|
||||
0.0.0.0 www.back.dog
|
||||
0.0.0.0 www.backgroundpictures.net
|
||||
0.0.0.0 www.backlink4u.net
|
||||
0.0.0.0 www.backlinkwatch.com
|
||||
0.0.0.0 www.backofficellc.com
|
||||
0.0.0.0 www.backpaininstantrelief.com
|
||||
0.0.0.0 www.backvids.com
|
||||
0.0.0.0 www.bagsonsale.online
|
||||
0.0.0.0 www.barmillevani.it
|
||||
0.0.0.0 www.casaemily.it
|
||||
0.0.0.0 www.casalespinazzella.it
|
||||
0.0.0.0 www.cascinamolinodellapaglia.it
|
||||
0.0.0.0 www.chalet-volpi.it
|
||||
0.0.0.0 www.cialisforsalecialiscostcye.com
|
||||
0.0.0.0 www.cialismed.com
|
||||
0.0.0.0 www.cialiswithoutadoctor.net
|
||||
0.0.0.0 www.cibersexo.eu
|
||||
0.0.0.0 www.ciceklioglu.com
|
||||
0.0.0.0 www.cienum.fr
|
||||
0.0.0.0 www.cigarette-online.com
|
||||
0.0.0.0 www.cigar.pt
|
||||
0.0.0.0 www.cindyintim.de
|
||||
0.0.0.0 www.cinedaily.com
|
||||
0.0.0.0 www.cineface.com
|
||||
0.0.0.0 www.cinema3satu.com
|
||||
0.0.0.0 www.cinemabio.com
|
||||
0.0.0.0 www.cinematraffic.com
|
||||
0.0.0.0 www.cinepro.com
|
||||
0.0.0.0 www.cingualr.com
|
||||
0.0.0.0 www.comeisolarecasa.it
|
||||
0.0.0.0 www.communisave.co.za
|
||||
0.0.0.0 www.communitypetclinicmanteca.com
|
||||
0.0.0.0 www.companies-catalog.com
|
||||
0.0.0.0 www.company.com.ph
|
||||
0.0.0.0 www.compassenergyservices.com
|
||||
0.0.0.0 www.compitte.com
|
||||
0.0.0.0 www.compositefarming.com
|
||||
0.0.0.0 www.comprafacil.com.br
|
||||
0.0.0.0 www.compucelunlock.net
|
||||
0.0.0.0 www.comsprague.com
|
||||
0.0.0.0 www.comsysnet.com
|
||||
0.0.0.0 www.construfuturo.com.mx
|
||||
0.0.0.0 www.construmac.com.mx
|
||||
0.0.0.0 www.consultant-online.ru
|
||||
0.0.0.0 www.contactos-gay.com
|
||||
0.0.0.0 www.contextualyield.com
|
||||
0.0.0.0 www.controlsecurity.net
|
||||
0.0.0.0 www.convertwordtoexcel.com
|
||||
0.0.0.0 www.cookevegas.com
|
||||
0.0.0.0 www.cookingmeat.ru
|
||||
0.0.0.0 www.cooknfit.com
|
||||
0.0.0.0 www.coolemailnames.com
|
||||
0.0.0.0 www.creativemindhacks.com
|
||||
0.0.0.0 www.crystalslot.com
|
||||
0.0.0.0 www.cs1g.com
|
||||
0.0.0.0 www.cs-gra.pl
|
||||
0.0.0.0 www.csk.ru
|
||||
0.0.0.0 www.cstrespsurvey.ca
|
||||
0.0.0.0 www.damafinimmobiliare.it
|
||||
0.0.0.0 www.distribuzionevolantinaggio.it
|
||||
0.0.0.0 www.easymetal.it
|
||||
0.0.0.0 www.eremogaudio.it
|
||||
0.0.0.0 www.espritensemble.com
|
||||
0.0.0.0 www.essereessenza.it
|
||||
0.0.0.0 www.etemis.com
|
||||
0.0.0.0 www.ethanslayton.com
|
||||
0.0.0.0 www.ethan.wang
|
||||
0.0.0.0 www.ethnicafrique.com
|
||||
0.0.0.0 www.etisalatebill.net
|
||||
0.0.0.0 www.etm-consult.de
|
||||
0.0.0.0 www.euadoroisso.com.br
|
||||
0.0.0.0 www.euro-option.info
|
||||
0.0.0.0 www.eurospanker.com
|
||||
0.0.0.0 www.eu-survey.com
|
||||
0.0.0.0 www.event-tracking.com
|
||||
0.0.0.0 www.everestclick.com
|
||||
0.0.0.0 www.every-day.net
|
||||
0.0.0.0 www.everytalk.tv
|
||||
0.0.0.0 www.everythingisstory.com
|
||||
0.0.0.0 www.evesaddictin.com
|
||||
0.0.0.0 www.evidencecleanergold.com
|
||||
0.0.0.0 www.evil69.com
|
||||
0.0.0.0 www.evile.co.uk
|
||||
0.0.0.0 www.evkc.com
|
||||
0.0.0.0 www.evogarage.com
|
||||
0.0.0.0 www.exhibenfrance.com
|
||||
0.0.0.0 www.exhibits4court.com
|
||||
0.0.0.0 www.e-zeitung.de
|
||||
0.0.0.0 www.falcoware.com
|
||||
0.0.0.0 www.familienzahnaerzte.com
|
||||
0.0.0.0 www.family1st.ca
|
||||
0.0.0.0 www.familyholiday.ml
|
||||
0.0.0.0 www.familyhomefinance.com.au
|
||||
0.0.0.0 www.famir.com
|
||||
0.0.0.0 www.farmafit.it
|
||||
0.0.0.0 www.ferser.it
|
||||
0.0.0.0 www.fincert.it
|
||||
0.0.0.0 www.foone.com.br
|
||||
0.0.0.0 www.freedomart.cz
|
||||
0.0.0.0 www.free-gay.de
|
||||
0.0.0.0 www.free-gluten.ru
|
||||
0.0.0.0 www.free-groupsex.com
|
||||
0.0.0.0 www.freehanbam.net
|
||||
0.0.0.0 www.freehornygirls.com
|
||||
0.0.0.0 www.freehostservers.com
|
||||
0.0.0.0 www.freeindiangals.com
|
||||
0.0.0.0 www.freeuploader.ml
|
||||
0.0.0.0 www.futurouomo.it
|
||||
0.0.0.0 www.fxadviceformeandyou.com
|
||||
0.0.0.0 www.girlporn.ru
|
||||
0.0.0.0 www.globetrotting-culture.ru
|
||||
0.0.0.0 www.globusdate.com
|
||||
0.0.0.0 www.glopages.ru
|
||||
0.0.0.0 www.goawos.com
|
||||
0.0.0.0 www.gobettygo.com
|
||||
0.0.0.0 www.gobusinessloan.com
|
||||
0.0.0.0 www.godrix.com
|
||||
0.0.0.0 www.godsadvice.com
|
||||
0.0.0.0 www.goforexvps.com
|
||||
0.0.0.0 www.gofun.info
|
||||
0.0.0.0 www.gommoneusato.it
|
||||
0.0.0.0 www.gotwebsite1.com
|
||||
0.0.0.0 www.grabbersex.com
|
||||
0.0.0.0 www.grabraeuber.de
|
||||
0.0.0.0 www.gracecore.com
|
||||
0.0.0.0 www.gratis-sexkontakte.com
|
||||
0.0.0.0 www.gravygirls.com
|
||||
0.0.0.0 www.greatamericansexdiet.com
|
||||
0.0.0.0 www.great-comics.com
|
||||
0.0.0.0 www.greatfireoflondon.org.uk
|
||||
0.0.0.0 www.greatgrace.ru
|
||||
0.0.0.0 www.greatpussies.com
|
||||
0.0.0.0 www.greatsexcontent.dk
|
||||
0.0.0.0 www.greatsimplicity.com
|
||||
0.0.0.0 www.gustomagro.it
|
||||
0.0.0.0 www.habanerotaqueria.it
|
||||
0.0.0.0 www.hallohaus.co
|
||||
0.0.0.0 www.hmuana.com
|
||||
0.0.0.0 www.huanqiucaijing.cn
|
||||
0.0.0.0 www.huge-gay-cock.com
|
||||
0.0.0.0 www.huisvrouwen.be
|
||||
0.0.0.0 www.hukbo.com
|
||||
0.0.0.0 www.humorpool.com
|
||||
0.0.0.0 www.humraaz.com
|
||||
0.0.0.0 www.hundejo.com
|
||||
0.0.0.0 www.hungergame.com
|
||||
0.0.0.0 www.hunger.xyz
|
||||
0.0.0.0 www.hustlervip.net
|
||||
0.0.0.0 www.hut1.ru
|
||||
0.0.0.0 www.hvd-store.com
|
||||
0.0.0.0 www.h-villamotel.com
|
||||
0.0.0.0 www.hybrid.ru
|
||||
0.0.0.0 www.hydropneuengg.com
|
||||
0.0.0.0 www.hydropump.su
|
||||
0.0.0.0 www.hygar.com
|
||||
0.0.0.0 www.hygromycin-b-50mg-ml-solution.com
|
||||
0.0.0.0 www.hyipbrowser.biz
|
||||
0.0.0.0 www.hyipmanager.in
|
||||
0.0.0.0 www.hymen-defloration.info
|
||||
0.0.0.0 www.hypnoseterapi.com
|
||||
0.0.0.0 www.hypnotone.com
|
||||
0.0.0.0 www.hystersister.com
|
||||
0.0.0.0 www.hy-tec.com
|
||||
0.0.0.0 www.hzdoctor.com
|
||||
0.0.0.0 www.i-c-c-c.com
|
||||
0.0.0.0 www.ichgcp.com
|
||||
0.0.0.0 www.icipourtoi.com
|
||||
0.0.0.0 www.iclsas.com
|
||||
0.0.0.0 www.ico.re
|
||||
0.0.0.0 www.idc.com.ua
|
||||
0.0.0.0 www.idealtits.net
|
||||
0.0.0.0 www.ideas.com.uy
|
||||
0.0.0.0 www.ideawheel.com
|
||||
0.0.0.0 www.idecoideas.com
|
||||
0.0.0.0 www.idkom.com
|
||||
0.0.0.0 www.ido3.com
|
||||
0.0.0.0 www.idolax.com
|
||||
0.0.0.0 www.idolhairsalon.com
|
||||
0.0.0.0 www.idolight.net
|
||||
0.0.0.0 www.idrct.com
|
||||
0.0.0.0 www.imageprostyle-communication.fr
|
||||
0.0.0.0 www.infogiovanialtopavese.it
|
||||
0.0.0.0 www.inleadership.co.nz
|
||||
0.0.0.0 www.kartlab.it
|
||||
0.0.0.0 www.laanchoa.it
|
||||
0.0.0.0 www.lacasadialicedesenzano.it
|
||||
0.0.0.0 www.ladsblue.com
|
||||
0.0.0.0 www.live1powerlife.com
|
||||
0.0.0.0 www.maincert.com
|
||||
0.0.0.0 www.manufacta-italia.it
|
||||
0.0.0.0 www.maxtek.it
|
||||
0.0.0.0 www.nerodavolasicilia.it
|
||||
0.0.0.0 www.nobuomo.it
|
||||
0.0.0.0 www.picura.it
|
||||
0.0.0.0 www.pipenv.org
|
||||
0.0.0.0 www.prizesforyou.com
|
||||
0.0.0.0 www.progettazione-integrata.it
|
||||
0.0.0.0 www.ristorante53.it
|
||||
0.0.0.0 www.ristorantebiri.it
|
||||
0.0.0.0 www.ristoranteilmedioevo.it
|
||||
0.0.0.0 www.rosafondente.it
|
||||
0.0.0.0 www.sitononraggiungibile.it
|
||||
0.0.0.0 www.solidmaker.it
|
||||
0.0.0.0 www.spacebridemag.com
|
||||
0.0.0.0 www.spl63.fr
|
||||
0.0.0.0 www.tigustolanostracucina.it
|
||||
0.0.0.0 www.townhousefilms.com
|
||||
0.0.0.0 www.utopia-privacy.com
|
||||
0.0.0.0 yuarra.pluto.ro
|
||||
0.0.0.0 yunque.pluto.ro
|
||||
# END HOSTS LIST ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
||||
+37320
-12487
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -454,7 +454,6 @@
|
||||
0.0.0.0 myetherwalletver.com
|
||||
0.0.0.0 privatix.top
|
||||
0.0.0.0 privatix.pro
|
||||
0.0.0.0 privatex.io
|
||||
0.0.0.0 stormtoken.cc
|
||||
0.0.0.0 raiden.online
|
||||
0.0.0.0 stormstoken.com
|
||||
@@ -1069,3 +1068,5 @@
|
||||
0.0.0.0 curve.so
|
||||
0.0.0.0 curvefi.io
|
||||
0.0.0.0 curwe.fi
|
||||
0.0.0.0 boredapeyachtclub.app
|
||||
0.0.0.0 convexfinance.org
|
||||
|
||||
+444
-1326
File diff suppressed because it is too large
Load Diff
+1237
-937
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
"description": "A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.",
|
||||
"homeurl": "https://urlhaus.abuse.ch/",
|
||||
"frequency": "weekly",
|
||||
"issues": "mailto:cosntacptamem@abuse.ch",
|
||||
"issues": "mailto:contactme@abuse.ch",
|
||||
"url": "https://urlhaus.abuse.ch/downloads/hostfile/",
|
||||
"license": "CC0"
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
0.0.0.0 cdn.mypcbackup.com
|
||||
0.0.0.0 inno.bisrv.com
|
||||
0.0.0.0 installer.betterinstaller.com
|
||||
0.0.0.0 installer.filebulldog.com
|
||||
0.0.0.0 nsis.bisrv.com
|
||||
0.0.0.0 tracking.opencandy.com.s3.amazonaws.com
|
||||
|
||||
+1569
-3125
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "add.2o7Net",
|
||||
"description": "2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"description": "2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
|
||||
@@ -2,19 +2,13 @@
|
||||
0.0.0.0 blacksnake.com
|
||||
0.0.0.0 europcareer.com
|
||||
0.0.0.0 get-avast.com
|
||||
0.0.0.0 google-docs.info
|
||||
0.0.0.0 gooqleapi.com
|
||||
0.0.0.0 iphonegames3g.com
|
||||
0.0.0.0 jmp2click.com
|
||||
0.0.0.0 microsoft-update.name
|
||||
0.0.0.0 paypai.org
|
||||
0.0.0.0 sunonsunday.com
|
||||
0.0.0.0 thesunonsunday.com
|
||||
0.0.0.0 toolbar.wibiya.com
|
||||
0.0.0.0 www.avast-downloads.com
|
||||
0.0.0.0 www.europcareer.com
|
||||
0.0.0.0 www.get-avast.com
|
||||
0.0.0.0 www.google-docs.info
|
||||
0.0.0.0 www.iphonegames3g.com
|
||||
0.0.0.0 www.jmp2click.com
|
||||
0.0.0.0 www.microsoft-update.name
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "add.Dead",
|
||||
"description": "Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"description": "Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
|
||||
+207
-573
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "add.Risk",
|
||||
"description": "Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"description": "Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
|
||||
@@ -1,36 +1,24 @@
|
||||
0.0.0.0 100.1qingdao.com
|
||||
0.0.0.0 7minuteworkout.com
|
||||
0.0.0.0 addshoppers.com
|
||||
0.0.0.0 affiliatecashpile.go2jump.org
|
||||
0.0.0.0 arklighting.co
|
||||
0.0.0.0 bigpayout.go2jump.org
|
||||
0.0.0.0 brandedleadgeneration.com
|
||||
0.0.0.0 clicktshirtprinting.co.uk
|
||||
0.0.0.0 creditauthpagev3.info
|
||||
0.0.0.0 dandingo.go2jump.org
|
||||
0.0.0.0 defenderxtactical.com
|
||||
0.0.0.0 divisioncore.com
|
||||
0.0.0.0 fitnesshealthreporter.com
|
||||
0.0.0.0 freeforums.org
|
||||
0.0.0.0 go2jump.org
|
||||
0.0.0.0 gtradersoft.com
|
||||
0.0.0.0 heartrevitalized.com
|
||||
0.0.0.0 janeaustenjoy.com
|
||||
0.0.0.0 lazyprofits.go2jump.org
|
||||
0.0.0.0 medtecchina.com
|
||||
0.0.0.0 motoren.ru
|
||||
0.0.0.0 mydreamdegree.com
|
||||
0.0.0.0 nero-us.com
|
||||
0.0.0.0 news.nero-emea.com
|
||||
0.0.0.0 news.nero-us.com
|
||||
0.0.0.0 novastarled.com
|
||||
0.0.0.0 offerscience.go2jump.org
|
||||
0.0.0.0 onlineloan-personal.net
|
||||
0.0.0.0 otherinbox.com
|
||||
0.0.0.0 pcbutts1-therealtruth.blogspot.com
|
||||
0.0.0.0 playlott.com
|
||||
0.0.0.0 profitsitesbiz.com
|
||||
0.0.0.0 redhotfreebies.co.uk
|
||||
0.0.0.0 securesignupoffers.org
|
||||
0.0.0.0 stsoftware.biz
|
||||
0.0.0.0 tekindustri.upnjatim.ac.id
|
||||
@@ -44,19 +32,15 @@
|
||||
0.0.0.0 www.arklighting.co
|
||||
0.0.0.0 www.brandedleadgeneration.com
|
||||
0.0.0.0 www.clicktshirtprinting.co.uk
|
||||
0.0.0.0 www.creditauthpagev3.info
|
||||
0.0.0.0 www.defenderxtactical.com
|
||||
0.0.0.0 www.divisioncore.com
|
||||
0.0.0.0 www.fitnesshealthreporter.com
|
||||
0.0.0.0 www.freeforums.org
|
||||
0.0.0.0 www.go2jump.org
|
||||
0.0.0.0 www.gtradersoft.com
|
||||
0.0.0.0 www.heartrevitalized.com
|
||||
0.0.0.0 www.janeaustenjoy.com
|
||||
0.0.0.0 www.medtecchina.com
|
||||
0.0.0.0 www.motoren.ru
|
||||
0.0.0.0 www.mydreamdegree.com
|
||||
0.0.0.0 www.nero-us.com
|
||||
0.0.0.0 www.novastarled.com
|
||||
0.0.0.0 www.onlineloan-personal.net
|
||||
0.0.0.0 www.otherinbox.com
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "add.Spam",
|
||||
"description": "Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"description": "Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
|
||||
+324
-419
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
# minecraft-hosts - Tracking Domains
|
||||
# License: CC0
|
||||
|
||||
auxilium.ftb.team
|
||||
bstats.org
|
||||
mcmc.dev
|
||||
mcstats.org
|
||||
metrics.shmeeb.net
|
||||
openeye.openmods.info
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "minecraft-hosts",
|
||||
"description": "Minecraft related tracker hosts",
|
||||
"homeurl": "https://github.com/jamiemansfield/minecraft-hosts",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/jamiemansfield/minecraft-hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt",
|
||||
"license": "CC0-1.0"
|
||||
}
|
||||
-3270
File diff suppressed because it is too large
Load Diff
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"name": "orca.pet",
|
||||
"description": "This is a domain list for blocking phishing and malware sites .",
|
||||
"homeurl": "https://orca.pet/notonmyshift/",
|
||||
"frequency": "frequent",
|
||||
"issues": "https://github.com/socram8888/not-on-my-shift",
|
||||
"url": "https://orca.pet/notonmyshift/hosts.txt",
|
||||
"license": "ISC"
|
||||
}
|
||||
@@ -1,172 +0,0 @@
|
||||
#######################################################################
|
||||
# The list contains uniques domains collected over #
|
||||
# the last 7 days by OSINT.digitalside.it and shared in piHole format.#
|
||||
# The list is released without any warranty to the end users. #
|
||||
# INFO: info@digitalside.it #
|
||||
# PGP key ID: 30B31BDA #
|
||||
# PGP fingerprint: 0B4C F801 E8FF E9A3 A602 D2C7 9C36 93B2 30B3 1BDA #
|
||||
# Every link reported should be considered harmefull and should #
|
||||
# result in an unwanted malware download. Use this file carrefully #
|
||||
# Generated at: 2021-04-09 08:14:33 #
|
||||
#######################################################################
|
||||
0.0.0.0 acbick.com
|
||||
0.0.0.0 agenda.gmelloinformatica.com.br
|
||||
0.0.0.0 alexdubai.com.aldiabsteel.com
|
||||
0.0.0.0 alifecoffee.xyz
|
||||
0.0.0.0 angloteste.bigprime.com.br
|
||||
0.0.0.0 australianpga.com.au
|
||||
0.0.0.0 basket2.xyz
|
||||
0.0.0.0 beanx88.xyz
|
||||
0.0.0.0 belcineloweek.ru
|
||||
0.0.0.0 belnology.com
|
||||
0.0.0.0 bigup.marketing
|
||||
0.0.0.0 blog.cast.re
|
||||
0.0.0.0 brandnamesolutions.org
|
||||
0.0.0.0 buckeyesecurity.net
|
||||
0.0.0.0 business.softberg.ro
|
||||
0.0.0.0 cake3.xyz
|
||||
0.0.0.0 canterland.manivelasst.host
|
||||
0.0.0.0 capoeiraventrelivre.com
|
||||
0.0.0.0 carlsbadre.com
|
||||
0.0.0.0 cdn.i-xinnuo.com
|
||||
0.0.0.0 chance5.xyz
|
||||
0.0.0.0 cloud.fc.co.mz
|
||||
0.0.0.0 covid19vaccinations.hopto.org
|
||||
0.0.0.0 crmacd.manivelasst.com
|
||||
0.0.0.0 cursoeurobrasileiro.com
|
||||
0.0.0.0 cursos.selfassessoria.com.br
|
||||
0.0.0.0 cynkon.kairoscs.net
|
||||
0.0.0.0 dance4.xyz
|
||||
0.0.0.0 ddns.cyberium.cc
|
||||
0.0.0.0 desertlandtrd.com
|
||||
0.0.0.0 dev.watch-store.eu
|
||||
0.0.0.0 dhananjaya.cf
|
||||
0.0.0.0 dl.packetstormsecurity.net
|
||||
0.0.0.0 dokan.blueberrytec.com
|
||||
0.0.0.0 down.postch-de.top
|
||||
0.0.0.0 down.postch-dl.top
|
||||
0.0.0.0 duvalcharter.dekitout.com
|
||||
0.0.0.0 e-commerce.saleensuporte.com.br
|
||||
0.0.0.0 eduworks.aitnaios.com
|
||||
0.0.0.0 esmne052.top
|
||||
0.0.0.0 esrhf04.top
|
||||
0.0.0.0 essentia.org.br
|
||||
0.0.0.0 estjh05.top
|
||||
0.0.0.0 esujg06.top
|
||||
0.0.0.0 fc.co.mz
|
||||
0.0.0.0 file.cdn.xiangtatech.com
|
||||
0.0.0.0 fiverworks.com
|
||||
0.0.0.0 fmjplastering.co.uk
|
||||
0.0.0.0 fms.buladde.or.ug
|
||||
0.0.0.0 foothills.com.br
|
||||
0.0.0.0 g1smurt.ru
|
||||
0.0.0.0 gastoudergonny.nl
|
||||
0.0.0.0 gfold1.webselffiles01.com
|
||||
0.0.0.0 gmtransformationacademy.com
|
||||
0.0.0.0 gnf.fi
|
||||
0.0.0.0 gockyz.com
|
||||
0.0.0.0 greataccesstoserver.com
|
||||
0.0.0.0 gwenetha.info
|
||||
0.0.0.0 hacked.nashley.vn
|
||||
0.0.0.0 handstage.com
|
||||
0.0.0.0 hdkamera2003.hu
|
||||
0.0.0.0 healthy20.net
|
||||
0.0.0.0 h.epelcdn.com
|
||||
0.0.0.0 hitpe.com
|
||||
0.0.0.0 humrosegroup.com
|
||||
0.0.0.0 images.jermiau.com
|
||||
0.0.0.0 intervene.asia
|
||||
0.0.0.0 invest.xpcorporative.com.br
|
||||
0.0.0.0 joseantoniogalansanpelayo.edu.co
|
||||
0.0.0.0 kalpataru-elitus-mulund.thakkers.in
|
||||
0.0.0.0 kcma.miami
|
||||
0.0.0.0 khmerosja.net
|
||||
0.0.0.0 kingsleyhouseproperty.com
|
||||
0.0.0.0 kizitox.ga
|
||||
0.0.0.0 klaustrofebia.ru
|
||||
0.0.0.0 kldatabase.com
|
||||
0.0.0.0 lms.login2.in
|
||||
0.0.0.0 lojavirtual.top
|
||||
0.0.0.0 maquiagemnaweb.vivendoeempreendendoonline.com
|
||||
0.0.0.0 mario-sunjic.com
|
||||
0.0.0.0 mariotessarollo.com
|
||||
0.0.0.0 merkathink.com
|
||||
0.0.0.0 midlandtexasconstruction.com
|
||||
0.0.0.0 mushkonline.com
|
||||
0.0.0.0 neuroenergy.fahadjutt.com
|
||||
0.0.0.0 new.martlines.com
|
||||
0.0.0.0 newvisionopticallab.com
|
||||
0.0.0.0 nextnline.ca
|
||||
0.0.0.0 nmxwllwsdyminoragenw.dns.army
|
||||
0.0.0.0 nvgeeforsegt.ru
|
||||
0.0.0.0 onedrive.listifyapp.co
|
||||
0.0.0.0 onlybamboofabrics.com
|
||||
0.0.0.0 ozpinarco.com
|
||||
0.0.0.0 pagos.krayem.com.mx
|
||||
0.0.0.0 panama.martellexpress.us
|
||||
0.0.0.0 panslimiterd.com
|
||||
0.0.0.0 phenhuong.sanpham.online
|
||||
0.0.0.0 pipopetfiu.ru
|
||||
0.0.0.0 pmrimewsdylimtewsogh.dns.army
|
||||
0.0.0.0 pool.phxdir.com
|
||||
0.0.0.0 porteletbaycafe.com
|
||||
0.0.0.0 pradeshnee.com
|
||||
0.0.0.0 prox.realunix.cc
|
||||
0.0.0.0 q17ar45.ru
|
||||
0.0.0.0 raodigitalmedia.com
|
||||
0.0.0.0 ravo.net.au
|
||||
0.0.0.0 research.remedyanswer.com
|
||||
0.0.0.0 reseller.digimitra.in
|
||||
0.0.0.0 revolet-sa.com
|
||||
0.0.0.0 richancyber.info
|
||||
0.0.0.0 ride.picky.co.ke
|
||||
0.0.0.0 roanokemortgages.com
|
||||
0.0.0.0 rotoblast.org
|
||||
0.0.0.0 sankhyasol.com
|
||||
0.0.0.0 shopsofe.com
|
||||
0.0.0.0 sigapresschennai.com
|
||||
0.0.0.0 sige.brisainformatica.com.br
|
||||
0.0.0.0 smartcoating.net
|
||||
0.0.0.0 snow-sugar.com
|
||||
0.0.0.0 softraks.com
|
||||
0.0.0.0 somir.com.mx
|
||||
0.0.0.0 spetsesyachtcharter.gr
|
||||
0.0.0.0 sticker.jewsjuice.com
|
||||
0.0.0.0 strangerspassing.by
|
||||
0.0.0.0 sungardspo.com
|
||||
0.0.0.0 test1.tenplusone.my
|
||||
0.0.0.0 textile.softberg.ro
|
||||
0.0.0.0 thefamouscurrybazaar.co.uk
|
||||
0.0.0.0 theviewsdyjupcazfeqv.dns.army
|
||||
0.0.0.0 tickfoods.tickme.lk
|
||||
0.0.0.0 tooba.tenplusone.my
|
||||
0.0.0.0 triplonet.com.br
|
||||
0.0.0.0 ttiops.org
|
||||
0.0.0.0 unitedwsdykesokowskg.dns.army
|
||||
0.0.0.0 unityindiversity.in
|
||||
0.0.0.0 upcbpta.com
|
||||
0.0.0.0 v2consultores.com
|
||||
0.0.0.0 ventasar.manivelasst.com
|
||||
0.0.0.0 wajirmaternityandnursinghome.co.ke
|
||||
0.0.0.0 webhelm.ca
|
||||
0.0.0.0 wordpress.dezinetimes.com
|
||||
0.0.0.0 wordpress.saleensuporte.com.br
|
||||
0.0.0.0 wsdyalgreenkelveskxz.dns.army
|
||||
0.0.0.0 wsdykungsb2talenwsjf.dns.army
|
||||
0.0.0.0 wsdyrkkrgorgiousejhd.dns.army
|
||||
0.0.0.0 wsdysara1investvwsfs.dns.army
|
||||
0.0.0.0 wsdysuresbonescagegp.dns.army
|
||||
0.0.0.0 www.aandachtvoormieke.nl
|
||||
0.0.0.0 www.algostore.in
|
||||
0.0.0.0 www.carsidecor.com
|
||||
0.0.0.0 www.djkuki.com
|
||||
0.0.0.0 www.dsireusa.org
|
||||
0.0.0.0 www.fitselection.com
|
||||
0.0.0.0 www.golocker.com
|
||||
0.0.0.0 www.gottalife.net
|
||||
0.0.0.0 www.lacasadelosalebrijes.com
|
||||
0.0.0.0 www.tomhicksphoto.com
|
||||
0.0.0.0 www.you-be.jp
|
||||
0.0.0.0 yaaliyahussain.com
|
||||
0.0.0.0 yuvikadvertisments.com
|
||||
0.0.0.0 zytrox.tk
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"name": "osint.digitalside.it",
|
||||
"description": "DigitalSide Threat-Intel malware domains list.",
|
||||
"homeurl": "https://github.com/davidonzo/Threat-Intel",
|
||||
"frequency": "daily",
|
||||
"issues": "https://github.com/davidonzo/Threat-Intel/issues",
|
||||
"url": "https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt",
|
||||
"license": "MIT"
|
||||
}
|
||||
+75
-19
@@ -6,7 +6,6 @@
|
||||
0.0.0.0 abcnews.hb.omtrdc.net
|
||||
0.0.0.0 abcnews.tt.omtrdc.net
|
||||
0.0.0.0 acdn.adnxs.com
|
||||
0.0.0.0 adbserver.doceree.com
|
||||
0.0.0.0 adpushup.com
|
||||
0.0.0.0 ads-api.twitter.com
|
||||
0.0.0.0 ads.holid.io
|
||||
@@ -46,6 +45,7 @@
|
||||
0.0.0.0 go.ezodn.com
|
||||
0.0.0.0 ip.prvtx.net
|
||||
0.0.0.0 metrics.readme.io
|
||||
0.0.0.0 piwik.opendesktop.org
|
||||
0.0.0.0 pixel-static.spotify.com
|
||||
0.0.0.0 pixel.ampry.com
|
||||
0.0.0.0 pixel.spotify.com
|
||||
@@ -73,23 +73,18 @@
|
||||
0.0.0.0 t.stripe.com
|
||||
0.0.0.0 tag.rmp.rakuten.com
|
||||
0.0.0.0 trackjs.com
|
||||
0.0.0.0 trapsaminohut.com
|
||||
0.0.0.0 trk.justanswer.com
|
||||
0.0.0.0 trk.justanswer.com
|
||||
0.0.0.0 u.o0bc.com
|
||||
0.0.0.0 uk-script.dotmetrics.net
|
||||
0.0.0.0 uk-script.dotmetrics.net
|
||||
0.0.0.0 uptime.com
|
||||
0.0.0.0 us-east-1.prod.pw.analytics.console.aws.a2z.com
|
||||
0.0.0.0 userreport.com
|
||||
0.0.0.0 vitals.vercel-insights.com
|
||||
0.0.0.0 vms.boldchat.com
|
||||
0.0.0.0 vt.myvisualiq.net
|
||||
0.0.0.0 web.vortex.data.microsoft.com
|
||||
0.0.0.0 web.vortex.data.msn.com
|
||||
0.0.0.0 www.datadoghq-browser-agent.com
|
||||
0.0.0.0 www.fastly-insights.com
|
||||
0.0.0.0 www.googleoptimize.com
|
||||
0.0.0.0 www.increaserev.com
|
||||
0.0.0.0 www.medtargetsystem.com
|
||||
0.0.0.0 www.npttech.com
|
||||
@@ -143,7 +138,6 @@
|
||||
0.0.0.0 ads.avct.cloud
|
||||
0.0.0.0 bid.glass
|
||||
0.0.0.0 service.bidlab.ai
|
||||
0.0.0.0 exchange.bidphysics.com
|
||||
0.0.0.0 us-e-node1.bizzclick.com
|
||||
0.0.0.0 dev.pbs.bluebillywig.com
|
||||
0.0.0.0 pbs.bluebillywig.com
|
||||
@@ -173,7 +167,6 @@
|
||||
0.0.0.0 pbs.dailyhunt.in
|
||||
0.0.0.0 qa-pbs-van.dailyhunt.in
|
||||
0.0.0.0 prebid.datablocks.net
|
||||
0.0.0.0 supply.decenterads.com
|
||||
0.0.0.0 dmx.districtm.io
|
||||
0.0.0.0 cdn.districtm.io
|
||||
0.0.0.0 ad.divreach.com
|
||||
@@ -183,9 +176,6 @@
|
||||
0.0.0.0 service.e-volution.ai
|
||||
0.0.0.0 dsp.bnmla.com
|
||||
0.0.0.0 deep.edgequery.io
|
||||
0.0.0.0 prebid.emoteev.io
|
||||
0.0.0.0 prebid-staging.emoteev.io
|
||||
0.0.0.0 ad.nvivo.tv
|
||||
0.0.0.0 i.e-planning.net
|
||||
0.0.0.0 sk.search.etargetnet.com
|
||||
0.0.0.0 cz.search.etargetnet.com
|
||||
@@ -197,8 +187,6 @@
|
||||
0.0.0.0 hr.search.etargetnet.com
|
||||
0.0.0.0 at.search.etargetnet.com
|
||||
0.0.0.0 co.search.etargetnet.com
|
||||
0.0.0.0 de.search.etargetnet.com
|
||||
0.0.0.0 en.search.etargetnet.com
|
||||
0.0.0.0 fid.agkn.com
|
||||
0.0.0.0 api.feedad.com
|
||||
0.0.0.0 content.mql5.com
|
||||
@@ -207,11 +195,9 @@
|
||||
0.0.0.0 s.gamoshi.io
|
||||
0.0.0.0 wrappers.geoedge.be
|
||||
0.0.0.0 central.gjirafa.com
|
||||
0.0.0.0 api.glimpseprotocol.io
|
||||
0.0.0.0 grid.bidswitch.net
|
||||
0.0.0.0 bidder.h12-media.com
|
||||
0.0.0.0 seg.halo.ad.gt
|
||||
0.0.0.0 balancer.haxmedia.io
|
||||
0.0.0.0 banner.hpmdnetwork.ru
|
||||
0.0.0.0 hbe198.hybrid.ai
|
||||
0.0.0.0 ice.360yield.com
|
||||
@@ -224,7 +210,6 @@
|
||||
0.0.0.0 hbtra.jixie.io
|
||||
0.0.0.0 scripts.jixie.io
|
||||
0.0.0.0 hb.jixie.io
|
||||
0.0.0.0 s.komoona.com
|
||||
0.0.0.0 tracker.konduit.me
|
||||
0.0.0.0 p.konduit.me
|
||||
0.0.0.0 ads4.krushmedia.com
|
||||
@@ -262,6 +247,50 @@
|
||||
0.0.0.0 brainlyads.com
|
||||
0.0.0.0 qa-ads.nobid.com
|
||||
0.0.0.0 onetag-sys.com
|
||||
0.0.0.0 ads.adaptv.advertising.com
|
||||
0.0.0.0 ads-wc.v.ssp.yahoo.com
|
||||
0.0.0.0 pixel.advertising.com
|
||||
0.0.0.0 match.adsrvr.org
|
||||
0.0.0.0 sync-tm.everesttech.net
|
||||
0.0.0.0 bidder.onomagic.com
|
||||
0.0.0.0 pbdata.oolo.io
|
||||
0.0.0.0 as.vt.open8.com
|
||||
0.0.0.0 prebid.openx.net
|
||||
0.0.0.0 u.openx.net
|
||||
0.0.0.0 orbidder.otto.de
|
||||
0.0.0.0 ssp.otm-r.com
|
||||
0.0.0.0 api.outcondigital.com
|
||||
0.0.0.0 elb.the-ozone-project.com
|
||||
0.0.0.0 prebid.the-ozone-project.com
|
||||
0.0.0.0 x.padsquad.com
|
||||
0.0.0.0 prebid.papyrus.global
|
||||
0.0.0.0 h.parrable.com
|
||||
0.0.0.0 dale.performax.cz
|
||||
0.0.0.0 ad.piximedia.com
|
||||
0.0.0.0 piohbdisp.hb.adx1.com
|
||||
0.0.0.0 endpoint.prebidmanager.com
|
||||
0.0.0.0 abs.proxistore.com
|
||||
0.0.0.0 ortb.adpearl.io
|
||||
0.0.0.0 t.pubmatic.com
|
||||
0.0.0.0 hbopenbid.pubmatic.com
|
||||
0.0.0.0 ads.pubmatic.com
|
||||
0.0.0.0 pubmatic.bbvms.com
|
||||
0.0.0.0 api.pubwise.io
|
||||
0.0.0.0 bid.pubwise.io
|
||||
0.0.0.0 api.pbxai.com
|
||||
0.0.0.0 api.primecaster.net
|
||||
0.0.0.0 bid.contextweb.com
|
||||
0.0.0.0 bh.contextweb.com
|
||||
0.0.0.0 ads.playground.xyz
|
||||
0.0.0.0 qcx.quantserve.com
|
||||
0.0.0.0 bidder.qwarry.co
|
||||
0.0.0.0 rads.recognified.net
|
||||
0.0.0.0 ac.realvu.net
|
||||
0.0.0.0 confirm.fiduciadlt.com
|
||||
0.0.0.0 ads.rekmob.com
|
||||
0.0.0.0 api.relaido.jp
|
||||
0.0.0.0 bid306.rtbsrv.com
|
||||
0.0.0.0 trends.revcontent.com
|
||||
|
||||
# www.qatarairways.com
|
||||
0.0.0.0 smetrics.qatarairways.com
|
||||
@@ -399,9 +428,6 @@
|
||||
# ecmelberk.com
|
||||
0.0.0.0 ads.ebc.li
|
||||
|
||||
# kevq.uk
|
||||
0.0.0.0 stats.kevq.uk
|
||||
|
||||
# linuxjournal.com
|
||||
0.0.0.0 analytics.linuxjournal.com
|
||||
|
||||
@@ -416,3 +442,33 @@
|
||||
|
||||
# remix.ethereum.org
|
||||
0.0.0.0 matomo.ethereum.org
|
||||
|
||||
# bazaarvoice.com
|
||||
0.0.0.0 analytics-static.ugc.bazaarvoice.com
|
||||
0.0.0.0 bv-analytics-js-prod.s3.amazonaws.com
|
||||
0.0.0.0 bv-analytics-js-qa.s3.amazonaws.com
|
||||
|
||||
# deepl.com
|
||||
0.0.0.0 s.deepl.com
|
||||
|
||||
# dot.gov.in
|
||||
0.0.0.0 analytics.wrc.nic.in
|
||||
|
||||
# qz.com
|
||||
0.0.0.0 player.mediafuse.com
|
||||
0.0.0.0 hb.mediafuse.com
|
||||
|
||||
# www.dqindia.com
|
||||
0.0.0.0 qt.cyberads.io
|
||||
|
||||
# killedbygoogle.com
|
||||
0.0.0.0 analytics.bale.media
|
||||
|
||||
# tchncs.de
|
||||
0.0.0.0 stats.tchncs.de
|
||||
|
||||
# usborne.com
|
||||
0.0.0.0 tracking.recommend.pro
|
||||
|
||||
# proto.school
|
||||
0.0.0.0 countly.proto.school
|
||||
|
||||
+574
-5709
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+325
-208
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,43 @@
|
||||
@echo off
|
||||
|
||||
title Disable DNS Cache Service
|
||||
|
||||
:: Check if we are an administrator. If not, exit immediately.
|
||||
:: BatchGotAdmin
|
||||
:: Check for permissions
|
||||
if "%PROCESSOR_ARCHITECTURE%" equ "amd64" (
|
||||
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
|
||||
) else (
|
||||
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
|
||||
)
|
||||
|
||||
:: If the error flag set, we do not have admin rights.
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Requesting administrative privileges...
|
||||
goto UACPrompt
|
||||
) else (
|
||||
goto gotAdmin
|
||||
)
|
||||
|
||||
:UACPrompt
|
||||
echo Set UAC = CreateObject^("Shell.Application"^) > "%TEMP%\getadmin.vbs"
|
||||
set params= %*
|
||||
echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params:"=""%", "", "runas", 1 >> "%TEMP%\getadmin.vbs"
|
||||
|
||||
wscript.exe "%TEMP%\getadmin.vbs"
|
||||
del "%TEMP%\getadmin.vbs"
|
||||
exit /b
|
||||
|
||||
:gotAdmin
|
||||
|
||||
:SCset
|
||||
:: VALUE
|
||||
:: 2 (Automatic) (DEFAULT)
|
||||
:: 4 (Disabled) (to prevent network freeze after applying a huge hosts file)
|
||||
::
|
||||
:: See https://superuser.com/a/1277960
|
||||
::
|
||||
reg add "HKLM\SYSTEM\CurrentControlSet\services\Dnscache" /v Start /t REG_DWORD /d 4 /f
|
||||
echo Reboot your system now!
|
||||
echo.
|
||||
pause
|
||||
+2548
-2394
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,233 @@
|
||||
0.0.0.0 a.videobaba.xyz
|
||||
0.0.0.0 amp.xhamster.com
|
||||
0.0.0.0 amp.xhamster.desi
|
||||
0.0.0.0 amp.xhamster13.desi
|
||||
0.0.0.0 amp.xhgeo.com
|
||||
0.0.0.0 area51.porn
|
||||
0.0.0.0 bestpornfinder.net
|
||||
0.0.0.0 bobs-tube.porn
|
||||
0.0.0.0 cdn.bonertraffic12.mobi
|
||||
0.0.0.0 cdn.freeindianporn2.com
|
||||
0.0.0.0 cdn.pakistaniporn2.com
|
||||
0.0.0.0 cdn.pornxnxxvideos.com
|
||||
0.0.0.0 cdn.rajwap.biz
|
||||
0.0.0.0 cdn.redwap2.com
|
||||
0.0.0.0 cdn77-vid.xnxx-cdn.com
|
||||
0.0.0.0 desipornmms.com
|
||||
0.0.0.0 freeindianporn2.com
|
||||
0.0.0.0 headstonerinse.com
|
||||
0.0.0.0 hentaihaven.co
|
||||
0.0.0.0 hentaihaven.com
|
||||
0.0.0.0 hentaihaven.icu
|
||||
0.0.0.0 hentaihaven.in.net
|
||||
0.0.0.0 hentaihaven.io
|
||||
0.0.0.0 hentaihaven.vip
|
||||
0.0.0.0 hentaiheaven.xyz
|
||||
0.0.0.0 hentaiworld.tv
|
||||
0.0.0.0 i.xozilla.com
|
||||
0.0.0.0 ijavhd.com
|
||||
0.0.0.0 justindianporn2.com
|
||||
0.0.0.0 mixandfun.com
|
||||
0.0.0.0 movie.justindianporn2.com
|
||||
0.0.0.0 movies.freeindianporn2.com
|
||||
0.0.0.0 mxtube.net
|
||||
0.0.0.0 new-porn.video
|
||||
0.0.0.0 nhentaihaven.com
|
||||
0.0.0.0 nhentaihaven.org
|
||||
0.0.0.0 onlyindianporn.me
|
||||
0.0.0.0 onlyindianporn.tv
|
||||
0.0.0.0 ph.pornfactory.info
|
||||
0.0.0.0 ph.xxxindianporn.pro
|
||||
0.0.0.0 photo.pornozavr.net
|
||||
0.0.0.0 porntubehub.online
|
||||
0.0.0.0 rajwap.biz
|
||||
0.0.0.0 ringexpressbeach.com
|
||||
0.0.0.0 sexdesiporn.pro
|
||||
0.0.0.0 sillyflowermachine.com
|
||||
0.0.0.0 static.freeindianporn2.com
|
||||
0.0.0.0 static.rajwap.biz
|
||||
0.0.0.0 static.redwap2.com
|
||||
0.0.0.0 static.xv-horezeedipaif.com
|
||||
0.0.0.0 video.pornozavr.net
|
||||
0.0.0.0 video.redwap2.com
|
||||
0.0.0.0 whackaggressive.com
|
||||
0.0.0.0 wwtracking.net
|
||||
0.0.0.0 www.18pussy.porn
|
||||
0.0.0.0 www.18tube.sex
|
||||
0.0.0.0 www.asianpornvideo.xxx
|
||||
0.0.0.0 www.fuckteen.xxx
|
||||
0.0.0.0 www.hdsex.tube
|
||||
0.0.0.0 www.hdvideosporn.net
|
||||
0.0.0.0 www.hdxxxwatch.com
|
||||
0.0.0.0 www.hentaianime.tv
|
||||
0.0.0.0 www.hentaiporn.tube
|
||||
0.0.0.0 www.hentaisex.tv
|
||||
0.0.0.0 www.hentaiworld.tv
|
||||
0.0.0.0 www.hentaixxxvids.com
|
||||
0.0.0.0 www.hindibfvideo.com
|
||||
0.0.0.0 www.hindipornvideos.org
|
||||
0.0.0.0 www.hindixxx.club
|
||||
0.0.0.0 www.indianbfvideos.com
|
||||
0.0.0.0 www.indiansexvideo.xxx
|
||||
0.0.0.0 www.milf-porn.xxx
|
||||
0.0.0.0 www.mxtube.net
|
||||
0.0.0.0 www.nudeclap.com
|
||||
0.0.0.0 www.pakistaniporn2.com
|
||||
0.0.0.0 www.porn300.net
|
||||
0.0.0.0 www.pornfactory.info
|
||||
0.0.0.0 www.pornfuck.net
|
||||
0.0.0.0 www.pornhat.one
|
||||
0.0.0.0 www.pornozavr.net
|
||||
0.0.0.0 www.redwap2.com
|
||||
0.0.0.0 www.sopornvideos.com
|
||||
0.0.0.0 www.teenfuck.win
|
||||
0.0.0.0 www.xozilla.com
|
||||
0.0.0.0 www.xv-horezeedipaif.com
|
||||
0.0.0.0 www.xvideos3.com
|
||||
0.0.0.0 www.xxxbule.com
|
||||
0.0.0.0 www.xxxhdvideo.mobi
|
||||
0.0.0.0 www.xxxxporn.net
|
||||
0.0.0.0 www.youteenporn.net
|
||||
0.0.0.0 xhgeo.com
|
||||
0.0.0.0 xnxx-sex-videos.com
|
||||
0.0.0.0 xnxx.wapka.cc
|
||||
0.0.0.0 xnxx4porn.com
|
||||
0.0.0.0 xxxindianporn.pro
|
||||
0.0.0.0 0.oldgyhogola.com
|
||||
0.0.0.0 best-porn-clips.com
|
||||
0.0.0.0 cdn.freeindiansex.net
|
||||
0.0.0.0 comics-porn.info
|
||||
0.0.0.0 desipapa.xyz
|
||||
0.0.0.0 fatgirlsland.com
|
||||
0.0.0.0 footstockings.com
|
||||
0.0.0.0 fuqqt.com
|
||||
0.0.0.0 images.jav-pics.com
|
||||
0.0.0.0 indiansexsagar.yellowplum.netdna-cdn.com
|
||||
0.0.0.0 jav-pics.com
|
||||
0.0.0.0 javpub.b-cdn.net
|
||||
0.0.0.0 javpub.me
|
||||
0.0.0.0 m.porn555.com
|
||||
0.0.0.0 m.see.xxx
|
||||
0.0.0.0 m.thegay.porn
|
||||
0.0.0.0 members.indianhiddencams.com
|
||||
0.0.0.0 ngiyani.com
|
||||
0.0.0.0 pantyhose4you.com
|
||||
0.0.0.0 pantyhoseposes.com
|
||||
0.0.0.0 porn555.taxispyvideo.com
|
||||
0.0.0.0 porn555.teenshomeporn.com
|
||||
0.0.0.0 ps0z.com
|
||||
0.0.0.0 secure.indianhiddencams.com
|
||||
0.0.0.0 seexxx1.roccosiffrediporn.net
|
||||
0.0.0.0 seexxx1.ronjeremyporn.net
|
||||
0.0.0.0 sexvideospornxxx.com
|
||||
0.0.0.0 thegay1.tombyronporn.com
|
||||
0.0.0.0 tn.porntop.com
|
||||
0.0.0.0 tn.vxxx.com
|
||||
0.0.0.0 tns.bangtubevideos.com
|
||||
0.0.0.0 tour.indianhiddencams.com
|
||||
0.0.0.0 tubejohn.com
|
||||
0.0.0.0 video.vxxxcdn.net
|
||||
0.0.0.0 www.bangtubevideos.com
|
||||
0.0.0.0 www.clips4sale.com
|
||||
0.0.0.0 www.freeindiansex.net
|
||||
0.0.0.0 www.fullxxxvideos.net
|
||||
0.0.0.0 www.goldendesi.com
|
||||
0.0.0.0 www.hardcorepost.com
|
||||
0.0.0.0 www.indiansexsagar.com
|
||||
0.0.0.0 www.japaneseporn.xxx
|
||||
0.0.0.0 www.japanporn.tv
|
||||
0.0.0.0 www.pornjapanesesex.com
|
||||
0.0.0.0 www.pornsos.com
|
||||
0.0.0.0 www.sex2021.com
|
||||
0.0.0.0 www.sexmotors.com
|
||||
0.0.0.0 www.watchdesisex.com
|
||||
0.0.0.0 www3.javxxx.me
|
||||
0.0.0.0 xxnxx-porn.com
|
||||
0.0.0.0 www.redgifs.com
|
||||
0.0.0.0 bigindiansex.mobi
|
||||
0.0.0.0 cdn.bigindiansex.mobi
|
||||
0.0.0.0 cumception.com
|
||||
0.0.0.0 desi-xnxx.pro
|
||||
0.0.0.0 desi.portomega.ru
|
||||
0.0.0.0 desifuck.net
|
||||
0.0.0.0 desihdx.com
|
||||
0.0.0.0 hot-indian-pussy.com
|
||||
0.0.0.0 indiansexuniversity.com
|
||||
0.0.0.0 kartavarna.com
|
||||
0.0.0.0 m.pornsexer.xxx
|
||||
0.0.0.0 moreindian.com
|
||||
0.0.0.0 pics.desi-xnxx.pro
|
||||
0.0.0.0 pornstars4escort.com
|
||||
0.0.0.0 sexsagar.com
|
||||
0.0.0.0 sundarikanya.com
|
||||
0.0.0.0 teenporno.sexy
|
||||
0.0.0.0 www.antarvasnaphotos.com
|
||||
0.0.0.0 www.cloudisexy.com
|
||||
0.0.0.0 www.cloudydirt.com
|
||||
0.0.0.0 www.hot-indian-pussy.com
|
||||
0.0.0.0 www.indian-porn.me
|
||||
0.0.0.0 www.justindiansex.com
|
||||
0.0.0.0 www.mypornarchive.net
|
||||
0.0.0.0 www.nccsc.net
|
||||
0.0.0.0 www.qqxnxx.com
|
||||
0.0.0.0 www.sexpicturespass.com
|
||||
0.0.0.0 www.sexy-dreams.com
|
||||
0.0.0.0 www.xxxindianvids.com
|
||||
0.0.0.0 xxxmovies.party
|
||||
0.0.0.0 yourporn18.com
|
||||
0.0.0.0 cdn.rapelust.com
|
||||
0.0.0.0 rapelust.com
|
||||
0.0.0.0 nakedgirls.mobi
|
||||
0.0.0.0 1-porn.com
|
||||
0.0.0.0 9xlust.in
|
||||
0.0.0.0 9xvideo.net
|
||||
0.0.0.0 bigtitsmilf.net
|
||||
0.0.0.0 cdn.onlyindian.net
|
||||
0.0.0.0 cdn.rapelust.com
|
||||
0.0.0.0 eroticup.com
|
||||
0.0.0.0 es.ancensored.com
|
||||
0.0.0.0 evt.mxplay.com
|
||||
0.0.0.0 gayforsex.com
|
||||
0.0.0.0 heroine-xxx.com
|
||||
0.0.0.0 indianporn360.com
|
||||
0.0.0.0 indianpornmovies.info
|
||||
0.0.0.0 indianxnxxtube.com
|
||||
0.0.0.0 indpaedia.com
|
||||
0.0.0.0 love4porn.com
|
||||
0.0.0.0 masala-desi.com
|
||||
0.0.0.0 moviessexscenes.com
|
||||
0.0.0.0 p.love4porn.com
|
||||
0.0.0.0 rapelust.com
|
||||
0.0.0.0 sdk.a79h.cn
|
||||
0.0.0.0 thefappeningblog.com
|
||||
0.0.0.0 thepornpic.com
|
||||
0.0.0.0 www.fuckcelebs.net
|
||||
0.0.0.0 www.host4see.com
|
||||
0.0.0.0 www.hotzxgirl.com
|
||||
0.0.0.0 www.indianporngirl.com
|
||||
0.0.0.0 www.justsherlynchopra.com
|
||||
0.0.0.0 www.nakedgirls.mobi
|
||||
0.0.0.0 www.partycelebs.com
|
||||
0.0.0.0 www.sexiezpix.com
|
||||
0.0.0.0 www.x4tos.com
|
||||
0.0.0.0 xossipfap.net
|
||||
0.0.0.0 xossipy.com
|
||||
0.0.0.0 xxx.nude.com
|
||||
0.0.0.0 yesleaks.com
|
||||
0.0.0.0 yespornplease.fun
|
||||
0.0.0.0 newsexstory.com
|
||||
0.0.0.0 sexualstories.club
|
||||
0.0.0.0 www.desikahani2.net
|
||||
0.0.0.0 www.desitales2.com
|
||||
0.0.0.0 www.freesexkahani.com
|
||||
0.0.0.0 www.indiansexstories2.net
|
||||
0.0.0.0 www.nonvegstory.com
|
||||
0.0.0.0 www.sex4stories.com
|
||||
0.0.0.0 www.xxxindianstories.com
|
||||
0.0.0.0 www.xxxvasna.com
|
||||
0.0.0.0 xxxvasna.disqus.com
|
||||
0.0.0.0 alldesitube.pro
|
||||
0.0.0.0 indianporntv.net
|
||||
0.0.0.0 nightxxxpics.com
|
||||
0.0.0.0 wetwetpics.com
|
||||
0.0.0.0 www.assxplanet.com
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "brijrajparmar27 - pornography",
|
||||
"description": "hosts files for DNS based content blocking",
|
||||
"homeurl": "https://github.com/brijrajparmar27/host-sources",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/brijrajparmar27/host-sources/issues",
|
||||
"url": "https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts",
|
||||
"license": "CC BY 4.0"
|
||||
}
|
||||
+16717
-2861
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,7 @@
|
||||
"homeurl": "https://github.com/Clefspeare13/pornhosts",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Clefspeare13/pornhosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts",
|
||||
"url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts",
|
||||
"url.old": "https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/download_here/0.0.0.0/hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
@@ -7,14 +7,20 @@
|
||||
127.0.0.1 deathaddict.com
|
||||
127.0.0.1 deathandreality.com
|
||||
127.0.0.1 gorebrasil.com
|
||||
127.0.0.1 goreforum.com
|
||||
127.0.0.1 goregrish.com
|
||||
127.0.0.1 leakreality.com
|
||||
127.0.0.1 theync.com
|
||||
127.0.0.1 miscopy.com
|
||||
127.0.0.1 mixtape.moe
|
||||
127.0.0.1 recipepes.com
|
||||
127.0.0.1 sickjunk.com
|
||||
127.0.0.1 elblogdelnarco.com
|
||||
127.0.0.1 kaotic.com
|
||||
127.0.0.1 ogrish.tv
|
||||
127.0.0.1 thepinsta.com
|
||||
127.0.0.1 vidmax.com
|
||||
127.0.0.1 devilpain.com
|
||||
127.0.0.1 crazypain.com
|
||||
127.0.0.1 sadovids.com
|
||||
|
||||
|
||||
+4032
-889
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
# Title: Social media hosts
|
||||
# Updated: June 20, 2019
|
||||
# Updated: June 27, 2021
|
||||
|
||||
# Google Plus
|
||||
#127.0.0.1 plus.l.google.com
|
||||
@@ -1752,6 +1752,7 @@
|
||||
127.0.0.1 help.instagram.com
|
||||
127.0.0.1 i.instagram.com
|
||||
127.0.0.1 images.instagram.com
|
||||
127.0.0.1 instagr.am
|
||||
127.0.0.1 instagram-shv-01-ams2.fbcdn.net
|
||||
127.0.0.1 instagram-shv-01-ams3.fbcdn.net
|
||||
127.0.0.1 instagram-shv-01-ash5.fbcdn.net
|
||||
@@ -2031,6 +2032,7 @@
|
||||
127.0.0.1 video.cdninstagram.com
|
||||
127.0.0.1 white.ish.instagram.com
|
||||
127.0.0.1 www.cdninstagram.com
|
||||
127.0.0.1 www.instagr.am
|
||||
127.0.0.1 www.instagram.com
|
||||
127.0.0.1 z-p15-scontent-bru2-1.cdninstagram.com
|
||||
127.0.0.1 z-p15-scontent-cdg2-1.cdninstagram.com
|
||||
@@ -2844,3 +2846,13 @@
|
||||
127.0.0.1 th.datememe.com
|
||||
127.0.0.1 vi.datememe.com
|
||||
127.0.0.1 zh-cn.datememe.com
|
||||
|
||||
# clubhouse
|
||||
127.0.0.1 joinclubhouse.com
|
||||
127.0.0.1 www.joinclubhouse.com
|
||||
127.0.0.1 welcome.joinclubhouse.com
|
||||
127.0.0.1 community.joinclubhouse.com
|
||||
127.0.0.1 staging.joinclubhouse.com
|
||||
127.0.0.1 admin-staging.joinclubhouse.com
|
||||
127.0.0.1 ios.joinclubhouse.com
|
||||
127.0.0.1 testflight.joinclubhouse.com
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
description = "Unified hosts file with base extensions.";
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
outputs = { self, nixpkgs, flake-utils }: {
|
||||
nixosModule = { config, ... }:
|
||||
with nixpkgs.lib;
|
||||
let
|
||||
cfg = config.networking.stevenBlackHosts;
|
||||
alternatesList = (if cfg.blockFakenews then [ "fakenews" ] else []) ++
|
||||
(if cfg.blockGambling then [ "gambling" ] else []) ++
|
||||
(if cfg.blockPorn then [ "porn" ] else []) ++
|
||||
(if cfg.blockSocial then [ "social" ] else []);
|
||||
alternatesPath = "alternates/" + builtins.concatStringsSep "-" alternatesList + "/";
|
||||
in
|
||||
{
|
||||
options.networking.stevenBlackHosts = {
|
||||
enable = mkEnableOption "Use Steven Black's hosts file as extra hosts.";
|
||||
blockFakenews = mkEnableOption "Additionally block fakenews hosts.";
|
||||
blockGambling = mkEnableOption "Additionally block gambling hosts.";
|
||||
blockPorn = mkEnableOption "Additionally block porn hosts.";
|
||||
blockSocial = mkEnableOption "Additionally block social hosts.";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
networking.extraHosts =
|
||||
builtins.readFile (
|
||||
"${self}/" + (if alternatesList != [] then alternatesPath else "") + "hosts"
|
||||
);
|
||||
};
|
||||
};
|
||||
} // flake-utils.lib.eachDefaultSystem
|
||||
(system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
python3
|
||||
python3Packages.flake8
|
||||
python3Packages.requests
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright © 2021 Steven Black
|
||||
Copyright © 2022 Steven Black
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the “Software”), to deal in
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hosts",
|
||||
"version": "3.6.2",
|
||||
"version": "3.9.62",
|
||||
"description": "Extending and consolidating hosts files from several well-curated sources like adaway.org, mvps.org, malwaredomainlist.com, someonewhocares.org, and potentially others. You can optionally invoke extensions to block additional sites by category.",
|
||||
"main": "",
|
||||
"private": true,
|
||||
@@ -35,6 +35,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/StevenBlack/hosts#readme",
|
||||
"devDependencies": {
|
||||
"release-it": "^14.2.2"
|
||||
"release-it": "^14.12.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **April 09 2021**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 78,482 entries.
|
||||
* Last updated: **April 09 2022**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 110,300 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
## List of all hosts file variants
|
||||
@@ -30,27 +30,27 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 78,482 | [link](http://sbc.io/hosts/hosts)
|
||||
Unified hosts **+ fakenews** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) | 80,677 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 80,864 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 104,627 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 81,287 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 83,059 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 106,822 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 83,482 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 107,009 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 83,669 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 107,431 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 109,204 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 85,864 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 109,626 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 109,813 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 112,008 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
Unified hosts = **(adware + malware)** | [Readme](https://github.com/StevenBlack/hosts/blob/master/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) | 110,300 | [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) | 112,495 | [link](http://sbc.io/hosts/alternates/fakenews/hosts)
|
||||
Unified hosts **+ gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) | 112,838 | [link](http://sbc.io/hosts/alternates/gambling/hosts)
|
||||
Unified hosts **+ porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) | 153,186 | [link](http://sbc.io/hosts/alternates/porn/hosts)
|
||||
Unified hosts **+ social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) | 113,115 | [link](http://sbc.io/hosts/alternates/social/hosts)
|
||||
Unified hosts **+ fakenews + gambling** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) | 115,033 | [link](http://sbc.io/hosts/alternates/fakenews-gambling/hosts)
|
||||
Unified hosts **+ fakenews + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) | 155,380 | [link](http://sbc.io/hosts/alternates/fakenews-porn/hosts)
|
||||
Unified hosts **+ fakenews + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) | 115,310 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 155,724 | [link](http://sbc.io/hosts/alternates/gambling-porn/hosts)
|
||||
Unified hosts **+ gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) | 115,653 | [link](http://sbc.io/hosts/alternates/gambling-social/hosts)
|
||||
Unified hosts **+ porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) | 156,000 | [link](http://sbc.io/hosts/alternates/porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) | 157,919 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn/hosts)
|
||||
Unified hosts **+ fakenews + gambling + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) | 117,848 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-social/hosts)
|
||||
Unified hosts **+ fakenews + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) | 158,194 | [link](http://sbc.io/hosts/alternates/fakenews-porn-social/hosts)
|
||||
Unified hosts **+ gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) | 158,538 | [link](http://sbc.io/hosts/alternates/gambling-porn-social/hosts)
|
||||
Unified hosts **+ fakenews + gambling + porn + social** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/fakenews-gambling-porn-social/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) | 160,733 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -65,23 +65,22 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | frequently | CC BY 3.0 | [issues](https://github.com/AdAway/adaway.github.io/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Dead | Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
AdguardTeam cname trackers | CNAME-cloaked tracking abuses. |[link](https://github.com/AdguardTeam/cname-trackers) | [raw](https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/combined_disguised_trackers_justdomains.txt) | occasionally | MIT | [issues](https://github.com/AdguardTeam/cname-trackers/issues)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | MIT | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.app/) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
MetaMask eth-phishing-detect | Phishing domains targeting Ethereum users. |[link](https://github.com/MetaMask/eth-phishing-detect) | [raw](https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt) | frequent | DON'T BE A DICK PUBLIC LICENSE | [issues](https://github.com/MetaMask/eth-phishing-detect/issues)
|
||||
minecraft-hosts | Minecraft related tracker hosts |[link](https://github.com/jamiemansfield/minecraft-hosts) | [raw](https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt) | occasionally | CC0-1.0 | [issues](https://github.com/jamiemansfield/minecraft-hosts/issues)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](https://winhelp2002.mvps.org/) | [raw](https://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
orca.pet | This is a domain list for blocking phishing and malware sites . |[link](https://orca.pet/notonmyshift/) | [raw](https://orca.pet/notonmyshift/hosts.txt) | frequent | ISC | [issues](https://github.com/socram8888/not-on-my-shift)
|
||||
osint.digitalside.it | DigitalSide Threat-Intel malware domains list. |[link](https://github.com/davidonzo/Threat-Intel) | [raw](https://raw.githubusercontent.com/davidonzo/Threat-Intel/master/lists/latestdomains.piHole.txt) | daily | MIT | [issues](https://github.com/davidonzo/Threat-Intel/issues)
|
||||
shady-hosts | Analytics, ad, and activity monitoring hosts |[link](https://github.com/shreyasminocha/shady-hosts) | [raw](https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts) | occasionally | CC0-1.0 | [issues](https://github.com/shreyasminocha/shady-hosts/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org/) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](mailto:hosts@someonewhocares.org)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | MIT | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:cosntacptamem@abuse.ch)
|
||||
URLHaus | A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs. |[link](https://urlhaus.abuse.ch/) | [raw](https://urlhaus.abuse.ch/downloads/hostfile/) | weekly | CC0 | [issues](mailto:contactme@abuse.ch)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
|
||||
|
||||
@@ -115,9 +114,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -127,7 +126,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -144,7 +143,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -205,23 +204,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -323,16 +305,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -351,26 +381,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -384,36 +415,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -435,11 +460,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -453,30 +475,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+97
-80
@@ -30,7 +30,7 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
The **Non GitHub mirror** is the link to use for some hosts file managers like
|
||||
[Hostsman for Windows](http://www.abelhadigital.com/hostsman/) that don't work
|
||||
[Hostsman for Windows](https://www.abelhadigital.com/hostsman/) that don't work
|
||||
with GitHub download links.
|
||||
|
||||
Host file recipe | Readme | Raw hosts | Unique domains | Non GitHub mirror
|
||||
@@ -79,9 +79,9 @@ Access the terminal like this:
|
||||
docker run -it (containerid) bash
|
||||
```
|
||||
|
||||
### Option 2: Generate it in your own environment.
|
||||
### Option 2: Generate it in your own environment
|
||||
|
||||
To generate your own amalgamated hosts files you will need Python 3.5 or later.
|
||||
To generate your own amalgamated hosts files you will need Python 3.6 or later.
|
||||
|
||||
First, install the dependencies with:
|
||||
|
||||
@@ -91,7 +91,7 @@ pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user).
|
||||
|
||||
### Common steps regardless of your development environment.
|
||||
### Common steps regardless of your development environment
|
||||
|
||||
To **run unit tests**, in the top-level directory, run:
|
||||
|
||||
@@ -108,7 +108,7 @@ will use the `hosts` file that's already there.
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
```
|
||||
|
||||
#### Command line options:
|
||||
#### Command line options
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
@@ -169,23 +169,6 @@ in hosts format to the generated hosts file.
|
||||
`--whitelist <whitelistfile>`, or `-w <whitelistfile>`: Use the given whitelist file
|
||||
to remove hosts from the generated hosts file.
|
||||
|
||||
#### Using NixOS:
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
@@ -287,16 +270,64 @@ We tried that. Using `0` doesn't work universally.
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**macOS Catalina:** `/private/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
* **macOS (until 10.14.x macOS Mojave), iOS, Android, Linux**: `/etc/hosts` file.
|
||||
* **macOS Catalina:** `/private/etc/hosts` file.
|
||||
* **Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## Gentoo
|
||||
|
||||
Gentoo users may find [`sb-hosts`](https://github.com/PF4Public/gentoo-overlay/tree/master/net-misc/sb-hosts) in [::pf4public](https://github.com/PF4Public/gentoo-overlay) Gentoo overlay
|
||||
|
||||
## NixOS
|
||||
|
||||
To install hosts file on your machine add the following into your `configuration.nix`:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
}
|
||||
```
|
||||
|
||||
* NOTE: Change `hostsPath` if you need other versions of hosts file.
|
||||
* NOTE: The call to `fetchurl` is impure.
|
||||
Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
|
||||
|
||||
### Nix Flake
|
||||
|
||||
NixOS installations which are managed through *flakes* can use the hosts file like this:
|
||||
|
||||
```nix
|
||||
{
|
||||
inputs.hosts.url = github:StevenBlack/hosts;
|
||||
outputs = { self, nixpkgs, hosts }: {
|
||||
nixosConfigurations.my-hostname = {
|
||||
system = "<architecture>";
|
||||
modules = [
|
||||
hosts.nixosModule {
|
||||
networking.stevenBlackHosts.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The hosts extensions are also available with the following options:
|
||||
|
||||
```nix
|
||||
{
|
||||
networking.stevenBlackHosts = {
|
||||
blockFakenews = true;
|
||||
blockGambling = true;
|
||||
blockPorn = true;
|
||||
blockSocial = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
(NOTE: See also some third-party Hosts managers, listed below.)
|
||||
@@ -315,26 +346,27 @@ saying that for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start → Run → `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button → type `cmd` → right-click Command Prompt →
|
||||
"Run as Administrator"
|
||||
* **Windows XP**: Start → Run → `cmd`
|
||||
* **Windows Vista, 7**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 8**: Start → Swipe Up → All Apps → Windows System → right-click Command Prompt → "Run as Administrator"
|
||||
* **Windows 10**: Start Button → type `cmd` → right-click Command Prompt → "Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
### Warning: Using this `hosts` file in Windows may require disabling DNS Cache service
|
||||
|
||||
Windows has issues with larger hosts files. Recent changes in security within Windows 10 denies
|
||||
access to changing services via other tools except registry hacks. Use the `disable-dnscache-service-win.cmd`
|
||||
file to make proper changes to the Windows registry. You will need to reboot your device once that's done.
|
||||
See the [the comments within the `cmd` file](https://github.com/StevenBlack/hosts/blob/master/disable-dnscache-service-win.cmd)
|
||||
for more details.
|
||||
|
||||
## Reloading hosts file
|
||||
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
:-----------------------------------------------------------------------------------------
|
||||
The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: <https://superuser.com/questions/723703>
|
||||
|
||||
### Windows
|
||||
|
||||
@@ -348,36 +380,30 @@ ipconfig /flushdns
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Debian/Ubuntu** `sudo service network-manager restart`
|
||||
* **Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
* **Linux with systemd**: `sudo systemctl restart network.service`
|
||||
* **Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
* **Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
* **RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
* **FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```sh
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```text
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
* **NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed.
|
||||
* **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### macOS
|
||||
|
||||
@@ -399,11 +425,8 @@ This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
@@ -417,30 +440,24 @@ devices under a variety of operating systems.
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutoUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hosts-BL](https://github.com/ScriptTiger/Hosts-BL "Hosts-BL") is a simple tool to handle hosts file black lists. It can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries. In addition, it can also convert black lists to multiple other black list formats compatible with other software, such as dnsmasq, DualServer, RPZ, Privoxy, and Unbound, to name a few.
|
||||
* [Host Minder](https://github.com/jeremehancock/hostminder#readme) is a simple GUI that allows you to easily update your /etc/hosts file to one of four consolidated hosts files from StevenBlack/hosts. It is provided as a deb package and comes pre-installed on [UbuntuCE](https://ubuntuce.com/).
|
||||
* [Maza ad blocking](https://github.com/tanrax/maza-ad-blocking) is a bash script that automatically updates host file. You can also update a fresh copy. And each time it generates a dnsmasq-compatible configuration file. Fast installation, compatible with MacOS, Linux and BSD.
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources. This is a very interesting project to set up yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-poe-edition-the-network-wide-ad-blocker).
|
||||
|
||||
* [macOS Scripting for Configuration, Backup and Restore](https://github.com/tiiiecherle/osx_install_config) helps customizing, re-installing and using macOS. It also provides a [script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/hosts_file_generator.sh) to install and update the hosts file using this project on macOS. In combination with a [launchd](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/launchd_and_script/com.hostsfile.install_update.plist) it updates the hosts file every x days (default is 4). To install both, download the GitHub repo and run the [install script](https://github.com/tiiiecherle/osx_install_config/blob/master/09_launchd/9b_run_on_boot/root/1_hosts_file/install_hosts_file_generator_and_launchdservice.sh) from the directory one level up.
|
||||
* [Pi-hole](https://pi-hole.net/) is a network-wide DHCP server and ad blocker that runs on [Raspberry Pi](https://en.wikipedia.org/wiki/Raspberry_Pi). Pi-hole uses this repository as one of its sources.
|
||||
* [Block ads and malware via local BIND9 DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver/ "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
* [dnsmasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This GitHub gist has a short shell script (bash, will work on any 'nix) and uses `wget` & `awk` present in most distros, to fetch a specified hosts file and convert it to the format required by dnsmasq. Supports IPv4 and IPv6. Designed to be used as either a shell script, or can be dropped into `/etc/cron.weekly` (or wherever suits). The script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
* [BlackHosts - Command Line Installer/Updater](https://github.com/Lateralus138/blackhosts) This is a cross-platform command line utility to help install/update hosts files found at this repository.
|
||||
* [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Combining-Blocklists) provides a tool to build block lists from local and remote lists in common formats.
|
||||
|
||||
## Contribute!
|
||||
## Contribute
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
requests>=2.20
|
||||
flake8>=3.8,<=4.0
|
||||
requests ~=2.20
|
||||
flake8 ~=4.0
|
||||
|
||||
+17
-12
@@ -30,7 +30,7 @@ from updateHostsFile import (
|
||||
gather_custom_exclusions,
|
||||
get_defaults,
|
||||
get_file_by_url,
|
||||
is_valid_domain_format,
|
||||
is_valid_user_provided_domain_format,
|
||||
matches_exclusions,
|
||||
move_hosts_file_into_place,
|
||||
normalize_rule,
|
||||
@@ -125,7 +125,7 @@ class TestGetDefaults(Base):
|
||||
"readmedata": {},
|
||||
"readmedatafilename": ("foo" + self.sep + "readmeData.json"),
|
||||
"exclusionpattern": r"([a-zA-Z\d-]+\.){0,}",
|
||||
"exclusionregexs": [],
|
||||
"exclusionregexes": [],
|
||||
"exclusions": [],
|
||||
"commonexclusions": ["hulu.com"],
|
||||
"blacklistfile": "foo" + self.sep + "blacklist",
|
||||
@@ -543,7 +543,9 @@ class TestGatherCustomExclusions(BaseStdout):
|
||||
# Can only test in the invalid domain case
|
||||
# because of the settings global variable.
|
||||
@mock.patch("updateHostsFile.input", side_effect=["foo", "no"])
|
||||
@mock.patch("updateHostsFile.is_valid_domain_format", return_value=False)
|
||||
@mock.patch(
|
||||
"updateHostsFile.is_valid_user_provided_domain_format", return_value=False
|
||||
)
|
||||
def test_basic(self, *_):
|
||||
gather_custom_exclusions("foo", [])
|
||||
|
||||
@@ -552,7 +554,9 @@ class TestGatherCustomExclusions(BaseStdout):
|
||||
self.assertIn(expected, output)
|
||||
|
||||
@mock.patch("updateHostsFile.input", side_effect=["foo", "yes", "bar", "no"])
|
||||
@mock.patch("updateHostsFile.is_valid_domain_format", return_value=False)
|
||||
@mock.patch(
|
||||
"updateHostsFile.is_valid_user_provided_domain_format", return_value=False
|
||||
)
|
||||
def test_multiple(self, *_):
|
||||
gather_custom_exclusions("foo", [])
|
||||
|
||||
@@ -634,7 +638,7 @@ class TestMatchesExclusions(Base):
|
||||
self.assertTrue(matches_exclusions(domain, exclusion_regexes))
|
||||
|
||||
def test_match_raw_list(self):
|
||||
exclusion_regexes = [r".*\.com", r".*\.org", r".*\.edu"]
|
||||
exclusion_regexes = [r".*\.com", r".*\.org", r".*\.edu", r".*@.*"]
|
||||
exclusion_regexes = [re.compile(regex) for regex in exclusion_regexes]
|
||||
|
||||
for domain in [
|
||||
@@ -642,6 +646,7 @@ class TestMatchesExclusions(Base):
|
||||
"yahoo.com",
|
||||
"adaway.org",
|
||||
"education.edu",
|
||||
"a.stro.lo.gy@45.144.225.135",
|
||||
]:
|
||||
self.assertTrue(matches_exclusions(domain, exclusion_regexes))
|
||||
|
||||
@@ -1600,8 +1605,8 @@ class DomainToIDNA(Base):
|
||||
|
||||
# Test with multiple tabulations as separator of domain and space and
|
||||
# tabulation as separator or comments.
|
||||
for i in range(len(self.domains)):
|
||||
data = (b"0.0.0.0\t\t\t" + self.domains[i] + b" \t # Hello World").decode(
|
||||
for i, domain in enumerate(self.domains):
|
||||
data = (b"0.0.0.0\t\t\t" + domain + b" \t # Hello World").decode(
|
||||
"utf-8"
|
||||
)
|
||||
expected = "0.0.0.0\t\t\t" + self.expected_domains[i] + " \t # Hello World"
|
||||
@@ -1753,14 +1758,14 @@ class TestQueryYesOrNo(BaseStdout):
|
||||
self.assertIn(expected, output)
|
||||
|
||||
|
||||
class TestIsValidDomainFormat(BaseStdout):
|
||||
class TestIsValidUserProvidedDomainFormat(BaseStdout):
|
||||
def test_empty_domain(self):
|
||||
self.assertFalse(is_valid_domain_format(""))
|
||||
self.assertFalse(is_valid_user_provided_domain_format(""))
|
||||
|
||||
output = sys.stdout.getvalue()
|
||||
expected = "You didn't enter a domain. Try again."
|
||||
|
||||
self.assertTrue(expected in output)
|
||||
self.assertIn(expected, output)
|
||||
|
||||
def test_invalid_domain(self):
|
||||
expected = "Do not include www.domain.com or http(s)://domain.com. Try again."
|
||||
@@ -1770,7 +1775,7 @@ class TestIsValidDomainFormat(BaseStdout):
|
||||
"https://github.com",
|
||||
"http://www.google.com",
|
||||
]:
|
||||
self.assertFalse(is_valid_domain_format(invalid_domain))
|
||||
self.assertFalse(is_valid_user_provided_domain_format(invalid_domain))
|
||||
|
||||
output = sys.stdout.getvalue()
|
||||
sys.stdout = StringIO()
|
||||
@@ -1779,7 +1784,7 @@ class TestIsValidDomainFormat(BaseStdout):
|
||||
|
||||
def test_valid_domain(self):
|
||||
for valid_domain in ["github.com", "travis.org", "twitter.com"]:
|
||||
self.assertTrue(is_valid_domain_format(valid_domain))
|
||||
self.assertTrue(is_valid_user_provided_domain_format(valid_domain))
|
||||
|
||||
output = sys.stdout.getvalue()
|
||||
sys.stdout = StringIO()
|
||||
|
||||
+11
-7
@@ -34,7 +34,7 @@ try:
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"This project's dependencies have changed. The Requests library ("
|
||||
"https://requests.readthedocs.io/en/master/) is now required."
|
||||
"https://docs.python-requests.org/en/latest/) is now required."
|
||||
)
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ def get_defaults():
|
||||
"readmedata": {},
|
||||
"readmedatafilename": path_join_robust(BASEDIR_PATH, "readmeData.json"),
|
||||
"exclusionpattern": r"([a-zA-Z\d-]+\.){0,}",
|
||||
"exclusionregexs": [],
|
||||
"exclusionregexes": [],
|
||||
"exclusions": [],
|
||||
"commonexclusions": ["hulu.com"],
|
||||
"blacklistfile": path_join_robust(BASEDIR_PATH, "blacklist"),
|
||||
@@ -243,7 +243,7 @@ def main():
|
||||
)
|
||||
|
||||
auto = settings["auto"]
|
||||
exclusion_regexes = settings["exclusionregexs"]
|
||||
exclusion_regexes = settings["exclusionregexes"]
|
||||
source_data_filename = settings["sourcedatafilename"]
|
||||
|
||||
update_sources = prompt_for_update(freshen=settings["freshen"], update_auto=auto)
|
||||
@@ -571,7 +571,7 @@ def gather_custom_exclusions(exclusion_pattern, exclusion_regexes):
|
||||
domain_prompt = "Enter the domain you want to exclude (e.g. facebook.com): "
|
||||
user_domain = input(domain_prompt)
|
||||
|
||||
if is_valid_domain_format(user_domain):
|
||||
if is_valid_user_provided_domain_format(user_domain):
|
||||
exclusion_regexes = exclude_domain(
|
||||
user_domain, exclusion_pattern, exclusion_regexes
|
||||
)
|
||||
@@ -943,6 +943,10 @@ def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
|
||||
if not stripped_rule or matches_exclusions(stripped_rule, exclusion_regexes):
|
||||
continue
|
||||
|
||||
# Issue #1628
|
||||
if "@" in stripped_rule:
|
||||
continue
|
||||
|
||||
# Normalize rule
|
||||
hostname, normalized_rule = normalize_rule(
|
||||
stripped_rule,
|
||||
@@ -951,7 +955,7 @@ def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
|
||||
)
|
||||
|
||||
for exclude in exclusions:
|
||||
if re.search(r"[\s\.]" + re.escape(exclude) + r"\s", line):
|
||||
if re.search(r"(^|[\s\.])" + re.escape(exclude) + r"\s", line):
|
||||
write_line = False
|
||||
break
|
||||
|
||||
@@ -1573,7 +1577,7 @@ def query_yes_no(question, default="yes"):
|
||||
|
||||
Inspired by the following implementation:
|
||||
|
||||
http://code.activestate.com/recipes/577058
|
||||
https://code.activestate.com/recipes/577058/
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -1612,7 +1616,7 @@ def query_yes_no(question, default="yes"):
|
||||
return reply == "yes"
|
||||
|
||||
|
||||
def is_valid_domain_format(domain):
|
||||
def is_valid_user_provided_domain_format(domain):
|
||||
"""
|
||||
Check whether a provided domain is valid.
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
|
||||
|
||||
:UpdateHosts
|
||||
:: Update hosts file
|
||||
py updateHostsFile.py --auto --minimise
|
||||
py updateHostsFile.py --auto --minimise %*
|
||||
|
||||
:: Copy over the new hosts file in-place
|
||||
copy /y /v hosts "%WINDIR%\System32\drivers\etc\"
|
||||
|
||||
Reference in New Issue
Block a user