mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-26 22:05:58 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb0b365a5f | ||
|
|
014164e80e | ||
|
|
f0b543ebc6 | ||
|
|
089e55c5cd | ||
|
|
5c407067b1 | ||
|
|
dc6b16cb37 | ||
|
|
ae4e66b45e | ||
|
|
c966db058c | ||
|
|
e9eed28417 | ||
|
|
42846e4fe9 | ||
|
|
9126d65d05 | ||
|
|
c5159684dc | ||
|
|
30d71ef9b1 | ||
|
|
92f2ec27c3 | ||
|
|
7804fb2c68 | ||
|
|
baca30169e | ||
|
|
20d752f921 | ||
|
|
a134843ffe | ||
|
|
dd1170dec9 | ||
|
|
011c020641 | ||
|
|
6ddfffa055 | ||
|
|
3ba08aa3c8 | ||
|
|
2859530366 | ||
|
|
839b561b70 | ||
|
|
a114531dc1 | ||
|
|
da8e556071 | ||
|
|
f7f9178579 | ||
|
|
976fe60864 | ||
|
|
3d8e5510dc | ||
|
|
0d4c7b800a | ||
|
|
1011b0166f | ||
|
|
ab87ad9dd7 | ||
|
|
fe003c81fa | ||
|
|
470f79847f | ||
|
|
8544e91514 | ||
|
|
abf39a5d28 | ||
|
|
f143df691f | ||
|
|
1af37f633f | ||
|
|
b4c15c09a4 | ||
|
|
a19791fd4a | ||
|
|
d0654c9b00 | ||
|
|
5fdd5c802a | ||
|
|
d7472887b2 | ||
|
|
0aa67e7a7a | ||
|
|
518185c029 | ||
|
|
c9d95dbcc4 | ||
|
|
3f29c27a9c | ||
|
|
63687132bc | ||
|
|
2c886af8ff | ||
|
|
90da818f5c | ||
|
|
97c4b48778 | ||
|
|
d55678a632 | ||
|
|
3d5f78cefc | ||
|
|
669b4e50dd | ||
|
|
48009cbe2b | ||
|
|
18fb716945 | ||
|
|
c3a39dd44c | ||
|
|
7594f1328b | ||
|
|
979cf641e5 | ||
|
|
7544059e4b | ||
|
|
2b1485ed81 | ||
|
|
d5ecfca795 | ||
|
|
9f9b3dc0ef | ||
|
|
78614d2cdf | ||
|
|
b9286181e4 | ||
|
|
3685d87a00 | ||
|
|
b01d5c0dda | ||
|
|
a9250fc253 | ||
|
|
4091dc8a45 | ||
|
|
305eb73833 | ||
|
|
aba3723b9f | ||
|
|
7f84edeb0e | ||
|
|
2dd86cc412 | ||
|
|
3535dcf18f | ||
|
|
54e8e3ee51 | ||
|
|
9a9d039c1f | ||
|
|
2d08a962cc | ||
|
|
e29fce70dd | ||
|
|
347d213bd5 | ||
|
|
427cc538ea | ||
|
|
0a7e473d39 | ||
|
|
cac8facf17 | ||
|
|
2f6bb25aca | ||
|
|
1511089882 | ||
|
|
3157d222a3 | ||
|
|
d072586d5e | ||
|
|
b607495d8e | ||
|
|
218c3d279f | ||
|
|
78734c7aae | ||
|
|
1a503107cc | ||
|
|
3a8c178f58 | ||
|
|
be3cf3b6bd | ||
|
|
dbd55ce99e | ||
|
|
ab943c3914 | ||
|
|
39ad8019bb | ||
|
|
cb5dc51fe1 | ||
|
|
ad85c926f3 | ||
|
|
aa3e18a970 | ||
|
|
fcc2aaa3d2 | ||
|
|
9ed630938b | ||
|
|
9f3be47ab9 | ||
|
|
bfe983a30d | ||
|
|
59e491a197 | ||
|
|
edeb228caf | ||
|
|
b3574e1996 | ||
|
|
d1ea913f57 | ||
|
|
e778fe704d | ||
|
|
312944426c | ||
|
|
05a3e530dc | ||
|
|
0f9b2439d1 | ||
|
|
2d1d2a3f3d | ||
|
|
4e4e18fed7 | ||
|
|
2093fb7833 | ||
|
|
5945a559cd | ||
|
|
0587cbe790 | ||
|
|
045e7268a9 | ||
|
|
b915af65cd | ||
|
|
1f4d220bae | ||
|
|
4ee00eba8f | ||
|
|
d6168450ee | ||
|
|
f5f2616484 | ||
|
|
cc17e4b71e | ||
|
|
03aa434c17 | ||
|
|
867f19c672 | ||
|
|
449a0d7f61 | ||
|
|
f20a3ca11e | ||
|
|
2b328ac425 | ||
|
|
09fedc30fd | ||
|
|
3543bdb89b | ||
|
|
a1b08abe89 | ||
|
|
82063031b0 | ||
|
|
8fc214edbf | ||
|
|
d7cc7e5716 | ||
|
|
3c7b853a21 | ||
|
|
34e99f79f5 | ||
|
|
b8f3bfcf5c | ||
|
|
e1c3d2ccb1 | ||
|
|
411be981bf | ||
|
|
e1ca7f3375 | ||
|
|
174a5ba732 | ||
|
|
4163711605 | ||
|
|
e08c625576 | ||
|
|
e56bf74c53 | ||
|
|
332836927d | ||
|
|
e65dfcf63e | ||
|
|
3d6b4b3b57 | ||
|
|
238d46f2f6 | ||
|
|
5b0420f103 | ||
|
|
8c2099b0ed | ||
|
|
a02fae96cf | ||
|
|
e54e1d624c | ||
|
|
0843d83d09 | ||
|
|
9fbcff27e0 | ||
|
|
bd4df222c9 | ||
|
|
f97458927c | ||
|
|
b93b427a6e | ||
|
|
05dad7e657 | ||
|
|
5386cec268 | ||
|
|
05fc18a46f | ||
|
|
5f772618f7 | ||
|
|
36a6bcdc3f | ||
|
|
cd32e90bdf | ||
|
|
4725aab78c | ||
|
|
0a4d2661e1 | ||
|
|
a04c66f1b3 | ||
|
|
85038558ef | ||
|
|
c52725dcf9 | ||
|
|
15fa2070ca | ||
|
|
cb5cac38af | ||
|
|
da669df0a5 | ||
|
|
b3b5808b10 | ||
|
|
bf8cdacca2 | ||
|
|
b1664ca84e | ||
|
|
ae3b3e6ff8 | ||
|
|
0f457c7c02 | ||
|
|
5c831c05d7 | ||
|
|
77cbe1e366 | ||
|
|
36fab9ad8f | ||
|
|
cd3004fafe | ||
|
|
820b456810 | ||
|
|
e3c53841f2 | ||
|
|
a851f76f03 | ||
|
|
ef7f6d72b9 | ||
|
|
bd0d6fe534 | ||
|
|
bb02c6e521 | ||
|
|
fcaca8551e | ||
|
|
3cfbdad90e | ||
|
|
4070126505 | ||
|
|
40c186a683 | ||
|
|
aed8c73822 | ||
|
|
9cf32f6e57 | ||
|
|
5459f91833 | ||
|
|
9d25326cf2 | ||
|
|
fffd9af405 | ||
|
|
c3118fcae2 | ||
|
|
192a4f7642 | ||
|
|
349980b6bd | ||
|
|
b41da035f3 | ||
|
|
41be41f1d0 | ||
|
|
6c8f725821 | ||
|
|
16f2db0a19 | ||
|
|
a16298a3ff | ||
|
|
c1cace3904 | ||
|
|
e61335f7e1 | ||
|
|
a4e65c93ec | ||
|
|
7f2152cde6 | ||
|
|
f4e81b3117 | ||
|
|
51d48d0e53 | ||
|
|
1d3155a0b5 | ||
|
|
fb14d572ef | ||
|
|
ad5ff07bf2 | ||
|
|
ff8739aad1 | ||
|
|
ebecd49237 | ||
|
|
c3f0463d20 | ||
|
|
d0c30e77a2 | ||
|
|
159e14a156 | ||
|
|
46268431b4 | ||
|
|
b6d4ff5f25 | ||
|
|
ca308932ce | ||
|
|
34df0c48eb | ||
|
|
b7d496e964 | ||
|
|
64af8e1cfd | ||
|
|
a79b8df37e | ||
|
|
e55afb8cb4 | ||
|
|
dcc5d6d1a7 | ||
|
|
cd4092a599 | ||
|
|
a6d019d0cd | ||
|
|
12f0710ea8 | ||
|
|
70fbf2245c | ||
|
|
7c02fb2e35 | ||
|
|
c0dd835958 | ||
|
|
cc91583bc8 | ||
|
|
38b3de7a79 | ||
|
|
97d3065543 | ||
|
|
74c2bfbcbd | ||
|
|
8a4d8b037d | ||
|
|
90420ae751 | ||
|
|
1da0da2882 | ||
|
|
9175d957e0 | ||
|
|
b2caf0616f | ||
|
|
c6fc7ddc8c | ||
|
|
45afdf0775 | ||
|
|
b60e9e03ce | ||
|
|
4d9b648691 | ||
|
|
2daf2b0352 | ||
|
|
98e5b0a06e | ||
|
|
cc71463569 | ||
|
|
b3fbc7c43e | ||
|
|
dfe998b87f | ||
|
|
9f374d10d0 | ||
|
|
53148b6242 | ||
|
|
3d192fb98c | ||
|
|
6e1c186f5e | ||
|
|
6b06465bc8 | ||
|
|
3a84cf33f9 | ||
|
|
5c69826a98 | ||
|
|
df29ed238f | ||
|
|
e9f696b935 | ||
|
|
9febbba276 | ||
|
|
bcd66b2015 | ||
|
|
6671211fac | ||
|
|
117034cada | ||
|
|
420b104b35 | ||
|
|
0d9c70300f | ||
|
|
a8c9fa0b34 | ||
|
|
f5a70c0f0c | ||
|
|
5bd9e321d8 | ||
|
|
9f571fd585 | ||
|
|
4f68efdeda | ||
|
|
f604b1e7c4 | ||
|
|
cf12a5200c | ||
|
|
a87064b428 | ||
|
|
6392065518 | ||
|
|
b6346cbf7a | ||
|
|
0dd81a5cae | ||
|
|
b737ce3fd7 | ||
|
|
348f1a81fe | ||
|
|
bd93bc08e2 | ||
|
|
3f7bfc059b | ||
|
|
3a3d58b7ac | ||
|
|
ddf5a72906 | ||
|
|
82e8febbe4 | ||
|
|
55789a40bd | ||
|
|
f0a9692c17 | ||
|
|
423cd3d152 | ||
|
|
2c6b47fbd7 | ||
|
|
10bba14590 | ||
|
|
1194e1cd1e | ||
|
|
8f32865d24 | ||
|
|
e26481d90c | ||
|
|
b1fad010a6 | ||
|
|
b59510383e | ||
|
|
9dca2bc2b7 | ||
|
|
7c1d46b203 | ||
|
|
8fed35b85c | ||
|
|
4e6e5eeded | ||
|
|
0935e6e7f3 | ||
|
|
a2989eedc8 | ||
|
|
e07dcb2431 | ||
|
|
259a819cc1 | ||
|
|
c9a4a55fbb | ||
|
|
4b542d110c | ||
|
|
8ad480cf8d | ||
|
|
fb45bdd8aa | ||
|
|
f8bc74f89a | ||
|
|
7f9281ce1a | ||
|
|
22e13de02b | ||
|
|
46c5407bf1 | ||
|
|
a60464a86d | ||
|
|
0e91eae4b0 | ||
|
|
db01feb59c | ||
|
|
e843392f27 | ||
|
|
a02dfd85ef | ||
|
|
9e46722317 | ||
|
|
a4036f856a | ||
|
|
842195d6ec | ||
|
|
fdfdefd176 | ||
|
|
212c44fce0 | ||
|
|
101a5ee2ab | ||
|
|
6559bbfea7 | ||
|
|
1671dda503 | ||
|
|
fd7e3e4cc7 | ||
|
|
0cc023e709 | ||
|
|
49f5a65c52 | ||
|
|
b3e159c16b | ||
|
|
5bf352cdcb | ||
|
|
65b33c326f | ||
|
|
a9e25ffee4 | ||
|
|
ea78dd36c3 | ||
|
|
5a544828c3 | ||
|
|
b92fa130c5 | ||
|
|
f6d1272da0 | ||
|
|
38c342f7db | ||
|
|
0a9a2a3b9d | ||
|
|
904b878509 | ||
|
|
4a86a14cbb | ||
|
|
b2d3a88770 | ||
|
|
cce7500ac9 | ||
|
|
1a6fd33e74 | ||
|
|
498b7c1c9c | ||
|
|
7ee00ffb1f | ||
|
|
1e9311b935 | ||
|
|
26af6ba1db | ||
|
|
ea7d542a14 | ||
|
|
fc2b4b7e3a | ||
|
|
4e14e65647 | ||
|
|
c46bf451d1 | ||
|
|
648df8f811 | ||
|
|
1553048103 | ||
|
|
5f47f1ffe7 | ||
|
|
5774db32a8 | ||
|
|
e909f8144e | ||
|
|
c0d661f388 | ||
|
|
755fe082fa | ||
|
|
1f62bc3778 | ||
|
|
ec362d81c5 | ||
|
|
91b2240ff6 | ||
|
|
13f1869d6e | ||
|
|
1a6c1fb55e | ||
|
|
ed6f65d970 | ||
|
|
429cc64f29 | ||
|
|
92442955bc | ||
|
|
5ee118faf1 | ||
|
|
dda5b87192 | ||
|
|
fc5e0640a7 | ||
|
|
e99c7bbf44 | ||
|
|
275590fcbb | ||
|
|
d8df5f1dc4 | ||
|
|
fbbd071611 | ||
|
|
3adadd9a9a | ||
|
|
ad9c3c80b2 | ||
|
|
0d0ee1bcdc | ||
|
|
39e829b716 | ||
|
|
0782145b8e | ||
|
|
e2be45842b | ||
|
|
f54a27103c | ||
|
|
9ef1e4a1fc | ||
|
|
79e755b77d | ||
|
|
05e0e5baeb | ||
|
|
7c2da6044e | ||
|
|
782a178596 | ||
|
|
f5ef7e02d7 | ||
|
|
e246960c43 | ||
|
|
a49fc7af44 | ||
|
|
deed6786ef | ||
|
|
62ccd5b084 | ||
|
|
58db5143ed | ||
|
|
d60754db68 | ||
|
|
abeb28e6fa | ||
|
|
95529c9b1e | ||
|
|
edb4f57da4 | ||
|
|
eb37488a16 | ||
|
|
bcb1434ecd | ||
|
|
11d8c064ac | ||
|
|
52e25bf7b9 | ||
|
|
4d6f1d9065 | ||
|
|
816bc35f99 | ||
|
|
6a28f41fdc | ||
|
|
cce40a8cc4 | ||
|
|
9cc719fd72 | ||
|
|
4b92652576 | ||
|
|
4cd4b8167a | ||
|
|
1692f5b759 | ||
|
|
928bb5201c | ||
|
|
8f9e80422b | ||
|
|
ddf80f064b | ||
|
|
261555716e | ||
|
|
d93e67db63 | ||
|
|
03bc1636b2 | ||
|
|
8ebad236c6 | ||
|
|
d526f3356f | ||
|
|
05c2c6c825 | ||
|
|
943d0d732d | ||
|
|
1656df776a | ||
|
|
38113e6a2a | ||
|
|
a7d0902868 | ||
|
|
3fba2aad35 | ||
|
|
ec41eb1fa6 | ||
|
|
521777278a | ||
|
|
2d160925f2 | ||
|
|
7cebf12a27 | ||
|
|
02a4d1277c | ||
|
|
eb86def58a | ||
|
|
5c4b50e643 | ||
|
|
b4c311de22 | ||
|
|
96f0635ed0 | ||
|
|
efa9fbc9d0 | ||
|
|
fb5493c22f | ||
|
|
7a7becf136 | ||
|
|
724967eddb | ||
|
|
3360057708 | ||
|
|
9c91762543 | ||
|
|
a2a7d12448 | ||
|
|
7a2ecfccff | ||
|
|
ecce205609 | ||
|
|
876fa2bc99 | ||
|
|
8062b28490 | ||
|
|
6553e70541 | ||
|
|
2e885317c3 | ||
|
|
a95434b646 | ||
|
|
59c2bd671e |
@@ -4,7 +4,6 @@ myhosts
|
||||
blacklist
|
||||
whitelist
|
||||
readmeData.json
|
||||
hosts
|
||||
hosts-*
|
||||
/web.config
|
||||
/__pycache__
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"src": {
|
||||
"tagName": "v%s"
|
||||
"tagName": "v%s",
|
||||
"commitArgs": "-S",
|
||||
"tagArgs": "-S"
|
||||
},
|
||||
"github": {
|
||||
"release": true
|
||||
|
||||
+3
-1
@@ -12,15 +12,17 @@ cache:
|
||||
before_cache:
|
||||
- rm -rf $HOME/miniconda3/pkgs/cache
|
||||
- rm -rf $HOME/miniconda3/envs/hosts
|
||||
- rm -rf $HOME/miniconda3/conda-meta/history
|
||||
- touch $HOME/miniconda3/conda-meta/history
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
env:
|
||||
- PYTHON_VERSION="2.7"
|
||||
- PYTHON_VERSION="3.5"
|
||||
- PYTHON_VERSION="3.6"
|
||||
- PYTHON_VERSION="3.7"
|
||||
|
||||
before_install:
|
||||
- export PATH="$HOME/miniconda3/bin:$PATH"
|
||||
|
||||
+22410
-38763
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, gambling, porn, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* 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 74,908 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 61,225 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,58 +65,55 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -126,10 +121,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -150,15 +141,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -193,7 +183,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -234,11 +224,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -269,13 +259,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -283,15 +272,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -346,7 +339,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -360,6 +353,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -371,9 +379,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -382,7 +390,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -402,10 +410,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -414,4 +428,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+20779
-38434
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, gambling, porn extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 73,751 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 58,750 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,57 +65,53 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -125,10 +119,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -149,15 +139,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -192,7 +181,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -233,11 +222,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -268,13 +257,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -282,15 +270,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -345,7 +337,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -359,6 +351,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -370,9 +377,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -381,7 +388,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -401,10 +408,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -413,4 +426,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+13628
-35609
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, gambling, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 64,831 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 45,493 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,55 +65,51 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -123,10 +117,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -147,15 +137,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -190,7 +179,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -231,11 +220,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -266,13 +255,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -280,15 +268,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -343,7 +335,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -357,6 +349,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -368,9 +375,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -379,7 +386,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -399,10 +406,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -411,4 +424,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+11998
-35281
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, gambling extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 63,673 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 43,017 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,54 +65,49 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -122,10 +115,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -146,15 +135,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -189,7 +177,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -230,11 +218,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -265,13 +253,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -279,15 +266,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -342,7 +333,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -356,6 +347,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -367,9 +373,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -378,7 +384,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -398,10 +404,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -410,4 +422,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+21720
-38753
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, porn, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 73,290 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 58,923 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,57 +65,54 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -125,10 +120,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -149,15 +140,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -192,7 +182,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -233,11 +223,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -268,13 +258,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -282,15 +271,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -345,7 +338,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -359,6 +352,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -370,9 +378,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -381,7 +389,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -401,10 +409,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -413,4 +427,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+20089
-38424
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, porn extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 72,133 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 56,448 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,56 +65,52 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -124,10 +118,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -148,15 +138,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -191,7 +180,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -232,11 +221,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -267,13 +256,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -281,15 +269,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -344,7 +336,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -358,6 +350,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -369,9 +376,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -380,7 +387,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -400,10 +407,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -412,4 +425,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+12938
-35599
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 63,213 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 43,191 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,54 +65,50 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -122,10 +116,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -146,15 +136,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -189,7 +178,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -230,11 +219,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -265,13 +254,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -279,15 +267,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -342,7 +334,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -356,6 +348,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -367,9 +374,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -378,7 +385,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -398,10 +405,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -410,4 +423,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+11307
-35270
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with fakenews extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 62,055 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 40,715 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,53 +65,48 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Fake News | An in-progress collection of fake news outlets. |[link](https://github.com/marktron/fakenews) | [raw](https://raw.githubusercontent.com/marktron/fakenews/master/fakenews) | occasional | MIT | [issues](https://github.com/marktron/fakenews/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -121,10 +114,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -145,15 +134,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -188,7 +176,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -229,11 +217,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -264,13 +252,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -278,15 +265,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -341,7 +332,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -355,6 +346,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -366,9 +372,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -377,7 +383,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -397,10 +403,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -409,4 +421,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+22134
-38759
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with gambling, porn, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 74,239 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 60,283 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,57 +65,54 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -125,10 +120,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -149,15 +140,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -192,7 +182,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -233,11 +223,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -268,13 +258,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -282,15 +271,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -345,7 +338,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -359,6 +352,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -370,9 +378,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -381,7 +389,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -401,10 +409,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -413,4 +427,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+20503
-38430
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with gambling, porn extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 73,082 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 57,808 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,56 +65,52 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -124,10 +118,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -148,15 +138,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -191,7 +180,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -232,11 +221,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -267,13 +256,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -281,15 +269,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -344,7 +336,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -358,6 +350,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -369,9 +376,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -380,7 +387,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -400,10 +407,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -412,4 +425,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+13352
-35605
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with gambling, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 64,162 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 44,551 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,54 +65,50 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Sinfonietta's 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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -122,10 +116,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -146,15 +136,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -189,7 +178,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -230,11 +219,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -265,13 +254,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -279,15 +267,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -342,7 +334,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -356,6 +348,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -367,9 +374,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -378,7 +385,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -398,10 +405,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -410,4 +423,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+11722
-35277
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with gambling extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 63,004 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 42,075 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,53 +65,48 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's gambling blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -121,10 +114,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -145,15 +134,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -188,7 +176,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -229,11 +217,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -264,13 +252,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -278,15 +265,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -341,7 +332,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -355,6 +346,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -366,9 +372,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -377,7 +383,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -397,10 +403,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -409,4 +421,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+21443
-38748
File diff suppressed because it is too large
Load Diff
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with porn, social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 72,621 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 57,981 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,56 +65,53 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's social media blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - social | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/social) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -124,10 +119,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -148,15 +139,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -191,7 +181,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -232,11 +222,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -267,13 +257,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -281,15 +270,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -344,7 +337,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -358,6 +351,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -369,9 +377,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -380,7 +388,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -400,10 +408,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -412,4 +426,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+19812
-38419
File diff suppressed because it is too large
Load Diff
+91
-70
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with porn extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 71,464 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 55,506 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,55 +65,51 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's snuff-site blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
pornhosts -- a consolidated anti porn hosts file | This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network. |[link](https://github.com/Clefspeare13/pornhosts) | [raw](https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts) | occasional | MIT | [issues](https://github.com/Clefspeare13/pornhosts/issues)
|
||||
Sinfonietta's porn blocking hosts file | A collection of category-specific host files. |[link](https://github.com/Sinfonietta/hostfiles) | [raw](https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts) | occasional | MIT | [issues](https://github.com/Sinfonietta/hostfiles/issues)
|
||||
Tiuxo hostlist - pornography | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/porn) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -123,10 +117,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -147,15 +137,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -190,7 +179,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -231,11 +220,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -266,13 +255,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -280,15 +268,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -343,7 +335,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -357,6 +349,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -368,9 +375,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -379,7 +386,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -399,10 +406,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -411,4 +424,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+12661
-35594
File diff suppressed because it is too large
Load Diff
+91
-70
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with social extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 62,544 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 42,249 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,53 +65,49 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
Sinfonietta's 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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -121,10 +115,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -145,15 +135,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -188,7 +177,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -229,11 +218,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -264,13 +253,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -278,15 +266,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -341,7 +333,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -355,6 +347,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -366,9 +373,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -377,7 +384,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -397,10 +404,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -409,4 +422,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
@@ -5,4 +5,4 @@ conda create -n hosts python=$PYTHON_VERSION || exit 1
|
||||
source activate hosts
|
||||
|
||||
echo "Installing packages..."
|
||||
conda install mock flake8 beautifulsoup4 lxml
|
||||
conda install flake8 beautifulsoup4 lxml
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at hosts@sbc.io. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
https://www.contributor-covenant.org/faq
|
||||
@@ -0,0 +1,41 @@
|
||||
# Codebase Structure
|
||||
|
||||
These are the folders and some key files used to generate and store various unified hosts files.
|
||||
|
||||
## Data folders
|
||||
|
||||
There are two facets of the hosts files generated by
|
||||
[/updateHostsFile.py](https://github.com/StevenBlack/hosts/blob/master/updateHostsFile.py):
|
||||
|
||||
### Basic hosts
|
||||
Basic hosts are domains that purvey advertising, malware, tracking, coin
|
||||
mining and other abominable behavior. These hosts are included in all our products.
|
||||
|
||||
The [/data](https://github.com/StevenBlack/hosts/tree/master/data) folder holds the
|
||||
metadata and latest hosts for all our basic hosts sources. The hosts are updated
|
||||
automatically by`/updateHostsFile.py` which iterates all the subfolders within `./data`.
|
||||
|
||||
### Optional hosts extensions
|
||||
Hosts extensions include domains that push potentially addictive content like `porn`, `fake news`,
|
||||
`gambling`, and `social` media.
|
||||
|
||||
The [/extensions](https://github.com/StevenBlack/hosts/tree/master/extensions) folder holds
|
||||
metadata and latest hosts for all our basic hosts sources. The hosts are updated
|
||||
automatically by`/updateHostsFile.py` which iterates all the subfolders within `./extensions`.
|
||||
|
||||
## Product folders
|
||||
|
||||
### Basic hosts
|
||||
The [basic hosts file](https://github.com/StevenBlack/hosts/blob/master/hosts), containing
|
||||
just adware, malware, etc, is stored in the root folder of this repository.
|
||||
|
||||
The [/hosts/alternates](https://github.com/StevenBlack/hosts/tree/master/alternates) this folder
|
||||
contains the products of `updateHostsFile.py`, one subfolder for each permutation of
|
||||
`fakenews`, `gambling`, `porn`, and `social` media hosts, all of which include the base extensions
|
||||
containing hosts that block adware, malware, tracking, etc.
|
||||
|
||||
## Other notable files
|
||||
|
||||
+ [./readme_template.md](https://github.com/StevenBlack/hosts/blob/master/readme_template.md):
|
||||
This file is used to generate the all the various readme files in this repository. Therefore,
|
||||
if you wish to change the readme, you need to change only this file.
|
||||
@@ -0,0 +1,39 @@
|
||||
# Contributing Guide
|
||||
|
||||
Contributing to Hosts is easy. This document shows you how to get started
|
||||
|
||||
## General
|
||||
- The [Codebase Structure](https://github.com/StevenBlack/hosts/blob/master/codebase_structure.md) has
|
||||
detailed information about how the various folders and files in this project are structured.
|
||||
|
||||
## Submitting changes
|
||||
|
||||
- Fork the repo
|
||||
- <https://github.com/StevenBlack/hosts/fork>
|
||||
- Check out a new branch based and name it to what you intend to do:
|
||||
- Example:
|
||||
````
|
||||
$ git checkout -b BRANCH_NAME
|
||||
````
|
||||
If you get an error, you may need to fetch first, by using
|
||||
````
|
||||
$ git remote update && git fetch
|
||||
````
|
||||
- Use one branch per fix / feature
|
||||
- Commit your changes
|
||||
- Please provide a git message that explains what you've done
|
||||
- Please make sure your commits follow the [conventions](https://gist.github.com/robertpainsi/b632364184e70900af4ab688decf6f53#file-commit-message-guidelines-md)
|
||||
- Commit to the forked repository
|
||||
- Example:
|
||||
````
|
||||
$ git commit -am 'Add some fooBar'
|
||||
````
|
||||
- Push to the branch
|
||||
- Example:
|
||||
````
|
||||
$ git push origin BRANCH_NAME
|
||||
````
|
||||
- Make a pull request
|
||||
- Make sure you send the PR to the <code>BRANCH_NAM</code> branch
|
||||
|
||||
If you follow these instructions, your Pull Request will land safely!
|
||||
+30
-19058
File diff suppressed because it is too large
Load Diff
@@ -5,5 +5,5 @@
|
||||
"frequency": "weekly",
|
||||
"issues": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts",
|
||||
"license": "'non-commercial with attribution'"
|
||||
"license": "MIT"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"name": "CoinBlocker",
|
||||
"description": "Simple lists that can help prevent cryptomining in the browser or other applications",
|
||||
"homeurl": "https://gitlab.com/ZeroDot1/CoinBlockerLists",
|
||||
"frequency": "frequently",
|
||||
"issues": "https://gitlab.com/ZeroDot1/CoinBlockerLists/issues",
|
||||
"url": "https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser",
|
||||
"license": "GPLv3"
|
||||
}
|
||||
+4520
-1090
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "KADhosts",
|
||||
"description": "Fraud/adware/scam websites.",
|
||||
"homeurl": "https://github.com/azet12/KADhosts",
|
||||
"homeurl": "https://kadantiscam.netlify.com",
|
||||
"frequency": "frequently",
|
||||
"issues": "https://github.com/azet12/KADhosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt",
|
||||
"license": "GPLv3"
|
||||
"issues": "https://github.com/PolishFiltersTeam/KADhosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt",
|
||||
"license": "CC BY-SA 4.0"
|
||||
}
|
||||
|
||||
+738
-454
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@
|
||||
0.0.0.0 102.122.2o7.net
|
||||
0.0.0.0 10xhellometro.112.2o7.net
|
||||
0.0.0.0 1105governmentinformationgroup.122.2o7.net
|
||||
0.0.0.0 112.2o7.net
|
||||
0.0.0.0 192.168.112.2o7.net
|
||||
0.0.0.0 192.168.122.2o7.net
|
||||
0.0.0.0 1und1internetag.d3.sc.omtrdc.net
|
||||
@@ -9,13 +10,19 @@
|
||||
0.0.0.0 3gupload.112.2o7.net
|
||||
0.0.0.0 aarp.122.2o7.net
|
||||
0.0.0.0 abcotv.hb.omtrdc.net
|
||||
0.0.0.0 acanales.sc.omtrdc.net
|
||||
0.0.0.0 acckalaharinet.112.2o7.net
|
||||
0.0.0.0 aclu.tt.omtrdc.net
|
||||
0.0.0.0 acpmagazines.112.2o7.net
|
||||
0.0.0.0 actontv.122.2o7.net
|
||||
0.0.0.0 adbrite.122.2o7.net
|
||||
0.0.0.0 adobe.tt.omtrdc.net
|
||||
0.0.0.0 adobecorp.sc.omtrdc.net
|
||||
0.0.0.0 adp.112.2o7.net
|
||||
0.0.0.0 advertisementnl.112.2o7.net
|
||||
0.0.0.0 advertisingcom.122.2o7.net
|
||||
0.0.0.0 aehistory.112.2o7.net
|
||||
0.0.0.0 aetnaaetnaprod2018.112.2o7.net
|
||||
0.0.0.0 aetv.112.2o7.net
|
||||
0.0.0.0 affargenus.112.2o7.net
|
||||
0.0.0.0 affilcrtopcolle.112.2o7.net
|
||||
@@ -25,11 +32,19 @@
|
||||
0.0.0.0 agmsnag.112.2o7.net
|
||||
0.0.0.0 agwebshots.112.2o7.net
|
||||
0.0.0.0 agyahooag.112.2o7.net
|
||||
0.0.0.0 ajinomoto.d1.sc.omtrdc.net
|
||||
0.0.0.0 albanytimesunion.122.2o7.net
|
||||
0.0.0.0 alchemyworldwide.tt.omtrdc.net
|
||||
0.0.0.0 allbritton.122.2o7.net
|
||||
0.0.0.0 amadeus.d2.sc.omtrdc.net
|
||||
0.0.0.0 amazoncustomerservice.d2.sc.omtrdc.net
|
||||
0.0.0.0 amazonmerchants.122.2o7.net
|
||||
0.0.0.0 amazonservices.122.2o7.net
|
||||
0.0.0.0 amazonshopbop.122.2o7.net
|
||||
0.0.0.0 amazonwebservices.d2.sc.omtrdc.net
|
||||
0.0.0.0 amazonwebservicesinc.tt.omtrdc.net
|
||||
0.0.0.0 amazonwebstore.122.2o7.net
|
||||
0.0.0.0 amcglobal.sc.omtrdc.net
|
||||
0.0.0.0 amdvtest.112.2o7.net
|
||||
0.0.0.0 americaneagleoutfitt.tt.omtrdc.net
|
||||
0.0.0.0 ameritradeamerivest.112.2o7.net
|
||||
@@ -87,11 +102,15 @@
|
||||
0.0.0.0 aolwpnscom.122.2o7.net
|
||||
0.0.0.0 aolwpnswhatsnew.112.2o7.net
|
||||
0.0.0.0 aolyedda.122.2o7.net
|
||||
0.0.0.0 aoncomprod.122.2o7.net
|
||||
0.0.0.0 apdigitalorg.112.2o7.net
|
||||
0.0.0.0 apdigitalorgovn.112.2o7.net
|
||||
0.0.0.0 apnonline.112.2o7.net
|
||||
0.0.0.0 aporg.112.2o7.net
|
||||
0.0.0.0 ariba.112.2o7.net
|
||||
0.0.0.0 arthurmiddletoncapit.tt.omtrdc.net
|
||||
0.0.0.0 asadventure.tt.omtrdc.net
|
||||
0.0.0.0 asco.d2.sc.omtrdc.net
|
||||
0.0.0.0 associatedcontent.112.2o7.net
|
||||
0.0.0.0 atlanticmedia.122.2o7.net
|
||||
0.0.0.0 atlassian.122.2o7.net
|
||||
@@ -109,9 +128,13 @@
|
||||
0.0.0.0 autoanythingcom.112.2o7.net
|
||||
0.0.0.0 autobytel.112.2o7.net
|
||||
0.0.0.0 autobytelcorppopup.112.2o7.net
|
||||
0.0.0.0 autocarcomprod.112.2o7.net
|
||||
0.0.0.0 autodesk.tt.omtrdc.net
|
||||
0.0.0.0 autoscout24.112.2o7.net
|
||||
0.0.0.0 autoweb.112.2o7.net
|
||||
0.0.0.0 avgtechnologies.112.2o7.net
|
||||
0.0.0.0 aviraoperations.d3.sc.omtrdc.net
|
||||
0.0.0.0 aviva.112.2o7.net
|
||||
0.0.0.0 avon.112.2o7.net
|
||||
0.0.0.0 awarenesstech.122.2o7.net
|
||||
0.0.0.0 babycentercom.112.2o7.net
|
||||
@@ -119,6 +142,9 @@
|
||||
0.0.0.0 bankwest.112.2o7.net
|
||||
0.0.0.0 bbc.112.2o7.net
|
||||
0.0.0.0 bbg.d1.sc.omtrdc.net
|
||||
0.0.0.0 bbg.sc.omtrdc.net
|
||||
0.0.0.0 bbvacolombia.sc.omtrdc.net
|
||||
0.0.0.0 bcbsks.com.102.112.2o7.net
|
||||
0.0.0.0 bellglobemediapublishing.122.2o7.net
|
||||
0.0.0.0 belointeractive.122.2o7.net
|
||||
0.0.0.0 bertelwissenprod.122.2o7.net
|
||||
@@ -131,22 +157,32 @@
|
||||
0.0.0.0 bhgremodel.112.2o7.net
|
||||
0.0.0.0 bhgscrap.112.2o7.net
|
||||
0.0.0.0 bigpond.122.2o7.net
|
||||
0.0.0.0 bitdrive.112.2o7.net
|
||||
0.0.0.0 bizjournals.112.2o7.net
|
||||
0.0.0.0 blethenmaine.112.2o7.net
|
||||
0.0.0.0 bmwmoter.122.2o7.net
|
||||
0.0.0.0 bnk30livejs.112.2o7.net
|
||||
0.0.0.0 bnkholic.112.2o7.net
|
||||
0.0.0.0 bnkicomv2.112.2o7.net
|
||||
0.0.0.0 bnkr8dev.112.2o7.net
|
||||
0.0.0.0 bonintnewsktarcom.112.2o7.net
|
||||
0.0.0.0 bonneville.112.2o7.net
|
||||
0.0.0.0 bonniercorp.122.2o7.net
|
||||
0.0.0.0 boostmobile.112.2o7.net
|
||||
0.0.0.0 borders.112.2o7.net
|
||||
0.0.0.0 boscovs.com.ssl.sc.omtrdc.net
|
||||
0.0.0.0 bostoncommonpress.112.2o7.net
|
||||
0.0.0.0 bostonscientificcorporation.112.2o7.net
|
||||
0.0.0.0 brangista.122.2o7.net
|
||||
0.0.0.0 brightcove.112.2o7.net
|
||||
0.0.0.0 brighthouse.122.2o7.net
|
||||
0.0.0.0 britishskybroadcasti.tt.omtrdc.net
|
||||
0.0.0.0 bruceclay.112.2o7.net
|
||||
0.0.0.0 btbusiness.d1.sc.omtrdc.net
|
||||
0.0.0.0 btbusiness.tt.omtrdc.net
|
||||
0.0.0.0 btcom.112.2o7.net
|
||||
0.0.0.0 btigspresalessandt.112.2o7.net
|
||||
0.0.0.0 budgetcarhire.112.2o7.net
|
||||
0.0.0.0 builderonlinecom.112.2o7.net
|
||||
0.0.0.0 businessweekpoc.112.2o7.net
|
||||
0.0.0.0 buycom.122.2o7.net
|
||||
@@ -171,6 +207,7 @@
|
||||
0.0.0.0 capella.122.2o7.net
|
||||
0.0.0.0 carbonite.tt.omtrdc.net
|
||||
0.0.0.0 care2.112.2o7.net
|
||||
0.0.0.0 carfax.112.2o7.net
|
||||
0.0.0.0 carlsonradisson.112.2o7.net
|
||||
0.0.0.0 cartoonnetwork.122.2o7.net
|
||||
0.0.0.0 cba.122.2o7.net
|
||||
@@ -186,10 +223,15 @@
|
||||
0.0.0.0 cbspgatour.112.2o7.net
|
||||
0.0.0.0 cbsspln.112.2o7.net
|
||||
0.0.0.0 cbstelevisiondistribution.112.2o7.net
|
||||
0.0.0.0 cbtnuggets.tt.omtrdc.net
|
||||
0.0.0.0 ccrgaviscom.112.2o7.net
|
||||
0.0.0.0 cdc.112.2o7.net
|
||||
0.0.0.0 cdn.tt.omtrdc.net
|
||||
0.0.0.0 cengagecsinfosec.112.2o7.net
|
||||
0.0.0.0 centricabritishgas.d3.sc.omtrdc.net
|
||||
0.0.0.0 cfr.112.2o7.net
|
||||
0.0.0.0 chacha.112.2o7.net
|
||||
0.0.0.0 channel4.com.ssl.sc.omtrdc.net
|
||||
0.0.0.0 chchoice.112.2o7.net
|
||||
0.0.0.0 chghowardjohnson.112.2o7.net
|
||||
0.0.0.0 chgsupereight.112.2o7.net
|
||||
@@ -201,7 +243,11 @@
|
||||
0.0.0.0 ciaocom.122.2o7.net
|
||||
0.0.0.0 ciaoshopcouk.122.2o7.net
|
||||
0.0.0.0 ciaoshopit.122.2o7.net
|
||||
0.0.0.0 cisco.112.2o7.net
|
||||
0.0.0.0 cisco.sc.omtrdc.net
|
||||
0.0.0.0 ciscolearningnetwork.tt.omtrdc.net
|
||||
0.0.0.0 ciscowebex.112.2o7.net
|
||||
0.0.0.0 citimobile.d2.sc.omtrdc.net
|
||||
0.0.0.0 classicvacations.112.2o7.net
|
||||
0.0.0.0 classmatescom.112.2o7.net
|
||||
0.0.0.0 clubmed.112.2o7.net
|
||||
@@ -209,6 +255,7 @@
|
||||
0.0.0.0 cmp.112.2o7.net
|
||||
0.0.0.0 cmpdotnetjunkiescom.112.2o7.net
|
||||
0.0.0.0 cmpglobalvista.112.2o7.net
|
||||
0.0.0.0 cmpmedica.112.2o7.net
|
||||
0.0.0.0 cmtvia.112.2o7.net
|
||||
0.0.0.0 cnetasiapacific.122.2o7.net
|
||||
0.0.0.0 cnetaustralia.122.2o7.net
|
||||
@@ -259,6 +306,7 @@
|
||||
0.0.0.0 cpusall.112.2o7.net
|
||||
0.0.0.0 crain.d1.sc.omtrdc.net
|
||||
0.0.0.0 createthegroup.122.2o7.net
|
||||
0.0.0.0 creditagricole.tt.omtrdc.net
|
||||
0.0.0.0 creditcardscom.112.2o7.net
|
||||
0.0.0.0 cri.d1.sc.omtrdc.net
|
||||
0.0.0.0 cruisecritic.112.2o7.net
|
||||
@@ -267,9 +315,12 @@
|
||||
0.0.0.0 ctvmaincom.112.2o7.net
|
||||
0.0.0.0 ctvsmokinggun.112.2o7.net
|
||||
0.0.0.0 ctvtsgtv.112.2o7.net
|
||||
0.0.0.0 cunda.d3.sc.omtrdc.net
|
||||
0.0.0.0 cwnetworkmparticle.112.2o7.net
|
||||
0.0.0.0 cwportal.112.2o7.net
|
||||
0.0.0.0 cxociocom.112.2o7.net
|
||||
0.0.0.0 cxocomdev.112.2o7.net
|
||||
0.0.0.0 cyberagent.122.2o7.net
|
||||
0.0.0.0 cyberdefender.122.2o7.net
|
||||
0.0.0.0 dailyheraldpaddockpublication.112.2o7.net
|
||||
0.0.0.0 daimlerag.122.2o7.net
|
||||
@@ -284,10 +335,14 @@
|
||||
0.0.0.0 denverpost.112.2o7.net
|
||||
0.0.0.0 deseretdigitalmedia.tt.omtrdc.net
|
||||
0.0.0.0 deseretnews.112.2o7.net
|
||||
0.0.0.0 developjapan.122.2o7.net
|
||||
0.0.0.0 dexdexprod.112.2o7.net
|
||||
0.0.0.0 dgag.112.2o7.net
|
||||
0.0.0.0 dillards.112.2o7.net
|
||||
0.0.0.0 directtv.tt.omtrdc.net
|
||||
0.0.0.0 dis.d1.sc.omtrdc.net
|
||||
0.0.0.0 discovercard.112.2o7.net
|
||||
0.0.0.0 disneyinternational.hb.omtrdc.net
|
||||
0.0.0.0 divx.112.2o7.net
|
||||
0.0.0.0 dixonscouk.112.2o7.net
|
||||
0.0.0.0 dmcontactmanagement.122.2o7.net
|
||||
@@ -299,6 +354,8 @@
|
||||
0.0.0.0 dotsterdotsteraug08.112.2o7.net
|
||||
0.0.0.0 dreamhome.112.2o7.net
|
||||
0.0.0.0 duluthtrading.tt.omtrdc.net
|
||||
0.0.0.0 dummy.112.2o7.net
|
||||
0.0.0.0 dunandbradstreet.122.2o7.net
|
||||
0.0.0.0 eaeacom.112.2o7.net
|
||||
0.0.0.0 eagamesuk.112.2o7.net
|
||||
0.0.0.0 eaglemiles.112.2o7.net
|
||||
@@ -314,8 +371,12 @@
|
||||
0.0.0.0 ehadvicedev.112.2o7.net
|
||||
0.0.0.0 eharmony.112.2o7.net
|
||||
0.0.0.0 eharmony.tt.omtrdc.net
|
||||
0.0.0.0 ehealthinsurance.tt.omtrdc.net
|
||||
0.0.0.0 eleconomista.d1.sc.omtrdc.net
|
||||
0.0.0.0 electronicarts.112.2o7.net
|
||||
0.0.0.0 elkjop.112.2o7.net
|
||||
0.0.0.0 eloqua.122.2o7.net
|
||||
0.0.0.0 eluniversalmx.sc.omtrdc.net
|
||||
0.0.0.0 emc.122.2o7.net
|
||||
0.0.0.0 enterprisemediagroup.112.2o7.net
|
||||
0.0.0.0 entrepreneur.122.2o7.net
|
||||
@@ -325,6 +386,7 @@
|
||||
0.0.0.0 eremedia.112.2o7.net
|
||||
0.0.0.0 eset.122.2o7.net
|
||||
0.0.0.0 espndotcom.tt.omtrdc.net
|
||||
0.0.0.0 eucpviveusaprod.112.2o7.net
|
||||
0.0.0.0 eurostar.122.2o7.net
|
||||
0.0.0.0 eventbrite.122.2o7.net
|
||||
0.0.0.0 evepdaggiesports.112.2o7.net
|
||||
@@ -360,6 +422,7 @@
|
||||
0.0.0.0 fbfredericksburgcom.112.2o7.net
|
||||
0.0.0.0 figlobal.112.2o7.net
|
||||
0.0.0.0 fim.122.2o7.net
|
||||
0.0.0.0 flipkart.d1.sc.omtrdc.net
|
||||
0.0.0.0 flyingmag.com.122.2o7.net
|
||||
0.0.0.0 ford.112.2o7.net
|
||||
0.0.0.0 foxamw.112.2o7.net
|
||||
@@ -378,8 +441,11 @@
|
||||
0.0.0.0 geosign.112.2o7.net
|
||||
0.0.0.0 gifastcompanycom.112.2o7.net
|
||||
0.0.0.0 giftscom.122.2o7.net
|
||||
0.0.0.0 gigamon.sc.omtrdc.net
|
||||
0.0.0.0 gigamon.tt.omtrdc.net
|
||||
0.0.0.0 gjfastcompanycom.112.2o7.net
|
||||
0.0.0.0 gjincscobleizer.112.2o7.net
|
||||
0.0.0.0 gmglobalt3sites.112.2o7.net
|
||||
0.0.0.0 gmgmacfs.112.2o7.net
|
||||
0.0.0.0 gmgmacmortgage.112.2o7.net
|
||||
0.0.0.0 gmgmcom.112.2o7.net
|
||||
@@ -414,7 +480,9 @@
|
||||
0.0.0.0 guthyrenker.tt.omtrdc.net
|
||||
0.0.0.0 hallmarkibmcom.112.2o7.net
|
||||
0.0.0.0 harconsumer.112.2o7.net
|
||||
0.0.0.0 harlandclarke.d1.sc.omtrdc.net
|
||||
0.0.0.0 harpo.122.2o7.net
|
||||
0.0.0.0 harrahs.112.2o7.net
|
||||
0.0.0.0 harrahscom.112.2o7.net
|
||||
0.0.0.0 haymarketbusinesspublications.122.2o7.net
|
||||
0.0.0.0 hchrmain.112.2o7.net
|
||||
@@ -429,6 +497,7 @@
|
||||
0.0.0.0 hickoryfarms.112.2o7.net
|
||||
0.0.0.0 highbeam.122.2o7.net
|
||||
0.0.0.0 himedia.112.2o7.net
|
||||
0.0.0.0 his.112.2o7.net
|
||||
0.0.0.0 hisnakiamotors.122.2o7.net
|
||||
0.0.0.0 hm.d1.sc.omtrdc.net
|
||||
0.0.0.0 hollywood.122.2o7.net
|
||||
@@ -441,6 +510,7 @@
|
||||
0.0.0.0 hswmedia.122.2o7.net
|
||||
0.0.0.0 hulu.112.2o7.net
|
||||
0.0.0.0 huludev.112.2o7.net
|
||||
0.0.0.0 hyperlinktech.122.2o7.net
|
||||
0.0.0.0 ibibo.112.2o7.net
|
||||
0.0.0.0 ice.112.2o7.net
|
||||
0.0.0.0 iconhealthfitness.tt.omtrdc.net
|
||||
@@ -451,11 +521,13 @@
|
||||
0.0.0.0 imeem.112.2o7.net
|
||||
0.0.0.0 imiliving.122.2o7.net
|
||||
0.0.0.0 incisivemedia.112.2o7.net
|
||||
0.0.0.0 independentdigital.d3.sc.omtrdc.net
|
||||
0.0.0.0 indigio.122.2o7.net
|
||||
0.0.0.0 infoworldmediagroup.112.2o7.net
|
||||
0.0.0.0 infrastrategy.122.2o7.net
|
||||
0.0.0.0 infratotalduicom.122.2o7.net
|
||||
0.0.0.0 insiderpagescom.122.2o7.net
|
||||
0.0.0.0 insightenterprises.tt.omtrdc.net
|
||||
0.0.0.0 instadia.112.2o7.net
|
||||
0.0.0.0 intelcorpchan.112.2o7.net
|
||||
0.0.0.0 intelcorperror.112.2o7.net
|
||||
@@ -465,18 +537,28 @@
|
||||
0.0.0.0 internetretailer.d2.sc.omtrdc.net
|
||||
0.0.0.0 intouchsolutions.112.2o7.net
|
||||
0.0.0.0 intuitinc.122.2o7.net
|
||||
0.0.0.0 iodatadevice.d2.sc.omtrdc.net
|
||||
0.0.0.0 ipcmarieclaireprod.122.2o7.net
|
||||
0.0.0.0 ipcmedia.122.2o7.net
|
||||
0.0.0.0 ipcnowprod.122.2o7.net
|
||||
0.0.0.0 ipcuncut.122.2o7.net
|
||||
0.0.0.0 ipcwebuserprod.122.2o7.net
|
||||
0.0.0.0 ipcyachtingworldprod.122.2o7.net
|
||||
0.0.0.0 iqdigitalmediamarketinggmbh.sc.omtrdc.net
|
||||
0.0.0.0 isaca.sc.omtrdc.net
|
||||
0.0.0.0 isaca.tt.omtrdc.net
|
||||
0.0.0.0 itmedia.122.2o7.net
|
||||
0.0.0.0 itv.112.2o7.net
|
||||
0.0.0.0 iusacomlive.112.2o7.net
|
||||
0.0.0.0 ivillageglobal.112.2o7.net
|
||||
0.0.0.0 jaccs.122.2o7.net
|
||||
0.0.0.0 jackpot.112.2o7.net
|
||||
0.0.0.0 jade853gmbh.tt.omtrdc.net
|
||||
0.0.0.0 jamecoelectronics.sc.omtrdc.net
|
||||
0.0.0.0 jcb.sc.omtrdc.net
|
||||
0.0.0.0 jcb.tt.omtrdc.net
|
||||
0.0.0.0 jcom.122.2o7.net
|
||||
0.0.0.0 jcrewcom.112.2o7.net
|
||||
0.0.0.0 jcwhitney.112.2o7.net
|
||||
0.0.0.0 jennycraig.112.2o7.net
|
||||
0.0.0.0 jetbluecom2.112.2o7.net
|
||||
@@ -493,6 +575,8 @@
|
||||
0.0.0.0 journalregistercompany.122.2o7.net
|
||||
0.0.0.0 jrcdelcotimescom.122.2o7.net
|
||||
0.0.0.0 jrcom.112.2o7.net
|
||||
0.0.0.0 jtt.sc.omtrdc.net
|
||||
0.0.0.0 jtt.tt.omtrdc.net
|
||||
0.0.0.0 kaboose.112.2o7.net
|
||||
0.0.0.0 kaspersky.d3.sc.omtrdc.net
|
||||
0.0.0.0 kbbmain.112.2o7.net
|
||||
@@ -500,8 +584,12 @@
|
||||
0.0.0.0 kerplat.112.2o7.net
|
||||
0.0.0.0 keybank.112.2o7.net
|
||||
0.0.0.0 kiplinger.112.2o7.net
|
||||
0.0.0.0 konicaminoltahd.122.2o7.net
|
||||
0.0.0.0 kopticom.122.2o7.net
|
||||
0.0.0.0 lab88inc.112.2o7.net
|
||||
0.0.0.0 lakeshore.d1.sc.omtrdc.net
|
||||
0.0.0.0 landolakescomprod.112.2o7.net
|
||||
0.0.0.0 landsend.112.2o7.net
|
||||
0.0.0.0 laptopmag.122.2o7.net
|
||||
0.0.0.0 lastminengb.112.2o7.net
|
||||
0.0.0.0 laxnws.112.2o7.net
|
||||
@@ -514,13 +602,19 @@
|
||||
0.0.0.0 leaitworldprod.112.2o7.net
|
||||
0.0.0.0 leeenterprises.112.2o7.net
|
||||
0.0.0.0 legalzoom.tt.omtrdc.net
|
||||
0.0.0.0 lenovoappssystemupdateprod.112.2o7.net
|
||||
0.0.0.0 lenovosimpletapdev.112.2o7.net
|
||||
0.0.0.0 leveragemarketing.112.2o7.net
|
||||
0.0.0.0 lgelectronics.122.2o7.net
|
||||
0.0.0.0 libertyglobalpaneu.tt.omtrdc.net
|
||||
0.0.0.0 lintv.122.2o7.net
|
||||
0.0.0.0 livedealcom.112.2o7.net
|
||||
0.0.0.0 livenation.122.2o7.net
|
||||
0.0.0.0 logitechlogitechglobal.112.2o7.net
|
||||
0.0.0.0 lowes.tt.omtrdc.net
|
||||
0.0.0.0 lucent.122.2o7.net
|
||||
0.0.0.0 mailtribunecom.112.2o7.net
|
||||
0.0.0.0 makemytrip.tt.omtrdc.net
|
||||
0.0.0.0 mapscom2.112.2o7.net
|
||||
0.0.0.0 marchofdimes.d2.sc.omtrdc.net
|
||||
0.0.0.0 marinermarketing.112.2o7.net
|
||||
@@ -531,7 +625,11 @@
|
||||
0.0.0.0 mashable.d2.sc.omtrdc.net
|
||||
0.0.0.0 mattressusa.122.2o7.net
|
||||
0.0.0.0 maxim.122.2o7.net
|
||||
0.0.0.0 mcafee12.tt.omtrdc.net
|
||||
0.0.0.0 mcclatchy.112.2o7.net
|
||||
0.0.0.0 mcdonaldscorporation.sc.omtrdc.net
|
||||
0.0.0.0 mcdonaldscorporation.tt.omtrdc.net
|
||||
0.0.0.0 mckinseyknowledge.122.2o7.net
|
||||
0.0.0.0 mdjacksonville.112.2o7.net
|
||||
0.0.0.0 mdpparents.112.2o7.net
|
||||
0.0.0.0 mdstaugustine.112.2o7.net
|
||||
@@ -544,6 +642,7 @@
|
||||
0.0.0.0 medhelpinternational.112.2o7.net
|
||||
0.0.0.0 mediabistro.112.2o7.net
|
||||
0.0.0.0 mediabistrocom.112.2o7.net
|
||||
0.0.0.0 mediacorp.112.2o7.net
|
||||
0.0.0.0 medialogic.122.2o7.net
|
||||
0.0.0.0 mediamatters.112.2o7.net
|
||||
0.0.0.0 meetupdev.122.2o7.net
|
||||
@@ -586,6 +685,7 @@
|
||||
0.0.0.0 midsen.112.2o7.net
|
||||
0.0.0.0 milbglobal.112.2o7.net
|
||||
0.0.0.0 mitsubishi.112.2o7.net
|
||||
0.0.0.0 mitsubishielectric.112.2o7.net
|
||||
0.0.0.0 mkcthehomemarketplace.112.2o7.net
|
||||
0.0.0.0 mkt10.122.2o7.net
|
||||
0.0.0.0 mlarmani.122.2o7.net
|
||||
@@ -643,11 +743,14 @@
|
||||
0.0.0.0 msntrademarketing.112.2o7.net
|
||||
0.0.0.0 msnwinonecare.112.2o7.net
|
||||
0.0.0.0 mssbcprod.112.2o7.net
|
||||
0.0.0.0 msstonojstechnet.112.2o7.net
|
||||
0.0.0.0 mswindowswolglobal.112.2o7.net
|
||||
0.0.0.0 mswlspcmktdev.112.2o7.net
|
||||
0.0.0.0 mswmwpapolloprod.122.2o7.net
|
||||
0.0.0.0 mtvn.112.2o7.net
|
||||
0.0.0.0 multiply.112.2o7.net
|
||||
0.0.0.0 multiview.122.2o7.net
|
||||
0.0.0.0 mun.122.2o7.net
|
||||
0.0.0.0 mxmacromedia.112.2o7.net
|
||||
0.0.0.0 myfamilycominc.tt.omtrdc.net
|
||||
0.0.0.0 nandomedia.112.2o7.net
|
||||
@@ -667,12 +770,18 @@
|
||||
0.0.0.0 natgeovideo.112.2o7.net
|
||||
0.0.0.0 nationalbankofnewzea.tt.omtrdc.net
|
||||
0.0.0.0 nationalgeographic.112.2o7.net
|
||||
0.0.0.0 nationwide.sc.omtrdc.net
|
||||
0.0.0.0 nautilus.d2.sc.omtrdc.net
|
||||
0.0.0.0 nautilus.tt.omtrdc.net
|
||||
0.0.0.0 nbagametimeprod.112.2o7.net
|
||||
0.0.0.0 nbcume.sc.omtrdc.net
|
||||
0.0.0.0 nbcuniversal.122.2o7.net
|
||||
0.0.0.0 neber.112.2o7.net
|
||||
0.0.0.0 nebnr.112.2o7.net
|
||||
0.0.0.0 neccorp.112.2o7.net
|
||||
0.0.0.0 neccorp.tt.omtrdc.net
|
||||
0.0.0.0 neref.112.2o7.net
|
||||
0.0.0.0 netappinc.tt.omtrdc.net
|
||||
0.0.0.0 netgear.122.2o7.net
|
||||
0.0.0.0 networksolutions.112.2o7.net
|
||||
0.0.0.0 newcom.122.2o7.net
|
||||
@@ -688,12 +797,16 @@
|
||||
0.0.0.0 newyorkmagazine.112.2o7.net
|
||||
0.0.0.0 nhl.112.2o7.net
|
||||
0.0.0.0 nielsen.112.2o7.net
|
||||
0.0.0.0 nihonkogakuin.122.2o7.net
|
||||
0.0.0.0 nikefootball.112.2o7.net
|
||||
0.0.0.0 nikefootballglobal.112.2o7.net
|
||||
0.0.0.0 nikegoddess.112.2o7.net
|
||||
0.0.0.0 nikehome.112.2o7.net
|
||||
0.0.0.0 nikerunning.112.2o7.net
|
||||
0.0.0.0 nikerunningglobal.112.2o7.net
|
||||
0.0.0.0 nikkei.112.2o7.net
|
||||
0.0.0.0 nikkei.d1.sc.omtrdc.net
|
||||
0.0.0.0 nikonjp.112.2o7.net
|
||||
0.0.0.0 njmvc.112.2o7.net
|
||||
0.0.0.0 nmanchorage.112.2o7.net
|
||||
0.0.0.0 nmbakersfieldca.112.2o7.net
|
||||
@@ -728,6 +841,7 @@
|
||||
0.0.0.0 novellcom.112.2o7.net
|
||||
0.0.0.0 nsdldlese.112.2o7.net
|
||||
0.0.0.0 nttcommunications.122.2o7.net
|
||||
0.0.0.0 nyandcompany.com.ssl.sc.omtrdc.net
|
||||
0.0.0.0 nydailynews.d1.sc.omtrdc.net
|
||||
0.0.0.0 nysun.com.112.2o7.net
|
||||
0.0.0.0 nytbglobe.112.2o7.net
|
||||
@@ -757,7 +871,9 @@
|
||||
0.0.0.0 onetoone.112.2o7.net
|
||||
0.0.0.0 onlinegurupopularsitecom.112.2o7.net
|
||||
0.0.0.0 oodpreprod.122.2o7.net
|
||||
0.0.0.0 opinionlabcc.122.2o7.net
|
||||
0.0.0.0 optimost.112.2o7.net
|
||||
0.0.0.0 oracle.112.2o7.net
|
||||
0.0.0.0 oraclecom.112.2o7.net
|
||||
0.0.0.0 oracleglobal.112.2o7.net
|
||||
0.0.0.0 oreck.tt.omtrdc.net
|
||||
@@ -769,11 +885,14 @@
|
||||
0.0.0.0 overstockcom.112.2o7.net
|
||||
0.0.0.0 overturecom.112.2o7.net
|
||||
0.0.0.0 overturecomvista.112.2o7.net
|
||||
0.0.0.0 ozon.122.2o7.net
|
||||
0.0.0.0 paloaltonetworks.d1.sc.omtrdc.net
|
||||
0.0.0.0 pandasoftware.112.2o7.net
|
||||
0.0.0.0 parade.122.2o7.net
|
||||
0.0.0.0 parship.122.2o7.net
|
||||
0.0.0.0 partygaming.122.2o7.net
|
||||
0.0.0.0 partygamingglobal.122.2o7.net
|
||||
0.0.0.0 patagonia.122.2o7.net
|
||||
0.0.0.0 patrickhillery.112.2o7.net
|
||||
0.0.0.0 paypal.112.2o7.net
|
||||
0.0.0.0 pcconnectioncom.112.2o7.net
|
||||
@@ -791,6 +910,7 @@
|
||||
0.0.0.0 petfooddirect.d1.sc.omtrdc.net
|
||||
0.0.0.0 pfizer.122.2o7.net
|
||||
0.0.0.0 philips.112.2o7.net
|
||||
0.0.0.0 philipslighting.d3.sc.omtrdc.net
|
||||
0.0.0.0 phillyburbscom.112.2o7.net
|
||||
0.0.0.0 phillycom.112.2o7.net
|
||||
0.0.0.0 phillymedia.112.2o7.net
|
||||
@@ -800,26 +920,34 @@
|
||||
0.0.0.0 plsoyfoods.112.2o7.net
|
||||
0.0.0.0 poacprod.122.2o7.net
|
||||
0.0.0.0 poconorecordcom.112.2o7.net
|
||||
0.0.0.0 poloralphlaurenlotusstg.112.2o7.net
|
||||
0.0.0.0 popcapgames.122.2o7.net
|
||||
0.0.0.0 popsci.com.122.2o7.net
|
||||
0.0.0.0 postmedia.sc.omtrdc.net
|
||||
0.0.0.0 powellsbooks.122.2o7.net
|
||||
0.0.0.0 poweronemedia.122.2o7.net
|
||||
0.0.0.0 preferredhotelgroup.d2.sc.omtrdc.net
|
||||
0.0.0.0 premierfarnell.tt.omtrdc.net
|
||||
0.0.0.0 premiumtv.122.2o7.net
|
||||
0.0.0.0 primediabusiness.122.2o7.net
|
||||
0.0.0.0 primemensfitness.112.2o7.net
|
||||
0.0.0.0 primestarmagazine.112.2o7.net
|
||||
0.0.0.0 primetimesolutions.tt.omtrdc.net
|
||||
0.0.0.0 prisacom.112.2o7.net
|
||||
0.0.0.0 prisacom.sc.omtrdc.net
|
||||
0.0.0.0 prnewswire.122.2o7.net
|
||||
0.0.0.0 productpartnersllc.tt.omtrdc.net
|
||||
0.0.0.0 pulkauaiworld.112.2o7.net
|
||||
0.0.0.0 pultheworldlink.112.2o7.net
|
||||
0.0.0.0 questdsgsupport.112.2o7.net
|
||||
0.0.0.0 questiacom.112.2o7.net
|
||||
0.0.0.0 questsoftware.112.2o7.net
|
||||
0.0.0.0 questsoftware.sc.omtrdc.net
|
||||
0.0.0.0 qwestfull.112.2o7.net
|
||||
0.0.0.0 rainbowmedia.122.2o7.net
|
||||
0.0.0.0 rakuten.112.2o7.net
|
||||
0.0.0.0 randmcnally.112.2o7.net
|
||||
0.0.0.0 ranker.sc.omtrdc.net
|
||||
0.0.0.0 rcci.122.2o7.net
|
||||
0.0.0.0 rcntelecom.112.2o7.net
|
||||
0.0.0.0 readersdigest.tt.omtrdc.net
|
||||
@@ -828,6 +956,8 @@
|
||||
0.0.0.0 recordeaglecom.112.2o7.net
|
||||
0.0.0.0 recordnetcom.112.2o7.net
|
||||
0.0.0.0 recordonlinecom.112.2o7.net
|
||||
0.0.0.0 recruit.112.2o7.net
|
||||
0.0.0.0 redhat.sc.omtrdc.net
|
||||
0.0.0.0 registercom.122.2o7.net
|
||||
0.0.0.0 registercom.tt.omtrdc.net
|
||||
0.0.0.0 remodelingonlinecom.112.2o7.net
|
||||
@@ -836,7 +966,9 @@
|
||||
0.0.0.0 restoredchurchofgod.112.2o7.net
|
||||
0.0.0.0 reunion.tt.omtrdc.net
|
||||
0.0.0.0 reunioncom.112.2o7.net
|
||||
0.0.0.0 riafinancial.d2.sc.omtrdc.net
|
||||
0.0.0.0 ringcentral.112.2o7.net
|
||||
0.0.0.0 ringcentral.tt.omtrdc.net
|
||||
0.0.0.0 ringierag.112.2o7.net
|
||||
0.0.0.0 riptownmedia.122.2o7.net
|
||||
0.0.0.0 riverdeep.112.2o7.net
|
||||
@@ -866,6 +998,7 @@
|
||||
0.0.0.0 saxotechtylerpaper.122.2o7.net
|
||||
0.0.0.0 saxotelegraph.122.2o7.net
|
||||
0.0.0.0 saxotoledo.122.2o7.net
|
||||
0.0.0.0 saxounionleader.112.2o7.net
|
||||
0.0.0.0 saxowatertowndailytimes.122.2o7.net
|
||||
0.0.0.0 saxowenworld.122.2o7.net
|
||||
0.0.0.0 saxowesterncommunications.122.2o7.net
|
||||
@@ -888,9 +1021,11 @@
|
||||
0.0.0.0 searsholdings.tt.omtrdc.net
|
||||
0.0.0.0 searskmartcom.112.2o7.net
|
||||
0.0.0.0 seb.d1.sc.omtrdc.net
|
||||
0.0.0.0 senshukai.122.2o7.net
|
||||
0.0.0.0 sento.122.2o7.net
|
||||
0.0.0.0 sevenoneintermedia.112.2o7.net
|
||||
0.0.0.0 shawnewspapers.112.2o7.net
|
||||
0.0.0.0 shell.tt.omtrdc.net
|
||||
0.0.0.0 shopping.112.2o7.net
|
||||
0.0.0.0 siemens.d1.sc.omtrdc.net
|
||||
0.0.0.0 sixapart.112.2o7.net
|
||||
@@ -898,8 +1033,10 @@
|
||||
0.0.0.0 skyauction.122.2o7.net
|
||||
0.0.0.0 skype.tt.omtrdc.net
|
||||
0.0.0.0 slbbbcom.112.2o7.net
|
||||
0.0.0.0 slickdeals.sc.omtrdc.net
|
||||
0.0.0.0 sltravelcom.112.2o7.net
|
||||
0.0.0.0 smartmoney.112.2o7.net
|
||||
0.0.0.0 smbc.sc.omtrdc.net
|
||||
0.0.0.0 smibs.112.2o7.net
|
||||
0.0.0.0 smokingeverywhere.122.2o7.net
|
||||
0.0.0.0 smokinggun.122.2o7.net
|
||||
@@ -908,12 +1045,18 @@
|
||||
0.0.0.0 snagajob.122.2o7.net
|
||||
0.0.0.0 snapfish.112.2o7.net
|
||||
0.0.0.0 sofmap.112.2o7.net
|
||||
0.0.0.0 softbank.tt.omtrdc.net
|
||||
0.0.0.0 softbankbb.122.2o7.net
|
||||
0.0.0.0 softbankbb.d2.sc.omtrdc.net
|
||||
0.0.0.0 softbanktechnology.112.2o7.net
|
||||
0.0.0.0 softlayer.d1.sc.omtrdc.net
|
||||
0.0.0.0 softonic.112.2o7.net
|
||||
0.0.0.0 sonychina.112.2o7.net
|
||||
0.0.0.0 sonycorporate.112.2o7.net
|
||||
0.0.0.0 sonyelectronicssupportus.112.2o7.net
|
||||
0.0.0.0 sonygs.112.2o7.net
|
||||
0.0.0.0 sonymediasoftware.112.2o7.net
|
||||
0.0.0.0 sonypanasia.112.2o7.net
|
||||
0.0.0.0 sonyscei.112.2o7.net
|
||||
0.0.0.0 southcoasttodaycom.112.2o7.net
|
||||
0.0.0.0 spamfighter.112.2o7.net
|
||||
@@ -923,6 +1066,7 @@
|
||||
0.0.0.0 sprintglobal.112.2o7.net
|
||||
0.0.0.0 stampscom.112.2o7.net
|
||||
0.0.0.0 starz.122.2o7.net
|
||||
0.0.0.0 stepstone.112.2o7.net
|
||||
0.0.0.0 stpetersburgtimes.122.2o7.net
|
||||
0.0.0.0 stubhub.122.2o7.net
|
||||
0.0.0.0 stylincom.112.2o7.net
|
||||
@@ -930,14 +1074,17 @@
|
||||
0.0.0.0 summitbusinessmedia.112.2o7.net
|
||||
0.0.0.0 sunglobal.112.2o7.net
|
||||
0.0.0.0 superpages.122.2o7.net
|
||||
0.0.0.0 superpagesdexknowsprod.122.2o7.net
|
||||
0.0.0.0 surfline.112.2o7.net
|
||||
0.0.0.0 survey.122.2o7.net
|
||||
0.0.0.0 suzukimotor.112.2o7.net
|
||||
0.0.0.0 svd.112.2o7.net
|
||||
0.0.0.0 swsoft.122.2o7.net
|
||||
0.0.0.0 sylvane.122.2o7.net
|
||||
0.0.0.0 symantec.tt.omtrdc.net
|
||||
0.0.0.0 sympmsnglobalen.112.2o7.net
|
||||
0.0.0.0 sympmsnmusic.112.2o7.net
|
||||
0.0.0.0 synacor.112.2o7.net
|
||||
0.0.0.0 tacobell.d1.sc.omtrdc.net
|
||||
0.0.0.0 tangomedia.112.2o7.net
|
||||
0.0.0.0 tbstv.112.2o7.net
|
||||
@@ -947,14 +1094,20 @@
|
||||
0.0.0.0 techreview.112.2o7.net
|
||||
0.0.0.0 tehomercacom.112.2o7.net
|
||||
0.0.0.0 tel3adv.112.2o7.net
|
||||
0.0.0.0 telateladivulgaprod.112.2o7.net
|
||||
0.0.0.0 tele2nl.112.2o7.net
|
||||
0.0.0.0 telefloracom.112.2o7.net
|
||||
0.0.0.0 telefonicauk.d3.sc.omtrdc.net
|
||||
0.0.0.0 telefonicauklimited.tt.omtrdc.net
|
||||
0.0.0.0 telegraphmediagroup.d3.sc.omtrdc.net
|
||||
0.0.0.0 telegraphmediagroupl.tt.omtrdc.net
|
||||
0.0.0.0 telenor.112.2o7.net
|
||||
0.0.0.0 tescostores.122.2o7.net
|
||||
0.0.0.0 tgn.122.2o7.net
|
||||
0.0.0.0 thayhiltonlongisland.112.2o7.net
|
||||
0.0.0.0 thayhoteldelcoronado.112.2o7.net
|
||||
0.0.0.0 thayvenetian.112.2o7.net
|
||||
0.0.0.0 thechannelcompany.d1.sc.omtrdc.net
|
||||
0.0.0.0 thedailystarcom.112.2o7.net
|
||||
0.0.0.0 thegroup.112.2o7.net
|
||||
0.0.0.0 thelibraryofcongress.122.2o7.net
|
||||
@@ -987,11 +1140,15 @@
|
||||
0.0.0.0 torstardigital.122.2o7.net
|
||||
0.0.0.0 toyotamotorcorporation.122.2o7.net
|
||||
0.0.0.0 toysrus.tt.omtrdc.net
|
||||
0.0.0.0 tpciletsgo.112.2o7.net
|
||||
0.0.0.0 trailblazers.122.2o7.net
|
||||
0.0.0.0 trailerservicescom.112.2o7.net
|
||||
0.0.0.0 trane-ir-corp-ingersollrand.112.2o7.net
|
||||
0.0.0.0 trane.112.2o7.net
|
||||
0.0.0.0 tranest-schlage-link.112.2o7.net
|
||||
0.0.0.0 travidia.112.2o7.net
|
||||
0.0.0.0 trendmicro.tt.omtrdc.net
|
||||
0.0.0.0 trendmicrojp.d2.sc.omtrdc.net
|
||||
0.0.0.0 tribuneinteractive.122.2o7.net
|
||||
0.0.0.0 trinitymirror.112.2o7.net
|
||||
0.0.0.0 truevalue.d2.sc.omtrdc.net
|
||||
@@ -1004,7 +1161,10 @@
|
||||
0.0.0.0 uoljunocom2.112.2o7.net
|
||||
0.0.0.0 uolnetzeronet2.112.2o7.net
|
||||
0.0.0.0 uolphotosite.112.2o7.net
|
||||
0.0.0.0 upc.d2.sc.omtrdc.net
|
||||
0.0.0.0 upi.112.2o7.net
|
||||
0.0.0.0 ups.tt.omtrdc.net
|
||||
0.0.0.0 usaa.tt.omtrdc.net
|
||||
0.0.0.0 usatoday1.112.2o7.net
|
||||
0.0.0.0 usbank.tt.omtrdc.net
|
||||
0.0.0.0 usdm.122.2o7.net
|
||||
@@ -1014,6 +1174,10 @@
|
||||
0.0.0.0 vcommerce.112.2o7.net
|
||||
0.0.0.0 vectrabank.112.2o7.net
|
||||
0.0.0.0 verisignwildcard.112.2o7.net
|
||||
0.0.0.0 veritasim.d1.sc.omtrdc.net
|
||||
0.0.0.0 veritastechnologiesl.tt.omtrdc.net
|
||||
0.0.0.0 verizontelecom.tt.omtrdc.net
|
||||
0.0.0.0 verizonwireless.112.2o7.net
|
||||
0.0.0.0 verizonwireless.tt.omtrdc.net
|
||||
0.0.0.0 vermontteddybear.112.2o7.net
|
||||
0.0.0.0 viaaddictingclips.112.2o7.net
|
||||
@@ -1041,6 +1205,7 @@
|
||||
0.0.0.0 viarnd.112.2o7.net
|
||||
0.0.0.0 viasatsatelliteservices.112.2o7.net
|
||||
0.0.0.0 viashockwave.112.2o7.net
|
||||
0.0.0.0 viashockwavekeyhole.112.2o7.net
|
||||
0.0.0.0 viaspike.112.2o7.net
|
||||
0.0.0.0 viaukplayer.112.2o7.net
|
||||
0.0.0.0 viavh1com.112.2o7.net
|
||||
@@ -1048,14 +1213,21 @@
|
||||
0.0.0.0 viavh1video.112.2o7.net
|
||||
0.0.0.0 viay2m.112.2o7.net
|
||||
0.0.0.0 victoriaadvocate.112.2o7.net
|
||||
0.0.0.0 videorvrcip.112.2o7.net
|
||||
0.0.0.0 videotroncom.112.2o7.net
|
||||
0.0.0.0 vintacom.112.2o7.net
|
||||
0.0.0.0 vintadream.112.2o7.net
|
||||
0.0.0.0 virginmedia.112.2o7.net
|
||||
0.0.0.0 virginmobile.122.2o7.net
|
||||
0.0.0.0 virginmobileusa.tt.omtrdc.net
|
||||
0.0.0.0 vision.d1.sc.omtrdc.net
|
||||
0.0.0.0 vitacost.122.2o7.net
|
||||
0.0.0.0 vocento.d3.sc.omtrdc.net
|
||||
0.0.0.0 vodafonegroup.122.2o7.net
|
||||
0.0.0.0 vodafoneindia.tt.omtrdc.net
|
||||
0.0.0.0 vodafonenz.122.2o7.net
|
||||
0.0.0.0 vodafoneuk.tt.omtrdc.net
|
||||
0.0.0.0 vogelservices.122.2o7.net
|
||||
0.0.0.0 volkswagen.122.2o7.net
|
||||
0.0.0.0 vpmc.122.2o7.net
|
||||
0.0.0.0 walgrns.112.2o7.net
|
||||
@@ -1077,6 +1249,7 @@
|
||||
0.0.0.0 westwickfarrow.122.2o7.net
|
||||
0.0.0.0 whitecastle.122.2o7.net
|
||||
0.0.0.0 wileypublishing.112.2o7.net
|
||||
0.0.0.0 williamhill.tt.omtrdc.net
|
||||
0.0.0.0 winecom.112.2o7.net
|
||||
0.0.0.0 wineenthusiastcom.112.2o7.net
|
||||
0.0.0.0 winmpmain.112.2o7.net
|
||||
@@ -1090,6 +1263,8 @@
|
||||
0.0.0.0 wwatchcomusa.112.2o7.net
|
||||
0.0.0.0 wweconsumer.112.2o7.net
|
||||
0.0.0.0 wwecorp2.112.2o7.net
|
||||
0.0.0.0 www.ikea.122.2o7.net
|
||||
0.0.0.0 www.nissan.d3.sc.omtrdc.net
|
||||
0.0.0.0 xhealth.112.2o7.net
|
||||
0.0.0.0 xhealthmobiltools.112.2o7.net
|
||||
0.0.0.0 yamaha.122.2o7.net
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
0.0.0.0 analytic-google.com
|
||||
0.0.0.0 avast-downloads.com
|
||||
0.0.0.0 blacksnake.com
|
||||
0.0.0.0 europcareer.com
|
||||
@@ -9,12 +8,9 @@
|
||||
0.0.0.0 jmp2click.com
|
||||
0.0.0.0 microsoft-update.name
|
||||
0.0.0.0 paypai.org
|
||||
0.0.0.0 sunonsunday.co.uk
|
||||
0.0.0.0 sunonsunday.com
|
||||
0.0.0.0 thesunonsunday.co.uk
|
||||
0.0.0.0 thesunonsunday.com
|
||||
0.0.0.0 toolbar.wibiya.com
|
||||
0.0.0.0 www.analytic-google.com
|
||||
0.0.0.0 www.avast-downloads.com
|
||||
0.0.0.0 www.europcareer.com
|
||||
0.0.0.0 www.get-avast.com
|
||||
@@ -22,4 +18,3 @@
|
||||
0.0.0.0 www.iphonegames3g.com
|
||||
0.0.0.0 www.jmp2click.com
|
||||
0.0.0.0 www.microsoft-update.name
|
||||
0.0.0.0 wwwfacebook.com
|
||||
|
||||
+293
-659
File diff suppressed because it is too large
Load Diff
@@ -37,7 +37,6 @@
|
||||
0.0.0.0 thedatingconference.com
|
||||
0.0.0.0 tinaborg.com
|
||||
0.0.0.0 unionleisurewear.com
|
||||
0.0.0.0 va.tawk.to
|
||||
0.0.0.0 vntanktransport.com
|
||||
0.0.0.0 vydoxtrial.com
|
||||
0.0.0.0 www.7minuteworkout.com
|
||||
|
||||
+1414
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "hostsVN",
|
||||
"description": "Hosts block ads of Vietnamese",
|
||||
"homeurl": "https://github.com/bigdargon/hostsVN",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/bigdargon/hostsVN/issues",
|
||||
"url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN",
|
||||
"license": "MIT"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"name": "lightswitch05",
|
||||
"description": "Block ad and tracking domains.",
|
||||
"homeurl": "https://github.com/lightswitch05/hosts",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/lightswitch05/hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt",
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
# MalwareDomainList.com Hosts List #
|
||||
# http://www.malwaredomainlist.com/hostslist/hosts.txt #
|
||||
# Last updated: Thu, 07 Jun 18 06:58:43 +0000 #
|
||||
# Last updated: Thu, 21 Feb 19 17:45:13 +0000 #
|
||||
|
||||
|
||||
127.0.0.1 localhost
|
||||
@@ -68,7 +68,6 @@
|
||||
127.0.0.1 associatesexports.com
|
||||
127.0.0.1 atlcourier.com
|
||||
127.0.0.1 atyss.barginginfrance.net
|
||||
127.0.0.1 avokka.com
|
||||
127.0.0.1 avppet.com
|
||||
127.0.0.1 axisbuild.com
|
||||
127.0.0.1 azoos.csheaven.com
|
||||
@@ -147,7 +146,6 @@
|
||||
127.0.0.1 d1.kuai8.com
|
||||
127.0.0.1 d1054130-28095.cp.blacknight.com
|
||||
127.0.0.1 d1171912.cp.blacknight.com
|
||||
127.0.0.1 d32k27yvyi4kmv.cloudfront.net
|
||||
127.0.0.1 d4.cumshots.ws
|
||||
127.0.0.1 dancecourt.com
|
||||
127.0.0.1 daralasnan.com
|
||||
@@ -226,7 +224,6 @@
|
||||
127.0.0.1 ex.technor.com
|
||||
127.0.0.1 exclaim.goldenteamacademy.cl
|
||||
127.0.0.1 executivecoaching.co.il
|
||||
127.0.0.1 exsexytop.tk
|
||||
127.0.0.1 extreembilisim.com
|
||||
127.0.0.1 f.gj555.net
|
||||
127.0.0.1 faiyazahmed.com
|
||||
@@ -242,7 +239,6 @@
|
||||
127.0.0.1 files.dsnetwb.com
|
||||
127.0.0.1 finnhair.co.uk
|
||||
127.0.0.1 firehouse651.com
|
||||
127.0.0.1 fkhfgfg.tk
|
||||
127.0.0.1 flashsavant.com
|
||||
127.0.0.1 fo5.a1-downloader.org
|
||||
127.0.0.1 fondazioneciampi.org
|
||||
@@ -274,7 +270,6 @@
|
||||
127.0.0.1 gyboo.cruisingsmallship.com
|
||||
127.0.0.1 gylra.cruisingsmallship.com
|
||||
127.0.0.1 h1666015.stratoserver.net
|
||||
127.0.0.1 hana-naveh.com
|
||||
127.0.0.1 hanulsms.com
|
||||
127.0.0.1 hardcorepornparty.com
|
||||
127.0.0.1 harshwhispers.com
|
||||
@@ -373,7 +368,6 @@
|
||||
127.0.0.1 lifescience.sysu.edu.cn
|
||||
127.0.0.1 likes.gisnetwork.net
|
||||
127.0.0.1 linkforme.tk
|
||||
127.0.0.1 live-dir.tk
|
||||
127.0.0.1 livre.wasastation.fi
|
||||
127.0.0.1 loft2126.dedicatedpanel.com
|
||||
127.0.0.1 losas.cabanaslanina.com.ar
|
||||
@@ -404,7 +398,6 @@
|
||||
127.0.0.1 marx-brothers.mhwang.com
|
||||
127.0.0.1 mathenea.com
|
||||
127.0.0.1 maxisoft.co.uk
|
||||
127.0.0.1 mbrdot.tk
|
||||
127.0.0.1 mediatrade.h19.ru
|
||||
127.0.0.1 mepra.blautechnology.cl
|
||||
127.0.0.1 merrymilkfoods.com
|
||||
@@ -466,7 +459,6 @@
|
||||
127.0.0.1 nowina.info
|
||||
127.0.0.1 ns1.the-sinner.net
|
||||
127.0.0.1 ns1.updatesdns.org
|
||||
127.0.0.1 ns2ns1.tk
|
||||
127.0.0.1 nt-associates.com
|
||||
127.0.0.1 nudebeachgalleries.net
|
||||
127.0.0.1 nugly.barginginfrance.net
|
||||
@@ -590,17 +582,11 @@
|
||||
127.0.0.1 sanya.vipc2f.com
|
||||
127.0.0.1 sarahdaniella.com
|
||||
127.0.0.1 sasson-cpa.co.il
|
||||
127.0.0.1 sayherbal.com
|
||||
127.0.0.1 sbnc.hak.su
|
||||
127.0.0.1 scaner-do.tk
|
||||
127.0.0.1 scaner-figy.tk
|
||||
127.0.0.1 scaner-file.tk
|
||||
127.0.0.1 scaner-or.tk
|
||||
127.0.0.1 scaner-sbite.tk
|
||||
127.0.0.1 scaner-sboom.tk
|
||||
127.0.0.1 scaner-sdee.tk
|
||||
127.0.0.1 scaner-tfeed.tk
|
||||
127.0.0.1 scaner-tgame.tk
|
||||
127.0.0.1 scanty.colormark.cl
|
||||
127.0.0.1 scdsfdfgdr12.tk
|
||||
127.0.0.1 scream.garudamp3.com
|
||||
@@ -618,7 +604,6 @@
|
||||
127.0.0.1 sgs.us.com
|
||||
127.0.0.1 shoal.grahanusareadymix.com
|
||||
127.0.0.1 shovi.frost-electric-supply.com
|
||||
127.0.0.1 signready.com
|
||||
127.0.0.1 silurian.cn
|
||||
127.0.0.1 simpi.tourstogo.us
|
||||
127.0.0.1 site-checksite.tk
|
||||
@@ -733,7 +718,6 @@
|
||||
127.0.0.1 spekband.com
|
||||
127.0.0.1 sportsulsan.co.kr
|
||||
127.0.0.1 spread.diadanoivabh.com.br
|
||||
127.0.0.1 spykit.110mb.com
|
||||
127.0.0.1 srslogisticts.com
|
||||
127.0.0.1 ssl-6582datamanager.de
|
||||
127.0.0.1 static.retirementcommunitiesfyi.com
|
||||
@@ -747,7 +731,6 @@
|
||||
127.0.0.1 sunny99.cholerik.cz
|
||||
127.0.0.1 svetyivanrilski.com
|
||||
127.0.0.1 svision-online.de
|
||||
127.0.0.1 sysconcalibration.com
|
||||
127.0.0.1 systemscheckusa.com
|
||||
127.0.0.1 szinhaz.hu
|
||||
127.0.0.1 tabex.sopharma.bg
|
||||
@@ -765,7 +748,6 @@
|
||||
127.0.0.1 teprom.it
|
||||
127.0.0.1 terem.eltransbt.ro
|
||||
127.0.0.1 testtralala.xorg.pl
|
||||
127.0.0.1 textsex.tk
|
||||
127.0.0.1 textspeier.de
|
||||
127.0.0.1 thcextractor.com
|
||||
127.0.0.1 thcvaporizer.com
|
||||
@@ -902,8 +884,6 @@
|
||||
127.0.0.1 wallpapers91.com
|
||||
127.0.0.1 warco.pl
|
||||
127.0.0.1 wc0x83ghk.homepage.t-online.de
|
||||
127.0.0.1 web-domain.tk
|
||||
127.0.0.1 web-fill.tk
|
||||
127.0.0.1 web-olymp.ru
|
||||
127.0.0.1 web-sensations.com
|
||||
127.0.0.1 webcashmaker.com
|
||||
@@ -912,7 +892,6 @@
|
||||
127.0.0.1 weboxmedia.by
|
||||
127.0.0.1 websalesusa.com
|
||||
127.0.0.1 websitebuildersinfo.in
|
||||
127.0.0.1 welington.info
|
||||
127.0.0.1 wetjane.x10.mx
|
||||
127.0.0.1 wetyt.tourstogo.us
|
||||
127.0.0.1 wfoto.front.ru
|
||||
@@ -983,7 +962,6 @@
|
||||
127.0.0.1 www.fasadobygg.com
|
||||
127.0.0.1 www.feiyang163.com
|
||||
127.0.0.1 www.fiduciariobajio.com.mx
|
||||
127.0.0.1 www.fiocchidiriso.com
|
||||
127.0.0.1 www.flowtec.com.br
|
||||
127.0.0.1 www.fotoidea.com
|
||||
127.0.0.1 www.freemao.com
|
||||
@@ -1013,7 +991,6 @@
|
||||
127.0.0.1 www.litra.com.mk
|
||||
127.0.0.1 www.lostartofbeingadame.com
|
||||
127.0.0.1 www.lowes-pianos-and-organs.com
|
||||
127.0.0.1 www.luce.polimi.it
|
||||
127.0.0.1 www.lyzgs.com
|
||||
127.0.0.1 www.m-barati.de
|
||||
127.0.0.1 www.makohela.tk
|
||||
@@ -1057,7 +1034,6 @@
|
||||
127.0.0.1 www.rokus-tgy.hu
|
||||
127.0.0.1 www.roltek.com.tr
|
||||
127.0.0.1 www.rooversadvocatuur.nl
|
||||
127.0.0.1 www.rst-velbert.de
|
||||
127.0.0.1 www.saemark.is
|
||||
127.0.0.1 www.salentoeasy.it
|
||||
127.0.0.1 www.sankyo.gr.jp
|
||||
@@ -1111,8 +1087,6 @@
|
||||
127.0.0.1 www.zatzy.com
|
||||
127.0.0.1 www.zctei.com
|
||||
127.0.0.1 www.zyxyfy.com
|
||||
127.0.0.1 www12.0zz0.com
|
||||
127.0.0.1 www8.0zz0.com
|
||||
127.0.0.1 xamateurpornlic.www1.biz
|
||||
127.0.0.1 xicaxique.com.br
|
||||
127.0.0.1 xindalawyer.com
|
||||
|
||||
+104
-1609
File diff suppressed because it is too large
Load Diff
+868
-140
File diff suppressed because it is too large
Load Diff
+2199
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Tiuxo hostlist - ads",
|
||||
"description": "Categorized hosts files for DNS based content blocking",
|
||||
"homeurl": "https://github.com/tiuxo/hosts",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/tiuxo/hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/tiuxo/hosts/master/ads",
|
||||
"license": "CC BY 4.0"
|
||||
}
|
||||
+881
-258
File diff suppressed because it is too large
Load Diff
+278
-3
@@ -3,16 +3,23 @@
|
||||
0.0.0.0 21stcenturywire.com
|
||||
0.0.0.0 365usanews.com
|
||||
0.0.0.0 4threvolutionarywar.wordpress.com
|
||||
0.0.0.0 5galert.com
|
||||
0.0.0.0 70news.wordpress.com
|
||||
0.0.0.0 aanirfan.blogspot.com
|
||||
0.0.0.0 abcnews.com.co
|
||||
0.0.0.0 abolishsocialism.com
|
||||
0.0.0.0 abortions.news
|
||||
0.0.0.0 absurd.news
|
||||
0.0.0.0 addictinginfo.org
|
||||
0.0.0.0 addiction.news
|
||||
0.0.0.0 adobochronicles.com
|
||||
0.0.0.0 africannewsupdates.com
|
||||
0.0.0.0 ahtribune.com
|
||||
0.0.0.0 alertchild.com
|
||||
0.0.0.0 aljazeera-channel.com
|
||||
0.0.0.0 allnewspipeline.com
|
||||
0.0.0.0 altleft.news
|
||||
0.0.0.0 aluminum.news
|
||||
0.0.0.0 alynews.com
|
||||
0.0.0.0 americanfreepress.net
|
||||
0.0.0.0 americanlookout.com
|
||||
@@ -26,37 +33,66 @@
|
||||
0.0.0.0 anonhq.com
|
||||
0.0.0.0 anonymousnews.ru
|
||||
0.0.0.0 anotherdayintheempire.com
|
||||
0.0.0.0 anticancer.news
|
||||
0.0.0.0 areyouasleep.com
|
||||
0.0.0.0 asamericanasapplepie.org
|
||||
0.0.0.0 asheepnomore.net
|
||||
0.0.0.0 asia-pacificresearch.com
|
||||
0.0.0.0 aspartame.news
|
||||
0.0.0.0 assassinationscience.com
|
||||
0.0.0.0 associatedmediacoverage.com
|
||||
0.0.0.0 atrazine.news
|
||||
0.0.0.0 autismtruthnews.com
|
||||
0.0.0.0 awakening.news
|
||||
0.0.0.0 awarenessact.com
|
||||
0.0.0.0 awazetribune.com
|
||||
0.0.0.0 awdnews.com
|
||||
0.0.0.0 badcriminals.com
|
||||
0.0.0.0 baddoctors.news
|
||||
0.0.0.0 baltimoregazette.com
|
||||
0.0.0.0 barackobama.news
|
||||
0.0.0.0 bb4sp.com
|
||||
0.0.0.0 bees.news
|
||||
0.0.0.0 beforeitsnews.com
|
||||
0.0.0.0 bentspud.com
|
||||
0.0.0.0 bigamericannews.com
|
||||
0.0.0.0 biggovernment.news
|
||||
0.0.0.0 biglawnewsline.com
|
||||
0.0.0.0 bigleaguepolitics.com
|
||||
0.0.0.0 bignuggetnews.com
|
||||
0.0.0.0 bigpharmanews.com
|
||||
0.0.0.0 bigpzone.com
|
||||
0.0.0.0 bigtech.news
|
||||
0.0.0.0 billnye.news
|
||||
0.0.0.0 biotech.news
|
||||
0.0.0.0 bipartisanreport.com
|
||||
0.0.0.0 bitcoincrash.news
|
||||
0.0.0.0 bizstandardnews.com
|
||||
0.0.0.0 blackgenocide.org
|
||||
0.0.0.0 blacklistednews.com
|
||||
0.0.0.0 blog.halle-leaks.de
|
||||
0.0.0.0 bluenationreview.com
|
||||
0.0.0.0 brain.news
|
||||
0.0.0.0 brainfunction.news
|
||||
0.0.0.0 breakthrough.news
|
||||
0.0.0.0 bugout.news
|
||||
0.0.0.0 butthatsnoneofmybusiness.com
|
||||
0.0.0.0 cacao.news
|
||||
0.0.0.0 caintv.com
|
||||
0.0.0.0 campusinsanity.com
|
||||
0.0.0.0 canadafreepress.com
|
||||
0.0.0.0 cancermyths.com
|
||||
0.0.0.0 cancerscams.com
|
||||
0.0.0.0 cancersolutions.news
|
||||
0.0.0.0 cancertumors.news
|
||||
0.0.0.0 cap-news.com
|
||||
0.0.0.0 carbondioxide.news
|
||||
0.0.0.0 cartelpress.com
|
||||
0.0.0.0 cartelreport.com
|
||||
0.0.0.0 cbds.news
|
||||
0.0.0.0 cdc.news
|
||||
0.0.0.0 celebrityreputation.com
|
||||
0.0.0.0 censorship.news
|
||||
0.0.0.0 channel-7-news.com
|
||||
0.0.0.0 channel16news.com
|
||||
0.0.0.0 channel17news.com
|
||||
@@ -69,16 +105,32 @@
|
||||
0.0.0.0 channel34news.com
|
||||
0.0.0.0 channel45news.com
|
||||
0.0.0.0 channel5000.com
|
||||
0.0.0.0 chaos.news
|
||||
0.0.0.0 chemicals.news
|
||||
0.0.0.0 chemistry.news
|
||||
0.0.0.0 chemo.news
|
||||
0.0.0.0 chemotherapy.news
|
||||
0.0.0.0 chemtrailsnews.com
|
||||
0.0.0.0 chemtrailsplanet.net
|
||||
0.0.0.0 chocolate.news
|
||||
0.0.0.0 christianfightback.com
|
||||
0.0.0.0 christiantimesnewspaper.com
|
||||
0.0.0.0 christwire.org
|
||||
0.0.0.0 chronicle.su
|
||||
0.0.0.0 civictribune.com
|
||||
0.0.0.0 civilwar.news
|
||||
0.0.0.0 clancyreport.com
|
||||
0.0.0.0 clashdaily.com
|
||||
0.0.0.0 cleanfoodwatch.com
|
||||
0.0.0.0 cleanwater.news
|
||||
0.0.0.0 climate.news
|
||||
0.0.0.0 climatealarmism.news
|
||||
0.0.0.0 climatesciencenews.com
|
||||
0.0.0.0 cnn.com.de
|
||||
0.0.0.0 collapse.news
|
||||
0.0.0.0 collapsifornia.com
|
||||
0.0.0.0 collectivelyconscious.net
|
||||
0.0.0.0 computing.news
|
||||
0.0.0.0 consciouslifenews.com
|
||||
0.0.0.0 conservative101.com
|
||||
0.0.0.0 conservativebyte.com
|
||||
@@ -89,8 +141,12 @@
|
||||
0.0.0.0 conservativerefocus.com
|
||||
0.0.0.0 conservativestate.com
|
||||
0.0.0.0 conservativetribune.com
|
||||
0.0.0.0 conspiracy.news
|
||||
0.0.0.0 conspiracydailyupdate.com
|
||||
0.0.0.0 conspiracyplanet.com
|
||||
0.0.0.0 cortezwatch.com
|
||||
0.0.0.0 cosmetics.news
|
||||
0.0.0.0 cosmic.news
|
||||
0.0.0.0 countdowntozerotime.com
|
||||
0.0.0.0 countercurrentnews.com
|
||||
0.0.0.0 counterpsyops.com
|
||||
@@ -99,6 +155,9 @@
|
||||
0.0.0.0 crazynewsreports.com
|
||||
0.0.0.0 creambmp.com
|
||||
0.0.0.0 cronicadeportiva.com
|
||||
0.0.0.0 cures.news
|
||||
0.0.0.0 cyberwar.news
|
||||
0.0.0.0 cyborg.news
|
||||
0.0.0.0 dailybuzzlive.com
|
||||
0.0.0.0 dailycaller.com
|
||||
0.0.0.0 dailycurrant.com
|
||||
@@ -108,16 +167,33 @@
|
||||
0.0.0.0 dailyoccupation.com
|
||||
0.0.0.0 dailypostfeed.com
|
||||
0.0.0.0 dandygoat.com
|
||||
0.0.0.0 dangerousmedicine.com
|
||||
0.0.0.0 davidduke.com
|
||||
0.0.0.0 davidgorski.news
|
||||
0.0.0.0 dcleaks.com
|
||||
0.0.0.0 dcposts.com
|
||||
0.0.0.0 dcwhispers.com
|
||||
0.0.0.0 deepinsidetherabbithole.com
|
||||
0.0.0.0 deepstate.news
|
||||
0.0.0.0 dementia.news
|
||||
0.0.0.0 democide.news
|
||||
0.0.0.0 democraticreview.com
|
||||
0.0.0.0 demonic.news
|
||||
0.0.0.0 demonictimes.com
|
||||
0.0.0.0 dennismichaellynch.com
|
||||
0.0.0.0 denverguardian.com
|
||||
0.0.0.0 departed.co
|
||||
0.0.0.0 departedmedia.info
|
||||
0.0.0.0 depopulation.news
|
||||
0.0.0.0 depressionsymptoms.news
|
||||
0.0.0.0 diabetescure.news
|
||||
0.0.0.0 diabetessciencenews.com
|
||||
0.0.0.0 dicamba.news
|
||||
0.0.0.0 digestion.news
|
||||
0.0.0.0 disaster.news
|
||||
0.0.0.0 discoveries.news
|
||||
0.0.0.0 divinitynow.org
|
||||
0.0.0.0 dnc.news
|
||||
0.0.0.0 donaldtrumpnews.co
|
||||
0.0.0.0 downtrend.com
|
||||
0.0.0.0 drudgereport.com.co
|
||||
@@ -126,70 +202,140 @@
|
||||
0.0.0.0 eaglerising.com
|
||||
0.0.0.0 educate-yourself.org
|
||||
0.0.0.0 educateinspirechange.org
|
||||
0.0.0.0 electricity.news
|
||||
0.0.0.0 embols.com
|
||||
0.0.0.0 emergencyfood.news
|
||||
0.0.0.0 emf.news
|
||||
0.0.0.0 emp.news
|
||||
0.0.0.0 empireherald.com
|
||||
0.0.0.0 empirenews.com
|
||||
0.0.0.0 empirenews.net
|
||||
0.0.0.0 endingthefed.com
|
||||
0.0.0.0 endoftheamericandream.com
|
||||
0.0.0.0 environ.news
|
||||
0.0.0.0 epa.news
|
||||
0.0.0.0 ericholder.news
|
||||
0.0.0.0 essentialoils.news
|
||||
0.0.0.0 eugenics.news
|
||||
0.0.0.0 euthanasia.news
|
||||
0.0.0.0 eutopia.buzz
|
||||
0.0.0.0 everydaybreakingnews.com
|
||||
0.0.0.0 evil.news
|
||||
0.0.0.0 evilnewsom.com
|
||||
0.0.0.0 extinction.news
|
||||
0.0.0.0 eyehealth.news
|
||||
0.0.0.0 fakebook.news
|
||||
0.0.0.0 faked.news
|
||||
0.0.0.0 fakescience.news
|
||||
0.0.0.0 falseflag.news
|
||||
0.0.0.0 familysecuritymatters.org
|
||||
0.0.0.0 famousviralstories.com
|
||||
0.0.0.0 fanzinger.com
|
||||
0.0.0.0 fasting.news
|
||||
0.0.0.0 fbicorruption.news
|
||||
0.0.0.0 fda.news
|
||||
0.0.0.0 federalistpress.com
|
||||
0.0.0.0 fedsalert.com
|
||||
0.0.0.0 fellowshipoftheminds.com
|
||||
0.0.0.0 fightobesity.news
|
||||
0.0.0.0 firebrandleft.com
|
||||
0.0.0.0 fluoride.news
|
||||
0.0.0.0 flyingcars.news
|
||||
0.0.0.0 fmobserver.com
|
||||
0.0.0.0 focusnews.us
|
||||
0.0.0.0 folksvideo.com
|
||||
0.0.0.0 foodcollapse.com
|
||||
0.0.0.0 foodevolution.news
|
||||
0.0.0.0 foodfreedom.news
|
||||
0.0.0.0 foodismedicine.com
|
||||
0.0.0.0 foodscience.news
|
||||
0.0.0.0 foodstorage.news
|
||||
0.0.0.0 foodsupply.news
|
||||
0.0.0.0 forbiddenknowledgetv.net
|
||||
0.0.0.0 fprnradio.com
|
||||
0.0.0.0 fracking.news
|
||||
0.0.0.0 freebeacon.com
|
||||
0.0.0.0 freedom-articles.toolsforfreedom.com
|
||||
0.0.0.0 freedom.news
|
||||
0.0.0.0 freedomdaily.com
|
||||
0.0.0.0 freedomoutpost.com
|
||||
0.0.0.0 fresh.news
|
||||
0.0.0.0 fromthetrenchesworldreport.com
|
||||
0.0.0.0 fruits.news
|
||||
0.0.0.0 fuhrerious88blog.wordpress.com
|
||||
0.0.0.0 fukushima.news
|
||||
0.0.0.0 fukushimawatch.com
|
||||
0.0.0.0 fusionlacedillusions.com
|
||||
0.0.0.0 futuresciencenews.com
|
||||
0.0.0.0 galacticconnection.com
|
||||
0.0.0.0 gangstergovernment.com
|
||||
0.0.0.0 gatesofvienna.net
|
||||
0.0.0.0 gender.news
|
||||
0.0.0.0 genocide.news
|
||||
0.0.0.0 geoengineering.news
|
||||
0.0.0.0 glitch.news
|
||||
0.0.0.0 globalresearch.ca
|
||||
0.0.0.0 glossynews.com
|
||||
0.0.0.0 glyphocide.news
|
||||
0.0.0.0 glyphosate.news
|
||||
0.0.0.0 gmo.news
|
||||
0.0.0.0 godtoday.com
|
||||
0.0.0.0 gomerblog.com
|
||||
0.0.0.0 gopthedailydose.com
|
||||
0.0.0.0 gotnews.com
|
||||
0.0.0.0 govtslaves.com
|
||||
0.0.0.0 govtslaves.info
|
||||
0.0.0.0 greatertexan.com
|
||||
0.0.0.0 greenlivingnews.com
|
||||
0.0.0.0 grocery.news
|
||||
0.0.0.0 guccifer2.wordpress.com
|
||||
0.0.0.0 gulagbound.com
|
||||
0.0.0.0 hahaloud.com
|
||||
0.0.0.0 healthcoverage.news
|
||||
0.0.0.0 healthfreedom.news
|
||||
0.0.0.0 healthimpactnews.com
|
||||
0.0.0.0 healthrangerapproved.com
|
||||
0.0.0.0 healthrangerscience.com
|
||||
0.0.0.0 healthscience.news
|
||||
0.0.0.0 heart.news
|
||||
0.0.0.0 heartdisease.news
|
||||
0.0.0.0 heathenwomen.com
|
||||
0.0.0.0 heaviermetal.net
|
||||
0.0.0.0 heavymetals.news
|
||||
0.0.0.0 hempscience.news
|
||||
0.0.0.0 henrymakow.com
|
||||
0.0.0.0 hoax.news
|
||||
0.0.0.0 hollywoodhater.com
|
||||
0.0.0.0 holylandnutrition.com
|
||||
0.0.0.0 homeschooling.news
|
||||
0.0.0.0 howardschultz.news
|
||||
0.0.0.0 humansarefree.com
|
||||
0.0.0.0 hydrogenwater.news
|
||||
0.0.0.0 ihavethetruth.com
|
||||
0.0.0.0 illuminati-news.com
|
||||
0.0.0.0 immediatesafety.org
|
||||
0.0.0.0 immunization.news
|
||||
0.0.0.0 imzansi.co.za
|
||||
0.0.0.0 indiaarising.com
|
||||
0.0.0.0 info.kopp-verlag.de
|
||||
0.0.0.0 infowars.com
|
||||
0.0.0.0 ingredients.news
|
||||
0.0.0.0 intellihub.com
|
||||
0.0.0.0 inthenow.media
|
||||
0.0.0.0 intrendtoday.com
|
||||
0.0.0.0 invasionusa.news
|
||||
0.0.0.0 inventions.news
|
||||
0.0.0.0 investmentwatchblog.com
|
||||
0.0.0.0 irishufology.net
|
||||
0.0.0.0 ironictimes.com
|
||||
0.0.0.0 islamicanews.com
|
||||
0.0.0.0 itaglive.com
|
||||
0.0.0.0 jamescomey.news
|
||||
0.0.0.0 jamesfetzer.blogspot.com
|
||||
0.0.0.0 jameslico.com
|
||||
0.0.0.0 janmorganmedia.com
|
||||
0.0.0.0 jeffbezoswatch.com
|
||||
0.0.0.0 joebiden.news
|
||||
0.0.0.0 joeforamerica.com
|
||||
0.0.0.0 jokerviral.com
|
||||
0.0.0.0 jonesreport.com
|
||||
@@ -206,8 +352,11 @@
|
||||
0.0.0.0 kypo6.com
|
||||
0.0.0.0 landdestroyer.blogspot.com
|
||||
0.0.0.0 larouchepub.com
|
||||
0.0.0.0 leftcult.com
|
||||
0.0.0.0 leftcult.com
|
||||
0.0.0.0 liberaldarkness.com
|
||||
0.0.0.0 liberalsociety.com
|
||||
0.0.0.0 liberty.news
|
||||
0.0.0.0 libertyblitzkrieg.com
|
||||
0.0.0.0 libertymovementradio.com
|
||||
0.0.0.0 libertynews.com
|
||||
@@ -219,6 +368,7 @@
|
||||
0.0.0.0 literallyunbelievable.org
|
||||
0.0.0.0 livemonitor.co.za
|
||||
0.0.0.0 livingresistance.com
|
||||
0.0.0.0 longevitysciencenews.com
|
||||
0.0.0.0 lucidawakenings.net
|
||||
0.0.0.0 madashellnews.com
|
||||
0.0.0.0 madworldnews.com
|
||||
@@ -227,33 +377,66 @@
|
||||
0.0.0.0 mbynews.com
|
||||
0.0.0.0 mckenziepost.com
|
||||
0.0.0.0 mediamass.net
|
||||
0.0.0.0 medicalextremism.com
|
||||
0.0.0.0 medicaltech.news
|
||||
0.0.0.0 medicaltyranny.com
|
||||
0.0.0.0 medicalviolence.com
|
||||
0.0.0.0 medicine.news
|
||||
0.0.0.0 memoryholeblog.com
|
||||
0.0.0.0 metals.news
|
||||
0.0.0.0 microplastics.news
|
||||
0.0.0.0 mike.news
|
||||
0.0.0.0 mikeadams.news
|
||||
0.0.0.0 mind.news
|
||||
0.0.0.0 mindbodyscience.news
|
||||
0.0.0.0 mindcontrol.news
|
||||
0.0.0.0 mindenszo.hu
|
||||
0.0.0.0 monsanto.news
|
||||
0.0.0.0 monsantomafia.com
|
||||
0.0.0.0 moralmatters.org
|
||||
0.0.0.0 mpidailymagazine.com
|
||||
0.0.0.0 mrnewswatch.com
|
||||
0.0.0.0 msg.news
|
||||
0.0.0.0 msnbc.website
|
||||
0.0.0.0 myfoodepic.com
|
||||
0.0.0.0 myzonetoday.com
|
||||
0.0.0.0 nahadaily.com
|
||||
0.0.0.0 nanotechnology.news
|
||||
0.0.0.0 nationalreport.net
|
||||
0.0.0.0 nationalsecurity.news
|
||||
0.0.0.0 nationonenews.com
|
||||
0.0.0.0 naturalcures.news
|
||||
0.0.0.0 naturalhealth.news
|
||||
0.0.0.0 naturalmedicine.news
|
||||
0.0.0.0 naturalnewscharity.com
|
||||
0.0.0.0 naturalnewsnutrients.com
|
||||
0.0.0.0 naturalnewsobserver.com
|
||||
0.0.0.0 naturalnewsrecipes.com
|
||||
0.0.0.0 naturalnewsreference.com
|
||||
0.0.0.0 naturalnewstips.com
|
||||
0.0.0.0 naturalpedia.com
|
||||
0.0.0.0 naturopathy.news
|
||||
0.0.0.0 nbcnews.io
|
||||
0.0.0.0 netlivemedia.com
|
||||
0.0.0.0 nevo.news
|
||||
0.0.0.0 newcenturytimes.com
|
||||
0.0.0.0 newenergyreport.com
|
||||
0.0.0.0 newobserveronline.com
|
||||
0.0.0.0 news4ktla.com
|
||||
0.0.0.0 newsbiscuit.com
|
||||
0.0.0.0 newsbreakers.org
|
||||
0.0.0.0 newsbuzzdaily.com
|
||||
0.0.0.0 newsexaminer.net
|
||||
0.0.0.0 newsguardwatch.com
|
||||
0.0.0.0 newshubs.info
|
||||
0.0.0.0 newslo.com
|
||||
0.0.0.0 newsmutiny.com
|
||||
0.0.0.0 newsnow.co.za
|
||||
0.0.0.0 newsnow17.com
|
||||
0.0.0.0 newsparody.com
|
||||
0.0.0.0 newspunch.com
|
||||
0.0.0.0 newstarget.com
|
||||
0.0.0.0 newstarget.com
|
||||
0.0.0.0 newsthump.com
|
||||
0.0.0.0 newswatch28.com
|
||||
0.0.0.0 newswatch33.com
|
||||
0.0.0.0 newswire-24.com
|
||||
@@ -263,22 +446,41 @@
|
||||
0.0.0.0 nodisinfo.com
|
||||
0.0.0.0 notallowedto.com
|
||||
0.0.0.0 now8news.com
|
||||
0.0.0.0 npr.news
|
||||
0.0.0.0 nsnbc.me
|
||||
0.0.0.0 nuclear.news
|
||||
0.0.0.0 nuclearweapons.news
|
||||
0.0.0.0 nutrients.news
|
||||
0.0.0.0 occupydemocrats.com
|
||||
0.0.0.0 off-guardian.org
|
||||
0.0.0.0 oftwominds.com
|
||||
0.0.0.0 oilgeopolitics.net
|
||||
0.0.0.0 oncology.news
|
||||
0.0.0.0 onlineconservativepress.com
|
||||
0.0.0.0 opednews.com
|
||||
0.0.0.0 openborders.news
|
||||
0.0.0.0 opioids.news
|
||||
0.0.0.0 oreillypost.com
|
||||
0.0.0.0 organharvesting.news
|
||||
0.0.0.0 organicfarming.news
|
||||
0.0.0.0 organics.news
|
||||
0.0.0.0 orientalreview.org
|
||||
0.0.0.0 ourshiftingperspective.com
|
||||
0.0.0.0 outbreak.news
|
||||
0.0.0.0 pamelageller.com
|
||||
0.0.0.0 pandemic.news
|
||||
0.0.0.0 patriotnewsagency.com
|
||||
0.0.0.0 patriotrising.com
|
||||
0.0.0.0 patriotupdate.com
|
||||
0.0.0.0 pensions.news
|
||||
0.0.0.0 persecutes.com
|
||||
0.0.0.0 pesticides.news
|
||||
0.0.0.0 petfoodwarning.com
|
||||
0.0.0.0 pethealthdaily.com
|
||||
0.0.0.0 physics.news
|
||||
0.0.0.0 plague.info
|
||||
0.0.0.0 platosguns.com
|
||||
0.0.0.0 policestate.news
|
||||
0.0.0.0 politicalblindspot.com
|
||||
0.0.0.0 politicalcult.com
|
||||
0.0.0.0 politicalears.com
|
||||
@@ -287,54 +489,105 @@
|
||||
0.0.0.0 politicalvelcraft.org
|
||||
0.0.0.0 politicops.com
|
||||
0.0.0.0 politistick.com
|
||||
0.0.0.0 pollution.news
|
||||
0.0.0.0 populationcollapse.com
|
||||
0.0.0.0 populationcontrol.news
|
||||
0.0.0.0 power.news
|
||||
0.0.0.0 powergrid.news
|
||||
0.0.0.0 preparedness.news
|
||||
0.0.0.0 president45donaldtrump.com
|
||||
0.0.0.0 pressfortruth.ca
|
||||
0.0.0.0 presstv.com
|
||||
0.0.0.0 preventcancer.news
|
||||
0.0.0.0 privacywatch.news
|
||||
0.0.0.0 prntly.com
|
||||
0.0.0.0 progress.news
|
||||
0.0.0.0 projectveritas.com
|
||||
0.0.0.0 propaganda.news
|
||||
0.0.0.0 prophecy.news
|
||||
0.0.0.0 qpolitical.com
|
||||
0.0.0.0 quackery.news
|
||||
0.0.0.0 qualitysharing.com
|
||||
0.0.0.0 racerelations.news
|
||||
0.0.0.0 radiation.news
|
||||
0.0.0.0 rbth.com
|
||||
0.0.0.0 readconservatives.news
|
||||
0.0.0.0 readynutrition.com
|
||||
0.0.0.0 reagancoalition.com
|
||||
0.0.0.0 realnewsrightnow.com
|
||||
0.0.0.0 realsciencenews.com
|
||||
0.0.0.0 redstatewatcher.com
|
||||
0.0.0.0 regated.com
|
||||
0.0.0.0 rense.com
|
||||
0.0.0.0 reporter.bz
|
||||
0.0.0.0 research.news
|
||||
0.0.0.0 revolt.news
|
||||
0.0.0.0 richardpan.news
|
||||
0.0.0.0 rickwells.us
|
||||
0.0.0.0 rightalerts.com
|
||||
0.0.0.0 rightwingnews.com
|
||||
0.0.0.0 rilenews.com
|
||||
0.0.0.0 rinf.com
|
||||
0.0.0.0 risk.news
|
||||
0.0.0.0 robertmueller.news
|
||||
0.0.0.0 robotics.news
|
||||
0.0.0.0 robots.news
|
||||
0.0.0.0 ronpaulinstitute.org
|
||||
0.0.0.0 rumormillnews.com
|
||||
0.0.0.0 ruptly.tv
|
||||
0.0.0.0 russia-insider.com
|
||||
0.0.0.0 samuel-warde.com
|
||||
0.0.0.0 sana.sy
|
||||
0.0.0.0 satanictech.com
|
||||
0.0.0.0 satanism.news
|
||||
0.0.0.0 science.news
|
||||
0.0.0.0 scienceclowns.com
|
||||
0.0.0.0 sciencedeception.com
|
||||
0.0.0.0 sciencetyranny.com
|
||||
0.0.0.0 scientific.news
|
||||
0.0.0.0 scrapetv.com
|
||||
0.0.0.0 scrappleface.com
|
||||
0.0.0.0 secondamendment.news
|
||||
0.0.0.0 sentinelblog.com
|
||||
0.0.0.0 sgtreport.com
|
||||
0.0.0.0 sheepkillers.com
|
||||
0.0.0.0 sheeple.news
|
||||
0.0.0.0 shoebat.com
|
||||
0.0.0.0 shtf.news
|
||||
0.0.0.0 silentmajoritypatriots.com
|
||||
0.0.0.0 sitsshow.blogspot.com
|
||||
0.0.0.0 skeptiko.com
|
||||
0.0.0.0 slender.news
|
||||
0.0.0.0 smartmeters.news
|
||||
0.0.0.0 smhwtfnews.com
|
||||
0.0.0.0 snopes.news
|
||||
0.0.0.0 solarpanels.news
|
||||
0.0.0.0 somicom.com
|
||||
0.0.0.0 southfront.org
|
||||
0.0.0.0 space.news
|
||||
0.0.0.0 spacetourism.news
|
||||
0.0.0.0 splc.news
|
||||
0.0.0.0 sputniknews.com
|
||||
0.0.0.0 starbuckswatch.news
|
||||
0.0.0.0 stateofthenation2012.com
|
||||
0.0.0.0 statins.news
|
||||
0.0.0.0 stgeorgegazette.com
|
||||
0.0.0.0 stneotscitizen.com
|
||||
0.0.0.0 stopsmoking.news
|
||||
0.0.0.0 stormcloudsgathering.com
|
||||
0.0.0.0 straightstoned.com
|
||||
0.0.0.0 stupid.news
|
||||
0.0.0.0 stuppid.com
|
||||
0.0.0.0 subjectpolitics.com
|
||||
0.0.0.0 superbugs.news
|
||||
0.0.0.0 superfoods.news
|
||||
0.0.0.0 supplementsreport.com
|
||||
0.0.0.0 supremepatriot.com
|
||||
0.0.0.0 survivalgear.news
|
||||
0.0.0.0 sweeteners.news
|
||||
0.0.0.0 tapwater.news
|
||||
0.0.0.0 techgiants.news
|
||||
0.0.0.0 technocrats.news
|
||||
0.0.0.0 the-newspapers.com
|
||||
0.0.0.0 theamericanindependent.wordpress.com
|
||||
0.0.0.0 theamericanrevenant.com
|
||||
@@ -349,7 +602,6 @@
|
||||
0.0.0.0 thefreepatriot.org
|
||||
0.0.0.0 thefreethoughtproject.com
|
||||
0.0.0.0 thefrt.com
|
||||
0.0.0.0 thehardtimes.net
|
||||
0.0.0.0 theineptowl.com
|
||||
0.0.0.0 thelapine.ca
|
||||
0.0.0.0 thelastgreatstand.com
|
||||
@@ -394,26 +646,35 @@
|
||||
0.0.0.0 tmzworldstar.com
|
||||
0.0.0.0 tmzworldstarnews.com
|
||||
0.0.0.0 tomatobubble.com
|
||||
0.0.0.0 top10grocerysecrets.com
|
||||
0.0.0.0 topekasnews.com
|
||||
0.0.0.0 toprightnews.com
|
||||
0.0.0.0 totalworldnews.com
|
||||
0.0.0.0 tradcatknight.blogspot.com
|
||||
0.0.0.0 trafficking.news
|
||||
0.0.0.0 transhumanism.news
|
||||
0.0.0.0 treason.news
|
||||
0.0.0.0 truepundit.com
|
||||
0.0.0.0 trueworldhistory.info
|
||||
0.0.0.0 trump.news
|
||||
0.0.0.0 truth.news
|
||||
0.0.0.0 truthbroadcastnetwork.com
|
||||
0.0.0.0 truthfeed.com
|
||||
0.0.0.0 truthfrequencyradio.com
|
||||
0.0.0.0 truthkings.com
|
||||
0.0.0.0 truthpoliticsnews.com
|
||||
0.0.0.0 turmeric.news
|
||||
0.0.0.0 tv.infowars.com
|
||||
0.0.0.0 twitchy.com
|
||||
0.0.0.0 uconservative.com
|
||||
0.0.0.0 ufoholic.com
|
||||
0.0.0.0 ufos.news
|
||||
0.0.0.0 ultimateflashnews.com
|
||||
0.0.0.0 unclesamsmisguidedchildren.com
|
||||
0.0.0.0 unconfirmedsources.com
|
||||
0.0.0.0 undergroundnewsreport.com
|
||||
0.0.0.0 undergroundworldnews.com
|
||||
0.0.0.0 unexplained.news
|
||||
0.0.0.0 unitedmediapublishing.com
|
||||
0.0.0.0 us.blastingnews.com
|
||||
0.0.0.0 usaaroundtheworldnews.com
|
||||
@@ -431,7 +692,11 @@
|
||||
0.0.0.0 usslibertyveterans.org
|
||||
0.0.0.0 usuncut.com
|
||||
0.0.0.0 usviral.info
|
||||
0.0.0.0 vaccineholocaust.org
|
||||
0.0.0.0 vaccines.news
|
||||
0.0.0.0 vaccinewars.com
|
||||
0.0.0.0 vaclib.org
|
||||
0.0.0.0 veteranstoday.news
|
||||
0.0.0.0 vigilantcitizen.com
|
||||
0.0.0.0 viralactions.com
|
||||
0.0.0.0 viralcocaine.com
|
||||
@@ -441,22 +706,30 @@
|
||||
0.0.0.0 viralpropaganda.com
|
||||
0.0.0.0 viralspeech.com
|
||||
0.0.0.0 viralstuppid.com
|
||||
0.0.0.0 vitamind.news
|
||||
0.0.0.0 wakeupthesheep.com
|
||||
0.0.0.0 wakingupwisconsin.com
|
||||
0.0.0.0 waterfilters.news
|
||||
0.0.0.0 waterfordwhispersnews.com
|
||||
0.0.0.0 waterwars.news
|
||||
0.0.0.0 wearechange.org
|
||||
0.0.0.0 weeklyworldnews.com
|
||||
0.0.0.0 weirdsciencenews.com
|
||||
0.0.0.0 weshapelife.org
|
||||
0.0.0.0 whatdoesitmean.com
|
||||
0.0.0.0 whitehouse.news
|
||||
0.0.0.0 whitepower.com
|
||||
0.0.0.0 wikispooks.com
|
||||
0.0.0.0 winningdemocrats.com
|
||||
0.0.0.0 witscience.org
|
||||
0.0.0.0 wleb21.com
|
||||
0.0.0.0 wm21news.com
|
||||
0.0.0.0 womensfitnessfocus.com
|
||||
0.0.0.0 womenshealth.news
|
||||
0.0.0.0 worldnewsdailyreport.com
|
||||
0.0.0.0 worldpoliticus.com
|
||||
0.0.0.0 worldtruth.tv
|
||||
0.0.0.0 wwiii.news
|
||||
0.0.0.0 www.4thmedia.org
|
||||
0.0.0.0 www.abeldanger.net
|
||||
0.0.0.0 www.abovetopsecret.com
|
||||
@@ -579,7 +852,6 @@
|
||||
0.0.0.0 www.prisonplanet.com
|
||||
0.0.0.0 www.proudcons.com
|
||||
0.0.0.0 www.rapefugees.net
|
||||
0.0.0.0 www.rawstory.com
|
||||
0.0.0.0 www.react365.com
|
||||
0.0.0.0 www.realfarmacy.com
|
||||
0.0.0.0 www.redflagnews.com
|
||||
@@ -665,5 +937,8 @@
|
||||
0.0.0.0 www.zeppfeed.com
|
||||
0.0.0.0 www.zerohedge.com
|
||||
0.0.0.0 www.zootfeed.com
|
||||
0.0.0.0 yogurt.news
|
||||
0.0.0.0 yournationnews.com
|
||||
0.0.0.0 yournewswire.com
|
||||
0.0.0.0 youtubecensorship.com
|
||||
0.0.0.0 zombie.news
|
||||
+679
-2
@@ -1,7 +1,8 @@
|
||||
# Gambling hosts
|
||||
# Title: Gambling hosts
|
||||
# https://www.reddit.com/r/GlobalOffensiveGamble/comments/3d5fmr/list_of_csgo_gambling_websites/
|
||||
# http://www.top100bookmakers.com/completelist.php
|
||||
# Updated July 17, 2016
|
||||
# https://raw.githubusercontent.com/lassekongo83/Frellwits-filter-lists/master/anti-casino-and-betting-hosts-file.txt
|
||||
# Updated January 6, 2020
|
||||
|
||||
127.0.0.1 crownbet.com.au
|
||||
127.0.0.1 crownbet.com
|
||||
@@ -118,6 +119,8 @@
|
||||
127.0.0.1 artemisbet10.com
|
||||
127.0.0.1 asianbeta.com
|
||||
127.0.0.1 www.asianbeta.com
|
||||
127.0.0.1 atg.se
|
||||
127.0.0.1 www.atg.se
|
||||
127.0.0.1 axbet.com
|
||||
127.0.0.1 www.axbet.com
|
||||
127.0.0.1 bananajackpot.com
|
||||
@@ -684,6 +687,8 @@
|
||||
127.0.0.1 daisybingo.com
|
||||
127.0.0.1 www.daisybingo.com
|
||||
127.0.0.1 dakotacasino.com
|
||||
127.0.0.1 dantoto.dk
|
||||
127.0.0.1 www.dantoto.dk
|
||||
127.0.0.1 dashbet.com
|
||||
127.0.0.1 www.dashbet.com
|
||||
127.0.0.1 desertnightscasino.co.uk
|
||||
@@ -720,6 +725,8 @@
|
||||
127.0.0.1 www.eccobet.com
|
||||
127.0.0.1 ed3688.com
|
||||
127.0.0.1 www.ed3688.com
|
||||
127.0.0.1 eestiloto.ee
|
||||
127.0.0.1 eestiloto.ee
|
||||
127.0.0.1 efbet.com
|
||||
127.0.0.1 www.efbet.com
|
||||
127.0.0.1 egamingbets.com
|
||||
@@ -772,6 +779,8 @@
|
||||
127.0.0.1 www.favbet.com
|
||||
127.0.0.1 favourit.com
|
||||
127.0.0.1 www.favourit.com
|
||||
127.0.0.1 fdj.fr
|
||||
127.0.0.1 www.fdj.fr
|
||||
127.0.0.1 flemingtonsportsbet.com.au
|
||||
127.0.0.1 www.flemingtonsportsbet.com.au
|
||||
127.0.0.1 fonbet.com
|
||||
@@ -1129,6 +1138,8 @@
|
||||
127.0.0.1 www.nitrogensports.eu
|
||||
127.0.0.1 nordicbet.com
|
||||
127.0.0.1 www.nordicbet.com
|
||||
127.0.0.1 norsk-tipping.no
|
||||
127.0.0.1 www.norsk-tipping.no
|
||||
127.0.0.1 novibet.com
|
||||
127.0.0.1 www.novibet.com
|
||||
127.0.0.1 noxwin.com
|
||||
@@ -1235,6 +1246,8 @@
|
||||
127.0.0.1 www.redmilebets.com
|
||||
127.0.0.1 redstarsports.eu
|
||||
127.0.0.1 www.redstarsports.eu
|
||||
127.0.0.1 rikstoto.no
|
||||
127.0.0.1 www.rikstoto.no
|
||||
127.0.0.1 rivalo.com
|
||||
127.0.0.1 www.rivalo.com
|
||||
127.0.0.1 roadbet.com
|
||||
@@ -1276,6 +1289,8 @@
|
||||
127.0.0.1 www.setantabet.com
|
||||
127.0.0.1 sirbobet.com
|
||||
127.0.0.1 www.sirbobet.com
|
||||
127.0.0.1 sisal.it
|
||||
127.0.0.1 www.sisal.it
|
||||
127.0.0.1 sjbet.at
|
||||
127.0.0.1 www.sjbet.at
|
||||
127.0.0.1 skedina.com
|
||||
@@ -1391,6 +1406,8 @@
|
||||
127.0.0.1 www.supersportsbook.com
|
||||
127.0.0.1 superusacasino.com
|
||||
127.0.0.1 www.superusacasino.com
|
||||
127.0.0.1 svenskaspel.se
|
||||
127.0.0.1 www.svenskaspel.se
|
||||
127.0.0.1 tab.co.nz
|
||||
127.0.0.1 www.tab.co.nz
|
||||
127.0.0.1 tab.com.au
|
||||
@@ -1471,6 +1488,8 @@
|
||||
127.0.0.1 www.vandersports.com
|
||||
127.0.0.1 vbet.com
|
||||
127.0.0.1 www.vbet.com
|
||||
127.0.0.1 veikkaus.fi
|
||||
127.0.0.1 www.veikkaus.fi
|
||||
127.0.0.1 vernons.com
|
||||
127.0.0.1 www.vernons.com
|
||||
127.0.0.1 vestabet365.com
|
||||
@@ -1651,3 +1670,661 @@
|
||||
127.0.0.1 casino.vernons.com
|
||||
127.0.0.1 bingo.vernons.com
|
||||
127.0.0.1 www.bethard.com
|
||||
|
||||
127.0.0.1 21bet.com
|
||||
127.0.0.1 21casino.com
|
||||
127.0.0.1 21prive.com
|
||||
127.0.0.1 22bet.com
|
||||
127.0.0.1 22betpartners.com
|
||||
127.0.0.1 24bettle.com
|
||||
127.0.0.1 666casino.com
|
||||
127.0.0.1 777.com
|
||||
127.0.0.1 7godscasino.com
|
||||
127.0.0.1 7jackpots.com
|
||||
127.0.0.1 888.com
|
||||
127.0.0.1 agentspinner.com
|
||||
127.0.0.1 ahacasino.com
|
||||
127.0.0.1 ahtigames.com
|
||||
127.0.0.1 alfcasino.com
|
||||
127.0.0.1 barbadoscasino.com
|
||||
127.0.0.1 b-bets.com
|
||||
127.0.0.1 bertil.com
|
||||
127.0.0.1 bestcasino.com
|
||||
127.0.0.1 betfinal.com
|
||||
127.0.0.1 bethard.com
|
||||
127.0.0.1 betive.com
|
||||
127.0.0.1 betser.com
|
||||
127.0.0.1 betspawn.com
|
||||
127.0.0.1 betzest.com
|
||||
127.0.0.1 bgo.com
|
||||
127.0.0.1 bingo.com
|
||||
127.0.0.1 bobcasino.com
|
||||
127.0.0.1 bobregister.com
|
||||
127.0.0.1 buckandbutler.com
|
||||
127.0.0.1 campeonbet.com
|
||||
127.0.0.1 campobet.com
|
||||
127.0.0.1 cashiopeia.com
|
||||
127.0.0.1 cashmio.com
|
||||
127.0.0.1 casilando.com
|
||||
127.0.0.1 casimba.com
|
||||
127.0.0.1 casiniabet.com
|
||||
127.0.0.1 casinoandfriends.com
|
||||
127.0.0.1 casinocalzone.com
|
||||
127.0.0.1 casinocruise.com
|
||||
127.0.0.1 casinoeuro.com
|
||||
127.0.0.1 casinoheroes.com
|
||||
127.0.0.1 casinojefe.com
|
||||
127.0.0.1 casinoland.com
|
||||
127.0.0.1 casinolasvegas.com
|
||||
127.0.0.1 casinolasvegas.no
|
||||
127.0.0.1 casinopop.com
|
||||
127.0.0.1 casino-pp.net
|
||||
127.0.0.1 casinoroom.com
|
||||
127.0.0.1 casinostugan.com
|
||||
127.0.0.1 casinotown.se
|
||||
127.0.0.1 casinsi.com
|
||||
127.0.0.1 casumo.com
|
||||
127.0.0.1 chancehill.com
|
||||
127.0.0.1 chanz.com
|
||||
127.0.0.1 cheekywin.com
|
||||
127.0.0.1 cherrycasino.com
|
||||
127.0.0.1 codeta.com
|
||||
127.0.0.1 coolbet.com
|
||||
127.0.0.1 cozino.com
|
||||
127.0.0.1 dealerscasino.com
|
||||
127.0.0.1 diamond7casino.com
|
||||
127.0.0.1 dreamjackpot.com
|
||||
127.0.0.1 dreamvegas.com
|
||||
127.0.0.1 dreamz.com
|
||||
127.0.0.1 duelz.com
|
||||
127.0.0.1 dunder.com
|
||||
127.0.0.1 esportsbetting.com
|
||||
127.0.0.1 euroslots.com
|
||||
127.0.0.1 fansbet.com
|
||||
127.0.0.1 fikacasino.com
|
||||
127.0.0.1 flumecasino.com
|
||||
127.0.0.1 folkeautomaten.com
|
||||
127.0.0.1 frankcasino.com
|
||||
127.0.0.1 frankfred.com
|
||||
127.0.0.1 freakyvegas.com
|
||||
127.0.0.1 fruitycasa.com
|
||||
127.0.0.1 fsport.net
|
||||
127.0.0.1 funcasino.com
|
||||
127.0.0.1 gate777.com
|
||||
127.0.0.1 genesiscasino.com
|
||||
127.0.0.1 getlucky.com
|
||||
127.0.0.1 glimmercasino.com
|
||||
127.0.0.1 goliathcasino.com
|
||||
127.0.0.1 hajper.com
|
||||
127.0.0.1 hellocasino.com
|
||||
127.0.0.1 heyspin.com
|
||||
127.0.0.1 highroller.com
|
||||
127.0.0.1 hopa.com
|
||||
127.0.0.1 igame.com
|
||||
127.0.0.1 igame.se
|
||||
127.0.0.1 ikibu.com
|
||||
127.0.0.1 instacasino.com
|
||||
127.0.0.1 intercasino.com
|
||||
127.0.0.1 jackpotcity.com
|
||||
127.0.0.1 johnslots.com
|
||||
127.0.0.1 justcasino.com
|
||||
127.0.0.1 kaboo.com
|
||||
127.0.0.1 kaiserslots.com
|
||||
127.0.0.1 karamba.com
|
||||
127.0.0.1 karjalakasino.com
|
||||
127.0.0.1 karlcasino.com
|
||||
127.0.0.1 lapalingo.com
|
||||
127.0.0.1 legolas.bet
|
||||
127.0.0.1 leovegas.com
|
||||
127.0.0.1 letsbet.com
|
||||
127.0.0.1 livelounge.com
|
||||
127.0.0.1 lsbet690.com
|
||||
127.0.0.1 luckland.com
|
||||
127.0.0.1 luckycasino.com
|
||||
127.0.0.1 luckydino.com
|
||||
127.0.0.1 luckyland.co.uk
|
||||
127.0.0.1 luckylouis.com
|
||||
127.0.0.1 luckymeslots.com
|
||||
127.0.0.1 luckyniki.com
|
||||
127.0.0.1 luckywinslots.com
|
||||
127.0.0.1 magicred.com
|
||||
127.0.0.1 malinasports.com
|
||||
127.0.0.1 mamamiabingo.com
|
||||
127.0.0.1 mansionbet.com
|
||||
127.0.0.1 mariacasino.com
|
||||
127.0.0.1 metalcasino.com
|
||||
127.0.0.1 miamidicecasino.com
|
||||
127.0.0.1 miamidice.com
|
||||
127.0.0.1 mobil6000.com
|
||||
127.0.0.1 mobilautomaten.com
|
||||
127.0.0.1 mobilebet.com
|
||||
127.0.0.1 mobocasino.com
|
||||
127.0.0.1 montecarlocasino.com
|
||||
127.0.0.1 mr.bet
|
||||
127.0.0.1 mrgreen.com
|
||||
127.0.0.1 mrmega.com
|
||||
127.0.0.1 mrmobi.com
|
||||
127.0.0.1 mrplay.com
|
||||
127.0.0.1 mrslot.com
|
||||
127.0.0.1 mrwin.com
|
||||
127.0.0.1 mychance.com
|
||||
127.0.0.1 n1casino.com
|
||||
127.0.0.1 nextcasino.com
|
||||
127.0.0.1 nightrush.com
|
||||
127.0.0.1 ninjacasino.com
|
||||
127.0.0.1 noaccountcasino.com
|
||||
127.0.0.1 norgesautomaten.com
|
||||
127.0.0.1 norgesspill.com
|
||||
127.0.0.1 norskeautomater.com
|
||||
127.0.0.1 norskespilleautomater.com
|
||||
127.0.0.1 nyspins.com
|
||||
127.0.0.1 olaspill.com
|
||||
127.0.0.1 olybet.eu
|
||||
127.0.0.1 omniacasino.com
|
||||
127.0.0.1 ovocasino.com
|
||||
127.0.0.1 pinnacle.com
|
||||
127.0.0.1 piratespin.com
|
||||
127.0.0.1 playclub.com
|
||||
127.0.0.1 playfrank.com
|
||||
127.0.0.1 playgrandcasino.com
|
||||
127.0.0.1 playojo.com
|
||||
127.0.0.1 pocketvegas.co.uk
|
||||
127.0.0.1 potsofluck.com
|
||||
127.0.0.1 primeslots.com
|
||||
127.0.0.1 promotions.epic.partners
|
||||
127.0.0.1 queenvegas.com
|
||||
127.0.0.1 redkings.com
|
||||
127.0.0.1 redspins.com
|
||||
127.0.0.1 ridika.com
|
||||
127.0.0.1 rizk.com
|
||||
127.0.0.1 rolla.com
|
||||
127.0.0.1 royalpanda.com
|
||||
127.0.0.1 royalslots.com
|
||||
127.0.0.1 royrichie.com
|
||||
127.0.0.1 rush777.com
|
||||
127.0.0.1 scandibet.com
|
||||
127.0.0.1 scasino.com
|
||||
127.0.0.1 sirjackpot.com
|
||||
127.0.0.1 slotplanet.com
|
||||
127.0.0.1 slotsheaven.com
|
||||
127.0.0.1 slotsino.co.uk
|
||||
127.0.0.1 slotsmagic.com
|
||||
127.0.0.1 slotsons.com
|
||||
127.0.0.1 slotv.com
|
||||
127.0.0.1 sloty.com
|
||||
127.0.0.1 snabbare.com
|
||||
127.0.0.1 speedybet.com
|
||||
127.0.0.1 spela.com
|
||||
127.0.0.1 spinit.com
|
||||
127.0.0.1 spinland.com
|
||||
127.0.0.1 spinprincess.com
|
||||
127.0.0.1 spinrider.com
|
||||
127.0.0.1 spinson.com
|
||||
127.0.0.1 spinstation.com
|
||||
127.0.0.1 spinzilla.com
|
||||
127.0.0.1 storspelare.com
|
||||
127.0.0.1 storspiller.com
|
||||
127.0.0.1 surf.casino
|
||||
127.0.0.1 sveacasino.se
|
||||
127.0.0.1 svedalacasino.com
|
||||
127.0.0.1 swedencasino.com
|
||||
127.0.0.1 swedencasino.se
|
||||
127.0.0.1 sverigeautomaten.com
|
||||
127.0.0.1 sverigecasino.com
|
||||
127.0.0.1 sverigekronan.com
|
||||
127.0.0.1 thrills.com
|
||||
127.0.0.1 toto2.com
|
||||
127.0.0.1 ttr.casino
|
||||
127.0.0.1 vegashero.com
|
||||
127.0.0.1 verajohn.com
|
||||
127.0.0.1 videoslots.com
|
||||
127.0.0.1 vikingslots.com
|
||||
127.0.0.1 viks.com
|
||||
127.0.0.1 wildjackpots.com
|
||||
127.0.0.1 vinnarum.com
|
||||
127.0.0.1 wixstars.com
|
||||
127.0.0.1 voodoodreams.com
|
||||
127.0.0.1 wunderino.com
|
||||
127.0.0.1 yakocasino.com
|
||||
127.0.0.1 yeticasino.com
|
||||
127.0.0.1 yobetit.com
|
||||
127.0.0.1 zodiacu.com
|
||||
127.0.0.1 www.21bet.com
|
||||
127.0.0.1 www.21casino.com
|
||||
127.0.0.1 www.21prive.com
|
||||
127.0.0.1 www.22bet.com
|
||||
127.0.0.1 www.22betpartners.com
|
||||
127.0.0.1 www.24bettle.com
|
||||
127.0.0.1 www.666casino.com
|
||||
127.0.0.1 www.777.com
|
||||
127.0.0.1 www.7godscasino.com
|
||||
127.0.0.1 www.7jackpots.com
|
||||
127.0.0.1 www.888.com
|
||||
127.0.0.1 www.agentspinner.com
|
||||
127.0.0.1 www.ahacasino.com
|
||||
127.0.0.1 www.ahtigames.com
|
||||
127.0.0.1 www.alfcasino.com
|
||||
127.0.0.1 www.barbadoscasino.com
|
||||
127.0.0.1 www.b-bets.com
|
||||
127.0.0.1 www.bertil.com
|
||||
127.0.0.1 www.bestcasino.com
|
||||
127.0.0.1 www.betfinal.com
|
||||
127.0.0.1 www.betive.com
|
||||
127.0.0.1 www.betser.com
|
||||
127.0.0.1 www.betspawn.com
|
||||
127.0.0.1 www.betzest.com
|
||||
127.0.0.1 www.bgo.com
|
||||
127.0.0.1 www.bingo.com
|
||||
127.0.0.1 www.bobcasino.com
|
||||
127.0.0.1 www.bobregister.com
|
||||
127.0.0.1 www.buckandbutler.com
|
||||
127.0.0.1 www.campeonbet.com
|
||||
127.0.0.1 www.campobet.com
|
||||
127.0.0.1 www.cashiopeia.com
|
||||
127.0.0.1 www.cashmio.com
|
||||
127.0.0.1 www.casilando.com
|
||||
127.0.0.1 www.casimba.com
|
||||
127.0.0.1 www.casiniabet.com
|
||||
127.0.0.1 www.casinoandfriends.com
|
||||
127.0.0.1 www.casinocalzone.com
|
||||
127.0.0.1 www.casinocruise.com
|
||||
127.0.0.1 www.casinoeuro.com
|
||||
127.0.0.1 www.casinoheroes.com
|
||||
127.0.0.1 www.casinojefe.com
|
||||
127.0.0.1 www.casinoland.com
|
||||
127.0.0.1 www.casinolasvegas.com
|
||||
127.0.0.1 www.casinolasvegas.no
|
||||
127.0.0.1 www.casinopop.com
|
||||
127.0.0.1 www.casino-pp.net
|
||||
127.0.0.1 www.casinoroom.com
|
||||
127.0.0.1 www.casinostugan.com
|
||||
127.0.0.1 www.casinotown.se
|
||||
127.0.0.1 www.casinsi.com
|
||||
127.0.0.1 www.casumo.com
|
||||
127.0.0.1 www.chancehill.com
|
||||
127.0.0.1 www.chanz.com
|
||||
127.0.0.1 www.cheekywin.com
|
||||
127.0.0.1 www.cherrycasino.com
|
||||
127.0.0.1 www.codeta.com
|
||||
127.0.0.1 www.coolbet.com
|
||||
127.0.0.1 www.cozino.com
|
||||
127.0.0.1 www.dealerscasino.com
|
||||
127.0.0.1 www.diamond7casino.com
|
||||
127.0.0.1 www.dreamjackpot.com
|
||||
127.0.0.1 www.dreamvegas.com
|
||||
127.0.0.1 www.dreamz.com
|
||||
127.0.0.1 www.duelz.com
|
||||
127.0.0.1 www.dunder.com
|
||||
127.0.0.1 www.esportsbetting.com
|
||||
127.0.0.1 www.euroslots.com
|
||||
127.0.0.1 www.fansbet.com
|
||||
127.0.0.1 www.fikacasino.com
|
||||
127.0.0.1 www.flumecasino.com
|
||||
127.0.0.1 www.folkeautomaten.com
|
||||
127.0.0.1 www.frankcasino.com
|
||||
127.0.0.1 www.frankfred.com
|
||||
127.0.0.1 www.freakyvegas.com
|
||||
127.0.0.1 www.fruitycasa.com
|
||||
127.0.0.1 www.fsport.net
|
||||
127.0.0.1 www.funcasino.com
|
||||
127.0.0.1 www.gate777.com
|
||||
127.0.0.1 www.genesiscasino.com
|
||||
127.0.0.1 www.getlucky.com
|
||||
127.0.0.1 www.glimmercasino.com
|
||||
127.0.0.1 www.goliathcasino.com
|
||||
127.0.0.1 www.hajper.com
|
||||
127.0.0.1 www.hellocasino.com
|
||||
127.0.0.1 www.heyspin.com
|
||||
127.0.0.1 www.highroller.com
|
||||
127.0.0.1 www.hopa.com
|
||||
127.0.0.1 www.igame.com
|
||||
127.0.0.1 www.igame.se
|
||||
127.0.0.1 www.ikibu.com
|
||||
127.0.0.1 www.instacasino.com
|
||||
127.0.0.1 www.intercasino.com
|
||||
127.0.0.1 www.jackpotcity.com
|
||||
127.0.0.1 www.johnslots.com
|
||||
127.0.0.1 www.justcasino.com
|
||||
127.0.0.1 www.kaboo.com
|
||||
127.0.0.1 www.kaiserslots.com
|
||||
127.0.0.1 www.karjalakasino.com
|
||||
127.0.0.1 www.karlcasino.com
|
||||
127.0.0.1 www.lapalingo.com
|
||||
127.0.0.1 www.legolas.bet
|
||||
127.0.0.1 www.leovegas.com
|
||||
127.0.0.1 www.letsbet.com
|
||||
127.0.0.1 www.livelounge.com
|
||||
127.0.0.1 www.lsbet690.com
|
||||
127.0.0.1 www.luckland.com
|
||||
127.0.0.1 www.luckycasino.com
|
||||
127.0.0.1 www.luckydino.com
|
||||
127.0.0.1 www.luckyland.co.uk
|
||||
127.0.0.1 www.luckylouis.com
|
||||
127.0.0.1 www.luckymeslots.com
|
||||
127.0.0.1 www.luckyniki.com
|
||||
127.0.0.1 www.luckywinslots.com
|
||||
127.0.0.1 www.magicred.com
|
||||
127.0.0.1 www.malinasports.com
|
||||
127.0.0.1 www.mamamiabingo.com
|
||||
127.0.0.1 www.mansionbet.com
|
||||
127.0.0.1 www.mariacasino.com
|
||||
127.0.0.1 www.metalcasino.com
|
||||
127.0.0.1 www.miamidicecasino.com
|
||||
127.0.0.1 www.miamidice.com
|
||||
127.0.0.1 www.mobil6000.com
|
||||
127.0.0.1 www.mobilautomaten.com
|
||||
127.0.0.1 www.mobilebet.com
|
||||
127.0.0.1 www.mobocasino.com
|
||||
127.0.0.1 www.montecarlocasino.com
|
||||
127.0.0.1 www.mr.bet
|
||||
127.0.0.1 www.mrmega.com
|
||||
127.0.0.1 www.mrmobi.com
|
||||
127.0.0.1 www.mrplay.com
|
||||
127.0.0.1 www.mrslot.com
|
||||
127.0.0.1 www.mrwin.com
|
||||
127.0.0.1 www.mychance.com
|
||||
127.0.0.1 www.n1casino.com
|
||||
127.0.0.1 www.nextcasino.com
|
||||
127.0.0.1 www.nightrush.com
|
||||
127.0.0.1 www.ninjacasino.com
|
||||
127.0.0.1 www.noaccountcasino.com
|
||||
127.0.0.1 www.norgesautomaten.com
|
||||
127.0.0.1 www.norgesspill.com
|
||||
127.0.0.1 www.norskeautomater.com
|
||||
127.0.0.1 www.norskespilleautomater.com
|
||||
127.0.0.1 www.nyspins.com
|
||||
127.0.0.1 www.olaspill.com
|
||||
127.0.0.1 www.olybet.eu
|
||||
127.0.0.1 www.omniacasino.com
|
||||
127.0.0.1 www.ovocasino.com
|
||||
127.0.0.1 www.piratespin.com
|
||||
127.0.0.1 www.playclub.com
|
||||
127.0.0.1 www.playfrank.com
|
||||
127.0.0.1 www.playgrandcasino.com
|
||||
127.0.0.1 www.playojo.com
|
||||
127.0.0.1 www.pocketvegas.co.uk
|
||||
127.0.0.1 www.potsofluck.com
|
||||
127.0.0.1 www.primeslots.com
|
||||
127.0.0.1 www.promotions.epic.partners
|
||||
127.0.0.1 www.queenvegas.com
|
||||
127.0.0.1 www.redkings.com
|
||||
127.0.0.1 www.redspins.com
|
||||
127.0.0.1 www.ridika.com
|
||||
127.0.0.1 www.rizk.com
|
||||
127.0.0.1 www.rolla.com
|
||||
127.0.0.1 www.royalslots.com
|
||||
127.0.0.1 www.royrichie.com
|
||||
127.0.0.1 www.rush777.com
|
||||
127.0.0.1 www.scandibet.com
|
||||
127.0.0.1 www.scasino.com
|
||||
127.0.0.1 www.sirjackpot.com
|
||||
127.0.0.1 www.slotplanet.com
|
||||
127.0.0.1 www.slotsheaven.com
|
||||
127.0.0.1 www.slotsino.co.uk
|
||||
127.0.0.1 www.slotsmagic.com
|
||||
127.0.0.1 www.slotsons.com
|
||||
127.0.0.1 www.slotv.com
|
||||
127.0.0.1 www.sloty.com
|
||||
127.0.0.1 www.snabbare.com
|
||||
127.0.0.1 www.speedybet.com
|
||||
127.0.0.1 www.spela.com
|
||||
127.0.0.1 www.spinit.com
|
||||
127.0.0.1 www.spinland.com
|
||||
127.0.0.1 www.spinprincess.com
|
||||
127.0.0.1 www.spinrider.com
|
||||
127.0.0.1 www.spinson.com
|
||||
127.0.0.1 www.spinstation.com
|
||||
127.0.0.1 www.spinzilla.com
|
||||
127.0.0.1 www.storspelare.com
|
||||
127.0.0.1 www.storspiller.com
|
||||
127.0.0.1 www.surf.casino
|
||||
127.0.0.1 www.sveacasino.se
|
||||
127.0.0.1 www.svedalacasino.com
|
||||
127.0.0.1 www.swedencasino.com
|
||||
127.0.0.1 www.swedencasino.se
|
||||
127.0.0.1 www.sverigeautomaten.com
|
||||
127.0.0.1 www.sverigecasino.com
|
||||
127.0.0.1 www.sverigekronan.com
|
||||
127.0.0.1 www.thrills.com
|
||||
127.0.0.1 www.toto2.com
|
||||
127.0.0.1 www.ttr.casino
|
||||
127.0.0.1 www.vegashero.com
|
||||
127.0.0.1 www.verajohn.com
|
||||
127.0.0.1 www.videoslots.com
|
||||
127.0.0.1 www.vikingslots.com
|
||||
127.0.0.1 www.viks.com
|
||||
127.0.0.1 www.wildjackpots.com
|
||||
127.0.0.1 www.vinnarum.com
|
||||
127.0.0.1 www.wixstars.com
|
||||
127.0.0.1 www.voodoodreams.com
|
||||
127.0.0.1 www.wunderino.com
|
||||
127.0.0.1 www.yakocasino.com
|
||||
127.0.0.1 www.yeticasino.com
|
||||
127.0.0.1 www.yobetit.com
|
||||
127.0.0.1 www.zodiacu.com
|
||||
|
||||
127.0.0.1 nationale-loterij.be
|
||||
127.0.0.1 e-lotto.be
|
||||
127.0.0.1 loterie-nationale.be
|
||||
127.0.0.1 loterie.lu
|
||||
127.0.0.1 e-loterie.ma
|
||||
127.0.0.1 loterie.ma
|
||||
127.0.0.1 eurobet.bg
|
||||
127.0.0.1 nostrabet.com
|
||||
127.0.0.1 efirbet.com
|
||||
127.0.0.1 7777.bg
|
||||
127.0.0.1 toto.bg
|
||||
127.0.0.1 lutrija.hr
|
||||
127.0.0.1 sazka.cz
|
||||
127.0.0.1 klasselotteriet.dk
|
||||
127.0.0.1 lotto.de
|
||||
127.0.0.1 lotto24.de
|
||||
127.0.0.1 lotto.gmx.net
|
||||
127.0.0.1 lotto.web.de
|
||||
127.0.0.1 dielottozahlende.net
|
||||
127.0.0.1 tipp24.com
|
||||
127.0.0.1 westlotto.de
|
||||
127.0.0.1 lottoland.com
|
||||
127.0.0.1 lotto-thueringen.de
|
||||
127.0.0.1 thelotter.com
|
||||
127.0.0.1 lottohelden.de
|
||||
127.0.0.1 lotto-sh.de
|
||||
127.0.0.1 faber.de
|
||||
127.0.0.1 lotto-berlin.de
|
||||
127.0.0.1 gambling.com
|
||||
127.0.0.1 opap.gr
|
||||
127.0.0.1 lotto.is
|
||||
127.0.0.1 szerencsejatek.hu
|
||||
127.0.0.1 multilotto.com
|
||||
127.0.0.1 szuperlotto.com
|
||||
127.0.0.1 lottery.ie
|
||||
127.0.0.1 national-lottery.co.uk
|
||||
127.0.0.1 latloto.lv
|
||||
127.0.0.1 loto.mk
|
||||
127.0.0.1 lutrija.co.me
|
||||
127.0.0.1 postcodeloterij.nl
|
||||
127.0.0.1 nederlandseloterij.nl
|
||||
127.0.0.1 statsloterij.nederlandseloterij.nl
|
||||
127.0.0.1 lotto.pl
|
||||
127.0.0.1 multipasko.pl
|
||||
127.0.0.1 megalotto.pl
|
||||
127.0.0.1 lotto-centrum.com
|
||||
127.0.0.1 jogossantacasa.pt
|
||||
127.0.0.1 loto.ro
|
||||
127.0.0.1 stoloto.ru
|
||||
127.0.0.1 lutrija.rs
|
||||
127.0.0.1 tipos.sk
|
||||
127.0.0.1 etipos.sk
|
||||
127.0.0.1 loterija.si
|
||||
127.0.0.1 eloterija.si
|
||||
127.0.0.1 e-stave.com
|
||||
127.0.0.1 loteriasyapuestas.es
|
||||
127.0.0.1 juegos.loteriasyapuestas.es
|
||||
127.0.0.1 msl.ua
|
||||
127.0.0.1 healthlottery.co.uk
|
||||
127.0.0.1 lotto.cn
|
||||
127.0.0.1 bet.hkjc.com
|
||||
127.0.0.1 pais.co.il
|
||||
127.0.0.1 takarakuji-official.jp
|
||||
127.0.0.1 lldj.com
|
||||
127.0.0.1 macau-slot.com
|
||||
127.0.0.1 galacasino.com
|
||||
127.0.0.1 cashsweep.com.my
|
||||
127.0.0.1 magnum4d.my
|
||||
127.0.0.1 damacai.com.my
|
||||
127.0.0.1 sportstoto.com.my
|
||||
127.0.0.1 online.singaporepools.com
|
||||
127.0.0.1 lotterien.at
|
||||
127.0.0.1 nlotto.co.kr
|
||||
127.0.0.1 nlb.lk
|
||||
127.0.0.1 dlb.lk
|
||||
127.0.0.1 taiwanlottery.com.tw
|
||||
127.0.0.1 lotto.mthai.com
|
||||
127.0.0.1 mpi.gov.tr
|
||||
127.0.0.1 lotoquebec.com
|
||||
127.0.0.1 loteries.lotoquebec.com
|
||||
127.0.0.1 espacejeux.com
|
||||
127.0.0.1 portail.lotoquebec.com
|
||||
127.0.0.1 olg.ca
|
||||
127.0.0.1 home.olg.ca
|
||||
127.0.0.1 lottery.olg.ca
|
||||
127.0.0.1 proline.ca
|
||||
127.0.0.1 olgslotsandcasinos.ca
|
||||
127.0.0.1 playolg.ca
|
||||
127.0.0.1 cgaming.olg.ca
|
||||
127.0.0.1 lottomax.ca
|
||||
127.0.0.1 lotenal.gob.mx
|
||||
127.0.0.1 loteria.com.ec
|
||||
127.0.0.1 nationallottery.co.za
|
||||
127.0.0.1 mylotto.co.nz
|
||||
127.0.0.1 www.nationale-loterij.be
|
||||
127.0.0.1 www.e-lotto.be
|
||||
127.0.0.1 www.loterie-nationale.be
|
||||
127.0.0.1 www.loterie.lu
|
||||
127.0.0.1 www.e-loterie.ma
|
||||
127.0.0.1 www.loterie.ma
|
||||
127.0.0.1 www.eurobet.bg
|
||||
127.0.0.1 www.nostrabet.com
|
||||
127.0.0.1 www.efirbet.com
|
||||
127.0.0.1 www.7777.bg
|
||||
127.0.0.1 www.toto.bg
|
||||
127.0.0.1 www.lutrija.hr
|
||||
127.0.0.1 www.sazka.cz
|
||||
127.0.0.1 www.klasselotteriet.dk
|
||||
127.0.0.1 www.lotto.de
|
||||
127.0.0.1 www.lotto24.de
|
||||
127.0.0.1 www.lotto.gmx.net
|
||||
127.0.0.1 www.lotto.web.de
|
||||
127.0.0.1 www.dielottozahlende.net
|
||||
127.0.0.1 www.tipp24.com
|
||||
127.0.0.1 www.westlotto.de
|
||||
127.0.0.1 www.lottoland.com
|
||||
127.0.0.1 www.lotto-thueringen.de
|
||||
127.0.0.1 www.thelotter.com
|
||||
127.0.0.1 www.lottohelden.de
|
||||
127.0.0.1 www.lotto-sh.de
|
||||
127.0.0.1 www.faber.de
|
||||
127.0.0.1 www.lotto-berlin.de
|
||||
127.0.0.1 www.gambling.com
|
||||
127.0.0.1 www.opap.gr
|
||||
127.0.0.1 www.lotto.is
|
||||
127.0.0.1 www.szerencsejatek.hu
|
||||
127.0.0.1 www.multilotto.com
|
||||
127.0.0.1 www.szuperlotto.com
|
||||
127.0.0.1 www.lottery.ie
|
||||
127.0.0.1 www.national-lottery.co.uk
|
||||
127.0.0.1 www.latloto.lv
|
||||
127.0.0.1 www.loto.mk
|
||||
127.0.0.1 www.lutrija.co.me
|
||||
127.0.0.1 www.postcodeloterij.nl
|
||||
127.0.0.1 www.nederlandseloterij.nl
|
||||
127.0.0.1 www.statsloterij.nederlandseloterij.nl
|
||||
127.0.0.1 www.lotto.pl
|
||||
127.0.0.1 www.multipasko.pl
|
||||
127.0.0.1 www.megalotto.pl
|
||||
127.0.0.1 www.lotto-centrum.com
|
||||
127.0.0.1 www.jogossantacasa.pt
|
||||
127.0.0.1 www.loto.ro
|
||||
127.0.0.1 www.stoloto.ru
|
||||
127.0.0.1 www.lutrija.rs
|
||||
127.0.0.1 www.tipos.sk
|
||||
127.0.0.1 www.etipos.sk
|
||||
127.0.0.1 www.loterija.si
|
||||
127.0.0.1 www.eloterija.si
|
||||
127.0.0.1 www.e-stave.com
|
||||
127.0.0.1 www.loteriasyapuestas.es
|
||||
127.0.0.1 www.juegos.loteriasyapuestas.es
|
||||
127.0.0.1 www.msl.ua
|
||||
127.0.0.1 www.healthlottery.co.uk
|
||||
127.0.0.1 www.lotto.cn
|
||||
127.0.0.1 www.bet.hkjc.com
|
||||
127.0.0.1 www.pais.co.il
|
||||
127.0.0.1 www.takarakuji-official.jp
|
||||
127.0.0.1 www.lldj.com
|
||||
127.0.0.1 www.macau-slot.com
|
||||
127.0.0.1 www.galacasino.com
|
||||
127.0.0.1 www.cashsweep.com.my
|
||||
127.0.0.1 www.magnum4d.my
|
||||
127.0.0.1 www.damacai.com.my
|
||||
127.0.0.1 www.sportstoto.com.my
|
||||
127.0.0.1 www.online.singaporepools.com
|
||||
127.0.0.1 www.lotterien.at
|
||||
127.0.0.1 www.nlotto.co.kr
|
||||
127.0.0.1 www.nlb.lk
|
||||
127.0.0.1 www.dlb.lk
|
||||
127.0.0.1 www.taiwanlottery.com.tw
|
||||
127.0.0.1 www.lotto.mthai.com
|
||||
127.0.0.1 www.mpi.gov.tr
|
||||
127.0.0.1 www.lotoquebec.com
|
||||
127.0.0.1 www.loteries.lotoquebec.com
|
||||
127.0.0.1 www.espacejeux.com
|
||||
127.0.0.1 www.portail.lotoquebec.com
|
||||
127.0.0.1 www.olg.ca
|
||||
127.0.0.1 www.home.olg.ca
|
||||
127.0.0.1 www.lottery.olg.ca
|
||||
127.0.0.1 www.proline.ca
|
||||
127.0.0.1 www.olgslotsandcasinos.ca
|
||||
127.0.0.1 www.playolg.ca
|
||||
127.0.0.1 www.cgaming.olg.ca
|
||||
127.0.0.1 www.lottomax.ca
|
||||
127.0.0.1 www.lotenal.gob.mx
|
||||
127.0.0.1 www.loteria.com.ec
|
||||
127.0.0.1 www.nationallottery.co.za
|
||||
127.0.0.1 www.mylotto.co.nz
|
||||
127.0.0.1 onetpedia.net
|
||||
127.0.0.1 galaksipokerqq.com
|
||||
127.0.0.1 pokergolden.biz
|
||||
127.0.0.1 ionwin88.net
|
||||
127.0.0.1 cafecasino.lv
|
||||
127.0.0.1 mrjackpotspins.com
|
||||
127.0.0.1 cashstormslots.com
|
||||
127.0.0.1 pikakasino.com
|
||||
127.0.0.1 kalevalakasino.com
|
||||
127.0.0.1 simppeli.com
|
||||
127.0.0.1 wildz.com
|
||||
127.0.0.1 kassu.com
|
||||
127.0.0.1 campaign.rizk.com
|
||||
127.0.0.1 fi.casiplay.com
|
||||
127.0.0.1 in.casinoeuro.com
|
||||
127.0.0.1 pelaa.com
|
||||
127.0.0.1 fastbet.com
|
||||
127.0.0.1 casinogods.com
|
||||
127.0.0.1 kirsikka.com
|
||||
127.0.0.1 slottyvegas.com
|
||||
127.0.0.1 fortunelegends.com
|
||||
127.0.0.1 promotions.betsafe.com
|
||||
127.0.0.1 casinowinner.com
|
||||
127.0.0.1 turbico.com
|
||||
127.0.0.1 suomikasino.com
|
||||
127.0.0.1 templenile.com
|
||||
127.0.0.1 stakes.com
|
||||
127.0.0.1 jackpotvillage.com
|
||||
127.0.0.1 prontocasino.com
|
||||
127.0.0.1 nopeampi.com
|
||||
127.0.0.1 fi.888casino.com
|
||||
127.0.0.1 karhukasino.com
|
||||
127.0.0.1 start.duelz.com
|
||||
127.0.0.1 promotion.eurolotto.com
|
||||
127.0.0.1 hypercasino.com
|
||||
127.0.0.1 wishmaker.com
|
||||
127.0.0.1 kasinot.fi
|
||||
|
||||
+4314
-1530
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,19 @@
|
||||
# Title: Snuff hosts
|
||||
|
||||
127.0.0.1 bitcheese.net
|
||||
127.0.0.1 bestgore.com
|
||||
127.0.0.1 horriblevideos.com
|
||||
127.0.0.1 documentingreality.com
|
||||
127.0.0.1 deathaddict.com
|
||||
127.0.0.1 deathandreality.com
|
||||
127.0.0.1 gorebrasil.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 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
|
||||
+6506
-3030
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,296 @@
|
||||
0.0.0.0 002.pinknotora.net
|
||||
0.0.0.0 ac-pink.net
|
||||
0.0.0.0 azzporn.com
|
||||
0.0.0.0 babarooba.x.fc2.com
|
||||
0.0.0.0 bbscamp.net
|
||||
0.0.0.0 boyporn.pro
|
||||
0.0.0.0 candybbwporn.com
|
||||
0.0.0.0 ceporn.net
|
||||
0.0.0.0 columbia-xxx.com
|
||||
0.0.0.0 cream-pie-porn.tumblr.com
|
||||
0.0.0.0 cymposium.com
|
||||
0.0.0.0 deathbyporno2.chatango.com
|
||||
0.0.0.0 deeps.net
|
||||
0.0.0.0 dennou2.x.fc2.com
|
||||
0.0.0.0 duga.jp
|
||||
0.0.0.0 en.dmm.co.jp
|
||||
0.0.0.0 eroerozip.com
|
||||
0.0.0.0 esboss.com
|
||||
0.0.0.0 explorejapan.pw
|
||||
0.0.0.0 expo2.ranks1.apserver.net
|
||||
0.0.0.0 fob.jp
|
||||
0.0.0.0 freefullporno.info
|
||||
0.0.0.0 freepornvs.com
|
||||
0.0.0.0 fxporn.net
|
||||
0.0.0.0 gaypinoyporn.chatango.com
|
||||
0.0.0.0 gayporno.fm
|
||||
0.0.0.0 gfporntube.com
|
||||
0.0.0.0 hairytubeporno.com
|
||||
0.0.0.0 hakusuiriki.tv
|
||||
0.0.0.0 hentaipornpics.net
|
||||
0.0.0.0 hitozumagazo.com
|
||||
0.0.0.0 hiyoko0.x.fc2.com
|
||||
0.0.0.0 home.uchu.co.jp
|
||||
0.0.0.0 hornymatureporn.com
|
||||
0.0.0.0 i-bbs.sijex.net
|
||||
0.0.0.0 i-like-my-blondes-dirty.tumblr.com
|
||||
0.0.0.0 idolzone.blog137.fc2.com
|
||||
0.0.0.0 inaka.x.fc2.com
|
||||
0.0.0.0 jams.kir.jp
|
||||
0.0.0.0 jitsuroku.kir.jp
|
||||
0.0.0.0 jkdaisuki.ad55.net
|
||||
0.0.0.0 kyobibbs.ranks1.apserver.net
|
||||
0.0.0.0 live.fc2.com
|
||||
0.0.0.0 lolip.org
|
||||
0.0.0.0 magopro2.ero-spo.com
|
||||
0.0.0.0 marrion-av.com
|
||||
0.0.0.0 megaporn.blogspot.es
|
||||
0.0.0.0 mother-av.com
|
||||
0.0.0.0 motherpornvideos.com
|
||||
0.0.0.0 mutekiya.net
|
||||
0.0.0.0 mvideoporno.xxx
|
||||
0.0.0.0 nadeshiko.tv
|
||||
0.0.0.0 niccori.jp
|
||||
0.0.0.0 o-r-g-a-s-m-o-s.tumblr.com
|
||||
0.0.0.0 pics.dmm.com
|
||||
0.0.0.0 pornbimbo.com
|
||||
0.0.0.0 porndude.com
|
||||
0.0.0.0 pornhubpremium.com
|
||||
0.0.0.0 pornjapanese.pro
|
||||
0.0.0.0 pornocuanimale.online
|
||||
0.0.0.0 pornoeggs.com
|
||||
0.0.0.0 porntopic.com
|
||||
0.0.0.0 pornve.com
|
||||
0.0.0.0 pornvideoq.com
|
||||
0.0.0.0 sexyisamazing.tumblr.com
|
||||
0.0.0.0 shiroutotv.com
|
||||
0.0.0.0 siroutoinfo.net
|
||||
0.0.0.0 sirporno.xxx
|
||||
0.0.0.0 skyhighpremium.com
|
||||
0.0.0.0 sougouwiki.com
|
||||
0.0.0.0 spc.undo.jp
|
||||
0.0.0.0 sportseye.muvc.net
|
||||
0.0.0.0 ssl.ktfactory.co.jp
|
||||
0.0.0.0 star-porn.ml
|
||||
0.0.0.0 suppinpin.com
|
||||
0.0.0.0 surebbs.ranks1.apserver.net
|
||||
0.0.0.0 switch1.jp
|
||||
0.0.0.0 teatroporno.com
|
||||
0.0.0.0 teppan-av.com
|
||||
0.0.0.0 top.togeko.net
|
||||
0.0.0.0 toujyuku.ranks1.apserver.net
|
||||
0.0.0.0 venus-av.com
|
||||
0.0.0.0 veporns.com
|
||||
0.0.0.0 voyeurporntube.me
|
||||
0.0.0.0 vqporn.com
|
||||
0.0.0.0 www.100kabijin.com
|
||||
0.0.0.0 www.3dvdiso.com
|
||||
0.0.0.0 www.academic-co.jp
|
||||
0.0.0.0 www.air-boob.com
|
||||
0.0.0.0 www.akiba-online.com
|
||||
0.0.0.0 www.akiba-web.com
|
||||
0.0.0.0 www.aknr.com
|
||||
0.0.0.0 www.alex-jg.co.jp
|
||||
0.0.0.0 www.alicejapan.co.jp
|
||||
0.0.0.0 www.amorz.com
|
||||
0.0.0.0 www.animalijo.com
|
||||
0.0.0.0 www.anna-and-hanako.jp
|
||||
0.0.0.0 www.aquawave.co.jp
|
||||
0.0.0.0 www.arashi-supergirl.com
|
||||
0.0.0.0 www.arena-corp.com
|
||||
0.0.0.0 www.aroma-p.com
|
||||
0.0.0.0 www.art-sm.com
|
||||
0.0.0.0 www.athenaeizou.co.jp
|
||||
0.0.0.0 www.athenaeizou.com
|
||||
0.0.0.0 www.attackers.net
|
||||
0.0.0.0 www.attone.co.jp
|
||||
0.0.0.0 www.audazweb.com
|
||||
0.0.0.0 www.aurora-pro.com
|
||||
0.0.0.0 www.av-a-box.com
|
||||
0.0.0.0 www.av-apa.com
|
||||
0.0.0.0 www.av-e-body.com
|
||||
0.0.0.0 www.av-hibino.com
|
||||
0.0.0.0 www.av-karma.com
|
||||
0.0.0.0 www.av-opera.jp
|
||||
0.0.0.0 www.avs-video.com
|
||||
0.0.0.0 www.baby-baby-baby.cc
|
||||
0.0.0.0 www.baltan-av.com
|
||||
0.0.0.0 www.beauty-av.com
|
||||
0.0.0.0 www.befreebe.com
|
||||
0.0.0.0 www.bi-av.com
|
||||
0.0.0.0 www.bibian-av.com
|
||||
0.0.0.0 www.bigmorkal.com
|
||||
0.0.0.0 www.bijinhyakka.jp
|
||||
0.0.0.0 www.boots-yakata.com
|
||||
0.0.0.0 www.bravo-bravo.net
|
||||
0.0.0.0 www.btc.com
|
||||
0.0.0.0 www.bullitt.jp
|
||||
0.0.0.0 www.bz-zone.com
|
||||
0.0.0.0 www.centervillage.co.jp
|
||||
0.0.0.0 www.cheersuki.net
|
||||
0.0.0.0 www.cherries.jp
|
||||
0.0.0.0 www.choi-waru.com
|
||||
0.0.0.0 www.cinemagic.co.jp
|
||||
0.0.0.0 www.cocoa-soft.net
|
||||
0.0.0.0 www.collector-web.com
|
||||
0.0.0.0 www.comusume.net
|
||||
0.0.0.0 www.crosscross.jp
|
||||
0.0.0.0 www.crystal-eizou.jp
|
||||
0.0.0.0 www.dasdas.jp
|
||||
0.0.0.0 www.digital-ark.com
|
||||
0.0.0.0 www.dmm.co.jp
|
||||
0.0.0.0 www.dogma.co.jp
|
||||
0.0.0.0 www.dse-web.com
|
||||
0.0.0.0 www.dt01.co.jp
|
||||
0.0.0.0 www.e-corona.com
|
||||
0.0.0.0 www.elog-ch.net
|
||||
0.0.0.0 www.emmanuelle-av.com
|
||||
0.0.0.0 www.eroita.net
|
||||
0.0.0.0 www.eroshearts.com
|
||||
0.0.0.0 www.fa-pro.com
|
||||
0.0.0.0 www.fantadream.com
|
||||
0.0.0.0 www.fantasista-av.com
|
||||
0.0.0.0 www.feitish.com
|
||||
0.0.0.0 www.fitch-av.com
|
||||
0.0.0.0 www.fullsail-av.com
|
||||
0.0.0.0 www.fv-candy.co.jp
|
||||
0.0.0.0 www.garcon-web.com
|
||||
0.0.0.0 www.garcon1.com
|
||||
0.0.0.0 www.gas-web.com
|
||||
0.0.0.0 www.ge-kko.jp
|
||||
0.0.0.0 www.glayz.co.jp
|
||||
0.0.0.0 www.gloryquest.co.jp
|
||||
0.0.0.0 www.gme-inc.net
|
||||
0.0.0.0 www.hajimekikaku.com
|
||||
0.0.0.0 www.hamajim.com
|
||||
0.0.0.0 www.hatsudori.com
|
||||
0.0.0.0 www.hmp.jp
|
||||
0.0.0.0 www.hmvision.com
|
||||
0.0.0.0 www.hot-et.com
|
||||
0.0.0.0 www.hpsart.net
|
||||
0.0.0.0 www.hrc-av.co.jp
|
||||
0.0.0.0 www.hunter-pp.jp
|
||||
0.0.0.0 www.i-dol.tv
|
||||
0.0.0.0 www.ibworks.jp
|
||||
0.0.0.0 www.ideapocket.com
|
||||
0.0.0.0 www.ienergy1.com
|
||||
0.0.0.0 www.ifrit-fv.net
|
||||
0.0.0.0 www.indies-av.co.jp
|
||||
0.0.0.0 www.j-model.co.jp
|
||||
0.0.0.0 www.jade-net-home.com
|
||||
0.0.0.0 www.jah.ne.jp
|
||||
0.0.0.0 www.jewel-2001.com
|
||||
0.0.0.0 www.jns-grp.net
|
||||
0.0.0.0 www.kasakura.co.jp
|
||||
0.0.0.0 www.kawaiikawaii.jp
|
||||
0.0.0.0 www.kichu.jp
|
||||
0.0.0.0 www.kirakira-av.com
|
||||
0.0.0.0 www.km-produce.com
|
||||
0.0.0.0 www.knights-visual.com
|
||||
0.0.0.0 www.kobayashi-web.com
|
||||
0.0.0.0 www.koyacho.com
|
||||
0.0.0.0 www.ks-p.com
|
||||
0.0.0.0 www.kuki.jp
|
||||
0.0.0.0 www.kyosui.net
|
||||
0.0.0.0 www.lady2.net
|
||||
0.0.0.0 www.little-mango.com
|
||||
0.0.0.0 www.love2bbs.com
|
||||
0.0.0.0 www.lustrous2ft.com
|
||||
0.0.0.0 www.madonna-av.com
|
||||
0.0.0.0 www.maria-av.com
|
||||
0.0.0.0 www.marx.co.jp
|
||||
0.0.0.0 www.max-a.co.jp
|
||||
0.0.0.0 www.maxing.jp
|
||||
0.0.0.0 www.mediabank.co.jp
|
||||
0.0.0.0 www.mgstage.com
|
||||
0.0.0.0 www.milky-cat.com
|
||||
0.0.0.0 www.milky.tv
|
||||
0.0.0.0 www.milkyprin.com
|
||||
0.0.0.0 www.milu-av.com
|
||||
0.0.0.0 www.minimum-av.com
|
||||
0.0.0.0 www.mobs.jp
|
||||
0.0.0.0 www.moodyz.com
|
||||
0.0.0.0 www.mousouzoku-av.com
|
||||
0.0.0.0 www.mozakin.com
|
||||
0.0.0.0 www.museum-next.jp
|
||||
0.0.0.0 www.mutekimuteki.com
|
||||
0.0.0.0 www.mvg.jp
|
||||
0.0.0.0 www.nagae-style.com
|
||||
0.0.0.0 www.nakedfilm.jp
|
||||
0.0.0.0 www.nanpa-japan.jp
|
||||
0.0.0.0 www.naturalhigh.co.jp
|
||||
0.0.0.0 www.next11.co.jp
|
||||
0.0.0.0 www.night24.com
|
||||
0.0.0.0 www.non-non.info
|
||||
0.0.0.0 www.nuruai.com
|
||||
0.0.0.0 www.onair-e-net.com
|
||||
0.0.0.0 www.oppai-av.com
|
||||
0.0.0.0 www.otona-times.com
|
||||
0.0.0.0 www.p-fw.co.jp
|
||||
0.0.0.0 www.p-jade.com
|
||||
0.0.0.0 www.palplanning.com
|
||||
0.0.0.0 www.pierrot-net.jp
|
||||
0.0.0.0 www.pinknotora.net
|
||||
0.0.0.0 www.plum-web.com
|
||||
0.0.0.0 www.pornograph.jp
|
||||
0.0.0.0 www.premium-beauty.com
|
||||
0.0.0.0 www.prestige-av.com
|
||||
0.0.0.0 www.r-e-d.jp
|
||||
0.0.0.0 www.radix-net.com
|
||||
0.0.0.0 www.ran-maru.com
|
||||
0.0.0.0 www.realworks.tv
|
||||
0.0.0.0 www.rocket-inc.net
|
||||
0.0.0.0 www.rookie-av.jp
|
||||
0.0.0.0 www.royalart.co.jp
|
||||
0.0.0.0 www.ruby-av.com
|
||||
0.0.0.0 www.s-cute.com
|
||||
0.0.0.0 www.s1s1s1.com
|
||||
0.0.0.0 www.sadistic-v.com
|
||||
0.0.0.0 www.saiminou.com
|
||||
0.0.0.0 www.sakurakikaku.net
|
||||
0.0.0.0 www.sexia.tv
|
||||
0.0.0.0 www.shanimuni.net
|
||||
0.0.0.0 www.shinoda-av.com
|
||||
0.0.0.0 www.shitagi.org
|
||||
0.0.0.0 www.shuttle-japan.com
|
||||
0.0.0.0 www.side-b.tv
|
||||
0.0.0.0 www.sod.co.jp
|
||||
0.0.0.0 www.sodc.co.jp
|
||||
0.0.0.0 www.sosoru-web.com
|
||||
0.0.0.0 www.sq4610.com
|
||||
0.0.0.0 www.starparadise.jp
|
||||
0.0.0.0 www.styleart.jp
|
||||
0.0.0.0 www.sugarworks.co.jp
|
||||
0.0.0.0 www.sukebegazou.com
|
||||
0.0.0.0 www.syukou-club.com
|
||||
0.0.0.0 www.takara-tv.jp
|
||||
0.0.0.0 www.takeone-nagoya.com
|
||||
0.0.0.0 www.tameikegoro.jp
|
||||
0.0.0.0 www.tenka1.com
|
||||
0.0.0.0 www.tigermeisters.com
|
||||
0.0.0.0 www.tma.co.jp
|
||||
0.0.0.0 www.to-satsu.com
|
||||
0.0.0.0 www.tokyomotion.net
|
||||
0.0.0.0 www.top1-net.com
|
||||
0.0.0.0 www.town-net.jp/post
|
||||
0.0.0.0 www.tumanude.com
|
||||
0.0.0.0 www.uandk-idea.co.jp
|
||||
0.0.0.0 www.uicupid.net
|
||||
0.0.0.0 www.v-av.com
|
||||
0.0.0.0 www.vandr.co.jp
|
||||
0.0.0.0 www.videomanial.co.jp
|
||||
0.0.0.0 www.vr-products.co.jp
|
||||
0.0.0.0 www.waap.co.jp
|
||||
0.0.0.0 www.wanz-factory.com
|
||||
0.0.0.0 www.woman-otona.com
|
||||
0.0.0.0 www.yamiboard.com
|
||||
0.0.0.0 www.yellow-movie.com
|
||||
0.0.0.0 www.yellowbox.co.jp
|
||||
0.0.0.0 www.yellowduck.jp
|
||||
0.0.0.0 www.zetton-av.com
|
||||
0.0.0.0 www.zeus-web.net
|
||||
0.0.0.0 www2.giga-jp.com
|
||||
0.0.0.0 xvideosporno.org
|
||||
0.0.0.0 xxxpornasian.com
|
||||
0.0.0.0 yamidas.yamiboard.com
|
||||
0.0.0.0 yespornplease.com
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Tiuxo hostlist - pornography",
|
||||
"description": "Categorized hosts files for DNS based content blocking",
|
||||
"homeurl": "https://github.com/tiuxo/hosts",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/tiuxo/hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/tiuxo/hosts/master/porn",
|
||||
"license": "CC BY 4.0"
|
||||
}
|
||||
+1
-11
@@ -12,7 +12,7 @@ Currently, this repo includes data sources for four extensions:
|
||||
|
||||
Here are some sample calls, which vary which extensions are included.
|
||||
|
||||
**Using Python 3**:
|
||||
**Using the `updateHostsFile.py` script**:
|
||||
|
||||
Create a hosts file that includes domain blocking for porn, social media, and gambling.
|
||||
|
||||
@@ -22,13 +22,3 @@ or, in short form:
|
||||
|
||||
python3 updateHostsFile.py -a -e porn social gambling
|
||||
|
||||
|
||||
|
||||
**Using Python 2.7**:
|
||||
|
||||
python updateHostsFile.py -auto --extensions porn social gambling
|
||||
|
||||
or, in short form:
|
||||
|
||||
python updateHostsFile.py -a -e porn social gambling
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
0.0.0.0 mbga.jp
|
||||
0.0.0.0 mixi.jp
|
||||
0.0.0.0 mixch.tv
|
||||
0.0.0.0 lobi.co
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Tiuxo hostlist - social",
|
||||
"description": "Categorized hosts files for DNS based content blocking",
|
||||
"homeurl": "https://github.com/tiuxo/hosts",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/tiuxo/hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/tiuxo/hosts/master/social",
|
||||
"license": "CC BY 4.0"
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright © 2018 Steven Black
|
||||
Copyright © 2020 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
|
||||
|
||||
+79
-49
@@ -7,9 +7,9 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import argparse
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
def print_failure(msg):
|
||||
@@ -54,59 +54,89 @@ def update_readme_file():
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Creates custom hosts "
|
||||
"file from hosts stored in "
|
||||
"data subfolders.")
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Creates custom hosts "
|
||||
"file from hosts stored in "
|
||||
"data subfolders."
|
||||
)
|
||||
parser.parse_args()
|
||||
|
||||
update_hosts_file("-a", "-o",
|
||||
"alternates/gambling",
|
||||
"-e", "gambling")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/porn",
|
||||
"-e", "porn")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/social",
|
||||
"-e", "social")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews",
|
||||
"-e", "fakenews")
|
||||
update_hosts_file("-a", "-o", "alternates/gambling", "-e", "gambling")
|
||||
update_hosts_file("-a", "-n", "-o", "alternates/porn", "-e", "porn")
|
||||
update_hosts_file("-a", "-n", "-o", "alternates/social", "-e", "social")
|
||||
update_hosts_file("-a", "-n", "-o", "alternates/fakenews", "-e", "fakenews")
|
||||
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-gambling",
|
||||
"-e", "fakenews", "gambling")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-porn",
|
||||
"-e", "fakenews", "porn")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-social",
|
||||
"-e", "fakenews", "social")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/gambling-porn",
|
||||
"-e", "gambling", "porn")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/gambling-social",
|
||||
"-e", "gambling", "social")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/porn-social",
|
||||
"-e", "porn", "social")
|
||||
update_hosts_file(
|
||||
"-a", "-n", "-o", "alternates/fakenews-gambling", "-e", "fakenews", "gambling"
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a", "-n", "-o", "alternates/fakenews-porn", "-e", "fakenews", "porn"
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a", "-n", "-o", "alternates/fakenews-social", "-e", "fakenews", "social"
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a", "-n", "-o", "alternates/gambling-porn", "-e", "gambling", "porn"
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a", "-n", "-o", "alternates/gambling-social", "-e", "gambling", "social"
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a", "-n", "-o", "alternates/porn-social", "-e", "porn", "social"
|
||||
)
|
||||
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-gambling-porn",
|
||||
"-e", "fakenews", "gambling", "porn")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-gambling-social",
|
||||
"-e", "fakenews", "gambling", "social")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-porn-social",
|
||||
"-e", "fakenews", "porn", "social")
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/gambling-porn-social",
|
||||
"-e", "gambling", "porn", "social")
|
||||
update_hosts_file(
|
||||
"-a",
|
||||
"-n",
|
||||
"-o",
|
||||
"alternates/fakenews-gambling-porn",
|
||||
"-e",
|
||||
"fakenews",
|
||||
"gambling",
|
||||
"porn",
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a",
|
||||
"-n",
|
||||
"-o",
|
||||
"alternates/fakenews-gambling-social",
|
||||
"-e",
|
||||
"fakenews",
|
||||
"gambling",
|
||||
"social",
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a",
|
||||
"-n",
|
||||
"-o",
|
||||
"alternates/fakenews-porn-social",
|
||||
"-e",
|
||||
"fakenews",
|
||||
"porn",
|
||||
"social",
|
||||
)
|
||||
update_hosts_file(
|
||||
"-a",
|
||||
"-n",
|
||||
"-o",
|
||||
"alternates/gambling-porn-social",
|
||||
"-e",
|
||||
"gambling",
|
||||
"porn",
|
||||
"social",
|
||||
)
|
||||
|
||||
update_hosts_file("-a", "-n", "-o",
|
||||
"alternates/fakenews-gambling-porn-social",
|
||||
"-e", "fakenews", "gambling", "porn", "social")
|
||||
update_hosts_file(
|
||||
"-a",
|
||||
"-n",
|
||||
"-o",
|
||||
"alternates/fakenews-gambling-porn-social",
|
||||
"-e",
|
||||
"fakenews",
|
||||
"gambling",
|
||||
"porn",
|
||||
"social",
|
||||
)
|
||||
|
||||
update_hosts_file("-a", "-n")
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hosts",
|
||||
"version": "1.4.40",
|
||||
"version": "2.5.39",
|
||||
"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": "",
|
||||
"scripts": {
|
||||
@@ -34,6 +34,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/StevenBlack/hosts#readme",
|
||||
"devDependencies": {
|
||||
"release-it": "^4.2.0"
|
||||
"release-it": "^12.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,57 +1,55 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file with base extensions
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **July 30 2018**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 61,386 entries.
|
||||
* Last updated: **January 07 2020**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 39,773 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
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) | 61,386 | [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) | 62,055 | [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) | 63,004 | [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) | 71,464 | [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) | 62,544 | [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) | 63,673 | [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) | 72,133 | [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) | 63,213 | [link](http://sbc.io/hosts/alternates/fakenews-social/hosts)
|
||||
Unified hosts **+ gambling + porn** | [Readme](https://github.com/StevenBlack/hosts/blob/master/alternates/gambling-porn/readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) | 73,082 | [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) | 64,162 | [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) | 72,621 | [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) | 73,751 | [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) | 64,831 | [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) | 73,290 | [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) | 74,239 | [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) | 74,908 | [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) | 39,773 | [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) | 40,715 | [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) | 42,075 | [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) | 55,506 | [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) | 42,249 | [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) | 43,017 | [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) | 56,448 | [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) | 43,191 | [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) | 57,808 | [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) | 44,551 | [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) | 57,981 | [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) | 58,750 | [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) | 45,493 | [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) | 58,923 | [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) | 60,283 | [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) | 61,225 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
@@ -67,52 +65,47 @@ 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)
|
||||
Malware Domain List | Malware Domain List is a non-commercial community project. |[link](https://www.malwaredomainlist.com/) | [raw](https://www.malwaredomainlist.com/hostslist/hosts.txt) | weekly | 'can be used for free by anyone' | [issues](https://www.malwaredomainlist.com/contact.php)
|
||||
add.Dead | Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
hostsVN | Hosts block ads of Vietnamese |[link](https://github.com/bigdargon/hostsVN) | [raw](https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN) | occasionally | MIT | [issues](https://github.com/bigdargon/hostsVN/issues)
|
||||
add.Spam | Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Dan Pollock – [someonewhocares](https://someonewhocares.org) | How to make the internet not suck (as much). |[link](https://someonewhocares.org/hosts/) | [raw](https://someonewhocares.org/hosts/zero/hosts) | frequently | non-commercial with attribution | [issues](hosts@someonewhocares.org)
|
||||
MVPS hosts file | The purpose of this site is to provide the user with a high quality custom HOSTS file. |[link](http://winhelp2002.mvps.org/) | [raw](http://winhelp2002.mvps.org/hosts.txt) | monthly | CC BY-NC-SA 4.0 | [issues](mailto:winhelp2002@gmail.com)
|
||||
yoyo.org | Blocking with ad server and tracking server hostnames. |[link](https://pgl.yoyo.org/adservers/) | [raw](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0) | frequently | | [issues](mailto:pgl@yoyo.org)
|
||||
Mitchell Krog's - Badd Boyz Hosts | Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers |[link](https://github.com/mitchellkrogza/Badd-Boyz-Hosts) | [raw](https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts) | weekly | 'non-commercial with attribution' | [issues](https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues)
|
||||
CoinBlocker | Simple lists that can help prevent cryptomining in the browser or other applications |[link](https://gitlab.com/ZeroDot1/CoinBlockerLists) | [raw](https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser) | frequently | GPLv3 | [issues](https://gitlab.com/ZeroDot1/CoinBlockerLists/issues)
|
||||
lightswitch05 | Block ad and tracking domains. |[link](https://github.com/lightswitch05/hosts) | [raw](https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt) | occasionally | Apache-2.0 | [issues](https://github.com/lightswitch05/hosts/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)
|
||||
UncheckyAds | Windows installers ads sources sites based on https://unchecky.com/ content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts) | occasionally | | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
add.2o7Net | 2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://github.com/azet12/KADhosts) | [raw](https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt) | frequently | GPLv3 | [issues](https://github.com/azet12/KADhosts/issues)
|
||||
KADhosts | Fraud/adware/scam websites. |[link](https://kadantiscam.netlify.com) | [raw](https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt) | frequently | CC BY-SA 4.0 | [issues](https://github.com/PolishFiltersTeam/KADhosts/issues)
|
||||
AdAway | AdAway is an open source ad blocker for Android using the hosts file. |[link](https://adaway.org/) | [raw](https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt) | occasionally | CC BY 3.0 | [issues](https://github.com/AdAway/AdAway/issues)
|
||||
add.Risk | Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content. |[link](https://github.com/FadeMind/hosts.extras) | [raw](https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts) | occasionally | GPLv3+ | [issues](https://github.com/FadeMind/hosts.extras/issues)
|
||||
Tiuxo hostlist - ads | Categorized hosts files for DNS based content blocking |[link](https://github.com/tiuxo/hosts) | [raw](https://raw.githubusercontent.com/tiuxo/hosts/master/ads) | occasional | CC BY 4.0 | [issues](https://github.com/tiuxo/hosts/issues)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -120,10 +113,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -144,15 +133,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -187,7 +175,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -228,11 +216,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -263,13 +251,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -277,15 +264,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -340,7 +331,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -354,6 +345,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -365,9 +371,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -376,7 +382,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -396,10 +402,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -408,4 +420,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+68
-48
@@ -1,23 +1,19 @@
|
||||
----
|
||||
**Take Note!** We are in the process of [dropping support for Python 2.7](https://github.com/StevenBlack/hosts/issues/729).
|
||||
|
||||
Soon, to self-generate hosts files, you'll need to use Python 3.
|
||||
**Take Note!** This version of the Hosts file generator, and tests, are for Python 3.5+ only.
|
||||
|
||||
----
|
||||
|
||||

|
||||
|
||||
[](https://github.com/StevenBlack/hosts/releases)
|
||||
[](https://github.com/StevenBlack/hosts/blob/master/license.txt)
|
||||
[](https://github.com/StevenBlack/hosts)
|
||||
[](https://github.com/StevenBlack/hosts/graphs/contributors)
|
||||
[](https://travis-ci.org/StevenBlack/hosts)
|
||||
|
||||
[](https://github.com/python/black)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
[](https://github.com/StevenBlack/hosts/commits/master)
|
||||
|
||||
|
||||
# Unified hosts file @EXTENSIONS_HEADER@
|
||||
|
||||
This repository consolidates several reputable `hosts` files, and merges them
|
||||
@@ -30,6 +26,8 @@ into a unified hosts file with duplicates removed. A variety of tailored hosts
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
This repository offers [15 different host file variants](https://github.com/StevenBlack/hosts/tree/master/alternates), in addition to the base variant.
|
||||
|
||||
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
|
||||
with Github download links.
|
||||
@@ -52,36 +50,31 @@ Host file source | Description | Home page | Raw hosts | Update frequency | Lice
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
The unified hosts file is optionally extensible. Extensions are used to include domains by category. Currently we offer the following categories: `fakenews`, `social`, `gambling`, and `porn`.
|
||||
|
||||
Extensions are optional, and are added to the base hosts file. Extensions are combined in various ways wth the default hosts file, and the combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
Extensions are optional, and can be combined in various ways wth the base hosts file. The combined products are stored in the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
For example, you may want to block porn domains in addition to the adware and malware we block by default. That hosts file is stored in the porn subfolder of the [`alternates`](https://github.com/StevenBlack/hosts/tree/master/alternates) folder.
|
||||
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating the
|
||||
[`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder tree where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
Data for extensions is stored in the [`extensions`](https://github.com/StevenBlack/hosts/tree/master/extensions) folder. You manage extensions by curating this
|
||||
folder tree, where you will find the data for `fakenews`, `social`, `gambling`, and `porn` extension data that we maintain and provide for you.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
**Note** if you are using Python 3, please install the dependencies with:
|
||||
To generate your own unified hosts file you will need Python 3.5 or later.
|
||||
|
||||
First install the dependencies with:
|
||||
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
**Note** if you are using Python 2, please install the dependencies with:
|
||||
|
||||
pip2 install --user -r requirements_python2.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).
|
||||
|
||||
To run unit tests, in the top level directory, just run:
|
||||
To run unit tests, in the top level directory, run:
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible,
|
||||
will generate a unified hosts file based on the sources in the local `data/`
|
||||
subfolder. The script will prompt you whether it should fetch updated
|
||||
versions (from locations defined by the `update.json` text file in each
|
||||
source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -89,10 +82,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there.
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Using Python 2.7:
|
||||
|
||||
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
@@ -113,15 +102,14 @@ of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `false` (default) or `true`, keep the comments
|
||||
that appear on the same line as domains. The default is `false` since some
|
||||
router-based implementations can't handle comments in-line with hosts.
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
@@ -156,7 +144,7 @@ extension finds its updates.
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
included, and may be modified as you need.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
@@ -197,11 +185,11 @@ Fork this hosts this repo and add your links to [https://github.com/StevenBlack/
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desireable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us. So this creates more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existance of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
@@ -232,13 +220,12 @@ lines to your hosts file will do it:
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown, or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
## Why not use `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
@@ -246,15 +233,19 @@ 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.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
**mac OS (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
|
||||
|
||||
## Updating hosts file on Windows
|
||||
|
||||
On Linux and Mac OS X, you can simply run the Python script, but on Windows, more
|
||||
work is required due to compatibility issues in implementing some of the functionality
|
||||
for Windows. It is preferable to run the batch file as follows:
|
||||
On Linux and Mac OS X, run the Python script. On Windows more
|
||||
work is required due to compatibility issues so it's preferable to run the batch file as follows:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
@@ -309,7 +300,7 @@ sc stop "Dnscache"
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo /etc/rc.d/init.d/nscd restart`
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
@@ -323,6 +314,21 @@ Open a Terminal and run with root privileges:
|
||||
|
||||
**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:
|
||||
|
||||
```
|
||||
sudo sysrc nscd_enable="YES"
|
||||
sudo service nscd start
|
||||
```
|
||||
|
||||
Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following:
|
||||
|
||||
```
|
||||
hosts: cache files dns
|
||||
```
|
||||
|
||||
**Others**: Consult [this wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system).
|
||||
|
||||
### Mac OS X
|
||||
@@ -334,9 +340,9 @@ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
|
||||
## Release management
|
||||
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
This repository uses [Release-It!](https://webpro.github.io/release-it/), an excellent CLI release
|
||||
tool for Github repos and npm packages, to automate creating [releases](https://github.com/StevenBlack/hosts/releases).
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
This is why the [package.json](https://github.com/StevenBlack/hosts/blob/master/package.json) and
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
@@ -345,7 +351,7 @@ The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
2. provide situation-appropriate extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
@@ -365,10 +371,16 @@ 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 AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. It's sophisticated enough to allow any novice the ability to install and uninstall the blacklist of their choosing to their local hosts file and keep it automatically up to date, while also being minimal enough to be able to be easily 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.
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts AutUpdate package is purpose-built for this unified hosts project as well as in active development by community members. You can install and uninstall any blacklist and keep it automatically up to date, and can be placed in a shared network location and deployed across an organization via group policies. And since it is in active development by community members, your bug reports, feature requests, and other feedback are most welcome.
|
||||
|
||||
* [ViHoMa](https://github.com/cmabad/ViHoMa) is a Visual Hosts file Manager, written in Java, by Christian Martínez. Check it out!
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [Hostile](https://github.com/feross/hostile) is a nifty command line utility to easily add or remove domains from your hosts file. If our hosts files are too aggressive for you, you can use `hostile` to remove domains, or you can use `hostile` in a bash script to automate a post process each time you download fresh versions of hosts.
|
||||
|
||||
* [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 setup yourself, or you can [buy one pre-loaded](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker).
|
||||
|
||||
* [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.
|
||||
@@ -377,4 +389,12 @@ devices under a variety of operating systems.
|
||||
|
||||
* [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). 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 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). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
|
||||
## Contribute!
|
||||
|
||||
Please read our [Contributing Guide](https://github.com/StevenBlack/hosts/blob/master/contributing.md). Among other things, this explains how we organize files and folders in this repository.
|
||||
|
||||
We are always interested in discovering well-curated sources of hosts. If you find one, please open an [issue](https://github.com/StevenBlack/hosts/issues) to draw our attention.
|
||||
|
||||
Before you create or respond to any issue, please read our [code of conduct](https://github.com/StevenBlack/hosts/blob/master/code_of_conduct.md).
|
||||
|
||||
+2
-3
@@ -1,3 +1,2 @@
|
||||
lxml==4.1.1
|
||||
beautifulsoup4==4.6.0
|
||||
mock==2.0.0
|
||||
lxml>=4.2.4
|
||||
beautifulsoup4>=4.6.1
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
mock==2.0.0
|
||||
lxml==4.1.1
|
||||
beautifulsoup4==4.6.0
|
||||
+401
-366
File diff suppressed because it is too large
Load Diff
+399
-216
File diff suppressed because it is too large
Load Diff
+44
-13
@@ -1,3 +1,4 @@
|
||||
::
|
||||
:: This script will first create a backup of the original or current hosts
|
||||
:: file and save it in a file titled "hosts.skel"
|
||||
::
|
||||
@@ -5,26 +6,56 @@
|
||||
:: will be copied to the proper path. Next, the DNS cache will be refreshed.
|
||||
::
|
||||
:: THIS BAT FILE MUST BE LAUNCHED WITH ADMINISTRATOR PRIVILEGES
|
||||
:: Admin privileges script based on https://stackoverflow.com/a/10052222
|
||||
::
|
||||
::
|
||||
@ECHO OFF
|
||||
TITLE Update Hosts
|
||||
|
||||
:: Check if we are administrator. If not, exit immediately.
|
||||
:: BatchGotAdmin
|
||||
:-------------------------------------
|
||||
REM --> 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 %ERRORLEVEL% NEQ 0 (
|
||||
ECHO This script must be run with administrator privileges!
|
||||
ECHO Please launch command prompt as administrator. Exiting...
|
||||
EXIT /B 1
|
||||
)
|
||||
|
||||
if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
|
||||
COPY %WINDIR%\System32\drivers\etc\hosts %WINDIR%\System32\drivers\etc\hosts.skel
|
||||
)
|
||||
REM --> If error flag set, we do not have admin.
|
||||
if '%errorlevel%' NEQ '0' (
|
||||
echo Requesting administrative privileges...
|
||||
goto UACPrompt
|
||||
) else ( goto gotAdmin )
|
||||
|
||||
:: Update hosts file
|
||||
python updateHostsFile.py -a
|
||||
: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"
|
||||
|
||||
:: Move new hosts file in-place
|
||||
COPY hosts %WINDIR%\System32\drivers\etc\
|
||||
"%temp%\getadmin.vbs"
|
||||
del "%temp%\getadmin.vbs"
|
||||
exit /B
|
||||
|
||||
:: Flush the DNS cache
|
||||
ipconfig /flushdns
|
||||
:gotAdmin
|
||||
pushd "%CD%"
|
||||
CD /D "%~dp0"
|
||||
|
||||
:BackupHosts
|
||||
:: Backup default hosts file
|
||||
if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
|
||||
COPY %WINDIR%\System32\drivers\etc\hosts %WINDIR%\System32\drivers\etc\hosts.skel
|
||||
)
|
||||
|
||||
:UpdateHosts
|
||||
:: Update hosts file
|
||||
python updateHostsFile.py --auto --minimise
|
||||
|
||||
:: Move new hosts file in-place
|
||||
COPY hosts %WINDIR%\System32\drivers\etc\
|
||||
|
||||
:: Flush the DNS cache
|
||||
ipconfig /flushdns
|
||||
|
||||
:: Summary note
|
||||
pause
|
||||
|
||||
+40
-86
@@ -5,37 +5,31 @@
|
||||
#
|
||||
# This Python script will update the readme files in this repo.
|
||||
|
||||
from string import Template
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
from string import Template
|
||||
|
||||
# Project Settings
|
||||
BASEDIR_PATH = os.path.dirname(os.path.realpath(__file__))
|
||||
README_TEMPLATE = os.path.join(BASEDIR_PATH, 'readme_template.md')
|
||||
README_FILENAME = 'readme.md'
|
||||
README_TEMPLATE = os.path.join(BASEDIR_PATH, "readme_template.md")
|
||||
README_FILENAME = "readme.md"
|
||||
README_DATA_FILENAME = "readmeData.json"
|
||||
|
||||
# Detecting Python 3 for version-dependent implementations
|
||||
PY3 = sys.version_info >= (3, 0)
|
||||
|
||||
|
||||
def main():
|
||||
s = Template('${description} | [Readme](https://github.com/StevenBlack/'
|
||||
'hosts/blob/master/${location}readme.md) | '
|
||||
'[link](https://raw.githubusercontent.com/StevenBlack/'
|
||||
'hosts/master/${location}hosts) | '
|
||||
'${fmtentries} | '
|
||||
'[link](http://sbc.io/hosts/${location}hosts)')
|
||||
with open(README_DATA_FILENAME, 'r') as f:
|
||||
s = Template(
|
||||
"${description} | [Readme](https://github.com/StevenBlack/"
|
||||
"hosts/blob/master/${location}readme.md) | "
|
||||
"[link](https://raw.githubusercontent.com/StevenBlack/"
|
||||
"hosts/master/${location}hosts) | "
|
||||
"${fmtentries} | "
|
||||
"[link](http://sbc.io/hosts/${location}hosts)"
|
||||
)
|
||||
with open(README_DATA_FILENAME, "r") as f:
|
||||
data = json.load(f)
|
||||
|
||||
if PY3:
|
||||
keys = list(data.keys())
|
||||
else:
|
||||
keys = data.keys()
|
||||
keys = list(data.keys())
|
||||
|
||||
# Sort by the number of en-dashes in the key
|
||||
# and then by the key string itself.
|
||||
@@ -45,10 +39,11 @@ def main():
|
||||
for key in keys:
|
||||
data[key]["fmtentries"] = "{:,}".format(data[key]["entries"])
|
||||
if key == "base":
|
||||
data[key]["description"] = 'Unified hosts = **(adware + malware)**'
|
||||
data[key]["description"] = "Unified hosts = **(adware + malware)**"
|
||||
else:
|
||||
data[key]["description"] = ('Unified hosts **+ ' +
|
||||
key.replace("-", " + ") + '**')
|
||||
data[key]["description"] = (
|
||||
"Unified hosts **+ " + key.replace("-", " + ") + "**"
|
||||
)
|
||||
|
||||
toc_rows += s.substitute(data[key]) + "\n"
|
||||
|
||||
@@ -60,10 +55,13 @@ def main():
|
||||
"issues": "",
|
||||
"url": "",
|
||||
"license": "",
|
||||
"issues": ""}
|
||||
"issues": "",
|
||||
}
|
||||
|
||||
t = Template('${name} | ${description} |[link](${homeurl})'
|
||||
' | [raw](${url}) | ${frequency} | ${license} | [issues](${issues}) ')
|
||||
t = Template(
|
||||
"${name} | ${description} |[link](${homeurl})"
|
||||
" | [raw](${url}) | ${frequency} | ${license} | [issues](${issues}) "
|
||||
)
|
||||
|
||||
for key in keys:
|
||||
extensions = key.replace("-", ", ")
|
||||
@@ -79,66 +77,22 @@ def main():
|
||||
this_row.update(source)
|
||||
source_rows += t.substitute(this_row) + "\n"
|
||||
|
||||
with open(os.path.join(data[key]["location"],
|
||||
README_FILENAME), "wt") as out:
|
||||
with open(os.path.join(data[key]["location"], README_FILENAME), "wt") as out:
|
||||
for line in open(README_TEMPLATE):
|
||||
line = line.replace('@GEN_DATE@', time.strftime("%B %d %Y",
|
||||
time.gmtime()))
|
||||
line = line.replace('@EXTENSIONS@',
|
||||
decode_line(extensions_str))
|
||||
line = line.replace('@EXTENSIONS_HEADER@',
|
||||
decode_line(extensions_header))
|
||||
line = line.replace('@NUM_ENTRIES@',
|
||||
"{:,}".format(data[key]["entries"]))
|
||||
line = line.replace('@SUBFOLDER@',
|
||||
decode_line(os.path.join(
|
||||
data[key]["location"], '')))
|
||||
line = line.replace('@TOCROWS@',
|
||||
decode_line(toc_rows))
|
||||
line = line.replace('@SOURCEROWS@',
|
||||
decode_line(source_rows))
|
||||
out.write(decode_line(line))
|
||||
|
||||
|
||||
def decode_line(line):
|
||||
"""
|
||||
Python 2 compatible method for decoding unicode lines.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
line : str
|
||||
The unicode string to decode.
|
||||
|
||||
Returns
|
||||
-------
|
||||
decoded_str : str
|
||||
Decoded unicode string.
|
||||
"""
|
||||
|
||||
# Python 3.x has no unicode issues.
|
||||
if PY3:
|
||||
return line
|
||||
|
||||
# The biggest Python 2.x compatibility issue is the decoding of the
|
||||
# en-dash. It either takes the form of u"\u2013" or "\xe2\x80\x93."
|
||||
#
|
||||
# This attempts to convert "\xe2\x80\x93" to u"\u2013" if necessary.
|
||||
# If the character is already in the form of u"\u2013," this will
|
||||
# raise an UnicodeEncodeError.
|
||||
#
|
||||
# In general, this line of code will allow us to convert unicode,
|
||||
# UTF-8 encoded characters into pure unicode.
|
||||
try:
|
||||
line = line.decode("UTF-8")
|
||||
except UnicodeEncodeError:
|
||||
pass
|
||||
|
||||
# Replace u"\u2013" with the en-dash, so we now can decode.
|
||||
#
|
||||
# We can add additional "replace" lines in case there are other unicode
|
||||
# literals that Python 2.x cannot handle.
|
||||
line = line.replace(u"\u2013", "-")
|
||||
return str(line.decode("UTF-8"))
|
||||
line = line.replace(
|
||||
"@GEN_DATE@", time.strftime("%B %d %Y", time.gmtime())
|
||||
)
|
||||
line = line.replace("@EXTENSIONS@", extensions_str)
|
||||
line = line.replace("@EXTENSIONS_HEADER@", extensions_header)
|
||||
line = line.replace(
|
||||
"@NUM_ENTRIES@", "{:,}".format(data[key]["entries"])
|
||||
)
|
||||
line = line.replace(
|
||||
"@SUBFOLDER@", os.path.join(data[key]["location"], "")
|
||||
)
|
||||
line = line.replace("@TOCROWS@", toc_rows)
|
||||
line = line.replace("@SOURCEROWS@", source_rows)
|
||||
out.write(line)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user