mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-13 22:28:21 +00:00
Compare commits
1683
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
d0af61d0ef | ||
|
|
f9d450d15b | ||
|
|
158b9b5e81 | ||
|
|
1a1c2c9f7d | ||
|
|
b1e7107f03 | ||
|
|
78eed5ae2c | ||
|
|
38432519c7 | ||
|
|
5ada5a7725 | ||
|
|
78a7e0e92b | ||
|
|
e4e0dd21f0 | ||
|
|
699127b037 | ||
|
|
a18189faf0 | ||
|
|
4071af2e18 | ||
|
|
b237a86ccf | ||
|
|
bb9a732aa1 | ||
|
|
e75e4d483a | ||
|
|
74f7e979e5 | ||
|
|
92e25984e7 | ||
|
|
c164e687f6 | ||
|
|
8a1a4ad77f | ||
|
|
b8a9821a6e | ||
|
|
3f6b6ce2c6 | ||
|
|
66250c252d | ||
|
|
849887a4df | ||
|
|
25832ebd85 | ||
|
|
39d68845b2 | ||
|
|
9af70297dd | ||
|
|
2e59d4c900 | ||
|
|
1026878f04 | ||
|
|
f13f51831f | ||
|
|
4a46ca54fe | ||
|
|
cf84dde588 | ||
|
|
e5ff7316c4 | ||
|
|
6aec9a021e | ||
|
|
eace7978b1 | ||
|
|
a43b4dcdf0 | ||
|
|
7b9ee75cc3 | ||
|
|
28c8ebca1c | ||
|
|
c999983bee | ||
|
|
dc75f6deb9 | ||
|
|
e09b6c14b1 | ||
|
|
f7e978ec9e | ||
|
|
48c9f2ba3f | ||
|
|
9452bda0c9 | ||
|
|
f96833b33b | ||
|
|
637c2d9d98 | ||
|
|
429f0a324c | ||
|
|
7890e431bc | ||
|
|
ada6d19216 | ||
|
|
fbf299692a | ||
|
|
26d74f7537 | ||
|
|
5e9ca3c8fd | ||
|
|
8645172583 | ||
|
|
70a195a776 | ||
|
|
2246df0c0b | ||
|
|
e004045111 | ||
|
|
e8592cc019 | ||
|
|
cc797e202e | ||
|
|
5b6be38e65 | ||
|
|
8f11e312ba | ||
|
|
0dc4df1f43 | ||
|
|
bf2b400122 | ||
|
|
1d1c36cd00 | ||
|
|
016b40d4b5 | ||
|
|
764e793661 | ||
|
|
9f902a3c2c | ||
|
|
fd417433a8 | ||
|
|
62b04203bb | ||
|
|
3bce8ed7c9 | ||
|
|
0596e830cf | ||
|
|
cef806b626 | ||
|
|
1ea3817b9a | ||
|
|
ba01881b1a | ||
|
|
0998b9aeb4 | ||
|
|
8818d1a7ac | ||
|
|
2dcdb268b5 | ||
|
|
dfe127cd0f | ||
|
|
26d027d3ed | ||
|
|
e494aa1666 | ||
|
|
d3bb0edb1d | ||
|
|
05e4b61a26 | ||
|
|
3cc5aba515 | ||
|
|
52bcae8059 | ||
|
|
ec87b11274 | ||
|
|
33326817df | ||
|
|
d8fd3a142c | ||
|
|
fa43b98147 | ||
|
|
14ed7d51e5 | ||
|
|
27873fc85b | ||
|
|
6de96c5537 | ||
|
|
e39887e34f | ||
|
|
077fa888e1 | ||
|
|
42e952be48 | ||
|
|
2201c88702 | ||
|
|
1b5463e974 | ||
|
|
ac2d625581 | ||
|
|
9493415e2d | ||
|
|
b3fc4c3c65 | ||
|
|
69924807cb | ||
|
|
29e66a9b68 | ||
|
|
d3fe8168fc | ||
|
|
fede90002a | ||
|
|
92f1446c22 | ||
|
|
284d90f7ce | ||
|
|
798d7473ec | ||
|
|
df17be0fe7 | ||
|
|
485a73df23 | ||
|
|
f8a737e5d6 | ||
|
|
7fc0c6b6b9 | ||
|
|
9b1c91fdca | ||
|
|
7c17cfdd6a | ||
|
|
cf1b80ea0a | ||
|
|
3cc43ce1ee | ||
|
|
5cf4b15403 | ||
|
|
e66c2cb37e | ||
|
|
2277d90944 | ||
|
|
db89457f33 | ||
|
|
3bf5c1ee10 | ||
|
|
3337e58575 | ||
|
|
5d76a24c8e | ||
|
|
ea49c7396b | ||
|
|
5bd39b2249 | ||
|
|
58b88cf090 | ||
|
|
e2611a5c8f | ||
|
|
ddf16765a7 | ||
|
|
5550a01187 | ||
|
|
7893ce8021 | ||
|
|
f9b72fd3c0 | ||
|
|
5046fcd669 | ||
|
|
285365043c | ||
|
|
51e9797791 | ||
|
|
15ec6d709d | ||
|
|
da0768877d | ||
|
|
5270a43158 | ||
|
|
bf54e0c276 | ||
|
|
10e61eaed9 | ||
|
|
9a890f0ec5 | ||
|
|
ba40722c3b | ||
|
|
23872cc343 | ||
|
|
58eca74514 | ||
|
|
d86ddaaa2d | ||
|
|
1736bed646 | ||
|
|
ddf386757b | ||
|
|
bd870230f1 | ||
|
|
aa60fb8642 | ||
|
|
4715b0e388 | ||
|
|
ab0473c8ae | ||
|
|
2b54683feb | ||
|
|
41aa1ed914 | ||
|
|
bc07cfbd1f | ||
|
|
a05416e0bb | ||
|
|
81847b54b9 | ||
|
|
919d27acf2 | ||
|
|
fc3d0f4057 | ||
|
|
f39bf5be42 | ||
|
|
bbe349083b | ||
|
|
266c8960e6 | ||
|
|
de06787f88 | ||
|
|
60504c50f1 | ||
|
|
1d8c05a7d3 | ||
|
|
e9401ae405 | ||
|
|
8596b47922 | ||
|
|
7bd1c7d0a4 | ||
|
|
7bf8472a21 | ||
|
|
e741b66879 | ||
|
|
99d493d7ce | ||
|
|
d06da2920e | ||
|
|
b7e0f2c3a5 | ||
|
|
335baaf59f | ||
|
|
ba4d54f1b7 | ||
|
|
24da1f0901 | ||
|
|
5483d5ae9c | ||
|
|
725d4560eb | ||
|
|
932d8408e5 | ||
|
|
1a94bea1dd | ||
|
|
071284bdd5 | ||
|
|
1e52f6dd0d | ||
|
|
6303ace670 | ||
|
|
ee54527421 | ||
|
|
025e1ed35c | ||
|
|
2625171823 | ||
|
|
62fb100d48 | ||
|
|
3ff9b5c452 | ||
|
|
108555584f | ||
|
|
280e938a55 | ||
|
|
c8ff0bfa8e | ||
|
|
652e823938 | ||
|
|
01d70f2abb | ||
|
|
8986a9ad40 | ||
|
|
c45cb1ae53 | ||
|
|
8c568bc05a | ||
|
|
565309e8c0 | ||
|
|
70179819df | ||
|
|
c767bedba3 | ||
|
|
c65d0ef692 | ||
|
|
757c1e52bf | ||
|
|
fc5f5557ee | ||
|
|
eb0c76b8dd | ||
|
|
c07398b1e3 | ||
|
|
dec690a35e | ||
|
|
b31b83540c | ||
|
|
f97f602826 | ||
|
|
af887ab479 | ||
|
|
10cd3d05c5 | ||
|
|
2bf164cda7 | ||
|
|
5a715ba572 | ||
|
|
e6fa849bb0 | ||
|
|
e2237a5950 | ||
|
|
7849fd6600 | ||
|
|
37ee6d1a0a | ||
|
|
251a52abbe | ||
|
|
ac9c8c9aa0 | ||
|
|
9c36f3cda7 | ||
|
|
d7e29d9289 | ||
|
|
3a69edfe6a | ||
|
|
d86022e091 | ||
|
|
464b3abe67 | ||
|
|
4193015544 | ||
|
|
50322ca0d8 | ||
|
|
0602177e28 | ||
|
|
deaddff979 | ||
|
|
59a924626e | ||
|
|
9fe6f6f9bd | ||
|
|
bfcb52f8f8 | ||
|
|
01f4fb8eba | ||
|
|
181a062b78 | ||
|
|
5e80691abe | ||
|
|
753ffb17f9 | ||
|
|
bf17d63023 | ||
|
|
6a64f1e8f4 | ||
|
|
3928137f94 | ||
|
|
ef2117e284 | ||
|
|
ba10e05a8e | ||
|
|
aca5d14bea | ||
|
|
fee3bc905c | ||
|
|
6675018ba2 | ||
|
|
80d14b5fd5 | ||
|
|
d04492f032 | ||
|
|
f9368580f1 | ||
|
|
b0d518ab0b | ||
|
|
6ae2923c7e | ||
|
|
cd19ae4915 | ||
|
|
fa1dc03636 | ||
|
|
774c9fefd1 | ||
|
|
e62a580867 | ||
|
|
8a2a6f8ce5 | ||
|
|
a5142db731 | ||
|
|
494c14f6e6 | ||
|
|
5b99de074a | ||
|
|
0a42c21c13 | ||
|
|
2eb73c3606 | ||
|
|
7c79fa7f2f | ||
|
|
ba58ddb4b2 | ||
|
|
9d55b3297a | ||
|
|
8a5aed4648 | ||
|
|
c580c8f559 | ||
|
|
f83a5311ab | ||
|
|
e26e84a516 | ||
|
|
942d71a5ca | ||
|
|
3af44dca1c | ||
|
|
c491a3dd7c | ||
|
|
f423e5c4a2 | ||
|
|
95db00bb50 | ||
|
|
b942ac9451 | ||
|
|
3985a61b37 | ||
|
|
f5d1d3b4eb | ||
|
|
18238555f6 | ||
|
|
03c247bfab | ||
|
|
2526b76bea | ||
|
|
9f63be150b | ||
|
|
74c9ba37cf | ||
|
|
baa870c39b | ||
|
|
30042213ec | ||
|
|
a7be24caa2 | ||
|
|
ff0afd7ede | ||
|
|
32bca63239 | ||
|
|
6c505bb386 | ||
|
|
3546186bd8 | ||
|
|
db7b75df56 | ||
|
|
4b5dc8d920 | ||
|
|
9515e0ccca | ||
|
|
86d0bedff9 | ||
|
|
951e2b485f | ||
|
|
29ab4d9878 | ||
|
|
c06a49c257 | ||
|
|
9174744878 | ||
|
|
34441315bc | ||
|
|
e8b027c356 | ||
|
|
0bb89e4763 | ||
|
|
26b9f045ad | ||
|
|
f3da866634 | ||
|
|
83ef43c36f | ||
|
|
0166642e00 | ||
|
|
318389b08f | ||
|
|
8405f87edb | ||
|
|
2f90ec066f | ||
|
|
1ff8f4b13d | ||
|
|
cf130d092c | ||
|
|
2bd48fb7ba | ||
|
|
aa6b09561b | ||
|
|
1e64d1287a | ||
|
|
93748698d5 | ||
|
|
ee411d82c9 | ||
|
|
50fde09ed7 | ||
|
|
6e62383b28 | ||
|
|
bebf7744ca | ||
|
|
d06bea8fb8 | ||
|
|
d98b31fb92 | ||
|
|
4798710029 | ||
|
|
780e47ffe5 | ||
|
|
8f00cb4d76 | ||
|
|
1141823bc8 | ||
|
|
3403b10e50 | ||
|
|
f5c8ac58b2 | ||
|
|
079d5ddd7f | ||
|
|
1fea720034 | ||
|
|
d3ef85df17 | ||
|
|
079ad6b674 | ||
|
|
ff58bbd1f2 | ||
|
|
c82f691952 | ||
|
|
37da299efb | ||
|
|
33ba41bbea | ||
|
|
ce5e3d113e | ||
|
|
2877752294 | ||
|
|
e2ee547063 | ||
|
|
fd9d1d0836 | ||
|
|
3d6cec8170 | ||
|
|
3c0bba41e1 | ||
|
|
821f08b52d | ||
|
|
7d9d2a02ef | ||
|
|
38fddd4862 | ||
|
|
ca4fcbab0e | ||
|
|
77d4c68ab0 | ||
|
|
90c5640341 | ||
|
|
182d18ba20 | ||
|
|
b2945e022e | ||
|
|
fab9fbc690 | ||
|
|
1341e7af52 | ||
|
|
40a06c2415 | ||
|
|
cbf4b0be15 | ||
|
|
2d3b88ecfd | ||
|
|
007254e10f | ||
|
|
dae2172f3b | ||
|
|
9a8b507f6e | ||
|
|
2aa50e88be | ||
|
|
01db326459 | ||
|
|
db29acda65 | ||
|
|
04cbba965c | ||
|
|
c8e6620181 | ||
|
|
adc8004272 | ||
|
|
447d9ede6e | ||
|
|
c53b817774 | ||
|
|
a9fb35dcc2 | ||
|
|
6dd1a88e2e | ||
|
|
38869f636a | ||
|
|
98b1b2b804 | ||
|
|
5b5e854c7f | ||
|
|
3af3a4d74c | ||
|
|
d0876dbb49 | ||
|
|
0d5fd167a8 | ||
|
|
4f43e9b82b | ||
|
|
ddf46eed1f | ||
|
|
08096d50b0 | ||
|
|
88a8c81cbe | ||
|
|
4cd16b74f5 | ||
|
|
f6d116771a | ||
|
|
a8bdf40467 | ||
|
|
120ec59855 | ||
|
|
bf7111e8e3 | ||
|
|
7383755d9f | ||
|
|
541923a42f | ||
|
|
de84680257 | ||
|
|
90dca6d909 | ||
|
|
0bc1f4a10a | ||
|
|
e8b855dfeb | ||
|
|
2b3a27dbc7 | ||
|
|
1cde3603ef | ||
|
|
467b767783 | ||
|
|
48eaa35a6e | ||
|
|
2db4dbe763 | ||
|
|
47f6666260 | ||
|
|
10d1a5bf51 | ||
|
|
2831556a76 | ||
|
|
e3224e5415 | ||
|
|
8cc41be913 | ||
|
|
cf5d6306d2 | ||
|
|
4876b3347e | ||
|
|
40caeacc09 | ||
|
|
9d634c3724 | ||
|
|
d4dadf6ca3 | ||
|
|
510109d6d4 | ||
|
|
d82809d514 | ||
|
|
ff9e05ffec | ||
|
|
c0b15548cf | ||
|
|
ce8d3abf7e | ||
|
|
083f79ef39 | ||
|
|
80a5df3038 | ||
|
|
bb5d174866 | ||
|
|
2a41aef6dc | ||
|
|
3c742e07c0 | ||
|
|
328e79e78e | ||
|
|
51ad56ab3c | ||
|
|
45f42a05bb | ||
|
|
04a9a712b3 | ||
|
|
1bc1188083 | ||
|
|
bb64cb1562 | ||
|
|
2c46b2ef75 | ||
|
|
1403fc3bf4 | ||
|
|
395a877d51 | ||
|
|
d62fcd542a | ||
|
|
9ea8c58578 | ||
|
|
cf843dc5ad | ||
|
|
dfd3847482 | ||
|
|
4defb347e3 | ||
|
|
c4b200b9dd | ||
|
|
85db14dc0e | ||
|
|
a2fd8d928c | ||
|
|
85582e358c | ||
|
|
87caf25341 | ||
|
|
57f977af66 | ||
|
|
c3176e414f | ||
|
|
271a1b1d5a | ||
|
|
46f305de77 | ||
|
|
64e943b8d0 | ||
|
|
57451df298 | ||
|
|
f35b14ad1b | ||
|
|
7ce81a475b | ||
|
|
07a514b10a | ||
|
|
b42c9ea692 | ||
|
|
99dad68e23 | ||
|
|
62ae4cd595 | ||
|
|
07250ed354 | ||
|
|
b303b68d46 | ||
|
|
e21670c3c9 | ||
|
|
0428aafde8 | ||
|
|
3a1d3a4f29 | ||
|
|
4afded62e2 | ||
|
|
4add3745ff | ||
|
|
25e81e552c | ||
|
|
3604e28545 | ||
|
|
4b6e2bd775 | ||
|
|
86a5424ac4 | ||
|
|
f7bcb232bc | ||
|
|
ca7f0fa870 | ||
|
|
2d7ee2b5b6 | ||
|
|
ca98b12910 | ||
|
|
3728c11c52 | ||
|
|
f99af05b76 | ||
|
|
170688c352 | ||
|
|
baece5e61b | ||
|
|
f2fb4916a3 | ||
|
|
226c12b4e8 | ||
|
|
473ef8dce7 | ||
|
|
36189266d7 | ||
|
|
ad30b81f6d | ||
|
|
9098c3b558 | ||
|
|
dad43783a0 | ||
|
|
3b0ab4f1c9 | ||
|
|
65ddce7215 | ||
|
|
0340225896 | ||
|
|
3edcbb9be4 | ||
|
|
d4702c8a31 | ||
|
|
a9e6c4cb52 | ||
|
|
7cd9d209b8 | ||
|
|
8b5c8262bc | ||
|
|
2ef4e4123d | ||
|
|
34f1b5ffcd | ||
|
|
3d027fd436 | ||
|
|
e1c4fcd05f | ||
|
|
67c0746697 | ||
|
|
cb6a7b5768 | ||
|
|
76dee94b62 | ||
|
|
50cc2cb801 | ||
|
|
4711ae3dde | ||
|
|
f0a3bc7f7f | ||
|
|
89eba6df47 | ||
|
|
fe5c6fb4c9 | ||
|
|
ddecddb608 | ||
|
|
3d431e17fd | ||
|
|
1c8d939b81 | ||
|
|
54705ed19c | ||
|
|
5f2c5a1bf7 | ||
|
|
123032c186 | ||
|
|
cea3eab475 | ||
|
|
0d6e148c37 | ||
|
|
601fac1777 | ||
|
|
e592d46daa | ||
|
|
178cb1fefd | ||
|
|
5b4962ed95 | ||
|
|
38a65b7aa2 | ||
|
|
58e0791b10 | ||
|
|
b5886d1711 | ||
|
|
e45d6d5966 | ||
|
|
0e43c64cce | ||
|
|
f498b8c481 | ||
|
|
accddb94bf | ||
|
|
9e72dfc455 | ||
|
|
a5907300bb | ||
|
|
1f58bed0ec | ||
|
|
a3aa9542a7 | ||
|
|
ee181e1036 | ||
|
|
262ad95791 | ||
|
|
24ab22e139 | ||
|
|
1ee48fb718 | ||
|
|
db70e34166 | ||
|
|
8b08fd73b5 | ||
|
|
8fb2dfa6de | ||
|
|
3edb53c7d9 | ||
|
|
68dcf5c125 | ||
|
|
59c595ebcb | ||
|
|
2460908edf | ||
|
|
12ba2be538 | ||
|
|
e183d76381 | ||
|
|
c43ddacee4 | ||
|
|
684a125287 | ||
|
|
88245e2403 | ||
|
|
6047247711 | ||
|
|
d4f3adcfe2 | ||
|
|
32495c334d | ||
|
|
7ad3417ad4 | ||
|
|
d1cccf7ace | ||
|
|
ef8d36c8a9 | ||
|
|
f83a56d317 | ||
|
|
18e89f121e | ||
|
|
b7c65a10dc | ||
|
|
942069db81 | ||
|
|
c00c233aab | ||
|
|
50dd78f74d | ||
|
|
5fe0dedf31 | ||
|
|
66ad24ca60 | ||
|
|
7486a074f6 | ||
|
|
abd38b8d59 | ||
|
|
9498881bcc | ||
|
|
3cab5a2f88 | ||
|
|
a2b1b57c3b | ||
|
|
f3b2afa8c5 | ||
|
|
f7f8f5d482 | ||
|
|
331417b07d | ||
|
|
4b96f3f34a | ||
|
|
a819131927 | ||
|
|
02c0ba92fc | ||
|
|
bf56886abf | ||
|
|
0cbf5b618e | ||
|
|
97963aea4f | ||
|
|
178f16374c | ||
|
|
7ab30dec1e | ||
|
|
65eb217353 | ||
|
|
d945d7bcc0 | ||
|
|
20c0441069 | ||
|
|
fb74f4ea38 | ||
|
|
02a28cd05b | ||
|
|
e8aeadb6b3 | ||
|
|
e213544f84 | ||
|
|
8759525e04 | ||
|
|
415b89a022 | ||
|
|
0b5e8db26d | ||
|
|
d1ecc7bdd6 | ||
|
|
fdc9b6a92d | ||
|
|
dce24af399 | ||
|
|
bc0d5e3e38 | ||
|
|
9c34dc9c19 | ||
|
|
74a162d1cf | ||
|
|
c75ecc7db4 | ||
|
|
539c3ad29e | ||
|
|
1d96ed88be | ||
|
|
fd046bc460 | ||
|
|
a892529a1b | ||
|
|
2ad1144594 | ||
|
|
7e1b06ecf9 | ||
|
|
297c699103 | ||
|
|
3d21c6343c | ||
|
|
82c0aadca0 | ||
|
|
365de116c8 | ||
|
|
71f452c0c5 | ||
|
|
96ac61c119 | ||
|
|
a984263379 | ||
|
|
2d6a8676a4 | ||
|
|
3b581ce782 | ||
|
|
b7569a0abd | ||
|
|
13af5aa97d | ||
|
|
51a0ec21bd | ||
|
|
674c903ada | ||
|
|
67dea02b9c | ||
|
|
526a457a38 | ||
|
|
b064f9c092 | ||
|
|
2aecbf9707 | ||
|
|
8806131c74 | ||
|
|
90afb0c623 | ||
|
|
30cbb9a1ec | ||
|
|
8f3e71e327 | ||
|
|
a593138734 | ||
|
|
d343798ed1 | ||
|
|
6708d74034 | ||
|
|
2fae89db0e | ||
|
|
c8e8ddee6c | ||
|
|
f87290eff8 | ||
|
|
4b8be02a64 | ||
|
|
b3838ef2d2 | ||
|
|
8cb610a757 | ||
|
|
c0196ce5dc | ||
|
|
931f69ff22 | ||
|
|
11791fc09c | ||
|
|
96c7287584 | ||
|
|
06611e48a0 | ||
|
|
fc57dc72a7 | ||
|
|
eed24ab456 | ||
|
|
b1bfce7a1c | ||
|
|
a8848911ad | ||
|
|
fe963d599a | ||
|
|
61c4b096d6 | ||
|
|
816bb34bcd | ||
|
|
7aad916f71 | ||
|
|
213490e73f | ||
|
|
dfe66197f5 | ||
|
|
c4463bc5bb | ||
|
|
26cac85ca3 | ||
|
|
799510b46d | ||
|
|
21dd1d9d56 | ||
|
|
d2bd759a76 | ||
|
|
0015363385 | ||
|
|
0347097610 | ||
|
|
190592577d | ||
|
|
05e94500ab | ||
|
|
ceb3765d24 | ||
|
|
4f26529c5a | ||
|
|
118a8e78a5 | ||
|
|
83af37862c | ||
|
|
03dfcb4c3d | ||
|
|
5830bb8db0 | ||
|
|
de2e45e8b2 | ||
|
|
aee73f7662 | ||
|
|
f4b5dbb13f | ||
|
|
67cb80bed3 | ||
|
|
a18a6ba277 | ||
|
|
e0e9b51866 | ||
|
|
f311e32923 | ||
|
|
72a23203f6 | ||
|
|
9e86c3d086 | ||
|
|
88ca35a27d | ||
|
|
5799113f2c | ||
|
|
bdce1217bb | ||
|
|
a5a2bdf32c | ||
|
|
acb367561a | ||
|
|
29d23223d5 | ||
|
|
9ea644b65e | ||
|
|
c63662bd2e | ||
|
|
f9e8910ba0 | ||
|
|
abca8170dd | ||
|
|
3e97045178 | ||
|
|
268bdc23f4 | ||
|
|
59ada550c5 | ||
|
|
46cde24aff | ||
|
|
126be6e9ec | ||
|
|
cb4ac08375 | ||
|
|
eb849c741d | ||
|
|
41103c04da | ||
|
|
71f2b8ee3f | ||
|
|
71213ce30d | ||
|
|
be17527117 | ||
|
|
4e1238dd6f | ||
|
|
9d0ad35b7b | ||
|
|
a3a21dd658 | ||
|
|
292c2cb7ea | ||
|
|
590b62111e | ||
|
|
ead3839c10 | ||
|
|
0f092f8e43 | ||
|
|
4013a3be1f | ||
|
|
1e7f4cbdc0 | ||
|
|
42858806e3 | ||
|
|
3aa658b7af | ||
|
|
ad05a4d936 | ||
|
|
a0ac3de3bd | ||
|
|
fa41089c40 | ||
|
|
05cfdc4379 | ||
|
|
0baba30389 | ||
|
|
1681571174 | ||
|
|
5809e5d1af | ||
|
|
44cb96fbaf | ||
|
|
42c43cc0c3 | ||
|
|
df6a916949 | ||
|
|
978f813602 | ||
|
|
2f10d40a30 | ||
|
|
56392a2220 | ||
|
|
ac33a449af | ||
|
|
185a2ffcd0 | ||
|
|
d76a8c8344 | ||
|
|
cf5a79acb5 | ||
|
|
b567cd175e | ||
|
|
974523e82a | ||
|
|
989cea6eb2 | ||
|
|
2d8f72361a | ||
|
|
bcf3bb9bdf | ||
|
|
9cad8abbe8 | ||
|
|
63a637b848 | ||
|
|
f98432334f | ||
|
|
d81c87fcdb | ||
|
|
5a1447a385 | ||
|
|
83fb4402ca | ||
|
|
3ccf4cca0f | ||
|
|
1cd314ea15 | ||
|
|
d768c8637f | ||
|
|
68dcfe80cc | ||
|
|
e3b1d708e1 | ||
|
|
1b96476f4b | ||
|
|
00c37fe815 | ||
|
|
d574b23c30 | ||
|
|
bb5c265ac6 | ||
|
|
a8fbeadca9 | ||
|
|
dd070f7227 | ||
|
|
445ea68155 | ||
|
|
f02dafcf1e | ||
|
|
1badad767b | ||
|
|
7bd47e5c77 | ||
|
|
2a00322373 | ||
|
|
74093a1815 | ||
|
|
6837cc5d07 | ||
|
|
c58575fd13 | ||
|
|
35da1203d4 | ||
|
|
26f12c32ac | ||
|
|
4ad0ee68c7 | ||
|
|
6fea8ce8fc | ||
|
|
a90c5d53fd | ||
|
|
37c58a63b6 | ||
|
|
e31711c67c | ||
|
|
67a9c318f0 | ||
|
|
c7c05bc77f | ||
|
|
0a00ff400b | ||
|
|
851d6cbf0f | ||
|
|
f22c5742d2 | ||
|
|
15581e7b80 | ||
|
|
c280d584c3 | ||
|
|
857a67ddad | ||
|
|
a2f273c911 | ||
|
|
3af5b844b0 | ||
|
|
b979da9e3d | ||
|
|
3ec346d074 | ||
|
|
bb077d9aa3 | ||
|
|
e1517d7dd6 | ||
|
|
ff05417f78 | ||
|
|
32a13332c3 | ||
|
|
6da8deaf03 | ||
|
|
7a03d3a68e | ||
|
|
8c071873d3 | ||
|
|
a32282b508 | ||
|
|
a28ee0e959 | ||
|
|
41829e314d | ||
|
|
fc47260d86 | ||
|
|
0cf71fc564 | ||
|
|
b4b37cc747 | ||
|
|
06cd80329f | ||
|
|
50a68dcc15 | ||
|
|
a9d7a7ce3c | ||
|
|
f15dbc0efc | ||
|
|
89e4b9827c | ||
|
|
6eec9cffa9 | ||
|
|
745dc5882c | ||
|
|
85babd9720 | ||
|
|
69787bb30f | ||
|
|
6a675bcae6 | ||
|
|
db58b6db95 | ||
|
|
d39ad733dc | ||
|
|
ad2100aaf2 | ||
|
|
ac2a06f74b | ||
|
|
c022c2b230 | ||
|
|
d1c3921eb7 | ||
|
|
104aa50026 | ||
|
|
66f2f351ca | ||
|
|
e97b6f304f | ||
|
|
d3b8cc7339 | ||
|
|
c596ef948f | ||
|
|
61317acc18 | ||
|
|
b831f6b8ef | ||
|
|
bba241e494 | ||
|
|
d039616ae3 | ||
|
|
38ab381c8c | ||
|
|
100d0dfb88 | ||
|
|
63a4ae9625 | ||
|
|
2fbd0e1d53 | ||
|
|
22cc97393f | ||
|
|
0cd2e323c0 | ||
|
|
1b0c75fe9e | ||
|
|
2db8dc76e6 | ||
|
|
fa3ecb0698 | ||
|
|
7119b725e7 | ||
|
|
0877758116 | ||
|
|
9c447cfa3a | ||
|
|
e22e3dc594 | ||
|
|
3f4bfa2d70 | ||
|
|
d089583a45 | ||
|
|
962010ddcc | ||
|
|
8fbd424850 | ||
|
|
797507de66 | ||
|
|
bff04f2d39 | ||
|
|
1e4de72b65 | ||
|
|
b8048e063d | ||
|
|
696cda3cf7 | ||
|
|
4dfdc9ea72 | ||
|
|
5d103895ae | ||
|
|
9532ee898c | ||
|
|
a6fcff9f22 | ||
|
|
51f55a989c | ||
|
|
6d414b758a | ||
|
|
acb1e1d55a | ||
|
|
240ebffbcb | ||
|
|
da67ec9305 | ||
|
|
e585adb773 | ||
|
|
36f102c133 | ||
|
|
e256aea46f | ||
|
|
7264aa1ae3 | ||
|
|
9a13ef602b | ||
|
|
05c7eac9fe | ||
|
|
97efee6ef3 | ||
|
|
556cd0e8af | ||
|
|
f6b98d1df7 | ||
|
|
d13d380070 | ||
|
|
508194e603 | ||
|
|
b485a3ea15 | ||
|
|
c1be4d1f8b | ||
|
|
f9736703e8 | ||
|
|
8e95f8858c | ||
|
|
b378437bd0 | ||
|
|
ab0295bf65 | ||
|
|
721c4033d5 | ||
|
|
e48e1b8106 | ||
|
|
9b2b4d0354 | ||
|
|
079cbfd68b | ||
|
|
415fc40ae5 | ||
|
|
5a11f8194a | ||
|
|
f1fa518971 | ||
|
|
c71841d637 | ||
|
|
2ef28cd492 | ||
|
|
38092c1046 | ||
|
|
713cf4a06a | ||
|
|
6bf6693ab2 | ||
|
|
2935c86219 | ||
|
|
9894ab5865 | ||
|
|
68d68ab90f | ||
|
|
817100c10c | ||
|
|
f2f6a18440 | ||
|
|
6f6a60344e | ||
|
|
499c96712e | ||
|
|
55f980640e | ||
|
|
ac8e42eef9 | ||
|
|
271c118615 | ||
|
|
7726f00ba5 | ||
|
|
9d7cd25144 | ||
|
|
a49b2f813f | ||
|
|
9ac20eac46 | ||
|
|
901aa23442 | ||
|
|
972495c646 | ||
|
|
233efd6f42 | ||
|
|
45201f15be | ||
|
|
02151b87ae | ||
|
|
590eeac32c | ||
|
|
5569a3e888 | ||
|
|
bfb42f25be | ||
|
|
b8da1d34f1 | ||
|
|
7424843f08 | ||
|
|
e784524ddf | ||
|
|
0c826a4457 | ||
|
|
33b8a09272 | ||
|
|
0a97689aa2 | ||
|
|
9d97b6c990 | ||
|
|
9e719b9b81 | ||
|
|
96342e1923 | ||
|
|
33e35573f0 | ||
|
|
024c421e9d | ||
|
|
e83c745cf5 | ||
|
|
6ad70f2984 | ||
|
|
9fdaee735c | ||
|
|
2f62d4c56a | ||
|
|
da9af25b38 | ||
|
|
a67ad16d8a | ||
|
|
5143a26e68 | ||
|
|
2747ff5bf6 | ||
|
|
22b2ec1968 | ||
|
|
e5ed70e161 | ||
|
|
ee6345f8b7 | ||
|
|
91756b3889 | ||
|
|
331a898bd0 | ||
|
|
b7101336b4 | ||
|
|
ba6513cb6d | ||
|
|
738733e61d | ||
|
|
b4e139a4e2 | ||
|
|
c9b521a712 | ||
|
|
cb729cf40f | ||
|
|
7e00aa95e4 | ||
|
|
e554eb10af | ||
|
|
a305360b50 | ||
|
|
8245f2d473 | ||
|
|
5903e04639 | ||
|
|
d93938d189 | ||
|
|
5e3ae49c4a | ||
|
|
05b4b483b6 | ||
|
|
34566698f4 | ||
|
|
c755ed6f98 | ||
|
|
55f21ad54d | ||
|
|
c8a9049126 | ||
|
|
7113df3724 | ||
|
|
5359259eb0 | ||
|
|
a462f922b5 | ||
|
|
a4d8e5a0a0 | ||
|
|
fc7c2b53ab | ||
|
|
7df689e0cb | ||
|
|
f1d8657c27 | ||
|
|
07fcae7817 | ||
|
|
f94bc25d8d | ||
|
|
0cf8659d2e | ||
|
|
70a27055d7 | ||
|
|
6533106ccc | ||
|
|
85ada890ba | ||
|
|
2858dcba1c | ||
|
|
69156c3181 | ||
|
|
bcdb39781e | ||
|
|
fd6769005e | ||
|
|
459ccd9540 | ||
|
|
a8358873e6 | ||
|
|
cff3ce9188 | ||
|
|
7bd24ff7b9 | ||
|
|
7582baf90e | ||
|
|
25e9ffdf7e | ||
|
|
a8db30dbdf | ||
|
|
1c03272b90 | ||
|
|
308064d60a | ||
|
|
a8f56257a1 | ||
|
|
d622e88526 | ||
|
|
2337a0f297 | ||
|
|
b3c22d908e | ||
|
|
fa4151640f | ||
|
|
7eb733b680 | ||
|
|
b20fa35eba | ||
|
|
7363ac72f8 | ||
|
|
392c1e6401 | ||
|
|
0ab5011c99 | ||
|
|
3618a5c21b | ||
|
|
78be5d4403 | ||
|
|
854f2410a1 | ||
|
|
1b46ffd85b | ||
|
|
9ec9f22dda | ||
|
|
46877f22c4 | ||
|
|
5e08804cec | ||
|
|
e6ac43b299 | ||
|
|
8f28ca3fa3 | ||
|
|
194a4f8786 | ||
|
|
367fb2ba05 | ||
|
|
5b251b023b | ||
|
|
ca5cc51460 | ||
|
|
bb6f02f9e9 | ||
|
|
8c089ff0ef | ||
|
|
0a59e9147a | ||
|
|
67fa1f768b | ||
|
|
d512091b7f | ||
|
|
4b3558e3a3 | ||
|
|
8a0e3e4679 | ||
|
|
919a5f1ca4 | ||
|
|
8008c7deb3 | ||
|
|
1cba875f5e | ||
|
|
bc0957a446 | ||
|
|
21eba13f37 | ||
|
|
50b4dc3b46 | ||
|
|
58a2b8ad03 | ||
|
|
cc24d9fc00 | ||
|
|
121c275ee0 | ||
|
|
6c81877aa7 | ||
|
|
c17ffcbe7e | ||
|
|
f36a32a72f | ||
|
|
cc62b99c16 | ||
|
|
3b30ff8000 | ||
|
|
b194e25020 | ||
|
|
6f60a86fad | ||
|
|
4914049a1b | ||
|
|
fea5b0c46b | ||
|
|
b788a075c6 | ||
|
|
1f3c243d22 | ||
|
|
af5d554b7c | ||
|
|
6e53cebdbd | ||
|
|
60c43d299b | ||
|
|
05fb726082 | ||
|
|
b00a74970a | ||
|
|
1f6391e683 | ||
|
|
d23a845183 | ||
|
|
a53e2ea2ce | ||
|
|
6f1484a01c | ||
|
|
4ade0f87f8 | ||
|
|
d553c32872 | ||
|
|
2eb62dd8d5 | ||
|
|
26fcae44c1 | ||
|
|
55777b148f | ||
|
|
6dc8c77b64 | ||
|
|
b42f453d51 | ||
|
|
c377a9e1e6 | ||
|
|
171fc817be | ||
|
|
ef37166285 | ||
|
|
2111f172d5 | ||
|
|
bcd7f6c034 | ||
|
|
609af3b307 | ||
|
|
4db5ff00f7 | ||
|
|
cf60473c77 | ||
|
|
b996001c95 | ||
|
|
92e8e4d8d9 | ||
|
|
2d44d18af6 | ||
|
|
a0bfd584e5 | ||
|
|
677b764864 | ||
|
|
30e5d843d4 | ||
|
|
be64c93a22 | ||
|
|
4420cd9cb6 | ||
|
|
94ea41fa16 | ||
|
|
883faf0f64 | ||
|
|
97ef0fdded | ||
|
|
a541505ed9 | ||
|
|
e459c68a65 | ||
|
|
6d737188d7 | ||
|
|
3fded8b662 | ||
|
|
a0a884c2de | ||
|
|
91ee1d7877 | ||
|
|
9ff912af5f | ||
|
|
2489eb6016 | ||
|
|
32fa34e066 | ||
|
|
c80893fe51 | ||
|
|
5c22d92f7e | ||
|
|
5f7c9cbd1c | ||
|
|
7fd9e5ab2e | ||
|
|
c2aed66c83 | ||
|
|
d1da3e6638 | ||
|
|
97fba05f22 | ||
|
|
f20db8c410 | ||
|
|
4ba242e151 | ||
|
|
c14955b3db | ||
|
|
98039a59be | ||
|
|
c4bd5f0e7c | ||
|
|
5e81190a37 | ||
|
|
8212663c8d | ||
|
|
38bb13db63 | ||
|
|
8c07e33ae4 | ||
|
|
f18700c676 | ||
|
|
4e0e298217 | ||
|
|
064436453a | ||
|
|
34fe521bc1 | ||
|
|
86df89d33e | ||
|
|
0649aa1c8c | ||
|
|
6395934dfa | ||
|
|
4ce0fbdf3f | ||
|
|
e87b1bfd42 | ||
|
|
e993e7e82b | ||
|
|
ead4b28604 | ||
|
|
408069da79 | ||
|
|
1dc456b4fa | ||
|
|
95a5d64b78 | ||
|
|
1d0e6bff8c | ||
|
|
47dd7a1551 | ||
|
|
2265286fff | ||
|
|
190a53c4cf | ||
|
|
87e88f62b4 | ||
|
|
c0973374b4 | ||
|
|
f25401b8a6 | ||
|
|
efaa659031 | ||
|
|
705e75e701 | ||
|
|
c565266416 | ||
|
|
1dd1d41f5e | ||
|
|
fc01cf8924 | ||
|
|
93cc7d7bd3 | ||
|
|
31ea0fc25b | ||
|
|
e946d6fa8f | ||
|
|
832e465767 | ||
|
|
d1b6b4ad32 | ||
|
|
9923ed2194 | ||
|
|
4975cde13c | ||
|
|
75d4646d8f | ||
|
|
a081330fea | ||
|
|
d67a7bc3be | ||
|
|
ec5178b7a5 | ||
|
|
98677e70d7 | ||
|
|
03224dc9bd | ||
|
|
8a48a5a144 | ||
|
|
9b7a2c7815 | ||
|
|
19029701f9 | ||
|
|
654ce4d3dc | ||
|
|
0c2f8e2ce5 | ||
|
|
45bdb02d3f | ||
|
|
987d6f4da8 | ||
|
|
37ac10413b | ||
|
|
7ca1bed87b | ||
|
|
447934a13b | ||
|
|
2a400139ce | ||
|
|
93a7d62ac9 | ||
|
|
2d8cfb8aad | ||
|
|
3cced27db6 | ||
|
|
f691e39390 | ||
|
|
e8963b2a6c | ||
|
|
2e8a95e975 | ||
|
|
f3a9bc40f9 | ||
|
|
f82ed037d0 | ||
|
|
d125a4eb72 | ||
|
|
41bd5cc75a | ||
|
|
10cba0d591 | ||
|
|
d30677ba91 | ||
|
|
3de2d618c8 | ||
|
|
b5a15d8859 | ||
|
|
cf147a6bda | ||
|
|
dcd98a0d1f | ||
|
|
b822e2b1d8 | ||
|
|
d2b20ff3fc | ||
|
|
914c866b1c | ||
|
|
06215a9d0e | ||
|
|
a339371156 | ||
|
|
ecded779a0 | ||
|
|
deb3aa9419 | ||
|
|
2e1164a01d | ||
|
|
b1f2c3e387 | ||
|
|
76fe64ba90 | ||
|
|
e28b2fe4b4 | ||
|
|
bee5292c80 | ||
|
|
740f0abc11 | ||
|
|
7b56ffc9cc | ||
|
|
5ff2c1e765 | ||
|
|
d37e4306e8 | ||
|
|
ea72d93fbb | ||
|
|
cce6860201 | ||
|
|
43a2df824f | ||
|
|
a466b6f655 | ||
|
|
da7077a5b4 | ||
|
|
513bdd1ce8 | ||
|
|
f573f78e8b | ||
|
|
01915623a8 | ||
|
|
a138a8cd72 | ||
|
|
030bd0a8d6 | ||
|
|
6bcfa1f954 | ||
|
|
a3ac83b67d | ||
|
|
ffc17dd7fa | ||
|
|
5c98a08d41 | ||
|
|
ce3354ee73 | ||
|
|
b96412650a | ||
|
|
16520a3b8f | ||
|
|
f799bcc4ac | ||
|
|
1e40bf9a82 | ||
|
|
0f45c3945c | ||
|
|
d16e6b0217 | ||
|
|
95fcaa722e | ||
|
|
0f5259baf5 | ||
|
|
d2b0b85808 | ||
|
|
b228ac9b45 | ||
|
|
3dde2e39d2 | ||
|
|
25b299a6ea | ||
|
|
0d08c956b8 | ||
|
|
09c7b9068d | ||
|
|
0287931ac6 | ||
|
|
40eb85a797 | ||
|
|
cdd5d9aebe | ||
|
|
0c07e37430 | ||
|
|
223b9409da | ||
|
|
d76b355b77 | ||
|
|
e8033bff72 | ||
|
|
bff9bab4fe | ||
|
|
c74e28433d | ||
|
|
89dab10a0e | ||
|
|
ff4f2b19ac | ||
|
|
012c6a49b0 | ||
|
|
33da33b32e | ||
|
|
efbcc89000 | ||
|
|
19452d2764 | ||
|
|
76ea0b54c8 | ||
|
|
ec6ddd4c6e | ||
|
|
f5d299f0cd | ||
|
|
ab129243b8 | ||
|
|
a1a43cfa5d | ||
|
|
6d6c6b6db3 | ||
|
|
e9001505c2 | ||
|
|
691a3f5e2e | ||
|
|
f57714c1d7 | ||
|
|
916bece3c7 | ||
|
|
e0fb614432 | ||
|
|
c28bef1376 | ||
|
|
46b838fb5f | ||
|
|
1109eeef80 | ||
|
|
ec23dce915 | ||
|
|
90f51c575e | ||
|
|
af4c7865b5 | ||
|
|
35a16da7a1 | ||
|
|
e3a11f0d59 | ||
|
|
e01271e490 | ||
|
|
3a2cee341f | ||
|
|
de62e0eb91 | ||
|
|
a4b254d1cf | ||
|
|
d69aa1add3 | ||
|
|
61913c08ee | ||
|
|
734ffa8f32 | ||
|
|
b394d64ec4 | ||
|
|
6846b35d5e | ||
|
|
9b28b369e8 | ||
|
|
231dc43618 | ||
|
|
df45003106 | ||
|
|
7e853cc37e | ||
|
|
801885ba6d | ||
|
|
8930205670 | ||
|
|
32cde9692e | ||
|
|
256d22f935 | ||
|
|
4bd917bbe3 | ||
|
|
25ff8a2458 | ||
|
|
ea22e8a111 | ||
|
|
0b32e537bb | ||
|
|
1eb1509e41 | ||
|
|
f75e0f06da | ||
|
|
a80f39d8b6 | ||
|
|
fa38cdd92f | ||
|
|
85a9e208d6 | ||
|
|
4ff2416512 | ||
|
|
ea43296b84 | ||
|
|
d167327b2a | ||
|
|
5dfa76790d | ||
|
|
ff682e2a0d | ||
|
|
b3e770c4b4 | ||
|
|
708d5a9dad | ||
|
|
eb00a6ca08 | ||
|
|
873cb4c0d4 | ||
|
|
066ae7893c | ||
|
|
ed144fcd58 | ||
|
|
204c825080 | ||
|
|
72326608a5 | ||
|
|
88c81f7cf2 | ||
|
|
152f2d0f31 | ||
|
|
ad2c8e8558 | ||
|
|
3d281af027 | ||
|
|
9de8ea4bf5 | ||
|
|
5bde804efb | ||
|
|
fb6056859f | ||
|
|
4c6c3ad6e7 | ||
|
|
50567f2acf | ||
|
|
fbbdad0cb3 | ||
|
|
779da2e099 | ||
|
|
b7a7174c1f | ||
|
|
facba836c4 | ||
|
|
ded40d2fb2 | ||
|
|
e31012d5d0 | ||
|
|
c6dee807fb | ||
|
|
ef29b6f823 | ||
|
|
84becbd0e5 | ||
|
|
7d92f25c81 | ||
|
|
fd0c3e6ba8 | ||
|
|
0a25fbc111 | ||
|
|
1ea7327b5d | ||
|
|
0bd4831c27 | ||
|
|
a8647afdcb | ||
|
|
cd6fa12a2d | ||
|
|
8a8dfb0c9c | ||
|
|
a5f2f03cee | ||
|
|
8429a9ef52 | ||
|
|
fdc94d7fbc | ||
|
|
410e1c8cb2 | ||
|
|
eeb6c54b13 | ||
|
|
7be6a27cb6 | ||
|
|
8f48e44204 | ||
|
|
7dd4cb4b55 | ||
|
|
756249686d | ||
|
|
6e7bd93e29 | ||
|
|
944f99fc69 | ||
|
|
d8775511a5 | ||
|
|
de16117309 | ||
|
|
d29c2020b3 | ||
|
|
a1ac6ae666 | ||
|
|
331d2d7cf0 | ||
|
|
e34aa5870e | ||
|
|
77f1f69f5e | ||
|
|
aee5569a54 | ||
|
|
915e326112 | ||
|
|
0883426dc0 | ||
|
|
f1d8114499 | ||
|
|
9be186bafe | ||
|
|
3299a65fda | ||
|
|
9bf03dd7c9 | ||
|
|
8d12266eb7 | ||
|
|
459fb01471 | ||
|
|
a7c73805eb | ||
|
|
d372865698 | ||
|
|
1e69a99817 | ||
|
|
fb53b283d9 | ||
|
|
e35ca1ecae | ||
|
|
30db25fac4 | ||
|
|
2b18fa1e1a | ||
|
|
5f2bb91173 | ||
|
|
cdaffa0202 | ||
|
|
02822ff025 | ||
|
|
d899ae6744 | ||
|
|
0b0988eeef | ||
|
|
80dcdfe00c | ||
|
|
845bad283a | ||
|
|
feb9c6e110 | ||
|
|
375c57a148 | ||
|
|
544490e99a | ||
|
|
f39a75adb2 | ||
|
|
c0766a4e87 | ||
|
|
fc62f2db46 | ||
|
|
d1dba20663 | ||
|
|
e1d41823bd | ||
|
|
6a07a22b61 | ||
|
|
58e5277b25 | ||
|
|
461b06710c | ||
|
|
ad5605c4c0 | ||
|
|
091a18ee8d | ||
|
|
45fa325d42 | ||
|
|
94ea037628 | ||
|
|
0956c22f2e | ||
|
|
960491f813 | ||
|
|
c49f8ed475 | ||
|
|
90ad37d6fc | ||
|
|
46c988bced | ||
|
|
05eef7214c | ||
|
|
7934f87b41 | ||
|
|
56e956e99a | ||
|
|
c23b0c58a1 | ||
|
|
74e17d666b | ||
|
|
aa8b9508e0 | ||
|
|
1e24a1996f | ||
|
|
97ed3ba363 | ||
|
|
659027824e | ||
|
|
d516616750 | ||
|
|
6f6693c17a | ||
|
|
4ae6c5bf82 | ||
|
|
10c4449774 | ||
|
|
d810d25178 | ||
|
|
febbd3e29a | ||
|
|
2f71cde879 | ||
|
|
0fed57feb2 | ||
|
|
c47820d3bb | ||
|
|
4819602743 | ||
|
|
7e8b1674fb | ||
|
|
3e76274956 | ||
|
|
0517025531 | ||
|
|
6f6719b399 | ||
|
|
e7738d82bb | ||
|
|
954173f6f2 | ||
|
|
a007505527 | ||
|
|
65657c50f0 | ||
|
|
63ca4051a6 | ||
|
|
cdb945e45e | ||
|
|
6849cf6025 | ||
|
|
ab9e3fcb1d | ||
|
|
daa9d756db | ||
|
|
a9055af830 | ||
|
|
862caa7cb5 | ||
|
|
856a124516 | ||
|
|
8a01d46ae1 | ||
|
|
2605119b18 | ||
|
|
e07a1b49b7 | ||
|
|
4a976cb077 | ||
|
|
4998b31f24 | ||
|
|
a89a3e2577 | ||
|
|
4c6cad6674 | ||
|
|
b401e1c749 | ||
|
|
da11d3239c | ||
|
|
a65d222b75 | ||
|
|
71499a4153 | ||
|
|
a03314573c | ||
|
|
d65df9fb1c | ||
|
|
60bb044734 | ||
|
|
d93eaea542 | ||
|
|
3b6a4f5ecf | ||
|
|
91f9e116ad | ||
|
|
c4431b5e0a | ||
|
|
c94b572fc8 | ||
|
|
683a094430 | ||
|
|
5306493dab | ||
|
|
7329666824 | ||
|
|
3146d2fda7 | ||
|
|
d3349003b0 | ||
|
|
55ada21442 | ||
|
|
df09e9d4f7 | ||
|
|
f414989587 | ||
|
|
99e3db908b | ||
|
|
70ef9bf166 | ||
|
|
f0a6876ab7 | ||
|
|
614fad7fac | ||
|
|
88918e8de3 | ||
|
|
5515339712 | ||
|
|
0bf9462e02 | ||
|
|
f5d622a413 | ||
|
|
17d1fc302e | ||
|
|
66e08f836f | ||
|
|
591ca5f96f | ||
|
|
e6448dc49b | ||
|
|
2b44c77a3d | ||
|
|
bc8ff30e00 | ||
|
|
497fcae675 | ||
|
|
16225a19f1 | ||
|
|
e0af312b9d | ||
|
|
719a844ce2 | ||
|
|
9cadcae174 | ||
|
|
a1d0694254 | ||
|
|
70a419b347 | ||
|
|
11af008f43 | ||
|
|
f459f1a765 | ||
|
|
c030fbd223 | ||
|
|
8d0a7bb783 | ||
|
|
ed5f862fd7 | ||
|
|
18a94c0621 | ||
|
|
84b923c198 | ||
|
|
817fcbd6c4 | ||
|
|
3f8b250747 | ||
|
|
d606989252 | ||
|
|
3234765b8c | ||
|
|
a4241efdf8 | ||
|
|
d815858cda | ||
|
|
3d234cab9c | ||
|
|
16e922cdd6 | ||
|
|
84b63f0619 | ||
|
|
3e6a5c42c8 | ||
|
|
4b8995a9af | ||
|
|
f2f3e29e3f | ||
|
|
3e45e745f4 | ||
|
|
1e180e78be | ||
|
|
246b13d307 | ||
|
|
8d4f2a2798 | ||
|
|
02efc707f1 | ||
|
|
c446819b64 | ||
|
|
4d4ff6bff8 | ||
|
|
54b99d577b | ||
|
|
c38917832c | ||
|
|
3ccfa90a1c | ||
|
|
ae6821c74b | ||
|
|
2d402933a0 | ||
|
|
18ed7848fd | ||
|
|
33c0d37171 | ||
|
|
86e45efc22 | ||
|
|
889311a04a | ||
|
|
de8a6abb01 | ||
|
|
3b9ddbe80c | ||
|
|
493cfb5ca0 | ||
|
|
b102fd1015 | ||
|
|
50bd5e6219 | ||
|
|
65674554a4 | ||
|
|
4f9db5274c | ||
|
|
ddca2396b6 | ||
|
|
36f26c897e | ||
|
|
9e1b5505c2 | ||
|
|
0f942662cf | ||
|
|
c722160a9c | ||
|
|
997606b3f0 | ||
|
|
fd55ea88fc | ||
|
|
023d1174a4 | ||
|
|
47f8f40b92 | ||
|
|
68a566a932 | ||
|
|
1f22655221 | ||
|
|
976ba15bfb | ||
|
|
6bb0e292c1 | ||
|
|
323413d1cb | ||
|
|
bb72eaa4de | ||
|
|
7795e629c1 | ||
|
|
c92883456c | ||
|
|
24ed139b70 | ||
|
|
b862ccdaec | ||
|
|
af74547974 | ||
|
|
ab422a1a2d | ||
|
|
13384f8ca9 | ||
|
|
b39aa6a575 | ||
|
|
a6b9a517a8 | ||
|
|
7c9bea9813 | ||
|
|
35690ee934 | ||
|
|
111b81a08c | ||
|
|
cc759532b0 | ||
|
|
36f089d682 | ||
|
|
f78628de8b | ||
|
|
dba54df322 | ||
|
|
4d1f5a1bfe | ||
|
|
3f1cd66ce1 | ||
|
|
71374fdc5d | ||
|
|
395db166ec | ||
|
|
31e0e65b67 | ||
|
|
ea6ed19944 | ||
|
|
c24c0e9654 | ||
|
|
d8e829f055 | ||
|
|
8b2f25bc19 | ||
|
|
0e3a3b0f21 | ||
|
|
2c0ffff521 |
No files matched your search
@@ -0,0 +1,11 @@
|
||||
root = true
|
||||
|
||||
[*.py]
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = true
|
||||
indent_size = 4
|
||||
end_of_line = LF
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = true
|
||||
@@ -0,0 +1,21 @@
|
||||
# Configuration for welcome - https://github.com/behaviorbot/welcome
|
||||
|
||||
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
|
||||
|
||||
# Comment to be posted to on first time issues
|
||||
newIssueWelcomeComment: >
|
||||
Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better!
|
||||
|
||||
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
|
||||
|
||||
# Comment to be posted to on PRs from first time contributors in your repository
|
||||
newPRWelcomeComment: >
|
||||
Thank you for submitting this pull request! We’ll get back to you as soon as we can!
|
||||
|
||||
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
|
||||
|
||||
# Comment to be posted to on pull requests merged by a first time user
|
||||
firstPRMergeComment: >
|
||||
Congratulations on merging your first pull request! 🎉🎉🎉
|
||||
|
||||
# It is recommend to include as many gifs and emojis as possible!
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
.idea
|
||||
*.iml
|
||||
myhosts
|
||||
blacklist
|
||||
whitelist
|
||||
readmeData.json
|
||||
hosts-*
|
||||
/web.config
|
||||
/__pycache__
|
||||
/node_modules
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"src": {
|
||||
"tagName": "v%s",
|
||||
"commitArgs": "-S",
|
||||
"tagArgs": "-S"
|
||||
},
|
||||
"github": {
|
||||
"release": true
|
||||
},
|
||||
"npm": {
|
||||
"publish": false,
|
||||
"publishPath": ".",
|
||||
"tag": "latest",
|
||||
"private": false,
|
||||
"access": null
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
language: generic
|
||||
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/miniconda3
|
||||
|
||||
before_cache:
|
||||
- rm -rf $HOME/miniconda3/pkgs/cache
|
||||
- rm -rf $HOME/miniconda3/envs/hosts
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
env:
|
||||
- PYTHON_VERSION="3.5"
|
||||
- PYTHON_VERSION="3.6"
|
||||
- PYTHON_VERSION="3.7"
|
||||
|
||||
before_install:
|
||||
- export PATH="$HOME/miniconda3/bin:$PATH"
|
||||
|
||||
install:
|
||||
- ci/install_conda.sh
|
||||
- ci/setup_conda_env.sh
|
||||
|
||||
script:
|
||||
- ci/test.sh
|
||||
- ci/lint.sh
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"python.pythonPath": "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,421 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* 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 53,872 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,420 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 52,396 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,418 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 43,583 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,417 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 42,106 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,420 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 51,606 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,419 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 50,130 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,417 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 41,317 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,416 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 39,840 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,420 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 53,203 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,419 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 51,727 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,417 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 42,914 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,416 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 41,437 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,419 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 50,937 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
+51869
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,418 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 49,461 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
+43052
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,416 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts) containing 40,648 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
@@ -0,0 +1,8 @@
|
||||
# blacklist
|
||||
#
|
||||
# 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. For example, uncomment the following line to block
|
||||
# 'example.com':
|
||||
|
||||
# 0.0.0.0 example.com
|
||||
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -d "$HOME/miniconda3" ] && [ -e "$HOME/miniconda3/bin/conda" ]; then
|
||||
echo "Miniconda install already present from cache: $HOME/miniconda3"
|
||||
rm -rf $HOME/miniconda3/envs/hosts # Just in case...
|
||||
else
|
||||
echo "Installing Miniconda..."
|
||||
rm -rf $HOME/miniconda3 # Just in case...
|
||||
|
||||
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
||||
wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
|
||||
else
|
||||
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
|
||||
fi
|
||||
|
||||
bash miniconda.sh -b -p "$HOME/miniconda3" || exit 1
|
||||
fi
|
||||
|
||||
echo "Configuring Miniconda..."
|
||||
conda config --set ssl_verify false || exit 1
|
||||
conda config --set always_yes true --set changeps1 false || exit 1
|
||||
|
||||
echo "Updating Miniconda"
|
||||
conda update conda
|
||||
conda update --all
|
||||
conda info -a || exit 1
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Linting repository..."
|
||||
source activate hosts
|
||||
|
||||
flake8 --max-line-length 120
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Creating a Python $PYTHON_VERSION environment"
|
||||
conda create -n hosts python=$PYTHON_VERSION || exit 1
|
||||
source activate hosts
|
||||
|
||||
echo "Installing packages..."
|
||||
conda install flake8 beautifulsoup4 lxml
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Running unittests..."
|
||||
source activate hosts
|
||||
|
||||
python testUpdateHostsFile.py
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Mitchell Krog's - Badd Boyz Hosts",
|
||||
"description": "Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers",
|
||||
"homeurl": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts",
|
||||
"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'"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
+1624
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "KADhosts",
|
||||
"description": "Fraud/adware/scam websites.",
|
||||
"homeurl": "https://github.com/azet12/KADhosts",
|
||||
"frequency": "frequently",
|
||||
"issues": "https://github.com/azet12/KADhosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt",
|
||||
"license": "GPLv3"
|
||||
}
|
||||
@@ -0,0 +1,978 @@
|
||||
#=====================================
|
||||
# Hosts contributed by Steven Black
|
||||
# http://stevenblack.com
|
||||
0.0.0.0 1493361689.rsc.cdn77.org
|
||||
0.0.0.0 30-day-change.com
|
||||
0.0.0.0 2468.go2cloud.org
|
||||
0.0.0.0 adservice.google.nl
|
||||
0.0.0.0 analytics.ff.avast.com
|
||||
0.0.0.0 adsmws.cloudapp.net
|
||||
0.0.0.0 androidads23.adcolony.com
|
||||
0.0.0.0 analytics.publitas.com
|
||||
0.0.0.0 annualconsumersurvey.com
|
||||
0.0.0.0 amarktflow.com
|
||||
0.0.0.0 apps.id.net
|
||||
0.0.0.0 breaksurvey.com
|
||||
0.0.0.0 data.cnn.com
|
||||
0.0.0.0 canuck-method.com
|
||||
0.0.0.0 consumerproductsusa.com
|
||||
0.0.0.0 ceromobi.club
|
||||
0.0.0.0 com-notice.info
|
||||
0.0.0.0 www.com-notice.info
|
||||
0.0.0.0 apple.com-notice.info
|
||||
0.0.0.0 www.apple.com-notice.info
|
||||
0.0.0.0 support.apple.com-notice.info
|
||||
0.0.0.0 www.support.apple.com-notice.info
|
||||
0.0.0.0 darkpage.win
|
||||
0.0.0.0 dobre-programy.pl
|
||||
0.0.0.0 dobre-programy.xyz
|
||||
0.0.0.0 dobreprogramy.pro
|
||||
0.0.0.0 www.canuck-method.com
|
||||
0.0.0.0 com-notice.info
|
||||
0.0.0.0 www.com-notice.info
|
||||
0.0.0.0 largeloot.com
|
||||
0.0.0.0 letitbefaster.website
|
||||
0.0.0.0 login.dotomi.com
|
||||
0.0.0.0 login.dotomi.net
|
||||
0.0.0.0 external.stealthedeal.com
|
||||
0.0.0.0 goodblock.gladly.io
|
||||
0.0.0.0 jackbootedroom.com ## phishing
|
||||
0.0.0.0 mackeeperapp.zeobit.com
|
||||
0.0.0.0 montrealgazette.stats.com
|
||||
0.0.0.0 fgoogle.com # misspelling
|
||||
0.0.0.0 hosted.stats.com
|
||||
0.0.0.0 hosted.stats.com.edgesuite.net
|
||||
0.0.0.0 howupdateworks.amazingupdates4youtoday.website
|
||||
0.0.0.0 mysterysnooper.com
|
||||
0.0.0.0 mywot.com
|
||||
0.0.0.0 mywot.net
|
||||
0.0.0.0 onlineusagesurveys.com
|
||||
0.0.0.0 open.oneplus.net
|
||||
0.0.0.0 promotions.yourfirstmillion.biz
|
||||
0.0.0.0 quickcash-system.com
|
||||
0.0.0.0 save-your-pc.info
|
||||
0.0.0.0 sportsinteraction.com
|
||||
0.0.0.0 www.sportsinteraction.com
|
||||
0.0.0.0 embed.sendtonews.com
|
||||
0.0.0.0 performanceadexchange.com
|
||||
0.0.0.0 www.performanceadexchange.com
|
||||
0.0.0.0 privacyassistant.net
|
||||
0.0.0.0 ext.privacyassistant.net
|
||||
0.0.0.0 pussysaga.com
|
||||
0.0.0.0 www.pussysaga.com
|
||||
0.0.0.0 promotion.com-rewards.club
|
||||
0.0.0.0 rereddit.com
|
||||
0.0.0.0 s.zkcdn.net
|
||||
0.0.0.0 sixstitch.win
|
||||
0.0.0.0 specialsections.siteseer.ca
|
||||
0.0.0.0 stealthedeal.com
|
||||
0.0.0.0 tags.news.com.au # thanks, @ValbonneConsulting
|
||||
0.0.0.0 torrenty-org.pl
|
||||
0.0.0.0 tracking.lenzmx.com
|
||||
0.0.0.0 twitter.cm # common misspelling
|
||||
0.0.0.0 ttwitter.com # common misspelling and, besides, scumbags there.
|
||||
0.0.0.0 vdtrack.com
|
||||
0.0.0.0 www.vdtrack.com
|
||||
0.0.0.0 virtual.thewhig.com
|
||||
0.0.0.0 www.dobre-programy.pl
|
||||
0.0.0.0 www.quickcash-system.com
|
||||
0.0.0.0 www.diptanuinfo.co.cc
|
||||
0.0.0.0 www.mywot.com
|
||||
0.0.0.0 www.mywot.net
|
||||
0.0.0.0 www.torrenty-org.pl
|
||||
0.0.0.0 urldelivery.com
|
||||
0.0.0.0 www.urldelivery.com
|
||||
0.0.0.0 files.ctnet4.space
|
||||
0.0.0.0 apps3.cointraffic.io
|
||||
0.0.0.0 metrics.brightcove.com
|
||||
0.0.0.0 ping.chartbeat.net
|
||||
0.0.0.0 www.tvpassport.com
|
||||
0.0.0.0 www.googletagservices.com
|
||||
0.0.0.0 www.googletagmanager.com
|
||||
0.0.0.0 postmediamontrealgazette2.files.wordpress.com
|
||||
0.0.0.0 ping.chartbeat.net
|
||||
0.0.0.0 tvmds.tvpassport.com
|
||||
0.0.0.0 stats.wp.com
|
||||
0.0.0.0 4436230.fls.doubleclick.net
|
||||
0.0.0.0 aoredi.com
|
||||
0.0.0.0 imysurvey.com
|
||||
0.0.0.0 gamblerush.com
|
||||
0.0.0.0 security-check-551.com
|
||||
0.0.0.0 www.cpm20.com
|
||||
0.0.0.0 btds.artplay.info
|
||||
0.0.0.0 www.aoredi.com
|
||||
0.0.0.0 www.imysurvey.com
|
||||
0.0.0.0 www.gamblerush.com
|
||||
0.0.0.0 www.security-check-551.com
|
||||
0.0.0.0 www.www.cpm20.com
|
||||
0.0.0.0 www.btds.artplay.info
|
||||
0.0.0.0 videoplayer.vice.technology
|
||||
0.0.0.0 bacr.com.pk
|
||||
0.0.0.0 pakistanelevators.pk
|
||||
0.0.0.0 www.bidgear.com
|
||||
0.0.0.0 bidgear.com
|
||||
0.0.0.0 platform.bidgear.com
|
||||
0.0.0.0 stats.bidgear.com
|
||||
0.0.0.0 track.adtrue.com
|
||||
0.0.0.0 media.complex.com
|
||||
0.0.0.0 api.b2c.com
|
||||
|
||||
# Analytics
|
||||
0.0.0.0 analysis.polarisoffice.com
|
||||
0.0.0.0 analytics-digit-in.cdn.ampproject.org
|
||||
0.0.0.0 analytics.cloudron.io
|
||||
0.0.0.0 analytics.colacoweb.net
|
||||
0.0.0.0 analytics.digit.in
|
||||
0.0.0.0 analytics.jabong.com
|
||||
0.0.0.0 analytics.lk.api.ditto.com
|
||||
0.0.0.0 analytics.logsss.com
|
||||
0.0.0.0 analytics.mailmunch.co
|
||||
0.0.0.0 analytics.mopub.com
|
||||
0.0.0.0 analytics.mytvzion.pro
|
||||
0.0.0.0 analytics.phando.com
|
||||
0.0.0.0 analytics.picsart.com
|
||||
0.0.0.0 analytics.poolshool.com
|
||||
0.0.0.0 analytics.posttv.com
|
||||
0.0.0.0 analytics.siliconexpert.com
|
||||
0.0.0.0 analytics.thevideo.me
|
||||
0.0.0.0 analyticsapi.bsbportal.com
|
||||
0.0.0.0 anayltics.kuikr.com
|
||||
0.0.0.0 zarget.com
|
||||
0.0.0.0 cdn.zarget.com
|
||||
0.0.0.0 www.alphonso.tv
|
||||
0.0.0.0 abclipper-ui1.alphonso.tv
|
||||
0.0.0.0 acr10.alphonso.tv
|
||||
0.0.0.0 acr11.alphonso.tv
|
||||
0.0.0.0 acr12.alphonso.tv
|
||||
0.0.0.0 acr13.alphonso.tv
|
||||
0.0.0.0 acr14.alphonso.tv
|
||||
0.0.0.0 acr15.alphonso.tv
|
||||
0.0.0.0 acr16.alphonso.tv
|
||||
0.0.0.0 acr17.alphonso.tv
|
||||
0.0.0.0 acr18.alphonso.tv
|
||||
0.0.0.0 acr19.alphonso.tv
|
||||
0.0.0.0 acr2.alphonso.tv
|
||||
0.0.0.0 acr20.alphonso.tv
|
||||
0.0.0.0 acr21.alphonso.tv
|
||||
0.0.0.0 acr22.alphonso.tv
|
||||
0.0.0.0 acr23.alphonso.tv
|
||||
0.0.0.0 acr25.alphonso.tv
|
||||
0.0.0.0 acr26.alphonso.tv
|
||||
0.0.0.0 acr27.alphonso.tv
|
||||
0.0.0.0 acr28.alphonso.tv
|
||||
0.0.0.0 acr29.alphonso.tv
|
||||
0.0.0.0 acr3.alphonso.tv
|
||||
0.0.0.0 acr30.alphonso.tv
|
||||
0.0.0.0 acr31.alphonso.tv
|
||||
0.0.0.0 acr32.alphonso.tv
|
||||
0.0.0.0 acr33.alphonso.tv
|
||||
0.0.0.0 acr34.alphonso.tv
|
||||
0.0.0.0 acr35.alphonso.tv
|
||||
0.0.0.0 acr36.alphonso.tv
|
||||
0.0.0.0 acr37.alphonso.tv
|
||||
0.0.0.0 acr39.alphonso.tv
|
||||
0.0.0.0 acr4.alphonso.tv
|
||||
0.0.0.0 acr40.alphonso.tv
|
||||
0.0.0.0 acr41.alphonso.tv
|
||||
0.0.0.0 acr42.alphonso.tv
|
||||
0.0.0.0 acr43.alphonso.tv
|
||||
0.0.0.0 acr44.alphonso.tv
|
||||
0.0.0.0 acr45.alphonso.tv
|
||||
0.0.0.0 acr46.alphonso.tv
|
||||
0.0.0.0 acr47.alphonso.tv
|
||||
0.0.0.0 acr49.alphonso.tv
|
||||
0.0.0.0 acr5.alphonso.tv
|
||||
0.0.0.0 acr51.alphonso.tv
|
||||
0.0.0.0 acr52.alphonso.tv
|
||||
0.0.0.0 acr53.alphonso.tv
|
||||
0.0.0.0 acr54.alphonso.tv
|
||||
0.0.0.0 acr55.alphonso.tv
|
||||
0.0.0.0 acr56.alphonso.tv
|
||||
0.0.0.0 acr58.alphonso.tv
|
||||
0.0.0.0 acr59.alphonso.tv
|
||||
0.0.0.0 acr6.alphonso.tv
|
||||
0.0.0.0 acr7.alphonso.tv
|
||||
0.0.0.0 acr8.alphonso.tv
|
||||
0.0.0.0 acr9.alphonso.tv
|
||||
0.0.0.0 acrdb.alphonso.tv
|
||||
0.0.0.0 ads.alphonso.tv
|
||||
0.0.0.0 api.alphonso.tv
|
||||
0.0.0.0 www.api.alphonso.tv
|
||||
0.0.0.0 assets.alphonso.tv
|
||||
0.0.0.0 bale.alphonso.tv
|
||||
0.0.0.0 beacon.statful.com
|
||||
0.0.0.0 bebe.alphonso.tv
|
||||
0.0.0.0 beckham.alphonso.tv
|
||||
0.0.0.0 best.alphonso.tv
|
||||
0.0.0.0 blog.alphonso.tv
|
||||
0.0.0.0 bwlkup.alphonso.tv
|
||||
0.0.0.0 clockskew.alphonso.tv
|
||||
0.0.0.0 cruyff.alphonso.tv
|
||||
0.0.0.0 dashboards.alphonso.tv
|
||||
0.0.0.0 degea.alphonso.tv
|
||||
0.0.0.0 dembele.alphonso.tv
|
||||
0.0.0.0 demo.alphonso.tv
|
||||
0.0.0.0 dimaria.alphonso.tv
|
||||
0.0.0.0 donovan.alphonso.tv
|
||||
0.0.0.0 honolulu.alphonso.tv
|
||||
0.0.0.0 insights.alphonso.tv
|
||||
0.0.0.0 koudas.alphonso.tv
|
||||
0.0.0.0 mahrez.alphonso.tv
|
||||
0.0.0.0 neymar.alphonso.tv
|
||||
0.0.0.0 optout.alphonso.tv
|
||||
0.0.0.0 oscar.alphonso.tv
|
||||
0.0.0.0 ozil.alphonso.tv
|
||||
0.0.0.0 pele.alphonso.tv
|
||||
0.0.0.0 pp.alphonso.tv
|
||||
0.0.0.0 ppjs.alphonso.tv
|
||||
0.0.0.0 prov.alphonso.tv
|
||||
0.0.0.0 proxy.alphonso.tv
|
||||
0.0.0.0 rtbdev4.alphonso.tv
|
||||
0.0.0.0 rtblbtr.alphonso.tv
|
||||
0.0.0.0 s4udash2.alphonso.tv
|
||||
0.0.0.0 silva.alphonso.tv
|
||||
0.0.0.0 socrates.alphonso.tv
|
||||
0.0.0.0 sterling.alphonso.tv
|
||||
0.0.0.0 tn.alphonso.tv
|
||||
0.0.0.0 tr.alphonso.tv
|
||||
0.0.0.0 tvads.alphonso.tv
|
||||
0.0.0.0 vanpersie.alphonso.tv
|
||||
0.0.0.0 villa.alphonso.tv
|
||||
0.0.0.0 web2.alphonso.tv
|
||||
0.0.0.0 yashin.alphonso.tv
|
||||
0.0.0.0 zico.alphonso.tv
|
||||
0.0.0.0 alog.umengcloud.com
|
||||
0.0.0.0 alog.umeng.co
|
||||
0.0.0.0 alog.umeng.com
|
||||
0.0.0.0 ampmetrics.techcrunch.com
|
||||
0.0.0.0 analytics.pokki.com
|
||||
0.0.0.0 analytics-static.ugc.bazaarvoice.com
|
||||
0.0.0.0 analytics.rayjump.com
|
||||
0.0.0.0 batchlogging4.truecaller.com
|
||||
0.0.0.0 client-analytics.braintreegateway.com
|
||||
0.0.0.0 device-api.urbanairship.com
|
||||
0.0.0.0 device-metrics-us-2.amazon.com
|
||||
0.0.0.0 gjapplog.uc.cn
|
||||
0.0.0.0 insight.ucweb.com
|
||||
0.0.0.0 log.snapdeal.com
|
||||
0.0.0.0 log.getdropbox.com
|
||||
0.0.0.0 log.apk.v-mate.mobi
|
||||
0.0.0.0 logger.cloudmobi.net
|
||||
0.0.0.0 logx.optimizely.com
|
||||
0.0.0.0 logitechlogitechglobal.112.2o7.net
|
||||
0.0.0.0 ma1310-r.analytics.edgekey.net
|
||||
0.0.0.0 ovc2-ustokyyneikyfasnm.stackpathdns.com
|
||||
0.0.0.0 securemetrics.apple.com
|
||||
0.0.0.0 smetrics.bestbuy.com
|
||||
0.0.0.0 srv.pixel.parsely.com
|
||||
0.0.0.0 sdkupgrade.insight.ucweb.com
|
||||
0.0.0.0 uop.umeng.com
|
||||
0.0.0.0 wc-tracking.lavasoft.com
|
||||
0.0.0.0 api.cloudmobi.net
|
||||
0.0.0.0 api.quantumgraph.com
|
||||
0.0.0.0 app.adjust.com
|
||||
0.0.0.0 dev.appboy.com
|
||||
0.0.0.0 go.ad1data.com
|
||||
0.0.0.0 manifest.localytics.com
|
||||
0.0.0.0 c2i-cdn.startappnetwork.com
|
||||
0.0.0.0 events.startappservice.com
|
||||
0.0.0.0 dts.startappservice.com
|
||||
0.0.0.0 imp.startappservice.com
|
||||
0.0.0.0 init.startappservice.com
|
||||
0.0.0.0 h-sdk.online-metrix.net
|
||||
0.0.0.0 profile.localytics.com
|
||||
0.0.0.0 req.startappservice.com
|
||||
0.0.0.0 ptrack.betaout.com
|
||||
0.0.0.0 www.hitcpm.com
|
||||
0.0.0.0 users.quantumgraph.com
|
||||
0.0.0.0 tracking.i2w.io
|
||||
0.0.0.0 tracking-thirdparty.i2w.io
|
||||
0.0.0.0 events.redditmedia.com
|
||||
0.0.0.0 c.webengage.com
|
||||
0.0.0.0 prebid.adnxs.com
|
||||
0.0.0.0 gurgle.zdbb.net
|
||||
0.0.0.0 ns.zdbb.net
|
||||
0.0.0.0 284419414.log.optimizely.com
|
||||
0.0.0.0 mt.rtmark.net
|
||||
0.0.0.0 my.rtmark.net
|
||||
0.0.0.0 stats.jpush.cn
|
||||
0.0.0.0 rules.quantcount.com
|
||||
0.0.0.0 nexus.ensighten.com
|
||||
0.0.0.0 perf.mmstat.com
|
||||
0.0.0.0 pixel.nc0.co
|
||||
0.0.0.0 register.appsflyer.com
|
||||
0.0.0.0 4448269.fls.doubleclick.net
|
||||
0.0.0.0 sstats.adobe.com
|
||||
0.0.0.0 analytics.archive.org
|
||||
0.0.0.0 analytics-production.hapyak.com
|
||||
0.0.0.0 analytics.247sports.com
|
||||
0.0.0.0 analytics.bitrix.info
|
||||
0.0.0.0 analytics.htmedia.in
|
||||
0.0.0.0 analytics.icons8.com
|
||||
0.0.0.0 analytics.myfinance.com
|
||||
0.0.0.0 analytics.samdd.me
|
||||
0.0.0.0 analytics.swiggy.com
|
||||
0.0.0.0 lead.soperson.com
|
||||
0.0.0.0 yun-static.soperson.com
|
||||
0.0.0.0 www.soperson.com
|
||||
0.0.0.0 soperson.com
|
||||
0.0.0.0 talk99.cn
|
||||
0.0.0.0 www.talk99.cn
|
||||
|
||||
# Ads and tracking on Xiaomi devices
|
||||
0.0.0.0 api.ad.xiaomi.com
|
||||
0.0.0.0 api.admob.xiaomi.com
|
||||
0.0.0.0 api.d.xiaomi.com
|
||||
0.0.0.0 a.stat.xiaomi.com
|
||||
0.0.0.0 tracking.miui.com
|
||||
0.0.0.0 cdn.ad.xiaomi.com
|
||||
0.0.0.0 data.mistat.xiaomi.com
|
||||
0.0.0.0 e.ad.xiaomi.com
|
||||
0.0.0.0 globalapi.ad.xiaomi.com
|
||||
0.0.0.0 new.api.ad.xiaomi.com
|
||||
0.0.0.0 sdkconfig.ad.xiaomi.com
|
||||
0.0.0.0 ssp.ad.xiaomi.com
|
||||
0.0.0.0 test.ad.xiaomi.com
|
||||
0.0.0.0 test.e.ad.xiaomi.com
|
||||
0.0.0.0 test.new.api.ad.xiaomi.com
|
||||
0.0.0.0 cc.sys.intl.xiaomi.com
|
||||
0.0.0.0 cc.sys.miui.com
|
||||
0.0.0.0 ccc.sys.miui.com
|
||||
0.0.0.0 ccc.sys.intl.xiaomi.com
|
||||
0.0.0.0 data.mistat.intl.xiaomi.com
|
||||
0.0.0.0 geofence.sys.miui.com
|
||||
0.0.0.0 abtest.mistat.xiaomi.com
|
||||
0.0.0.0 data.mistat.intl.xiaomi.com
|
||||
0.0.0.0 abtest.mistat.intl.xiaomi.com
|
||||
0.0.0.0 zeus.ad.intl.xiaomi.com
|
||||
0.0.0.0 storeconfig.mistat.intl.xiaomi.com
|
||||
0.0.0.0 fcanr.tracking.miui.com
|
||||
0.0.0.0 api.ad.intl.xiaomi.com
|
||||
0.0.0.0 sdkconfig.ad.intl.xiaomi.com
|
||||
0.0.0.0 tracking.intl.miui.com
|
||||
0.0.0.0 adv.sec.intl.miui.com
|
||||
0.0.0.0 api.brs.intl.miui.com
|
||||
0.0.0.0 api.collect.data.intl.miui.com
|
||||
0.0.0.0 api.hybrid.intl.xiaomi.com
|
||||
0.0.0.0 api.sec.intl.miui.com
|
||||
0.0.0.0 api.setting.intl.miui.com
|
||||
0.0.0.0 authbe.sec.intl.miui.com
|
||||
0.0.0.0 data.sec.intl.miui.com
|
||||
0.0.0.0 zeus.ad.xiaomi.com
|
||||
0.0.0.0 www.api.ad.intl.xiaomi.com
|
||||
0.0.0.0 sgp.o2o.api.xiaomi.com
|
||||
0.0.0.0 flash.sec.intl.miui.com
|
||||
|
||||
# Ads
|
||||
0.0.0.0 ampmetrics.engadget.com
|
||||
0.0.0.0 c.adskeeper.co.uk
|
||||
0.0.0.0 datacollect.vmall.com
|
||||
0.0.0.0 events.appsflyer.com
|
||||
0.0.0.0 event.ksosoft.com
|
||||
0.0.0.0 events3.adcolony.com
|
||||
0.0.0.0 l2.visiblemeasures.com
|
||||
0.0.0.0 track.tenjin.io
|
||||
0.0.0.0 ustat.batmobi.net
|
||||
0.0.0.0 an.batmobi.net
|
||||
0.0.0.0 api.stats.appa.pe
|
||||
0.0.0.0 api5.batmobil.net
|
||||
0.0.0.0 applog.uc.cn
|
||||
0.0.0.0 applog.camera360.com
|
||||
0.0.0.0 device-metrics-us.amazon.com
|
||||
0.0.0.0 datacollect.vmall.com
|
||||
0.0.0.0 metrics.adage.com
|
||||
0.0.0.0 ads.feedly.com
|
||||
0.0.0.0 bi-collector.oneapm.com
|
||||
0.0.0.0 pixel.realclever.com
|
||||
0.0.0.0 sdktm.w.inmobi.com
|
||||
0.0.0.0 matchmyip.com
|
||||
0.0.0.0 ads.aerserv.com
|
||||
0.0.0.0 ads.mp.mydas.mobi
|
||||
0.0.0.0 ads.nexage.com
|
||||
0.0.0.0 api.oneaudience.com
|
||||
0.0.0.0 d.applovin.com
|
||||
0.0.0.0 l-v1.presage.io
|
||||
0.0.0.0 rt.applovin.com
|
||||
0.0.0.0 sdk.adincube.com
|
||||
0.0.0.0 api.pubnative.net
|
||||
0.0.0.0 sdklogs.avocarrot.com
|
||||
0.0.0.0 telemetry.layer.com
|
||||
0.0.0.0 dasdada.fu.ck
|
||||
0.0.0.0 i1.dl-ad.com
|
||||
0.0.0.0 pl-v2.presage.io
|
||||
0.0.0.0 pixel.onaudience.com
|
||||
0.0.0.0 ad.api.kaffnet.com
|
||||
0.0.0.0 ad.click.kaffnet.com
|
||||
0.0.0.0 api.ad.snappea.com
|
||||
0.0.0.0 ad.360in.com
|
||||
0.0.0.0 ads.adtekmedia.com
|
||||
0.0.0.0 ads.chacomedia.com
|
||||
0.0.0.0 ads.grandonmedia.com
|
||||
0.0.0.0 adserver.ministryofads.com
|
||||
0.0.0.0 adsflame.com
|
||||
0.0.0.0 adtekmedia.com
|
||||
0.0.0.0 adv.axiatraders.com
|
||||
0.0.0.0 adv.grandonmedia.com
|
||||
0.0.0.0 alliance4media.com
|
||||
0.0.0.0 api.axiatraders.com
|
||||
0.0.0.0 api.grandonmedia.com
|
||||
0.0.0.0 banners.mediaparade.net
|
||||
0.0.0.0 bid.axiatraders.com
|
||||
0.0.0.0 bid.grandonmedia.com
|
||||
0.0.0.0 bigsharkmedia.com
|
||||
0.0.0.0 blog.roboinside.me
|
||||
0.0.0.0 buzzclicks.com
|
||||
0.0.0.0 cdn.beginads.com
|
||||
0.0.0.0 click-rtb-useast.kobenetwork.com
|
||||
0.0.0.0 click.axiatraders.com
|
||||
0.0.0.0 click.elixmedia.com
|
||||
0.0.0.0 click.enatimedia.com
|
||||
0.0.0.0 click.grandonmedia.com
|
||||
0.0.0.0 clickopon.com
|
||||
0.0.0.0 clickrtb-useast.kobenetwork.com
|
||||
0.0.0.0 cvent.axiatraders.com
|
||||
0.0.0.0 deshmedia.com
|
||||
0.0.0.0 dsp.face2trade.com
|
||||
0.0.0.0 ecommerce.roboinside.me
|
||||
0.0.0.0 elixmedia.com
|
||||
0.0.0.0 enatimedia.com
|
||||
0.0.0.0 exchange.face2trade.com
|
||||
0.0.0.0 grandonmedia.com
|
||||
0.0.0.0 indiaonclick.com
|
||||
0.0.0.0 jira.face2trade.com
|
||||
0.0.0.0 k5market.com
|
||||
0.0.0.0 kushat.roboinside.me
|
||||
0.0.0.0 mediabarterexchange.com
|
||||
0.0.0.0 mediadirectx.com
|
||||
0.0.0.0 mediaparade.net
|
||||
0.0.0.0 oz.ministryofads.com
|
||||
0.0.0.0 plaimedia.com
|
||||
0.0.0.0 powertradeprofit.com
|
||||
0.0.0.0 promo.buzzclicks.com
|
||||
0.0.0.0 promo.enatimedia.com
|
||||
0.0.0.0 promo.kobenetwork.com
|
||||
0.0.0.0 pub.axiatraders.com
|
||||
0.0.0.0 pub.grandonmedia.com
|
||||
0.0.0.0 publisherhub.plaimedia.com
|
||||
0.0.0.0 quark.plaimedia.com
|
||||
0.0.0.0 realestate2.deshmedia.com
|
||||
0.0.0.0 roboinside.me
|
||||
0.0.0.0 rotator.axiatraders.com
|
||||
0.0.0.0 rotator.beginads.com
|
||||
0.0.0.0 rotator.buzzclicks.com
|
||||
0.0.0.0 rtb-useast.kobenetwork.com
|
||||
0.0.0.0 sebder.roboinside.me
|
||||
0.0.0.0 service.face2trade.com
|
||||
0.0.0.0 sf-3.east.kobenetwork.com
|
||||
0.0.0.0 sf-3.st.adtekmedia.com
|
||||
0.0.0.0 sf3.east.kobenetwork.com
|
||||
0.0.0.0 sionicmedia.com
|
||||
0.0.0.0 spiegel-de.spiegel.de
|
||||
0.0.0.0 ssp.face2trade.com
|
||||
0.0.0.0 static.elixmedia.com
|
||||
0.0.0.0 tracker.clickopon.com
|
||||
0.0.0.0 tracking.beginads.com
|
||||
0.0.0.0 tradersbrokers.com
|
||||
0.0.0.0 us-east1.serve.elixmedia.com
|
||||
0.0.0.0 us-east1.serve.enatimedia.com
|
||||
0.0.0.0 www.ads2live.com
|
||||
0.0.0.0 www.adserver.ministryofads.com
|
||||
0.0.0.0 www.adsflame.com
|
||||
0.0.0.0 www.adtekmedia.com
|
||||
0.0.0.0 www.alliance4media.com
|
||||
0.0.0.0 www.axiatraders.com
|
||||
0.0.0.0 www.banners.mediaparade.net
|
||||
0.0.0.0 www.beginads.com
|
||||
0.0.0.0 www.bigsharkmedia.com
|
||||
0.0.0.0 www.buzzclicks.com
|
||||
0.0.0.0 www.chacomedia.com
|
||||
0.0.0.0 www.click.elixmedia.com
|
||||
0.0.0.0 www.clickopon.com
|
||||
0.0.0.0 www.deshmedia.com
|
||||
0.0.0.0 www.elixmedia.com
|
||||
0.0.0.0 www.enatimedia.com
|
||||
0.0.0.0 www.face2trade.com
|
||||
0.0.0.0 www.grandonmedia.com
|
||||
0.0.0.0 www.indiaonclick.com
|
||||
0.0.0.0 www.k5market.com
|
||||
0.0.0.0 www.mediabarterexchange.com
|
||||
0.0.0.0 www.mediadirectx.com
|
||||
0.0.0.0 www.mediaparade.net
|
||||
0.0.0.0 www.ministryofads.com
|
||||
0.0.0.0 www.plaimedia.com
|
||||
0.0.0.0 www.powertradeprofit.com
|
||||
0.0.0.0 www.roboinside.me
|
||||
0.0.0.0 www.rotator.buzzclicks.com
|
||||
0.0.0.0 www.sf-3.st.adtekmedia.com
|
||||
0.0.0.0 www.sionicmedia.com
|
||||
0.0.0.0 www.static.elixmedia.com
|
||||
0.0.0.0 www.tradersbrokers.com
|
||||
0.0.0.0 www.us-east1.serve.elixmedia.com
|
||||
0.0.0.0 xml.plaimedia.com
|
||||
0.0.0.0 zamora.axiatraders.com
|
||||
0.0.0.0 ads.proc.cc
|
||||
0.0.0.0 asap.sharethrough.com
|
||||
0.0.0.0 15.taboola.com
|
||||
0.0.0.0 convlatbmp.taboola.com
|
||||
0.0.0.0 imprlatbmp.taboola.com
|
||||
0.0.0.0 match.taboola.com
|
||||
0.0.0.0 opps.taboola.com
|
||||
0.0.0.0 taboola-d.openx.net
|
||||
0.0.0.0 vidutils.taboola.com
|
||||
0.0.0.0 wf.taboola.com
|
||||
0.0.0.0 graph.accountkit.com
|
||||
0.0.0.0 ma312-r.analytics.edgesuite.net
|
||||
0.0.0.0 wzrkt.com
|
||||
0.0.0.0 www.wzrkt.com
|
||||
0.0.0.0 cdn5.userzoom.com
|
||||
0.0.0.0 web.vortex.data.microsoft.com
|
||||
0.0.0.0 telecommand.telemetry.microsoft.com
|
||||
0.0.0.0 ads5.truecaller.com
|
||||
0.0.0.0 ae.gsecondscreen.com
|
||||
0.0.0.0 api.c.avazunativeads.com
|
||||
0.0.0.0 cdn-jp.gsecondscreen.com
|
||||
0.0.0.0 feedback.adrecover.com
|
||||
0.0.0.0 js34dc10.gamooga.com
|
||||
0.0.0.0 unconf.adkmob.com
|
||||
0.0.0.0 watson.telemetry.microsoft.com
|
||||
0.0.0.0 cdn.bitmedianetwork.com
|
||||
0.0.0.0 adzerk.com
|
||||
0.0.0.0 orion.iad.appboy.com
|
||||
0.0.0.0 ploy.batmobi.net
|
||||
0.0.0.0 ad.apsalar.com
|
||||
0.0.0.0 cdn.moengage.com
|
||||
0.0.0.0 gtsdk.batmobi.net
|
||||
0.0.0.0 gum.criteo.com
|
||||
0.0.0.0 mads.at.atwola.com
|
||||
0.0.0.0 nativesdks.mparticle.com
|
||||
0.0.0.0 cdn.tsyndicate.com
|
||||
0.0.0.0 in8.zog.link
|
||||
0.0.0.0 trafforsrv.com
|
||||
0.0.0.0 engine.bitmedianetwork.com
|
||||
0.0.0.0 wsdk-files.webengage.com
|
||||
0.0.0.0 newlimitedoffer.com
|
||||
0.0.0.0 t.newlimitedoffer.com
|
||||
0.0.0.0 pushedwebnews.com
|
||||
0.0.0.0 vamsoupowoa.com
|
||||
0.0.0.0 ads2.servebom.com
|
||||
0.0.0.0 api.eqmob.com
|
||||
0.0.0.0 onlineapi.youappi.com
|
||||
0.0.0.0 static.youappi.com
|
||||
0.0.0.0 ad.adapter.kaffnet.com
|
||||
0.0.0.0 kuikdelivery.com
|
||||
0.0.0.0 tripan.me
|
||||
0.0.0.0 d-and-h.com
|
||||
0.0.0.0 www.cosiloon.com
|
||||
0.0.0.0 cosiloon.com
|
||||
0.0.0.0 abc.cosiloon.com
|
||||
0.0.0.0 app.storage.yunvm.com
|
||||
0.0.0.0 abd.cosiloon.com
|
||||
0.0.0.0 pull-3045.kxcdn.com
|
||||
0.0.0.0 a.tvpage.com
|
||||
0.0.0.0 api.tvpage.com
|
||||
0.0.0.0 mktg.tvpage.com
|
||||
0.0.0.0 sitecdn.tvpage.com
|
||||
0.0.0.0 www.tvpage.com
|
||||
0.0.0.0 tvpage.com
|
||||
0.0.0.0 cdnjs.tvpage.com
|
||||
0.0.0.0 videos-bleepingcomputers-com.tvpagecdn.com
|
||||
0.0.0.0 stage.tvpage.com
|
||||
0.0.0.0 appcdn.tvpage.com
|
||||
0.0.0.0 ad.wynk.in
|
||||
|
||||
# Block ads on Hotstar streaming app by @anudeepND
|
||||
0.0.0.0 app-measurement.com
|
||||
0.0.0.0 agl.hotstar.com
|
||||
0.0.0.0 adserver.adtech.de
|
||||
0.0.0.0 segment.hotstar.com
|
||||
0.0.0.0 service.videoplaza.tv
|
||||
0.0.0.0 cdn.segment.com
|
||||
0.0.0.0 cdn.mxpnl.com
|
||||
0.0.0.0 js-agent.newrelic.com
|
||||
0.0.0.0 sb.scorecardresearch.com
|
||||
0.0.0.0 in-star.videoplaza.tv
|
||||
0.0.0.0 segment.hotstar.com
|
||||
0.0.0.0 js-agent.newrelic.com
|
||||
0.0.0.0 hotstar.worldgravity.com
|
||||
0.0.0.0 service.videoplaza.tv
|
||||
0.0.0.0 cdn.mxpnl.com
|
||||
0.0.0.0 cdn.segment.com
|
||||
0.0.0.0 ssl.widgets.webengage.com
|
||||
0.0.0.0 ap-sonar.sociomantic.com
|
||||
0.0.0.0 chuknu.sokrati.com
|
||||
0.0.0.0 tag.hockeycurve.com
|
||||
0.0.0.0 agl-intl.hotstar.com
|
||||
0.0.0.0 sqm.telemetry.microsoft.com
|
||||
0.0.0.0 vortex-win.data.microsoft.com
|
||||
0.0.0.0 adservice.google.co.in
|
||||
0.0.0.0 apiv2.moengage.com
|
||||
0.0.0.0 settings.crashlytics.com
|
||||
0.0.0.0 logs.gaana.com
|
||||
0.0.0.0 apiv3.moengage.com
|
||||
0.0.0.0 e-ssl.apsalar.com
|
||||
0.0.0.0 ase.clmbtech.com
|
||||
0.0.0.0 api.moengage.com
|
||||
0.0.0.0 udm.scorecardresearch.com
|
||||
0.0.0.0 t.appsflyer.com
|
||||
0.0.0.0 stat-c.maxthon.com
|
||||
0.0.0.0 hotstar.pubnub.net
|
||||
0.0.0.0 in-starlive.videoplaza.tv
|
||||
0.0.0.0 cdn-settings.segment.com
|
||||
0.0.0.0 decide.mixpanel.com
|
||||
0.0.0.0 reports.crashlytics.com
|
||||
0.0.0.0 api.taplytics.com
|
||||
0.0.0.0 in-starlive-preroll.videoplaza.tv
|
||||
0.0.0.0 cdn.auditude.com
|
||||
0.0.0.0 ibeat.indiatimes.com
|
||||
0.0.0.0 static.clmbtech.com
|
||||
0.0.0.0 api.branch.io
|
||||
0.0.0.0 camsoda.com
|
||||
0.0.0.0 www.camsoda.com
|
||||
0.0.0.0 msmetrics.ws.sonos.com
|
||||
0.0.0.0 betpromo247.com
|
||||
0.0.0.0 fp-analytics.hotstar.com
|
||||
0.0.0.0 hb-analytics.hotstar.com
|
||||
|
||||
|
||||
# Block ads on Voot streaming app @anudeepND
|
||||
0.0.0.0 in-viacom18.videoplaza.tv
|
||||
0.0.0.0 dev.appboy.com
|
||||
0.0.0.0 register.appsflyer.com
|
||||
|
||||
# UC apps telemetry
|
||||
0.0.0.0 adn.insight.ucweb.com
|
||||
0.0.0.0 convhkmp.taboola.com
|
||||
0.0.0.0 feedback.uc.cn
|
||||
0.0.0.0 gj.applog.uc.cn
|
||||
0.0.0.0 gj.track.uc.cn
|
||||
0.0.0.0 gjtrack.ucweb.com
|
||||
0.0.0.0 imprhkmp.taboola.com
|
||||
0.0.0.0 in-gmtdmp.mookie1.com
|
||||
0.0.0.0 instory-log.ucnews.ucweb.com
|
||||
0.0.0.0 logserver.insight.ucweb.com
|
||||
0.0.0.0 click.union.ucweb.com
|
||||
0.0.0.0 sg.mmstat.com
|
||||
0.0.0.0 woodpecker.uc.cn
|
||||
|
||||
# Emotet malware domains @anudeepND
|
||||
0.0.0.0 nikitinskysport.ru
|
||||
0.0.0.0 www.nikitinskysport.ru
|
||||
0.0.0.0 beauty-tea.com
|
||||
0.0.0.0 www.beauty-tea.com
|
||||
0.0.0.0 zekiatagur.com
|
||||
0.0.0.0 www.zekiatagur.com
|
||||
0.0.0.0 arkonziv.com
|
||||
0.0.0.0 www.arkonziv.com
|
||||
0.0.0.0 lecap-services.fr
|
||||
0.0.0.0 www.lecap-services.fr
|
||||
|
||||
# Windows 10 'Connected User Experience' Telemetry
|
||||
# Connected User Experience and Diagnostic component endpoint for use with Windows 10, version 1803
|
||||
0.0.0.0 v10.events.data.microsoft.com
|
||||
# Connected User Experience and Diagnostic component endpoint for Windows 10, version 1709 or earlier
|
||||
0.0.0.0 v10.vortex-win.data.microsoft.com
|
||||
# Connected User Experience and Diagnostic component endpoint for operating systems older than Windows 10
|
||||
0.0.0.0 vortex-win.data.microsoft.com
|
||||
# Connected User Experience and Diagnostic component endpoint for use with Windows versions that have KB4458469 installed (Windows 10 1803 with the september 2018 update and higher)
|
||||
0.0.0.0 v10c.events.data.microsoft.com
|
||||
|
||||
# Office 2016 'Connected User Experience' Telemetry
|
||||
# OneNote Telemetry Service
|
||||
0.0.0.0 mobile.pipe.aria.microsoft.com
|
||||
# Office Telemetry Upload Reporting – 'Heartbeart' and error events that occur on the client are uploaded to the telemetry service.
|
||||
0.0.0.0 nexus.officeapps.live.com
|
||||
# Office Rules Telemetry download – Informs the client about what data and events to upload to the telemetry service.
|
||||
0.0.0.0 nexusrules.officeapps.live.com
|
||||
# Telemetry and Reporting Service for Office apps
|
||||
0.0.0.0 telemetry.firstpartyapps.oaspapps.com
|
||||
# Telemetry Reporting
|
||||
0.0.0.0 browser.pipe.aria.microsoft.com
|
||||
|
||||
# Spam domains
|
||||
# If your software is able, the below domains and all subdomains should be blocked
|
||||
0.0.0.0 angiemktg.com
|
||||
#*.angiemktg.com
|
||||
0.0.0.0 weconfirmyou.com
|
||||
#*.weconfirmyou.com
|
||||
0.0.0.0 cws.conviva.com
|
||||
#*.cws.conviva.com
|
||||
0.0.0.0 vrl.m.conviva.com
|
||||
0.0.0.0 zee.cws.conviva.com
|
||||
|
||||
# These stink-up yahoo finance
|
||||
0.0.0.0 beap-bc.yahoo.com
|
||||
0.0.0.0 token.rubiconproject.com
|
||||
0.0.0.0 fc.yahoo.com
|
||||
0.0.0.0 pr-bh.ybp.yahoo.com
|
||||
|
||||
# Error tracking and crash reporting
|
||||
0.0.0.0 rollbar.com
|
||||
0.0.0.0 www.rollbar.com
|
||||
0.0.0.0 api.rollbar.com
|
||||
|
||||
0.0.0.0 ads.exoclick.com
|
||||
0.0.0.0 secure.exoclick.com
|
||||
0.0.0.0 syndication-evo.exoclick.com
|
||||
0.0.0.0 www.exoclick.com
|
||||
|
||||
# ero-advertising
|
||||
0.0.0.0 0latfee.ero-advertising.com
|
||||
0.0.0.0 2baners.ero-advertising.com
|
||||
0.0.0.0 2ds.ero-advertising.com
|
||||
0.0.0.0 2fbanners.ero-advertising.com
|
||||
0.0.0.0 2fflatfee.ero-advertising.com
|
||||
0.0.0.0 2fspeedclicks.ero-advertising.com
|
||||
0.0.0.0 3ds.ero-advertising.com
|
||||
0.0.0.0 4anners.ero-advertising.com
|
||||
0.0.0.0 9ata.ero-advertising.com
|
||||
0.0.0.0 aata.ero-advertising.com
|
||||
0.0.0.0 acspaces.ero-advertising.com
|
||||
0.0.0.0 ad0.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad0.api.ero-advertising.com
|
||||
0.0.0.0 ad0.banners.ero-advertising.com
|
||||
0.0.0.0 ad0.data2.ero-advertising.com
|
||||
0.0.0.0 ad1.ads.ero-advertising.com
|
||||
0.0.0.0 ad1.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad1.api.ero-advertising.com
|
||||
0.0.0.0 ad1.banners.ero-advertising.com
|
||||
0.0.0.0 ad1.ero-advertising.com
|
||||
0.0.0.0 ad2.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad2.api.ero-advertising.com
|
||||
0.0.0.0 ad2.banners.ero-advertising.com
|
||||
0.0.0.0 ad2.ero-advertising.com
|
||||
0.0.0.0 ad2.thumbs.ero-advertising.com
|
||||
0.0.0.0 ad3.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad3.api.ero-advertising.com
|
||||
0.0.0.0 ad3.banners.ero-advertising.com
|
||||
0.0.0.0 ad3.fpa.ero-advertising.com
|
||||
0.0.0.0 ad4.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad4.api.ero-advertising.com
|
||||
0.0.0.0 ad4.banners.ero-advertising.com
|
||||
0.0.0.0 ad4.layerads.ero-advertising.com
|
||||
0.0.0.0 ad4.thumbs.ero-advertising.com
|
||||
0.0.0.0 ad5.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad5.banners.ero-advertising.com
|
||||
0.0.0.0 ad5.fpa.ero-advertising.com
|
||||
0.0.0.0 ad6.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad6.banners.ero-advertising.com
|
||||
0.0.0.0 ad7.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad7.api.ero-advertising.com
|
||||
0.0.0.0 ad7.banners.ero-advertising.com
|
||||
0.0.0.0 ad7.thumbs.ero-advertising.com
|
||||
0.0.0.0 ad8.adspaces.ero-advertising.com
|
||||
0.0.0.0 ad8.api.ero-advertising.com
|
||||
0.0.0.0 ad8.banners.ero-advertising.com
|
||||
0.0.0.0 adf.ero-advertising.com
|
||||
0.0.0.0 adfpaces.ero-advertising.com
|
||||
0.0.0.0 ads1.ero-advertising.com
|
||||
0.0.0.0 adsances.ero-advertising.com
|
||||
0.0.0.0 adspacds.ero-advertising.com
|
||||
0.0.0.0 adspaces.ero-ades.ero-advertising.com
|
||||
0.0.0.0 adspaces.ero-apaces.ero-advertising.com
|
||||
0.0.0.0 adspaces2.ero-advertising.com
|
||||
0.0.0.0 adspaes.ero-advertising.com
|
||||
0.0.0.0 adspages.ero-advertising.com
|
||||
0.0.0.0 adspcces.ero-advertising.com
|
||||
0.0.0.0 adsspaces.ero-advertising.com
|
||||
0.0.0.0 adstaces.ero-advertising.com
|
||||
0.0.0.0 adw.ero-advertising.com
|
||||
0.0.0.0 adwpaces.ero-advertising.com
|
||||
0.0.0.0 afs.ero-advertising.com
|
||||
0.0.0.0 analytics.adspaces.ero-advertising.com
|
||||
0.0.0.0 analytics.ero-advertising.com
|
||||
0.0.0.0 anners.ero-advertising.com
|
||||
0.0.0.0 ata.ero-advertising.com
|
||||
0.0.0.0 ban3ers.ero-advertising.com
|
||||
0.0.0.0 ban4ers.ero-advertising.com
|
||||
0.0.0.0 banjers.ero-advertising.com
|
||||
0.0.0.0 bann12s.ero-advertising.com
|
||||
0.0.0.0 bann13s.ero-advertising.com
|
||||
0.0.0.0 bann14s.ero-advertising.com
|
||||
0.0.0.0 bann1rs.ero-advertising.com
|
||||
0.0.0.0 banne2s.ero-advertising.com
|
||||
0.0.0.0 banne3s.ero-advertising.com
|
||||
0.0.0.0 banne4s.ero-advertising.com
|
||||
0.0.0.0 banner.ero-advertising.com
|
||||
0.0.0.0 banners1.ero-advertising.com
|
||||
0.0.0.0 bannevs.ero-advertising.com
|
||||
0.0.0.0 bavners2.ero-advertising.com
|
||||
0.0.0.0 blatfee.ero-advertising.com
|
||||
0.0.0.0 blog.adspaces.ero-advertising.com
|
||||
0.0.0.0 blog.ero-advertising.com
|
||||
0.0.0.0 blog.intext.ero-advertising.com
|
||||
0.0.0.0 btw.ero-advertising.com
|
||||
0.0.0.0 cata.ero-advertising.com
|
||||
0.0.0.0 chat.adspaces.ero-advertising.com
|
||||
0.0.0.0 chat.ero-advertising.com
|
||||
0.0.0.0 cyhners.ero-advertising.com
|
||||
0.0.0.0 daaa.ero-advertising.com
|
||||
0.0.0.0 daea.ero-advertising.com
|
||||
0.0.0.0 daia.ero-advertising.com
|
||||
0.0.0.0 dat2.ero-advertising.com
|
||||
0.0.0.0 data-ero-advertising.com
|
||||
0.0.0.0 data2.ero-advertising.com
|
||||
0.0.0.0 date.ero-advertising.com
|
||||
0.0.0.0 dats.ero-advertising.com
|
||||
0.0.0.0 datt.ero-advertising.com
|
||||
0.0.0.0 daua.ero-advertising.com
|
||||
0.0.0.0 dava.ero-advertising.com
|
||||
0.0.0.0 dawa.ero-advertising.com
|
||||
0.0.0.0 dbta.ero-advertising.com
|
||||
0.0.0.0 deta.ero-advertising.com
|
||||
0.0.0.0 dtta.ero-advertising.com
|
||||
0.0.0.0 e-hpaces.ero-advertising.com
|
||||
0.0.0.0 eedclicks.ero-advertising.com
|
||||
0.0.0.0 ers.ero-advertising.com
|
||||
0.0.0.0 es.ero-advertising.com
|
||||
0.0.0.0 fanners.ero-advertising.com
|
||||
0.0.0.0 fata.ero-advertising.com
|
||||
0.0.0.0 fhatfee.ero-advertising.com
|
||||
0.0.0.0 flashtest.ero-advertising.com
|
||||
0.0.0.0 flatdee.ero-advertising.com
|
||||
0.0.0.0 flatfae.ero-advertising.com
|
||||
0.0.0.0 flatfea.ero-advertising.com
|
||||
0.0.0.0 flatfee.ero-advertising.com
|
||||
0.0.0.0 flw.ero-advertising.com
|
||||
0.0.0.0 fnatfee.ero-advertising.com
|
||||
0.0.0.0 forum.adspaces.ero-advertising.com
|
||||
0.0.0.0 forum.ero-advertising.com
|
||||
0.0.0.0 forums.adspaces.ero-advertising.com
|
||||
0.0.0.0 forums.data2.ero-advertising.com
|
||||
0.0.0.0 forums.ero-advertising.com
|
||||
0.0.0.0 fpa.ero-advertising.com
|
||||
0.0.0.0 gata.ero-advertising.com
|
||||
0.0.0.0 hata.ero-advertising.com
|
||||
0.0.0.0 idspaces.ero-advertising.com
|
||||
0.0.0.0 imeds.ero-advertising.com
|
||||
0.0.0.0 intext.ero-advertising.com
|
||||
0.0.0.0 ioads.ero-advertising.com
|
||||
0.0.0.0 js.ads.ero-advertising.com
|
||||
0.0.0.0 kds.ero-advertising.com
|
||||
0.0.0.0 layers.ero-advertising.com
|
||||
0.0.0.0 mata.ero-advertising.com
|
||||
0.0.0.0 miami.ero-advertising.com
|
||||
0.0.0.0 mobileads.ero-advertising.com
|
||||
0.0.0.0 movieads.ero-advertising.com
|
||||
0.0.0.0 mx.ero-advertising.com
|
||||
0.0.0.0 mybb.ero-advertising.com
|
||||
0.0.0.0 nata.ero-advertising.com
|
||||
0.0.0.0 nl1.ero-advertising.com
|
||||
0.0.0.0 nl2.ero-advertising.com
|
||||
0.0.0.0 nners.ero-advertising.com
|
||||
0.0.0.0 oata.ero-advertising.com
|
||||
0.0.0.0 opads.ero-advertising.com
|
||||
0.0.0.0 pagepeel.ero-advertising.com
|
||||
0.0.0.0 pata.ero-advertising.com
|
||||
0.0.0.0 phpmyadmin.ads.ero-advertising.com
|
||||
0.0.0.0 phpmyadmin.ero-advertising.com
|
||||
0.0.0.0 phpmyadmin.js.ero-advertising.com
|
||||
0.0.0.0 piwik.adspaces.ero-advertising.com
|
||||
0.0.0.0 piwik.ero-advertising.com
|
||||
0.0.0.0 popacs.ero-advertising.com
|
||||
0.0.0.0 rata.ero-advertising.com
|
||||
0.0.0.0 redirect.ero-advertising.com
|
||||
0.0.0.0 rs.ero-advertising.com
|
||||
0.0.0.0 rs2.ero-advertising.com
|
||||
0.0.0.0 s.ero-advertising.com
|
||||
0.0.0.0 s10.hiadspaces.ero-advertising.com
|
||||
0.0.0.0 s10.hipaces.ero-advertising.com
|
||||
0.0.0.0 s10.his.ero-advertising.com
|
||||
0.0.0.0 s10.hispaces.ero-advertising.com
|
||||
0.0.0.0 s10.histas.ero-advertising.com
|
||||
0.0.0.0 s10.histats.com.ero-advertising.com
|
||||
0.0.0.0 s10paces.ero-advertising.com
|
||||
0.0.0.0 s7.adaces.ero-advertising.com
|
||||
0.0.0.0 sin.ero-advertising.com
|
||||
0.0.0.0 smtp.ero-advertising.com
|
||||
0.0.0.0 spaces.ero-advertising.com
|
||||
0.0.0.0 speed4cksa.ero-advertising.com
|
||||
0.0.0.0 speedclecks.ero-advertising.com
|
||||
0.0.0.0 speedclics.ero-advertising.com
|
||||
0.0.0.0 speedlicks.ero-advertising.com
|
||||
0.0.0.0 speeuclicks.ero-advertising.com
|
||||
0.0.0.0 stats.adspaces.ero-advertising.com
|
||||
0.0.0.0 stats.data2.ero-advertising.com
|
||||
0.0.0.0 stats.ero-advertising.com
|
||||
0.0.0.0 stats.speedclicks.ero-advertising.com
|
||||
0.0.0.0 steenbergen.web.ero-advertising.com
|
||||
0.0.0.0 tcm.optica.ero-advertising.com
|
||||
0.0.0.0 tex.ero-advertising.com
|
||||
0.0.0.0 thumb.ero-advertising.com
|
||||
0.0.0.0 thumbads.ero-advertising.com
|
||||
0.0.0.0 thumbs.xlaces.ero-advertising.com
|
||||
0.0.0.0 thumbs2.ero-advertising.com
|
||||
0.0.0.0 tiumbs.ero-advertising.com
|
||||
0.0.0.0 topads.ero-advertising.com
|
||||
0.0.0.0 tracking.ero-advertising.com
|
||||
0.0.0.0 typo3.ero-advertising.com
|
||||
0.0.0.0 umbs.ero-advertising.com
|
||||
0.0.0.0 users.ero-advertising.com
|
||||
0.0.0.0 wdata.ero-advertising.com
|
||||
0.0.0.0 webstats.adspaces.ero-advertising.com
|
||||
0.0.0.0 wiki.adspaces.ero-advertising.com
|
||||
0.0.0.0 wiki.ero-advertising.com
|
||||
0.0.0.0 wks.ero-advertising.com
|
||||
0.0.0.0 wow.ero-advertising.com
|
||||
0.0.0.0 wsw.ero-advertising.com
|
||||
0.0.0.0 wta.ero-advertising.com
|
||||
0.0.0.0 ww2.ero-advertising.com
|
||||
0.0.0.0 wwa.ero-advertising.com
|
||||
0.0.0.0 wwbanners2.ero-advertising.com
|
||||
0.0.0.0 wws.ero-advertising.com
|
||||
0.0.0.0 www.a.ero-advertising.com
|
||||
0.0.0.0 www.ads.ero-advertising.com
|
||||
0.0.0.0 www.adspaces.ero-advertising.com
|
||||
0.0.0.0 www.banners.ero-advertising.com
|
||||
0.0.0.0 www.banners2.ero-advertising.com
|
||||
0.0.0.0 www.data-ero-advertising.com
|
||||
0.0.0.0 www.ero-adverising.com.ero-advertising.com
|
||||
0.0.0.0 www.ero-advertising.com
|
||||
0.0.0.0 www.imads.ero-advertising.com
|
||||
0.0.0.0 www.movieads.ero-advertising.com
|
||||
0.0.0.0 www.popads.ero-advertising.com
|
||||
0.0.0.0 www.speedclicks.ero-advertising.com
|
||||
0.0.0.0 www.thumb.ero-advertising.com
|
||||
0.0.0.0 xn--adspace-kvg.ero-advertising.com
|
||||
0.0.0.0 zww.ero-advertising.com
|
||||
0.0.0.0 redshell.io
|
||||
0.0.0.0 api.redshell.io
|
||||
0.0.0.0 treasuredata.com
|
||||
0.0.0.0 api.treasuredata.com
|
||||
|
||||
# FIFA 2018 scum
|
||||
0.0.0.0 supload.com
|
||||
0.0.0.0 notification-browser.tools
|
||||
0.0.0.0 sex-and-flirt.com
|
||||
0.0.0.0 rtb-adsterra.flshtrk.store
|
||||
0.0.0.0 best2017games.com
|
||||
0.0.0.0 www.bet365.com
|
||||
|
||||
# Massive logout sites
|
||||
0.0.0.0 theannoyingsite.com
|
||||
0.0.0.0 superlogout.github.io
|
||||
|
||||
# Other
|
||||
0.0.0.0 api.userstyles.org
|
||||
0.0.0.0 hrtya.com
|
||||
0.0.0.0 greatmacsoft.tech
|
||||
0.0.0.0 adscan.yelabapp.com
|
||||
0.0.0.0 myfreecams.com
|
||||
0.0.0.0 www.myfreecams.com
|
||||
0.0.0.0 icloud.com-locations.in
|
||||
0.0.0.0 cradver.livejasmin.com
|
||||
0.0.0.0 freeadult.games
|
||||
0.0.0.0 goooooooooogle.com
|
||||
0.0.0.0 rdi.eu.criteo.com
|
||||
0.0.0.0 ads.samsungads.com
|
||||
0.0.0.0 enabler.datalake.mediaset.it
|
||||
0.0.0.0 hbbtv.mediaset.net
|
||||
|
||||
# See Issue #844 – Windows telemetry servers – https://github.com/StevenBlack/hosts/issues/844
|
||||
alpha.telemetry.microsft.com
|
||||
eu.vortex-win.data.microsft.com
|
||||
oca.telemetry.microsft.com
|
||||
us.vortex-win.data.microsft.com
|
||||
v10-win.vortex.data.microsft.com.akadns.net
|
||||
v10.vortex-win.data.microsft.com
|
||||
|
||||
#=====================================
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Steven Black's ad-hoc list",
|
||||
"description": "Additional sketch domains as I come across them.",
|
||||
"homeurl": "https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/StevenBlack/hosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
0.0.0.0 cdn.appround.biz
|
||||
0.0.0.0 cdn.download.sweetpacks.com
|
||||
0.0.0.0 cdn.insta.playbryte.com
|
||||
0.0.0.0 cdn.msdwnld.com
|
||||
0.0.0.0 cdn.mypcbackup.com
|
||||
0.0.0.0 inno.bisrv.com
|
||||
0.0.0.0 installer.betterinstaller.com
|
||||
0.0.0.0 installer.filebulldog.com
|
||||
0.0.0.0 nsis.bisrv.com
|
||||
0.0.0.0 tracking.opencandy.com.s3.amazonaws.com
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "UncheckyAds",
|
||||
"description": "Windows installers ads sources sites based on https://unchecky.com/ content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
"url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts"
|
||||
}
|
||||
@@ -0,0 +1,525 @@
|
||||
# AdAway default blocklist
|
||||
# Blocking mobile ad providers and some analytics providers
|
||||
#
|
||||
# Contribute:
|
||||
# Create an issue at https://github.com/AdAway/AdAway/issues
|
||||
#
|
||||
# Changelog:
|
||||
# 2016-07-18 Now hosted on GitHub + Cloudflare
|
||||
# 2014-05-18 Now with a valid SSL certificate available at https://adaway.org/hosts.txt
|
||||
# 2013-03-29 Integrated some hosts from
|
||||
# http://adblock.gjtech.net/?format=hostfile
|
||||
# 2013-03-14 Back from the dead
|
||||
#
|
||||
# License:
|
||||
# CC Attribution 3.0 (http://creativecommons.org/licenses/by/3.0/)
|
||||
#
|
||||
# Contributions by:
|
||||
# Kicelo, Dominik Schuermann
|
||||
#
|
||||
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
|
||||
# [General]
|
||||
127.0.0.1 lb.usemaxserver.de
|
||||
127.0.0.1 tracking.klickthru.com
|
||||
127.0.0.1 gsmtop.net
|
||||
127.0.0.1 click.buzzcity.net
|
||||
127.0.0.1 ads.admoda.com
|
||||
127.0.0.1 stats.pflexads.com
|
||||
127.0.0.1 a.glcdn.co
|
||||
127.0.0.1 wwww.adleads.com
|
||||
127.0.0.1 ad.madvertise.de
|
||||
127.0.0.1 apps.buzzcity.net
|
||||
127.0.0.1 ads.mobgold.com
|
||||
127.0.0.1 android.bcfads.com
|
||||
127.0.0.1 show.buzzcity.net
|
||||
127.0.0.1 api.analytics.omgpop.com
|
||||
127.0.0.1 r.edge.inmobicdn.net
|
||||
127.0.0.1 www.mmnetwork.mobi
|
||||
127.0.0.1 img.ads.huntmad.com
|
||||
127.0.0.1 creative1cdn.mobfox.com
|
||||
127.0.0.1 admicro2.vcmedia.vn
|
||||
127.0.0.1 admicro1.vcmedia.vn
|
||||
127.0.0.1 s3.phluant.com
|
||||
127.0.0.1 c.vrvm.com
|
||||
127.0.0.1 go.vrvm.com
|
||||
127.0.0.1 static.estebull.com
|
||||
127.0.0.1 mobile.Banzai.it
|
||||
127.0.0.1 ads.xxxad.net
|
||||
127.0.0.1 img.ads.mojiva.com
|
||||
127.0.0.1 adcontent.saymedia.com
|
||||
127.0.0.1 ads.saymedia.com
|
||||
127.0.0.1 ftpcontent.worldnow.com
|
||||
127.0.0.1 s0.2mdn.net
|
||||
127.0.0.1 img.ads.mocean.mobi
|
||||
127.0.0.1 bigmobileads.com
|
||||
127.0.0.1 banners.bigmobileads.com
|
||||
127.0.0.1 ads.mopub.com
|
||||
127.0.0.1 images.mpression.net
|
||||
127.0.0.1 images.millennialmedia.com
|
||||
127.0.0.1 oasc04012.247realmedia.com
|
||||
127.0.0.1 assets.cntdy.mobi
|
||||
127.0.0.1 ad.leadboltapps.net ## another airpush style ad#
|
||||
127.0.0.1 api.airpush.com ## hope this is all #
|
||||
127.0.0.1 ad.where.com
|
||||
127.0.0.1 i.tapit.com
|
||||
127.0.0.1 cdn1.crispadvertising.com
|
||||
127.0.0.1 cdn2.crispadvertising.com
|
||||
127.0.0.1 medrx.sensis.com.au
|
||||
127.0.0.1 rs-staticart.ybcdn.net
|
||||
127.0.0.1 img.ads.taptapnetworks.com
|
||||
127.0.0.1 adserver.ubiyoo.com
|
||||
127.0.0.1 c753738.r38.cf2.rackcdn.com
|
||||
127.0.0.1 edge.reporo.net
|
||||
127.0.0.1 ads.n-ws.org
|
||||
127.0.0.1 adultmoda.com
|
||||
127.0.0.1 ads.smartdevicemedia.com
|
||||
127.0.0.1 b.scorecardresearch.com
|
||||
127.0.0.1 m.adsymptotic.com
|
||||
127.0.0.1 cdn.vdopia.com
|
||||
127.0.0.1 api.yp.com
|
||||
127.0.0.1 asotrack1.fluentmobile.com
|
||||
127.0.0.1 android-sdk31.transpera.com
|
||||
127.0.0.1 apps.mobilityware.com
|
||||
127.0.0.1 ads.mobilityware.com
|
||||
127.0.0.1 ads.admarvel.com
|
||||
127.0.0.1 netdna.reporo.net
|
||||
127.0.0.1 www.eltrafiko.com
|
||||
127.0.0.1 cdn.trafficforce.com
|
||||
127.0.0.1 gts-ads.twistbox.com
|
||||
127.0.0.1 static.cdn.gtsmobi.com
|
||||
127.0.0.1 ads.matomymobile.com
|
||||
127.0.0.1 ads.adiquity.com
|
||||
127.0.0.1 img.ads.mobilefuse.net
|
||||
127.0.0.1 as.adfonic.net
|
||||
127.0.0.1 media.mobpartner.mobi
|
||||
127.0.0.1 cdn.us.goldspotmedia.com
|
||||
127.0.0.1 ads2.mediaarmor.com
|
||||
127.0.0.1 cdn.nearbyad.com
|
||||
127.0.0.1 ads.ookla.com
|
||||
127.0.0.1 mobiledl.adobe.com
|
||||
127.0.0.1 ads.flurry.com
|
||||
127.0.0.1 gemini.yahoo.com
|
||||
|
||||
# [hosted on cloudfront]
|
||||
127.0.0.1 d3anogn3pbtk4v.cloudfront.net
|
||||
127.0.0.1 d3oltyb66oj2v8.cloudfront.net
|
||||
127.0.0.1 d2bgg7rjywcwsy.cloudfront.net
|
||||
|
||||
# [vserv.mobi]
|
||||
127.0.0.1 a.vserv.mobi
|
||||
127.0.0.1 admin.vserv.mobi
|
||||
127.0.0.1 c.vserv.mobi
|
||||
127.0.0.1 ads.vserv.mobi
|
||||
127.0.0.1 sf.vserv.mobi
|
||||
|
||||
# [pflexads.com]
|
||||
127.0.0.1 hybl9bazbc35.pflexads.com
|
||||
127.0.0.1 hhbekxxw5d9e.pflexads.com
|
||||
127.0.0.1 www.pflexads.com
|
||||
127.0.0.1 orencia.pflexads.com
|
||||
|
||||
# [velti.com]
|
||||
127.0.0.1 atti.velti.com
|
||||
127.0.0.1 ru.velti.com
|
||||
127.0.0.1 mwc.velti.com
|
||||
|
||||
# [celtra.com]
|
||||
127.0.0.1 cdn.celtra.com
|
||||
127.0.0.1 ads.celtra.com
|
||||
127.0.0.1 cache-ssl.celtra.com
|
||||
127.0.0.1 cache.celtra.com
|
||||
127.0.0.1 track.celtra.com
|
||||
|
||||
# [inner-active.mobi]
|
||||
127.0.0.1 wv.inner-active.mobi
|
||||
127.0.0.1 cdn1.inner-active.mobi
|
||||
127.0.0.1 m2m1.inner-active.mobi
|
||||
|
||||
# [Jumptab]
|
||||
127.0.0.1 bos-tapreq01.jumptap.com
|
||||
127.0.0.1 bos-tapreq02.jumptap.com
|
||||
127.0.0.1 bos-tapreq03.jumptap.com
|
||||
127.0.0.1 bos-tapreq04.jumptap.com
|
||||
127.0.0.1 bos-tapreq05.jumptap.com
|
||||
127.0.0.1 bos-tapreq06.jumptap.com
|
||||
127.0.0.1 bos-tapreq07.jumptap.com
|
||||
127.0.0.1 bos-tapreq08.jumptap.com
|
||||
127.0.0.1 bos-tapreq09.jumptap.com
|
||||
127.0.0.1 bos-tapreq10.jumptap.com
|
||||
127.0.0.1 bos-tapreq11.jumptap.com
|
||||
127.0.0.1 bos-tapreq12.jumptap.com
|
||||
127.0.0.1 bos-tapreq13.jumptap.com
|
||||
127.0.0.1 bos-tapreq14.jumptap.com
|
||||
127.0.0.1 bos-tapreq15.jumptap.com
|
||||
127.0.0.1 bos-tapreq16.jumptap.com
|
||||
127.0.0.1 bos-tapreq17.jumptap.com
|
||||
127.0.0.1 bos-tapreq18.jumptap.com
|
||||
127.0.0.1 bos-tapreq19.jumptap.com
|
||||
127.0.0.1 bos-tapreq20.jumptap.com
|
||||
127.0.0.1 web64.jumptap.com
|
||||
127.0.0.1 web63.jumptap.com
|
||||
127.0.0.1 web65.jumptap.com
|
||||
127.0.0.1 bo.jumptap.com
|
||||
127.0.0.1 i.jumptap.com
|
||||
|
||||
# [applovin]
|
||||
127.0.0.1 a.applovin.com
|
||||
127.0.0.1 d.applovin.com
|
||||
127.0.0.1 pdn.applovin.com
|
||||
|
||||
# [Mobpartner]
|
||||
127.0.0.1 mobpartner.mobi
|
||||
127.0.0.1 go.mobpartner.mobi
|
||||
127.0.0.1 r.mobpartner.mobi
|
||||
|
||||
# [Adinfuse]
|
||||
127.0.0.1 uk-ad2.adinfuse.com
|
||||
127.0.0.1 adinfuse.com
|
||||
127.0.0.1 go.adinfuse.com
|
||||
127.0.0.1 ad1.adinfuse.com
|
||||
127.0.0.1 ad2.adinfuse.com
|
||||
127.0.0.1 sky.adinfuse.com
|
||||
127.0.0.1 orange-fr.adinfuse.com
|
||||
127.0.0.1 sky-connect.adinfuse.com
|
||||
127.0.0.1 uk-go.adinfuse.com
|
||||
127.0.0.1 orangeuk-mc.adinfuse.com
|
||||
127.0.0.1 intouch.adinfuse.com
|
||||
127.0.0.1 funnel0.adinfuse.com
|
||||
|
||||
# [mydas.mobi]
|
||||
127.0.0.1 cvt.mydas.mobi
|
||||
127.0.0.1 lp.mydas.mobi
|
||||
127.0.0.1 golds.lp.mydas.mobi
|
||||
127.0.0.1 suo.lp.mydas.mobi
|
||||
127.0.0.1 aio.lp.mydas.mobi
|
||||
127.0.0.1 lp.mp.mydas.mobi
|
||||
127.0.0.1 media.mydas.mobi
|
||||
127.0.0.1 ads.mp.mydas.mobi # with many subdomains
|
||||
|
||||
# [appads.com]
|
||||
127.0.0.1 neptune.appads.com
|
||||
127.0.0.1 neptune1.appads.com
|
||||
127.0.0.1 neptune2.appads.com
|
||||
127.0.0.1 neptune3.appads.com
|
||||
127.0.0.1 saturn.appads.com
|
||||
127.0.0.1 saturn1.appads.com
|
||||
127.0.0.1 saturn2.appads.com
|
||||
127.0.0.1 saturn3.appads.com
|
||||
127.0.0.1 jupiter.appads.com
|
||||
127.0.0.1 jupiter1.appads.com
|
||||
127.0.0.1 jupiter2.appads.com
|
||||
127.0.0.1 jupiter3.appads.com
|
||||
127.0.0.1 req.appads.com
|
||||
127.0.0.1 req1.appads.com
|
||||
127.0.0.1 req2.appads.com
|
||||
127.0.0.1 req3.appads.com
|
||||
|
||||
# [yandex.ru]
|
||||
127.0.0.1 mc.yandex.ru
|
||||
127.0.0.1 an.yandex.ru
|
||||
|
||||
# [tapad]
|
||||
127.0.0.1 swappit.tapad.com
|
||||
127.0.0.1 campaign-tapad.s3.amazonaws.com
|
||||
127.0.0.1 adsrv1.tapad.com
|
||||
|
||||
# [mojiva.com]
|
||||
127.0.0.1 ads1.mojiva.com
|
||||
127.0.0.1 ads2.mojiva.com
|
||||
127.0.0.1 ads3.mojiva.com
|
||||
127.0.0.1 ads4.mojiva.com
|
||||
127.0.0.1 ads5.mojiva.com
|
||||
|
||||
# [inmobi.com]
|
||||
127.0.0.1 i.w.inmobi.com #
|
||||
127.0.0.1 r.w.inmobi.com # in-app provider
|
||||
127.0.0.1 c.w.inmobi.com
|
||||
127.0.0.1 adtracker.inmobi.com
|
||||
127.0.0.1 china.inmobi.com
|
||||
127.0.0.1 japan.inmobi.com
|
||||
|
||||
# [phluantmobile.net]
|
||||
127.0.0.1 mdn1.phluantmobile.net
|
||||
127.0.0.1 mdn2.phluantmobile.net
|
||||
127.0.0.1 mdn3.phluantmobile.net
|
||||
127.0.0.1 mdn3origin.phluantmobile.net
|
||||
|
||||
# [smaato.net]
|
||||
127.0.0.1 soma.smaato.net
|
||||
127.0.0.1 c29new.smaato.net
|
||||
127.0.0.1 c01.smaato.net
|
||||
127.0.0.1 c02.smaato.net
|
||||
127.0.0.1 c03.smaato.net
|
||||
127.0.0.1 c04.smaato.net
|
||||
127.0.0.1 c05.smaato.net
|
||||
127.0.0.1 c06.smaato.net
|
||||
127.0.0.1 c07.smaato.net
|
||||
127.0.0.1 c08.smaato.net
|
||||
127.0.0.1 c09.smaato.net
|
||||
127.0.0.1 c10.smaato.net
|
||||
127.0.0.1 c11.smaato.net
|
||||
127.0.0.1 c12.smaato.net
|
||||
127.0.0.1 c13.smaato.net
|
||||
127.0.0.1 c14.smaato.net
|
||||
127.0.0.1 c15.smaato.net
|
||||
127.0.0.1 c16.smaato.net
|
||||
127.0.0.1 c17.smaato.net
|
||||
127.0.0.1 c18.smaato.net
|
||||
127.0.0.1 c19.smaato.net
|
||||
127.0.0.1 c20.smaato.net
|
||||
127.0.0.1 c21.smaato.net
|
||||
127.0.0.1 c22.smaato.net
|
||||
127.0.0.1 c23.smaato.net
|
||||
127.0.0.1 c24.smaato.net
|
||||
127.0.0.1 c25.smaato.net
|
||||
127.0.0.1 c26.smaato.net
|
||||
127.0.0.1 c27.smaato.net
|
||||
127.0.0.1 c28.smaato.net
|
||||
127.0.0.1 c29.smaato.net
|
||||
127.0.0.1 c30.smaato.net
|
||||
127.0.0.1 c31.smaato.net
|
||||
127.0.0.1 c32.smaato.net
|
||||
127.0.0.1 c33.smaato.net
|
||||
127.0.0.1 c34.smaato.net
|
||||
127.0.0.1 c35.smaato.net
|
||||
127.0.0.1 c36.smaato.net
|
||||
127.0.0.1 c37.smaato.net
|
||||
127.0.0.1 c38.smaato.net
|
||||
127.0.0.1 c39.smaato.net
|
||||
127.0.0.1 c40.smaato.net
|
||||
127.0.0.1 c41.smaato.net
|
||||
127.0.0.1 c42.smaato.net
|
||||
127.0.0.1 c43.smaato.net
|
||||
127.0.0.1 c44.smaato.net
|
||||
127.0.0.1 c45.smaato.net
|
||||
127.0.0.1 c46.smaato.net
|
||||
127.0.0.1 c47.smaato.net
|
||||
127.0.0.1 c48.smaato.net
|
||||
127.0.0.1 c49.smaato.net
|
||||
127.0.0.1 c50.smaato.net
|
||||
127.0.0.1 c51.smaato.net
|
||||
127.0.0.1 c52.smaato.net
|
||||
127.0.0.1 c53.smaato.net
|
||||
127.0.0.1 c54.smaato.net
|
||||
127.0.0.1 c55.smaato.net
|
||||
127.0.0.1 c56.smaato.net
|
||||
127.0.0.1 c57.smaato.net
|
||||
127.0.0.1 c58.smaato.net
|
||||
127.0.0.1 c59.smaato.net
|
||||
127.0.0.1 c60.smaato.net
|
||||
127.0.0.1 f03.smaato.net
|
||||
127.0.0.1 f04.smaato.net
|
||||
127.0.0.1 f05.smaato.net
|
||||
127.0.0.1 f06.smaato.net
|
||||
127.0.0.1 f07.smaato.net
|
||||
127.0.0.1 f08.smaato.net
|
||||
127.0.0.1 f09.smaato.net
|
||||
127.0.0.1 f10.smaato.net
|
||||
127.0.0.1 f11.smaato.net
|
||||
127.0.0.1 f12.smaato.net
|
||||
127.0.0.1 f13.smaato.net
|
||||
127.0.0.1 f14.smaato.net
|
||||
127.0.0.1 f15.smaato.net
|
||||
127.0.0.1 f16.smaato.net
|
||||
127.0.0.1 f17.smaato.net
|
||||
127.0.0.1 f18.smaato.net
|
||||
127.0.0.1 f19.smaato.net
|
||||
127.0.0.1 f20.smaato.net
|
||||
127.0.0.1 f21.smaato.net
|
||||
127.0.0.1 f22.smaato.net
|
||||
127.0.0.1 f23.smaato.net
|
||||
127.0.0.1 f24.smaato.net
|
||||
127.0.0.1 f25.smaato.net
|
||||
127.0.0.1 f26.smaato.net
|
||||
127.0.0.1 f27.smaato.net
|
||||
127.0.0.1 f28.smaato.net
|
||||
127.0.0.1 f29.smaato.net
|
||||
127.0.0.1 f30.smaato.net
|
||||
127.0.0.1 f31.smaato.net
|
||||
127.0.0.1 f32.smaato.net
|
||||
127.0.0.1 f33.smaato.net
|
||||
127.0.0.1 f34.smaato.net
|
||||
127.0.0.1 f35.smaato.net
|
||||
127.0.0.1 f36.smaato.net
|
||||
127.0.0.1 f37.smaato.net
|
||||
127.0.0.1 f38.smaato.net
|
||||
127.0.0.1 f39.smaato.net
|
||||
127.0.0.1 f40.smaato.net
|
||||
127.0.0.1 f41.smaato.net
|
||||
127.0.0.1 f42.smaato.net
|
||||
127.0.0.1 f43.smaato.net
|
||||
127.0.0.1 f44.smaato.net
|
||||
127.0.0.1 f45.smaato.net
|
||||
127.0.0.1 f46.smaato.net
|
||||
127.0.0.1 f47.smaato.net
|
||||
127.0.0.1 f48.smaato.net
|
||||
127.0.0.1 f49.smaato.net
|
||||
127.0.0.1 f50.smaato.net
|
||||
127.0.0.1 f51.smaato.net
|
||||
127.0.0.1 f52.smaato.net
|
||||
127.0.0.1 f53.smaato.net
|
||||
127.0.0.1 f54.smaato.net
|
||||
127.0.0.1 f55.smaato.net
|
||||
127.0.0.1 f56.smaato.net
|
||||
127.0.0.1 f57.smaato.net
|
||||
127.0.0.1 f58.smaato.net
|
||||
127.0.0.1 f59.smaato.net
|
||||
127.0.0.1 f60.smaato.net
|
||||
|
||||
# [mojiva.com]
|
||||
127.0.0.1 img.ads1.mojiva.com
|
||||
127.0.0.1 img.ads2.mojiva.com
|
||||
127.0.0.1 img.ads3.mojiva.com
|
||||
127.0.0.1 img.ads4.mojiva.com
|
||||
|
||||
# [mocean.mobi]
|
||||
127.0.0.1 img.ads1.mocean.mobi
|
||||
127.0.0.1 img.ads2.mocean.mobi
|
||||
127.0.0.1 img.ads3.mocean.mobi
|
||||
127.0.0.1 img.ads4.mocean.mobi
|
||||
|
||||
# [Smart Adserver]
|
||||
127.0.0.1 akamai.smartadserver.com
|
||||
127.0.0.1 cdn1.smartadserver.com
|
||||
127.0.0.1 diff.smartadserver.com
|
||||
127.0.0.1 diff2.smartadserver.com
|
||||
127.0.0.1 diff3.smartadserver.com
|
||||
127.0.0.1 eqx.smartadserver.com
|
||||
127.0.0.1 im2.smartadserver.com
|
||||
127.0.0.1 itx5-publicidad.smartadserver.com
|
||||
127.0.0.1 itx5.smartadserver.com
|
||||
127.0.0.1 tcy.smartadserver.com
|
||||
127.0.0.1 ww129.smartadserver.com
|
||||
127.0.0.1 ww13.smartadserver.com
|
||||
127.0.0.1 ww14.smartadserver.com
|
||||
127.0.0.1 ww234.smartadserver.com
|
||||
127.0.0.1 ww251.smartadserver.com
|
||||
127.0.0.1 ww264.smartadserver.com
|
||||
127.0.0.1 ww302.smartadserver.com
|
||||
127.0.0.1 ww362.smartadserver.com
|
||||
127.0.0.1 ww370.smartadserver.com
|
||||
127.0.0.1 ww381.smartadserver.com
|
||||
127.0.0.1 ww392.smartadserver.com
|
||||
127.0.0.1 ww55.smartadserver.com
|
||||
127.0.0.1 ww57.smartadserver.com
|
||||
127.0.0.1 ww84.smartadserver.com
|
||||
127.0.0.1 www.smartadserver.com
|
||||
127.0.0.1 www2.smartadserver.com
|
||||
127.0.0.1 www3.smartadserver.com
|
||||
127.0.0.1 www4.smartadserver.com
|
||||
|
||||
# [Mobclix]
|
||||
127.0.0.1 ads.mobclix.com
|
||||
127.0.0.1 data.mobclix.com
|
||||
127.0.0.1 s.mobclix.com
|
||||
|
||||
# [MdotM, Inc.]
|
||||
127.0.0.1 ads.mdotm.com
|
||||
127.0.0.1 cdn.mdotm.com
|
||||
|
||||
# [Greystripe]
|
||||
127.0.0.1 ads2.greystripe.com
|
||||
127.0.0.1 adsx.greystripe.com
|
||||
127.0.0.1 c.greystripe.com
|
||||
|
||||
# [Amazon]
|
||||
127.0.0.1 aax-us-east.amazon-adsystem.com
|
||||
127.0.0.1 aax-us-west.amazon-adsystem.com
|
||||
127.0.0.1 s.amazon-adsystem.com
|
||||
|
||||
# [Hosted on Amazon AWS]
|
||||
127.0.0.1 admarvel.s3.amazonaws.com
|
||||
127.0.0.1 html5adkit.plusmo.s3.amazonaws.com
|
||||
127.0.0.1 inneractive-assets.s3.amazonaws.com
|
||||
127.0.0.1 strikeadcdn.s3.amazonaws.com
|
||||
|
||||
# [Admob]
|
||||
127.0.0.1 a.admob.com
|
||||
127.0.0.1 analytics.admob.com
|
||||
127.0.0.1 c.admob.com
|
||||
127.0.0.1 media.admob.com
|
||||
127.0.0.1 p.admob.com
|
||||
|
||||
# [AdWhirl]
|
||||
127.0.0.1 met.adwhirl.com
|
||||
127.0.0.1 mob.adwhirl.com
|
||||
|
||||
# [Doubleclick (Google)]
|
||||
127.0.0.1 ad-g.doubleclick.net
|
||||
127.0.0.1 ad.doubleclick.net
|
||||
127.0.0.1 ad.mo.doubleclick.net
|
||||
127.0.0.1 doubleclick.net
|
||||
127.0.0.1 googleads.g.doubleclick.net
|
||||
|
||||
# [Google]
|
||||
127.0.0.1 pagead.googlesyndication.com
|
||||
127.0.0.1 pagead1.googlesyndication.com
|
||||
127.0.0.1 pagead2.googlesyndication.com
|
||||
|
||||
# [National Rail Enquiries, https://play.google.com/store/apps/details?id=uk.co.nationalrail.google]
|
||||
127.0.0.1 events.foreseeresults.com
|
||||
127.0.0.1 survey.foreseeresults.com
|
||||
127.0.0.1 m.quantserve.com
|
||||
|
||||
# [leadboltmobile]
|
||||
127.0.0.1 ad.leadboltmobile.net
|
||||
|
||||
# [MSN Ads, in Skype]
|
||||
127.0.0.1 mobileads.msn.com
|
||||
|
||||
# [https://play.google.com/store/apps/details?id=myapp.devilbaby.android.music.newmusic]
|
||||
127.0.0.1 img.adecorp.co.kr
|
||||
127.0.0.1 us0.adlibr.com
|
||||
127.0.0.1 ad.parrot.mable-inc.com
|
||||
|
||||
# [http://play.google.com/store/apps/details?id=com.chuangkai.phonehelper]
|
||||
127.0.0.1 aos.wall.youmi.net
|
||||
127.0.0.1 au.youmi.net
|
||||
|
||||
# [http://play.google.com/store/apps/details?id=com.coconuts.webnavigator]
|
||||
127.0.0.1 coconuts.boy.jp
|
||||
127.0.0.1 iacpromotion.s3.amazonaws.com
|
||||
127.0.0.1 plugin.2easydroid.com
|
||||
|
||||
# [http://play.google.com/store/apps/details?id=com.babjul.billboard]
|
||||
127.0.0.1 adimg3.search.naver.net
|
||||
|
||||
# [http://play.google.com/store/apps/details?id=com.taeyang.billboardtop]
|
||||
127.0.0.1 st.a-link.co.kr
|
||||
127.0.0.1 cdn.ajillionmax.com
|
||||
127.0.0.1 dispatch.admixer.co.kr
|
||||
127.0.0.1 ifc.inmobi.com
|
||||
127.0.0.1 thinknear-hosted.thinknearhub.com
|
||||
|
||||
# [https://play.google.com/store/apps/details?id=com.buymeapie.bmap]
|
||||
127.0.0.1 ads.adadapted.com
|
||||
|
||||
#
|
||||
# ANALYTICS
|
||||
#
|
||||
127.0.0.1 analytics.localytics.com
|
||||
|
||||
# [Medialytics]
|
||||
127.0.0.1 a.medialytics.com
|
||||
127.0.0.1 c.medialytics.com
|
||||
127.0.0.1 cdn.creative.medialytics.com
|
||||
127.0.0.1 p.medialytics.com
|
||||
127.0.0.1 px.cdn.creative.medialytics.com
|
||||
127.0.0.1 t.medialytics.com
|
||||
|
||||
# [Google]
|
||||
127.0.0.1 google-analytics.com
|
||||
127.0.0.1 googlesyndication.com
|
||||
|
||||
# [applift]
|
||||
127.0.0.1 applift.com
|
||||
# use finer grained hostnames?
|
||||
#127.0.0.1 tracking.applift.com
|
||||
|
||||
# [EFF Tracker Detection]
|
||||
127.0.0.1 trackersimulator.org
|
||||
127.0.0.1 eviltracker.net
|
||||
127.0.0.1 do-not-tracker.org
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "AdAway",
|
||||
"description": "AdAway is an open source ad blocker for Android using the hosts file.",
|
||||
"homeurl": "https://adaway.org/",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/AdAway/AdAway/issues",
|
||||
"url": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt",
|
||||
"license": "CC BY 3.0"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "add.2o7Net",
|
||||
"description": "2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
"url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts",
|
||||
"license": "GPLv3+"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
0.0.0.0 avast-downloads.com
|
||||
0.0.0.0 blacksnake.com
|
||||
0.0.0.0 europcareer.com
|
||||
0.0.0.0 get-avast.com
|
||||
0.0.0.0 google-docs.info
|
||||
0.0.0.0 gooqleapi.com
|
||||
0.0.0.0 iphonegames3g.com
|
||||
0.0.0.0 jmp2click.com
|
||||
0.0.0.0 microsoft-update.name
|
||||
0.0.0.0 paypai.org
|
||||
0.0.0.0 sunonsunday.com
|
||||
0.0.0.0 thesunonsunday.com
|
||||
0.0.0.0 toolbar.wibiya.com
|
||||
0.0.0.0 www.avast-downloads.com
|
||||
0.0.0.0 www.europcareer.com
|
||||
0.0.0.0 wwwfacebook.com
|
||||
0.0.0.0 www.get-avast.com
|
||||
0.0.0.0 www.google-docs.info
|
||||
0.0.0.0 www.iphonegames3g.com
|
||||
0.0.0.0 www.jmp2click.com
|
||||
0.0.0.0 www.microsoft-update.name
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "add.Dead",
|
||||
"description": "Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
"url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts",
|
||||
"license": "GPLv3+"
|
||||
}
|
||||
+2584
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "add.Risk",
|
||||
"description": "Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
"url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts",
|
||||
"license": "GPLv3+"
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
0.0.0.0 100.1qingdao.com
|
||||
0.0.0.0 7minuteworkout.com
|
||||
0.0.0.0 addshoppers.com
|
||||
0.0.0.0 affiliatecashpile.go2jump.org
|
||||
0.0.0.0 arklighting.co
|
||||
0.0.0.0 bigpayout.go2jump.org
|
||||
0.0.0.0 brandedleadgeneration.com
|
||||
0.0.0.0 clicktshirtprinting.co.uk
|
||||
0.0.0.0 creditauthpagev3.info
|
||||
0.0.0.0 dandingo.go2jump.org
|
||||
0.0.0.0 defenderxtactical.com
|
||||
0.0.0.0 divisioncore.com
|
||||
0.0.0.0 fitnesshealthreporter.com
|
||||
0.0.0.0 freeforums.org
|
||||
0.0.0.0 go2jump.org
|
||||
0.0.0.0 gtradersoft.com
|
||||
0.0.0.0 heartrevitalized.com
|
||||
0.0.0.0 janeaustenjoy.com
|
||||
0.0.0.0 lazyprofits.go2jump.org
|
||||
0.0.0.0 medtecchina.com
|
||||
0.0.0.0 motoren.ru
|
||||
0.0.0.0 mydreamdegree.com
|
||||
0.0.0.0 nero-us.com
|
||||
0.0.0.0 news.nero-emea.com
|
||||
0.0.0.0 news.nero-us.com
|
||||
0.0.0.0 novastarled.com
|
||||
0.0.0.0 offerscience.go2jump.org
|
||||
0.0.0.0 onlineloan-personal.net
|
||||
0.0.0.0 otherinbox.com
|
||||
0.0.0.0 pcbutts1-therealtruth.blogspot.com
|
||||
0.0.0.0 playlott.com
|
||||
0.0.0.0 profitsitesbiz.com
|
||||
0.0.0.0 redhotfreebies.co.uk
|
||||
0.0.0.0 securesignupoffers.org
|
||||
0.0.0.0 stsoftware.biz
|
||||
0.0.0.0 tekindustri.upnjatim.ac.id
|
||||
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
|
||||
0.0.0.0 www.addshoppers.com
|
||||
0.0.0.0 www.arklighting.co
|
||||
0.0.0.0 www.brandedleadgeneration.com
|
||||
0.0.0.0 www.clicktshirtprinting.co.uk
|
||||
0.0.0.0 www.creditauthpagev3.info
|
||||
0.0.0.0 www.defenderxtactical.com
|
||||
0.0.0.0 www.divisioncore.com
|
||||
0.0.0.0 www.fitnesshealthreporter.com
|
||||
0.0.0.0 www.freeforums.org
|
||||
0.0.0.0 www.go2jump.org
|
||||
0.0.0.0 www.gtradersoft.com
|
||||
0.0.0.0 www.heartrevitalized.com
|
||||
0.0.0.0 www.janeaustenjoy.com
|
||||
0.0.0.0 www.medtecchina.com
|
||||
0.0.0.0 www.motoren.ru
|
||||
0.0.0.0 www.mydreamdegree.com
|
||||
0.0.0.0 www.nero-us.com
|
||||
0.0.0.0 www.novastarled.com
|
||||
0.0.0.0 www.onlineloan-personal.net
|
||||
0.0.0.0 www.otherinbox.com
|
||||
0.0.0.0 www.oz-offers.com
|
||||
0.0.0.0 www.playlott.com
|
||||
0.0.0.0 www.profitsitesbiz.com
|
||||
0.0.0.0 www.securesignupoffers.org
|
||||
0.0.0.0 www.stsoftware.biz
|
||||
0.0.0.0 www.thedatingconference.com
|
||||
0.0.0.0 www.tinaborg.com
|
||||
0.0.0.0 www.tkdami.net
|
||||
0.0.0.0 www.unionleisurewear.com
|
||||
0.0.0.0 www.vntanktransport.com
|
||||
0.0.0.0 www.vydoxtrial.com
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "add.Spam",
|
||||
"description": "Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.",
|
||||
"homeurl": "https://github.com/FadeMind/hosts.extras",
|
||||
"frequency": "occasionally",
|
||||
"issues": "https://github.com/FadeMind/hosts.extras/issues",
|
||||
"url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts",
|
||||
"license": "GPLv3+"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Malware Domain List",
|
||||
"description": "Malware Domain List is a non-commercial community project.",
|
||||
"homeurl": "https://www.malwaredomainlist.com/",
|
||||
"frequency": "weekly",
|
||||
"issues": "https://www.malwaredomainlist.com/contact.php",
|
||||
"url": "https://www.malwaredomainlist.com/hostslist/hosts.txt",
|
||||
"license": "'can be used for free by anyone'"
|
||||
}
|
||||
+14175
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "MVPS hosts file",
|
||||
"description": "The purpose of this site is to provide the user with a high quality custom HOSTS file.",
|
||||
"homeurl": "http://winhelp2002.mvps.org/",
|
||||
"frequency": "monthly",
|
||||
"issues": "mailto:winhelp2002@gmail.com",
|
||||
"url": "http://winhelp2002.mvps.org/hosts.txt",
|
||||
"license": "CC BY-NC-SA 4.0"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Dan Pollock – [someonewhocares](https://someonewhocares.org)",
|
||||
"description": "How to make the internet not suck (as much).",
|
||||
"homeurl": "https://someonewhocares.org/hosts/",
|
||||
"frequency": "frequently",
|
||||
"issues": "hosts@someonewhocares.org",
|
||||
"url": "https://someonewhocares.org/hosts/zero/hosts",
|
||||
"license": "non-commercial with attribution"
|
||||
}
|
||||
+2983
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "yoyo.org",
|
||||
"description": "Blocking with ad server and tracking server hostnames.",
|
||||
"homeurl": "https://pgl.yoyo.org/adservers/",
|
||||
"frequency": "frequently",
|
||||
"issues": "mailto:pgl@yoyo.org",
|
||||
"url": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0"
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,669 @@
|
||||
0.0.0.0 100percentfedup.com
|
||||
0.0.0.0 20minutenews.com
|
||||
0.0.0.0 21stcenturywire.com
|
||||
0.0.0.0 365usanews.com
|
||||
0.0.0.0 4threvolutionarywar.wordpress.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 addictinginfo.org
|
||||
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 alynews.com
|
||||
0.0.0.0 americanfreepress.net
|
||||
0.0.0.0 americanlookout.com
|
||||
0.0.0.0 americanmilitarynews.com
|
||||
0.0.0.0 americannews.com
|
||||
0.0.0.0 americanoverlook.com
|
||||
0.0.0.0 americanreviewer.com
|
||||
0.0.0.0 americantoday.news
|
||||
0.0.0.0 americantribune.org
|
||||
0.0.0.0 amposts.com
|
||||
0.0.0.0 anonhq.com
|
||||
0.0.0.0 anonymousnews.ru
|
||||
0.0.0.0 anotherdayintheempire.com
|
||||
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 assassinationscience.com
|
||||
0.0.0.0 associatedmediacoverage.com
|
||||
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 baltimoregazette.com
|
||||
0.0.0.0 bb4sp.com
|
||||
0.0.0.0 beforeitsnews.com
|
||||
0.0.0.0 bentspud.com
|
||||
0.0.0.0 bigamericannews.com
|
||||
0.0.0.0 biglawnewsline.com
|
||||
0.0.0.0 bigleaguepolitics.com
|
||||
0.0.0.0 bignuggetnews.com
|
||||
0.0.0.0 bigpzone.com
|
||||
0.0.0.0 bipartisanreport.com
|
||||
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 butthatsnoneofmybusiness.com
|
||||
0.0.0.0 caintv.com
|
||||
0.0.0.0 canadafreepress.com
|
||||
0.0.0.0 cap-news.com
|
||||
0.0.0.0 cartelpress.com
|
||||
0.0.0.0 cartelreport.com
|
||||
0.0.0.0 channel-7-news.com
|
||||
0.0.0.0 channel16news.com
|
||||
0.0.0.0 channel17news.com
|
||||
0.0.0.0 channel18news.com
|
||||
0.0.0.0 channel22news.com
|
||||
0.0.0.0 channel23news.com
|
||||
0.0.0.0 channel24news.com
|
||||
0.0.0.0 channel28news.com
|
||||
0.0.0.0 channel33news.com
|
||||
0.0.0.0 channel34news.com
|
||||
0.0.0.0 channel45news.com
|
||||
0.0.0.0 channel5000.com
|
||||
0.0.0.0 chemtrailsplanet.net
|
||||
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 clancyreport.com
|
||||
0.0.0.0 clashdaily.com
|
||||
0.0.0.0 cnn.com.de
|
||||
0.0.0.0 collectivelyconscious.net
|
||||
0.0.0.0 consciouslifenews.com
|
||||
0.0.0.0 conservative101.com
|
||||
0.0.0.0 conservativebyte.com
|
||||
0.0.0.0 conservativedailypost.com
|
||||
0.0.0.0 conservativefiringline.com
|
||||
0.0.0.0 conservativefrontline.com
|
||||
0.0.0.0 conservativepapers.com
|
||||
0.0.0.0 conservativerefocus.com
|
||||
0.0.0.0 conservativestate.com
|
||||
0.0.0.0 conservativetribune.com
|
||||
0.0.0.0 conspiracydailyupdate.com
|
||||
0.0.0.0 conspiracyplanet.com
|
||||
0.0.0.0 countdowntozerotime.com
|
||||
0.0.0.0 countercurrentnews.com
|
||||
0.0.0.0 counterpsyops.com
|
||||
0.0.0.0 cowgernation.com
|
||||
0.0.0.0 crazynews24.co.zw
|
||||
0.0.0.0 crazynewsreports.com
|
||||
0.0.0.0 creambmp.com
|
||||
0.0.0.0 cronicadeportiva.com
|
||||
0.0.0.0 dailybuzzlive.com
|
||||
0.0.0.0 dailycaller.com
|
||||
0.0.0.0 dailycurrant.com
|
||||
0.0.0.0 dailyheadlines.net
|
||||
0.0.0.0 dailynews11.com
|
||||
0.0.0.0 dailynewsposts.info
|
||||
0.0.0.0 dailyoccupation.com
|
||||
0.0.0.0 dailypostfeed.com
|
||||
0.0.0.0 dandygoat.com
|
||||
0.0.0.0 davidduke.com
|
||||
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 democraticreview.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 donaldtrumpnews.co
|
||||
0.0.0.0 downtrend.com
|
||||
0.0.0.0 drudgereport.com.co
|
||||
0.0.0.0 drugsofficial.com
|
||||
0.0.0.0 duhprogressive.com
|
||||
0.0.0.0 eaglerising.com
|
||||
0.0.0.0 educate-yourself.org
|
||||
0.0.0.0 educateinspirechange.org
|
||||
0.0.0.0 embols.com
|
||||
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 eutopia.buzz
|
||||
0.0.0.0 everydaybreakingnews.com
|
||||
0.0.0.0 familysecuritymatters.org
|
||||
0.0.0.0 famousviralstories.com
|
||||
0.0.0.0 fanzinger.com
|
||||
0.0.0.0 federalistpress.com
|
||||
0.0.0.0 fedsalert.com
|
||||
0.0.0.0 fellowshipoftheminds.com
|
||||
0.0.0.0 firebrandleft.com
|
||||
0.0.0.0 fmobserver.com
|
||||
0.0.0.0 focusnews.us
|
||||
0.0.0.0 folksvideo.com
|
||||
0.0.0.0 forbiddenknowledgetv.net
|
||||
0.0.0.0 fprnradio.com
|
||||
0.0.0.0 freebeacon.com
|
||||
0.0.0.0 freedom-articles.toolsforfreedom.com
|
||||
0.0.0.0 freedomdaily.com
|
||||
0.0.0.0 freedomoutpost.com
|
||||
0.0.0.0 fromthetrenchesworldreport.com
|
||||
0.0.0.0 fuhrerious88blog.wordpress.com
|
||||
0.0.0.0 fusionlacedillusions.com
|
||||
0.0.0.0 galacticconnection.com
|
||||
0.0.0.0 gangstergovernment.com
|
||||
0.0.0.0 gatesofvienna.net
|
||||
0.0.0.0 globalresearch.ca
|
||||
0.0.0.0 glossynews.com
|
||||
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.info
|
||||
0.0.0.0 guccifer2.wordpress.com
|
||||
0.0.0.0 gulagbound.com
|
||||
0.0.0.0 hahaloud.com
|
||||
0.0.0.0 healthimpactnews.com
|
||||
0.0.0.0 heathenwomen.com
|
||||
0.0.0.0 heaviermetal.net
|
||||
0.0.0.0 henrymakow.com
|
||||
0.0.0.0 holylandnutrition.com
|
||||
0.0.0.0 humansarefree.com
|
||||
0.0.0.0 ihavethetruth.com
|
||||
0.0.0.0 illuminati-news.com
|
||||
0.0.0.0 immediatesafety.org
|
||||
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 intellihub.com
|
||||
0.0.0.0 inthenow.media
|
||||
0.0.0.0 intrendtoday.com
|
||||
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 jamesfetzer.blogspot.com
|
||||
0.0.0.0 jameslico.com
|
||||
0.0.0.0 janmorganmedia.com
|
||||
0.0.0.0 joeforamerica.com
|
||||
0.0.0.0 jokerviral.com
|
||||
0.0.0.0 jonesreport.com
|
||||
0.0.0.0 journal-neo.org
|
||||
0.0.0.0 justtrumpit.us
|
||||
0.0.0.0 kata33.com
|
||||
0.0.0.0 katehon.com
|
||||
0.0.0.0 kingworldnews.com
|
||||
0.0.0.0 knightstemplarinternational.com
|
||||
0.0.0.0 krbcnews.com
|
||||
0.0.0.0 kspm33.com
|
||||
0.0.0.0 kupr7.com
|
||||
0.0.0.0 ky6news.com
|
||||
0.0.0.0 kypo6.com
|
||||
0.0.0.0 landdestroyer.blogspot.com
|
||||
0.0.0.0 larouchepub.com
|
||||
0.0.0.0 liberaldarkness.com
|
||||
0.0.0.0 liberalsociety.com
|
||||
0.0.0.0 libertyblitzkrieg.com
|
||||
0.0.0.0 libertymovementradio.com
|
||||
0.0.0.0 libertynews.com
|
||||
0.0.0.0 libertytalk.fm
|
||||
0.0.0.0 libertyunyielding.com
|
||||
0.0.0.0 libertyvideos.org
|
||||
0.0.0.0 libertywritersnews.com
|
||||
0.0.0.0 lincolnreport.com
|
||||
0.0.0.0 literallyunbelievable.org
|
||||
0.0.0.0 livemonitor.co.za
|
||||
0.0.0.0 livingresistance.com
|
||||
0.0.0.0 lucidawakenings.net
|
||||
0.0.0.0 madashellnews.com
|
||||
0.0.0.0 madworldnews.com
|
||||
0.0.0.0 mainerepublicemailalert.com
|
||||
0.0.0.0 makeamericagreattoday.com
|
||||
0.0.0.0 mbynews.com
|
||||
0.0.0.0 mckenziepost.com
|
||||
0.0.0.0 mediamass.net
|
||||
0.0.0.0 memoryholeblog.com
|
||||
0.0.0.0 mindenszo.hu
|
||||
0.0.0.0 moralmatters.org
|
||||
0.0.0.0 mpidailymagazine.com
|
||||
0.0.0.0 mrnewswatch.com
|
||||
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 nationalreport.net
|
||||
0.0.0.0 nationonenews.com
|
||||
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 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 newshubs.info
|
||||
0.0.0.0 newslo.com
|
||||
0.0.0.0 newsmutiny.com
|
||||
0.0.0.0 newsnow17.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
|
||||
0.0.0.0 newswithviews.com
|
||||
0.0.0.0 newzsentinel.com
|
||||
0.0.0.0 noch.info
|
||||
0.0.0.0 nodisinfo.com
|
||||
0.0.0.0 notallowedto.com
|
||||
0.0.0.0 now8news.com
|
||||
0.0.0.0 nsnbc.me
|
||||
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 onlineconservativepress.com
|
||||
0.0.0.0 opednews.com
|
||||
0.0.0.0 oreillypost.com
|
||||
0.0.0.0 orientalreview.org
|
||||
0.0.0.0 ourshiftingperspective.com
|
||||
0.0.0.0 pamelageller.com
|
||||
0.0.0.0 patriotnewsagency.com
|
||||
0.0.0.0 patriotrising.com
|
||||
0.0.0.0 patriotupdate.com
|
||||
0.0.0.0 persecutes.com
|
||||
0.0.0.0 platosguns.com
|
||||
0.0.0.0 politicalblindspot.com
|
||||
0.0.0.0 politicalcult.com
|
||||
0.0.0.0 politicalears.com
|
||||
0.0.0.0 politicalo.com
|
||||
0.0.0.0 politicalreviewer.com
|
||||
0.0.0.0 politicalvelcraft.org
|
||||
0.0.0.0 politicops.com
|
||||
0.0.0.0 politistick.com
|
||||
0.0.0.0 president45donaldtrump.com
|
||||
0.0.0.0 pressfortruth.ca
|
||||
0.0.0.0 presstv.com
|
||||
0.0.0.0 prntly.com
|
||||
0.0.0.0 projectveritas.com
|
||||
0.0.0.0 qpolitical.com
|
||||
0.0.0.0 qualitysharing.com
|
||||
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 redstatewatcher.com
|
||||
0.0.0.0 regated.com
|
||||
0.0.0.0 rense.com
|
||||
0.0.0.0 reporter.bz
|
||||
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 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 scrapetv.com
|
||||
0.0.0.0 scrappleface.com
|
||||
0.0.0.0 sentinelblog.com
|
||||
0.0.0.0 sgtreport.com
|
||||
0.0.0.0 sheepkillers.com
|
||||
0.0.0.0 shoebat.com
|
||||
0.0.0.0 silentmajoritypatriots.com
|
||||
0.0.0.0 sitsshow.blogspot.com
|
||||
0.0.0.0 skeptiko.com
|
||||
0.0.0.0 smhwtfnews.com
|
||||
0.0.0.0 somicom.com
|
||||
0.0.0.0 southfront.org
|
||||
0.0.0.0 sputniknews.com
|
||||
0.0.0.0 stateofthenation2012.com
|
||||
0.0.0.0 stgeorgegazette.com
|
||||
0.0.0.0 stneotscitizen.com
|
||||
0.0.0.0 stormcloudsgathering.com
|
||||
0.0.0.0 straightstoned.com
|
||||
0.0.0.0 stuppid.com
|
||||
0.0.0.0 subjectpolitics.com
|
||||
0.0.0.0 supremepatriot.com
|
||||
0.0.0.0 the-newspapers.com
|
||||
0.0.0.0 theamericanindependent.wordpress.com
|
||||
0.0.0.0 theamericanrevenant.com
|
||||
0.0.0.0 theantimedia.org
|
||||
0.0.0.0 theblacksphere.net
|
||||
0.0.0.0 thebostontribune.com
|
||||
0.0.0.0 thedcgazette.com
|
||||
0.0.0.0 theduran.com
|
||||
0.0.0.0 theeconomiccollapseblog.com
|
||||
0.0.0.0 thefederalistpapers.org
|
||||
0.0.0.0 theforbiddenknowledge.com
|
||||
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
|
||||
0.0.0.0 thelastlineofdefense.org
|
||||
0.0.0.0 themarshallreport.wordpress.com
|
||||
0.0.0.0 themillenniumreport.com
|
||||
0.0.0.0 themindunleashed.com
|
||||
0.0.0.0 themindunleashed.org
|
||||
0.0.0.0 themuslimissue.wordpress.com
|
||||
0.0.0.0 thenationalsun.com
|
||||
0.0.0.0 thenewinquiry.com
|
||||
0.0.0.0 thenewsdoctors.com
|
||||
0.0.0.0 thenochill.com
|
||||
0.0.0.0 theracketreport.com
|
||||
0.0.0.0 therealstrategy.com
|
||||
0.0.0.0 thereporterz.com
|
||||
0.0.0.0 therightists.com
|
||||
0.0.0.0 therundownlive.com
|
||||
0.0.0.0 thesaker.is
|
||||
0.0.0.0 theskunk.org
|
||||
0.0.0.0 thespiritscience.net
|
||||
0.0.0.0 thestatelyharold.com
|
||||
0.0.0.0 thetimesoftheworld.com
|
||||
0.0.0.0 thetruenews.info
|
||||
0.0.0.0 thetruthdivision.com
|
||||
0.0.0.0 thetruthseeker.co.uk
|
||||
0.0.0.0 theunhivedmind.com
|
||||
0.0.0.0 theuspatriot.com
|
||||
0.0.0.0 thevalleyreport.com
|
||||
0.0.0.0 thewatchtowers.com
|
||||
0.0.0.0 thirdworldtraveler.com
|
||||
0.0.0.0 thoughtoffense.wordpress.com
|
||||
0.0.0.0 threepercenternation.com
|
||||
0.0.0.0 thuglifevideos.com
|
||||
0.0.0.0 tmzbreaking.com
|
||||
0.0.0.0 tmzbusiness.com
|
||||
0.0.0.0 tmzcomedy.com
|
||||
0.0.0.0 tmzhiphop.com
|
||||
0.0.0.0 tmzuncut.com
|
||||
0.0.0.0 tmzurban.com
|
||||
0.0.0.0 tmzworldnews.com
|
||||
0.0.0.0 tmzworldstar.com
|
||||
0.0.0.0 tmzworldstarnews.com
|
||||
0.0.0.0 tomatobubble.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 truepundit.com
|
||||
0.0.0.0 trueworldhistory.info
|
||||
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 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 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 unitedmediapublishing.com
|
||||
0.0.0.0 us.blastingnews.com
|
||||
0.0.0.0 usaaroundtheworldnews.com
|
||||
0.0.0.0 usadailypolitics.com
|
||||
0.0.0.0 usahitman.com
|
||||
0.0.0.0 usanewshome.com
|
||||
0.0.0.0 usapoliticsnow.com
|
||||
0.0.0.0 uschronicle.com
|
||||
0.0.0.0 usdcrisis.com
|
||||
0.0.0.0 usdefensewatch.com
|
||||
0.0.0.0 ushealthyadvisor.com
|
||||
0.0.0.0 usherald.com
|
||||
0.0.0.0 uspolitico.com
|
||||
0.0.0.0 uspoln.com
|
||||
0.0.0.0 usslibertyveterans.org
|
||||
0.0.0.0 usuncut.com
|
||||
0.0.0.0 usviral.info
|
||||
0.0.0.0 vaclib.org
|
||||
0.0.0.0 vigilantcitizen.com
|
||||
0.0.0.0 viralactions.com
|
||||
0.0.0.0 viralcocaine.com
|
||||
0.0.0.0 viraldevil.com
|
||||
0.0.0.0 viralliberty.com
|
||||
0.0.0.0 viralmugshot.com
|
||||
0.0.0.0 viralpropaganda.com
|
||||
0.0.0.0 viralspeech.com
|
||||
0.0.0.0 viralstuppid.com
|
||||
0.0.0.0 wakeupthesheep.com
|
||||
0.0.0.0 wakingupwisconsin.com
|
||||
0.0.0.0 waterfordwhispersnews.com
|
||||
0.0.0.0 wearechange.org
|
||||
0.0.0.0 weeklyworldnews.com
|
||||
0.0.0.0 weshapelife.org
|
||||
0.0.0.0 whatdoesitmean.com
|
||||
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 worldnewsdailyreport.com
|
||||
0.0.0.0 worldpoliticus.com
|
||||
0.0.0.0 worldtruth.tv
|
||||
0.0.0.0 www.4thmedia.org
|
||||
0.0.0.0 www.abeldanger.net
|
||||
0.0.0.0 www.abovetopsecret.com
|
||||
0.0.0.0 www.activistpost.com
|
||||
0.0.0.0 www.actualidadpanamericana.com
|
||||
0.0.0.0 www.ae911truth.org
|
||||
0.0.0.0 www.americanpatriotdaily.com
|
||||
0.0.0.0 www.americanpoliticnews.com
|
||||
0.0.0.0 www.americasfreedomfighters.com
|
||||
0.0.0.0 www.americatalks.com
|
||||
0.0.0.0 www.amren.com
|
||||
0.0.0.0 www.amtvmedia.com
|
||||
0.0.0.0 www.ancient-code.com
|
||||
0.0.0.0 www.ancreport.com
|
||||
0.0.0.0 www.angrypatriotmovement.com
|
||||
0.0.0.0 www.anonews.co
|
||||
0.0.0.0 www.anonymousnews.ru
|
||||
0.0.0.0 www.antiwar.com
|
||||
0.0.0.0 www.barenakedislam.com
|
||||
0.0.0.0 www.bighairynews.com
|
||||
0.0.0.0 www.bizpacreview.com
|
||||
0.0.0.0 www.blastingnews.com
|
||||
0.0.0.0 www.brasschecktv.com
|
||||
0.0.0.0 www.breitbart.com
|
||||
0.0.0.0 www.burrardstreetjournal.com
|
||||
0.0.0.0 www.callthecops.net
|
||||
0.0.0.0 www.celebmaestro.com
|
||||
0.0.0.0 www.celebtricity.com
|
||||
0.0.0.0 www.centerforsecuritypolicy.org
|
||||
0.0.0.0 www.climatedepot.com
|
||||
0.0.0.0 www.coasttocoastam.com
|
||||
0.0.0.0 www.collective-evolution.com
|
||||
0.0.0.0 www.conservativeinfidel.com
|
||||
0.0.0.0 www.conservativeoutfitters.com
|
||||
0.0.0.0 www.corbettreport.com
|
||||
0.0.0.0 www.dailydiscord.com
|
||||
0.0.0.0 www.dailyfinesser.com
|
||||
0.0.0.0 www.dailynewsbin.com
|
||||
0.0.0.0 www.dailysquib.co.uk
|
||||
0.0.0.0 www.dailystormer.com
|
||||
0.0.0.0 www.dangerandplay.com
|
||||
0.0.0.0 www.darkmoon.me
|
||||
0.0.0.0 www.darkpolitricks.com
|
||||
0.0.0.0 www.davidwolfe.com
|
||||
0.0.0.0 www.dcclothesline.com
|
||||
0.0.0.0 www.debunkingskeptics.com
|
||||
0.0.0.0 www.derfmagazine.com
|
||||
0.0.0.0 www.disclose.tv
|
||||
0.0.0.0 www.disclosuremedia.net
|
||||
0.0.0.0 www.duffelblog.com
|
||||
0.0.0.0 www.empiresports.co
|
||||
0.0.0.0 www.endtime.com
|
||||
0.0.0.0 www.enduringvision.com
|
||||
0.0.0.0 www.eutimes.net
|
||||
0.0.0.0 www.everynewshere.com
|
||||
0.0.0.0 www.ewao.com
|
||||
0.0.0.0 www.express.co.uk
|
||||
0.0.0.0 www.eyeopening.info
|
||||
0.0.0.0 www.floridasunpost.com
|
||||
0.0.0.0 www.fort-russ.com
|
||||
0.0.0.0 www.fourwinds10.net
|
||||
0.0.0.0 www.freewoodpost.com
|
||||
0.0.0.0 www.fridaymash.com
|
||||
0.0.0.0 www.frontpagemag.com
|
||||
0.0.0.0 www.gaia.com
|
||||
0.0.0.0 www.geoengineeringwatch.org
|
||||
0.0.0.0 www.globalpossibilities.org
|
||||
0.0.0.0 www.globalresearch.ca
|
||||
0.0.0.0 www.godlikeproductions.com
|
||||
0.0.0.0 www.greanvillepost.com
|
||||
0.0.0.0 www.hangthebankers.com
|
||||
0.0.0.0 www.healthnutnews.com
|
||||
0.0.0.0 www.hermancain.com
|
||||
0.0.0.0 www.humortimes.com
|
||||
0.0.0.0 www.huzlers.com
|
||||
0.0.0.0 www.ifactsviral.com
|
||||
0.0.0.0 www.infiniteunknown.net
|
||||
0.0.0.0 www.informationclearinghouse.info
|
||||
0.0.0.0 www.informationliberation.com
|
||||
0.0.0.0 www.infostormer.com
|
||||
0.0.0.0 www.infowars.com
|
||||
0.0.0.0 www.inquisitr.com
|
||||
0.0.0.0 www.intrepidreport.com
|
||||
0.0.0.0 www.israelislamandendtimes.com
|
||||
0.0.0.0 www.jewsnews.co.il
|
||||
0.0.0.0 www.jihadwatch.org
|
||||
0.0.0.0 www.johnnyrobish.com
|
||||
0.0.0.0 www.kkk.com
|
||||
0.0.0.0 www.landrypost.com
|
||||
0.0.0.0 www.libertyvideos.com
|
||||
0.0.0.0 www.lifezette.com
|
||||
0.0.0.0 www.liftable.com
|
||||
0.0.0.0 www.lushforlife.com
|
||||
0.0.0.0 www.mercola.com
|
||||
0.0.0.0 www.militianews.com
|
||||
0.0.0.0 www.moonofalabama.org
|
||||
0.0.0.0 www.mrcblog.com
|
||||
0.0.0.0 www.nationalenquirer.com
|
||||
0.0.0.0 www.nationalinsiderpolitics.com
|
||||
0.0.0.0 www.naturalnews.com
|
||||
0.0.0.0 www.ncscooper.com
|
||||
0.0.0.0 www.neonnettle.com
|
||||
0.0.0.0 www.newcoldwar.org
|
||||
0.0.0.0 www.newsbusters.org
|
||||
0.0.0.0 www.newsmax.com
|
||||
0.0.0.0 www.nowtheendbegins.com
|
||||
0.0.0.0 www.organicandhealthy.org
|
||||
0.0.0.0 www.pakalertpress.com
|
||||
0.0.0.0 www.palmerreport.com
|
||||
0.0.0.0 www.patdollard.com
|
||||
0.0.0.0 www.paulcraigroberts.org
|
||||
0.0.0.0 www.peoplemagazine.co.za
|
||||
0.0.0.0 www.politicalgarbagechute.com
|
||||
0.0.0.0 www.politicususa.com
|
||||
0.0.0.0 www.powerlineblog.com
|
||||
0.0.0.0 www.pravda.ru
|
||||
0.0.0.0 www.pravdareport.com
|
||||
0.0.0.0 www.prepperwebsite.com
|
||||
0.0.0.0 www.presstv.ir
|
||||
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
|
||||
0.0.0.0 www.redstate.com
|
||||
0.0.0.0 www.reelnewsnetwork.com
|
||||
0.0.0.0 www.renegadetribune.com
|
||||
0.0.0.0 www.rense.com
|
||||
0.0.0.0 www.revolutions2040.com
|
||||
0.0.0.0 www.ridiculously.com
|
||||
0.0.0.0 www.rockcitytimes.com
|
||||
0.0.0.0 www.rt.com
|
||||
0.0.0.0 www.russia-direct.org
|
||||
0.0.0.0 www.satiratribune.com
|
||||
0.0.0.0 www.satirewire.com
|
||||
0.0.0.0 www.secretsofthefed.com
|
||||
0.0.0.0 www.sensationalisttimes.com
|
||||
0.0.0.0 www.shiftfrequency.com
|
||||
0.0.0.0 www.shtfplan.com
|
||||
0.0.0.0 www.silverdoctors.com
|
||||
0.0.0.0 www.socialmediamorning.com
|
||||
0.0.0.0 www.sott.net
|
||||
0.0.0.0 www.strategic-culture.org
|
||||
0.0.0.0 www.superstation95.com
|
||||
0.0.0.0 www.surrealscoop.com
|
||||
0.0.0.0 www.survivopedia.com
|
||||
0.0.0.0 www.teaparty.org
|
||||
0.0.0.0 www.theamericanmirror.com
|
||||
0.0.0.0 www.theavocadonews.com
|
||||
0.0.0.0 www.thebeaverton.com
|
||||
0.0.0.0 www.theblaze.com
|
||||
0.0.0.0 www.thecommonsenseshow.com
|
||||
0.0.0.0 www.thecontroversialfiles.net
|
||||
0.0.0.0 www.thedailybell.com
|
||||
0.0.0.0 www.thedailymash.co.uk
|
||||
0.0.0.0 www.thedailysheeple.com
|
||||
0.0.0.0 www.theearthchild.co.za
|
||||
0.0.0.0 www.theeventchronicle.com
|
||||
0.0.0.0 www.thegatewaypundit.com
|
||||
0.0.0.0 www.thelibertybeacon.com
|
||||
0.0.0.0 www.themoralofthestory.us
|
||||
0.0.0.0 www.thenewamerican.com
|
||||
0.0.0.0 www.thenewsnerd.com
|
||||
0.0.0.0 www.theoccidentalobserver.net
|
||||
0.0.0.0 www.thepoke.co.uk
|
||||
0.0.0.0 www.thepoliticalinsider.com
|
||||
0.0.0.0 www.therebel.media
|
||||
0.0.0.0 www.therussophile.org
|
||||
0.0.0.0 www.theshovel.com.au
|
||||
0.0.0.0 www.thesleuthjournal.com
|
||||
0.0.0.0 www.thespoof.com
|
||||
0.0.0.0 www.theunrealtimes.com
|
||||
0.0.0.0 www.tmn.today
|
||||
0.0.0.0 www.topinfopost.com
|
||||
0.0.0.0 www.trueactivist.com
|
||||
0.0.0.0 www.trunews.com
|
||||
0.0.0.0 www.truth-out.org
|
||||
0.0.0.0 www.truthandaction.org
|
||||
0.0.0.0 www.truthdig.com
|
||||
0.0.0.0 www.unz.com
|
||||
0.0.0.0 www.usanewsflash.com
|
||||
0.0.0.0 www.usanewsinsider.com
|
||||
0.0.0.0 www.usasupreme.com
|
||||
0.0.0.0 www.uspoliticslive.com
|
||||
0.0.0.0 www.vaccinationcouncil.org
|
||||
0.0.0.0 www.vdare.com
|
||||
0.0.0.0 www.veteransnewsnow.com
|
||||
0.0.0.0 www.veteranstoday.com
|
||||
0.0.0.0 www.viralthread.com
|
||||
0.0.0.0 www.voltairenet.org
|
||||
0.0.0.0 www.wakingtimes.com
|
||||
0.0.0.0 www.washingtonsblog.com
|
||||
0.0.0.0 www.webdaily.com
|
||||
0.0.0.0 www.wellaware1.com
|
||||
0.0.0.0 www.westernjournalism.com
|
||||
0.0.0.0 www.whatdoesitmean.com
|
||||
0.0.0.0 www.whatreallyhappened.com
|
||||
0.0.0.0 www.wnd.com
|
||||
0.0.0.0 www.wonkie.com
|
||||
0.0.0.0 www.worldnewspolitics.com
|
||||
0.0.0.0 www.yesimright.com
|
||||
0.0.0.0 www.youngcons.com
|
||||
0.0.0.0 www.zambianobserver.com
|
||||
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 yournationnews.com
|
||||
0.0.0.0 yournewswire.com
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Fake News",
|
||||
"description": "An in-progress collection of fake news outlets.",
|
||||
"homeurl": "https://github.com/marktron/fakenews",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/marktron/fakenews/issues",
|
||||
"url": "https://raw.githubusercontent.com/marktron/fakenews/master/fakenews",
|
||||
"license": "MIT"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Sinfonietta's gambling blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "pornhosts -- a consolidated anti porn hosts file",
|
||||
"description": "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.",
|
||||
"homeurl": "https://github.com/Clefspeare13/pornhosts",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Clefspeare13/pornhosts/issues",
|
||||
"url": "https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Sinfonietta's snuff-site blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Sinfonietta's porn blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
# Extensions
|
||||
|
||||
Use subfolders under this `extensions` folder to house data sources for extensions to the default unified hosts file.
|
||||
|
||||
Currently, this repo includes data sources for four extensions:
|
||||
|
||||
* `fakenews` for fake news sites.
|
||||
* `gambling` for common online betting sites,
|
||||
* `porn` for porn sites, and
|
||||
* `social` for common social media sites,
|
||||
|
||||
|
||||
Here are some sample calls, which vary which extensions are included.
|
||||
|
||||
**Using the `updateHostsFile.py` script**:
|
||||
|
||||
Create a hosts file that includes domain blocking for porn, social media, and gambling.
|
||||
|
||||
python3 updateHostsFile.py --auto --extensions porn social gambling
|
||||
|
||||
or, in short form:
|
||||
|
||||
python3 updateHostsFile.py -a -e porn social gambling
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Sinfonietta's social media blocking hosts file",
|
||||
"description": "A collection of category-specific host files.",
|
||||
"homeurl": "https://github.com/Sinfonietta/hostfiles",
|
||||
"frequency": "occasional",
|
||||
"issues": "https://github.com/Sinfonietta/hostfiles/issues",
|
||||
"url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts",
|
||||
"license": "MIT"
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright © 2019 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
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Script by gfyoung
|
||||
# https://github.com/gfyoung
|
||||
#
|
||||
# This Python script will generate hosts files and update the readme file.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
def print_failure(msg):
|
||||
"""
|
||||
Print a failure message.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
msg : str
|
||||
The failure message to print.
|
||||
"""
|
||||
|
||||
print("\033[91m" + msg + "\033[0m")
|
||||
|
||||
|
||||
def update_hosts_file(*flags):
|
||||
"""
|
||||
Wrapper around running updateHostsFile.py
|
||||
|
||||
Parameters
|
||||
----------
|
||||
flags : varargs
|
||||
Commandline flags to pass into updateHostsFile.py. For more info, run
|
||||
the following command in the terminal or command prompt:
|
||||
|
||||
```
|
||||
python updateHostsFile.py -h
|
||||
```
|
||||
"""
|
||||
|
||||
if subprocess.call([sys.executable, "updateHostsFile.py"] + list(flags)):
|
||||
print_failure("Failed to update hosts file")
|
||||
|
||||
|
||||
def update_readme_file():
|
||||
"""
|
||||
Wrapper around running updateReadme.py
|
||||
"""
|
||||
|
||||
if subprocess.call([sys.executable, "updateReadme.py"]):
|
||||
print_failure("Failed to update readme file")
|
||||
|
||||
|
||||
def main():
|
||||
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", "-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-social",
|
||||
"-e", "fakenews", "gambling", "porn", "social")
|
||||
|
||||
update_hosts_file("-a", "-n")
|
||||
|
||||
# Update the readme files.
|
||||
update_readme_file()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,4 @@
|
||||
# Custom host records are listed here.
|
||||
|
||||
|
||||
# End of custom host records.
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "hosts",
|
||||
"version": "2.3.1",
|
||||
"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": {
|
||||
"test": "python3 testUpdateHostsFile.py",
|
||||
"start": "python3 makeHosts.py",
|
||||
"release": "release-it"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/StevenBlack/hosts.git"
|
||||
},
|
||||
"keywords": [
|
||||
"python",
|
||||
"unified-hosts",
|
||||
"malware",
|
||||
"ad-blocker",
|
||||
"porn-filter",
|
||||
"social-media-filter",
|
||||
"hosts",
|
||||
"privacy",
|
||||
"protection",
|
||||
"pornblocker",
|
||||
"gambling-filter",
|
||||
"ransomware",
|
||||
"trojans"
|
||||
],
|
||||
"author": "Steven Black (https://github.com/StevenBlack)",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/StevenBlack/hosts/issues"
|
||||
},
|
||||
"homepage": "https://github.com/StevenBlack/hosts#readme",
|
||||
"devDependencies": {
|
||||
"release-it": "^10.0.7"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,415 @@
|
||||
----
|
||||
**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/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: **February 06 2019**.
|
||||
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 39,171 entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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) | 39,171 | [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) | 39,840 | [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) | 41,437 | [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) | 49,461 | [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) | 40,648 | [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) | 42,106 | [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) | 50,130 | [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) | 41,317 | [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) | 51,727 | [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) | 42,914 | [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) | 50,937 | [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) | 52,396 | [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) | 43,583 | [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) | 51,606 | [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) | 53,203 | [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) | 53,872 | [link](http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts)
|
||||
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
Steven Black's ad-hoc list | Additional sketch domains as I come across them. |[link](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts) | [raw](https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts) | occasionally | MIT | [issues](https://github.com/StevenBlack/hosts/issues)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
@@ -0,0 +1 @@
|
||||
{"fakenews-gambling-porn": {"location": "alternates/fakenews-gambling-porn/", "entries": 52396, "sourcesdata": [{"name": "Steven Black's ad-hoc list", "description": "Additional sketch domains as I come across them.", "homeurl": "https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts", "frequency": "occasionally", "issues": "https://github.com/StevenBlack/hosts/issues", "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts", "license": "MIT"}, {"name": "Malware Domain List", "description": "Malware Domain List is a non-commercial community project.", "homeurl": "https://www.malwaredomainlist.com/", "frequency": "weekly", "issues": "https://www.malwaredomainlist.com/contact.php", "url": "https://www.malwaredomainlist.com/hostslist/hosts.txt", "license": "'can be used for free by anyone'"}, {"name": "add.Dead", "description": "Dead sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.", "homeurl": "https://github.com/FadeMind/hosts.extras", "frequency": "occasionally", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts", "license": "GPLv3+"}, {"name": "add.Spam", "description": "Spam sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.", "homeurl": "https://github.com/FadeMind/hosts.extras", "frequency": "occasionally", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts", "license": "GPLv3+"}, {"name": "Dan Pollock \u2013 [someonewhocares](https://someonewhocares.org)", "description": "How to make the internet not suck (as much).", "homeurl": "https://someonewhocares.org/hosts/", "frequency": "frequently", "issues": "hosts@someonewhocares.org", "url": "https://someonewhocares.org/hosts/zero/hosts", "license": "non-commercial with attribution"}, {"name": "MVPS hosts file", "description": "The purpose of this site is to provide the user with a high quality custom HOSTS file.", "homeurl": "http://winhelp2002.mvps.org/", "frequency": "monthly", "issues": "mailto:winhelp2002@gmail.com", "url": "http://winhelp2002.mvps.org/hosts.txt", "license": "CC BY-NC-SA 4.0"}, {"name": "yoyo.org", "description": "Blocking with ad server and tracking server hostnames.", "homeurl": "https://pgl.yoyo.org/adservers/", "frequency": "frequently", "issues": "mailto:pgl@yoyo.org", "url": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0"}, {"name": "Mitchell Krog's - Badd Boyz Hosts", "description": "Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers", "homeurl": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts", "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'"}, {"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"}, {"name": "UncheckyAds", "description": "Windows installers ads sources sites based on https://unchecky.com/ content.", "homeurl": "https://github.com/FadeMind/hosts.extras", "frequency": "occasionally", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts"}, {"name": "add.2o7Net", "description": "2o7Net tracking sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.", "homeurl": "https://github.com/FadeMind/hosts.extras", "frequency": "occasionally", "issues": "https://github.com/FadeMind/hosts.extras/issues", "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts", "license": "GPLv3+"}, {"name": "KADhosts", "description": "Fraud/adware/scam websites.", "homeurl": "https://github.com/azet12/KADhosts", "frequency": "frequently", "issues": "https://github.com/azet12/KADhosts/issues", "url": "https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt", "license": "GPLv3"}, {"name": "AdAway", "description": "AdAway is an open source ad blocker for Android using the hosts file.", "homeurl": "https://adaway.org/", "frequency": "occasionally", "issues": "https://github.com/AdAway/AdAway/issues", "url": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt", "license": "CC BY 3.0"}, {"name": "add.Risk", "description": "Risk content sites based on [hostsfile.org](http://www.hostsfile.org/hosts.html) content.", "homeurl": "https://github.com/FadeMind/hosts.extras", "frequency": "occasionallyLine truncated
|
||||
@@ -0,0 +1,385 @@
|
||||
----
|
||||
**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/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
|
||||
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
|
||||
|
||||
* Last updated: **@GEN_DATE@**.
|
||||
* Here's the [raw hosts file @EXTENSIONS_HEADER@](https://raw.githubusercontent.com/StevenBlack/hosts/master/@SUBFOLDER@hosts) containing @NUM_ENTRIES@ entries.
|
||||
* Logo by [@Tobaloidee](https://github.com/Tobaloidee).
|
||||
|
||||
|
||||
### List of all hosts file variants
|
||||
|
||||
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
|
||||
---------------- |:------:|:---------:|:--------------:|:-------------:
|
||||
@TOCROWS@
|
||||
|
||||
**Expectation**: These unified hosts files should serve all devices, regardless
|
||||
of OS.
|
||||
|
||||
## Sources of hosts data unified in this variant
|
||||
|
||||
Updated `hosts` files from the following locations are always unified and
|
||||
included:
|
||||
|
||||
Host file source | Description | Home page | Raw hosts | Update frequency | License | Issues
|
||||
-----------------|-------------|:---------:|:---------:|:----------------:|:-------:|:------:
|
||||
@SOURCEROWS@
|
||||
|
||||
|
||||
## Extensions
|
||||
The unified hosts file is extensible. Extensions are used to block domains by category.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
## Generate your own unified hosts file
|
||||
|
||||
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** 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:
|
||||
|
||||
python3 testUpdateHostsFile.py
|
||||
|
||||
The `updateHostsFile.py` script will generate a unified hosts file based on the sources in the
|
||||
local `data/` subfolder. The script will prompt you whether it should fetch updated versions
|
||||
(from locations defined by the `update.json` text file in each source's folder). Otherwise, it
|
||||
will use the `hosts` file that's already there.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Using Python 3:
|
||||
|
||||
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
|
||||
|
||||
#### Command line options:
|
||||
|
||||
`--help`, or `-h`: display help.
|
||||
|
||||
`--auto`, or `-a`: run the script without prompting. When `--auto` is invoked,
|
||||
|
||||
* Hosts data sources, including extensions, are updated.
|
||||
* No extensions are included by default. Use the `--extensions` or `-e` flag
|
||||
to include any you want.
|
||||
* Your active hosts file is *not* replaced unless you include the `--replace`
|
||||
flag.
|
||||
|
||||
`--backup`, or `-b`: Make a backup of existing hosts file(s) as you generate
|
||||
over them.
|
||||
|
||||
`--extensions <ext1> <ext2> <ext3>`, or `-e <ext1> <ext2> <ext3>`: the names
|
||||
of subfolders below the `extensions` folder containing additional
|
||||
category-specific hosts files to include in the amalgamation. Example:
|
||||
`--extensions porn` or `-e social porn`.
|
||||
|
||||
`--flush-dns-cache`, or `-f`: skip the prompt for flushing the DNS cache.
|
||||
Only active when `--replace` is also active.
|
||||
|
||||
`--ip nnn.nnn.nnn.nnn`, or `-i nnn.nnn.nnn.nnn`: the IP address to use as the
|
||||
target. Default is `0.0.0.0`.
|
||||
|
||||
`--keepdomaincomments`, or `-k`: `true` (default) or `false`, keep the comments
|
||||
that appear on the same line as domains. The default is `true`.
|
||||
|
||||
`--noupdate`, or `-n`: skip fetching updates from hosts data sources.
|
||||
|
||||
`--output <subfolder>`, or `-o <subfolder>`: place the generated source file
|
||||
in a subfolder. If the subfolder does not exist, it will be created.
|
||||
|
||||
`--replace`, or `-r`: trigger replacing your active hosts
|
||||
|
||||
`--skipstatichosts`, or `-s`: `false` (default) or `true`, omit the standard
|
||||
section at the top, containing lines like `127.0.0.1 localhost`. This is
|
||||
useful for configuring proximate DNS services on the local network.
|
||||
|
||||
`--compress`, or `-c`: `false` (default) or `true`, *Compress* the hosts file
|
||||
ignoring non-necessary lines (empty lines and comments) and putting multiple
|
||||
domains in each line. Reducing the number of lines of the hosts file improves
|
||||
the performances under Windows (with DNS Client service enabled).
|
||||
|
||||
`--minimise`, or `-m`: `false` (default) or `true`, like `--compress`, but puts
|
||||
each domain on a separate line. This is necessary because many implementations
|
||||
of URL blockers that rely on `hosts` files do not conform to the standard which
|
||||
allows multiple hosts on a single line.
|
||||
|
||||
## How do I control which sources are unified?
|
||||
|
||||
Add one or more *additional* sources, each in a subfolder of the `data/`
|
||||
folder, and specify the `url` key in its `update.json` file.
|
||||
|
||||
Add one or more *optional* extensions, which originate from subfolders of the
|
||||
`extensions/` folder. Again the url in `update.json` controls where this
|
||||
extension finds its updates.
|
||||
|
||||
Create an *optional* `blacklist` file. The contents of this file (containing a
|
||||
listing of additional domains in `hosts` file format) are appended to the
|
||||
unified hosts file during the update process. A sample `blacklist` is
|
||||
included, and may be modified as you desire.
|
||||
|
||||
* NOTE: The `blacklist` is not tracked by git, so any changes you make won't
|
||||
be overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I include my own custom domain mappings?
|
||||
|
||||
If you have custom hosts records, place them in file `myhosts`. The contents
|
||||
of this file are prepended to the unified hosts file during the update
|
||||
process.
|
||||
|
||||
The `myhosts` file is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
### How do I prevent domains from being included?
|
||||
|
||||
The domains you list in the `whitelist` file are excluded from the final hosts
|
||||
file.
|
||||
|
||||
The `whitelist` uses partial matching. Therefore if you whitelist
|
||||
`google-analytics.com`, that domain and all its subdomains won't be merged
|
||||
into the final hosts file.
|
||||
|
||||
The `whitelist` is not tracked by git, so any changes you make won't be
|
||||
overridden when you `git pull` this repo from `origin` in the future.
|
||||
|
||||
## How can I contribute hosts records?
|
||||
|
||||
If you discover sketchy domains you feel should be included here, here are some ways to contribute them.
|
||||
|
||||
### Option 1: contact one of our hosts sources
|
||||
|
||||
The best way to get new domains included is to submit an issue to any of the data providers whose home pages are [listed here](https://github.com/StevenBlack/hosts#sources-of-hosts-data-unified-in-this-variant). This is best because once you submit new domains, they will be curated and updated by the dedicated folks who maintain these sources.
|
||||
|
||||
|
||||
### Option 2: add your domains to Steven Black's personal data file
|
||||
|
||||
Fork this hosts this repo and add your links to [https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts](https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts).
|
||||
|
||||
Then, submit a pull request.
|
||||
|
||||
**WARNING**: this is less desirable than Option 1 because the ongoing curation falls on us and what you've just done is created more work for us.
|
||||
|
||||
### Option 3: create your own hosts list as a repo on Github
|
||||
|
||||
If you're able to curate your own collection of sketchy domains, then curate your own hosts list. Then signal the existence of your repo as [a new issue](https://github.com/StevenBlack/hosts/issues) and we may include your new repo into the collection of sources we pull whenever we create new versions.
|
||||
|
||||
|
||||
## What is a hosts file?
|
||||
|
||||
A hosts file, named `hosts` (with no file extension), is a plain-text file
|
||||
used by all operating systems to map hostnames to IP addresses.
|
||||
|
||||
In most operating systems, the `hosts` file is preferential to `DNS`.
|
||||
Therefore if a domain name is resolved by the `hosts` file, the request never
|
||||
leaves your computer.
|
||||
|
||||
Having a smart `hosts` file goes a long way towards blocking malware, adware,
|
||||
and other irritants.
|
||||
|
||||
For example, to nullify requests to some doubleclick.net servers, adding these
|
||||
lines to your hosts file will do it:
|
||||
|
||||
# block doubleClick's servers
|
||||
0.0.0.0 ad.ae.doubleclick.net
|
||||
0.0.0.0 ad.ar.doubleclick.net
|
||||
0.0.0.0 ad.at.doubleclick.net
|
||||
0.0.0.0 ad.au.doubleclick.net
|
||||
0.0.0.0 ad.be.doubleclick.net
|
||||
# etc...
|
||||
|
||||
|
||||
## We recommend using `0.0.0.0` instead of `127.0.0.1`
|
||||
|
||||
Traditionally most host files use `127.0.0.1`, the *loopback address*, to establish an IP connection to the local machine.
|
||||
|
||||
We prefer to use `0.0.0.0`, which is defined as a non-routable meta-address used to designate an invalid, unknown,
|
||||
or non applicable target.
|
||||
|
||||
Using `0.0.0.0` is empirically faster, possibly because there's no wait for a timeout resolution. It also does not
|
||||
interfere with a web server that may be running on the local PC.
|
||||
|
||||
## Why not use just `0` instead of `0.0.0.0`?
|
||||
We tried that. Using `0` doesn't work universally.
|
||||
|
||||
|
||||
## Location of your hosts file
|
||||
To modify your current `hosts` file, look for it in the following places and modify it with a text
|
||||
editor.
|
||||
|
||||
**Mac OS X, iOS, Android, Linux**: `/etc/hosts` file.
|
||||
|
||||
**Windows**: `%SystemRoot%\system32\drivers\etc\hosts` file.
|
||||
|
||||
## 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:
|
||||
|
||||
```
|
||||
updateHostsWindows.bat
|
||||
```
|
||||
|
||||
This file MUST be run in command prompt with administrator privileges in
|
||||
the repository directory. In addition to updating the hosts file, it can also
|
||||
replace the existing hosts file, and reload the DNS cache. It goes without
|
||||
saying that in order for this to work, you must be connected to the internet.
|
||||
|
||||
To open a command prompt as administrator in the repository's directory, do the following:
|
||||
|
||||
**Windows XP**: Start -> Run -> `cmd`
|
||||
|
||||
**Windows Vista, 7**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 8**: Start -> Swipe Up -> All Apps -> Windows System -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
**Windows 10**: Start Button -> type `cmd` -> right-click Command Prompt ->
|
||||
"Run as Administrator"
|
||||
|
||||
You can also refer to the "Third-Party Hosts Managers" section for further recommended solutions from third parties.
|
||||
|
||||
## Reloading hosts file
|
||||
Your operating system will cache DNS lookups. You can either reboot or run the following commands to
|
||||
manually flush your DNS cache once the new hosts file is in place.
|
||||
|
||||
| The Google Chrome browser may require manually cleaning up its DNS Cache on `chrome://net-internals/#dns` page to thereafter see the changes in your hosts file. See: https://superuser.com/questions/723703
|
||||
:-----------------------------------------------------------------------------------------
|
||||
|
||||
### Windows
|
||||
|
||||
Open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
ipconfig /flushdns
|
||||
```
|
||||
|
||||
|If you want to use a huge hosts file by merging [hphosts](https://www.hosts-file.net) (NOT INCLUDED HERE) you need to DISABLE and STOP `Dnscache` service before you replace hosts file in Windows Systems. You have been warned.|
|
||||
:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Before flushing the DNS cache, open a command prompt with administrator privileges and run this command:
|
||||
|
||||
```
|
||||
sc config "Dnscache" start= disabled
|
||||
sc stop "Dnscache"
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
Open a Terminal and run with root privileges:
|
||||
|
||||
**Debian/Ubuntu** `sudo service network-manager restart`
|
||||
|
||||
**Linux Mint** `sudo /etc/init.d/dns-clean start`
|
||||
|
||||
**Linux with systemd**: `sudo systemctl restart network.service`
|
||||
|
||||
**Fedora Linux**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Network Manager**: `sudo systemctl restart NetworkManager.service`
|
||||
|
||||
**Arch Linux/Manjaro with Wicd**: `sudo systemctl restart wicd.service`
|
||||
|
||||
**RHEL/Centos**: `sudo /etc/init.d/network restart`
|
||||
|
||||
**FreeBSD**: `sudo service nscd restart`
|
||||
|
||||
To enable the `nscd` daemon initially, it is recommended that you run the following commands:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
Open a Terminal and run:
|
||||
```
|
||||
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
|
||||
```
|
||||
|
||||
## Release management
|
||||
|
||||
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
|
||||
[.release-it.json](https://github.com/StevenBlack/hosts/blob/master/.release-it.json) files are bundled.
|
||||
|
||||
## Goals of this unified hosts file
|
||||
|
||||
The goals of this repo are to:
|
||||
|
||||
1. automatically combine high-quality lists of hosts,
|
||||
|
||||
2. provide easy extensions,
|
||||
|
||||
3. de-dupe the resultant combined list,
|
||||
|
||||
4. and keep the resultant file reasonably sized.
|
||||
|
||||
A high-quality source is defined here as one that is actively curated. A
|
||||
hosts source should be frequently updated by its maintainers with both
|
||||
additions and removals. The larger the hosts file, the higher the level of
|
||||
curation is expected.
|
||||
|
||||
For example, the (huge) hosts file from [hosts-file.net](https://hosts-file.net)
|
||||
is **not** included here because it is very large (780,000+ entries)
|
||||
and doesn't currently display a corresponding high level of curation activity.
|
||||
|
||||
It is expected that this unified hosts file will serve both desktop and mobile
|
||||
devices under a variety of operating systems.
|
||||
|
||||
## Third-Party Hosts Managers
|
||||
|
||||
* [Unified Hosts AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate "Unified Hosts AutoUpdate") (for Windows): The Unified Hosts 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.
|
||||
|
||||
## Interesting Applications
|
||||
|
||||
* [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.
|
||||
|
||||
* [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier.
|
||||
|
||||
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
|
||||
|
||||
* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.
|
||||
@@ -0,0 +1,2 @@
|
||||
lxml>=4.2.4
|
||||
beautifulsoup4==4.6.1
|
||||
File diff suppressed because it is too large.
Load diff
+1528
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,30 @@
|
||||
:: This script will first create a backup of the original or current hosts
|
||||
:: file and save it in a file titled "hosts.skel"
|
||||
::
|
||||
:: If "hosts.skel" exists, the new hosts file with the customized unified hosts
|
||||
:: will be copied to the proper path. Next, the DNS cache will be refreshed.
|
||||
::
|
||||
:: THIS BAT FILE MUST BE LAUNCHED WITH ADMINISTRATOR PRIVILEGES
|
||||
@ECHO OFF
|
||||
TITLE Update Hosts
|
||||
|
||||
:: Check if we are administrator. If not, exit immediately.
|
||||
>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
|
||||
)
|
||||
|
||||
:: Update hosts file
|
||||
python updateHostsFile.py -a
|
||||
|
||||
:: Move new hosts file in-place
|
||||
COPY hosts %WINDIR%\System32\drivers\etc\
|
||||
|
||||
:: Flush the DNS cache
|
||||
ipconfig /flushdns
|
||||
@@ -0,0 +1,88 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Script by Steven Black
|
||||
# https://github.com/StevenBlack
|
||||
#
|
||||
# This Python script will update the readme files in this repo.
|
||||
|
||||
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_DATA_FILENAME = "readmeData.json"
|
||||
|
||||
|
||||
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:
|
||||
data = json.load(f)
|
||||
|
||||
keys = list(data.keys())
|
||||
|
||||
# Sort by the number of en-dashes in the key
|
||||
# and then by the key string itself.
|
||||
keys.sort(key=lambda item: (item.count("-"), item))
|
||||
|
||||
toc_rows = ""
|
||||
for key in keys:
|
||||
data[key]["fmtentries"] = "{:,}".format(data[key]["entries"])
|
||||
if key == "base":
|
||||
data[key]["description"] = 'Unified hosts = **(adware + malware)**'
|
||||
else:
|
||||
data[key]["description"] = ('Unified hosts **+ ' +
|
||||
key.replace("-", " + ") + '**')
|
||||
|
||||
toc_rows += s.substitute(data[key]) + "\n"
|
||||
|
||||
row_defaults = {
|
||||
"name": "",
|
||||
"description": "",
|
||||
"homeurl": "",
|
||||
"frequency": "",
|
||||
"issues": "",
|
||||
"url": "",
|
||||
"license": "",
|
||||
"issues": ""}
|
||||
|
||||
t = Template('${name} | ${description} |[link](${homeurl})'
|
||||
' | [raw](${url}) | ${frequency} | ${license} | [issues](${issues}) ')
|
||||
|
||||
for key in keys:
|
||||
extensions = key.replace("-", ", ")
|
||||
extensions_str = "* Extensions: **" + extensions + "**."
|
||||
extensions_header = "with " + extensions + " extensions"
|
||||
|
||||
source_rows = ""
|
||||
source_list = data[key]["sourcesdata"]
|
||||
|
||||
for source in source_list:
|
||||
this_row = {}
|
||||
this_row.update(row_defaults)
|
||||
this_row.update(source)
|
||||
source_rows += t.substitute(this_row) + "\n"
|
||||
|
||||
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@', 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__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
# Domains added below will be ignored, For example:
|
||||
# your-domain-name.com
|
||||
Reference in new issue
Block a user