commit 8efd036fd5ede8a5ad4413b3ad309ad2df7bb1cb
parent 524f9badd37b2b93252ba6c51e3ad0e99560dd3a
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 31 May 2020 16:52:41 +0200
Add hosts-gen way of blocking DNS.
Diffstat:
2 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/hosts-gen/05-hosts.block b/hosts-gen/05-hosts.block
@@ -0,0 +1,43 @@
+# Snom
+0.0.0.0 provisioning.snom.com
+0.0.0.0 secure-provisioning.snom.com
+
+# Mozilla
+0.0.0.0 detectportal.firefox.com
+0.0.0.0 getpocket.cdn.mozilla.net
+0.0.0.0 img-getpocket.cdn.mozilla.net
+0.0.0.0 getpocket-cdn.prod.mozaws.net
+0.0.0.0 img-getpocket-cdn.prod.mozaws.net
+0.0.0.0 incoming.telemetry.mozilla.org
+0.0.0.0 telemetry.mozilla.org
+0.0.0.0 services.mozilla.com
+0.0.0.0 tiles.services.mozilla.com
+0.0.0.0 search.services.mozilla.com
+0.0.0.0 aus5.mozilla.org
+0.0.0.0 shavar.services.mozilla.com
+0.0.0.0 content-signature-2.cdn.mozilla.net
+
+# Microsoft
+0.0.0.0 go.microsoft.com
+0.0.0.0 client.wns.windows.com
+0.0.0.0 dmd.metaservices.microsoft.com
+0.0.0.0 auth.gfx.ms
+0.0.0.0 dns.msftncsi.com
+0.0.0.0 sls.update.microsoft.com
+0.0.0.0 win1710.ipv6.microsoft.com
+0.0.0.0 login.live.com
+0.0.0.0 fe3.delivery.mp.microsoft.com
+0.0.0.0 ctldl.windowsupdate.com
+0.0.0.0 displaycatalog.mp.microsoft.com
+0.0.0.0 www.msftconnecttest.com
+
+# Google
+0.0.0.0 safebrowsing.googleapis.com
+
+# Cert
+0.0.0.0 ocsp.digicert.com
+
+# AMD
+0.0.0.0 secure.amd.com
+0.0.0.0 subscriptions.amd.com
+
diff --git a/hosts-gen/README.md b/hosts-gen/README.md
@@ -0,0 +1,18 @@
+# Hosts-gen blocking.
+
+Some applications of privacy haters have hard-coded names which cannot
+be configured. To protect you there, modify your /etc/hosts file to
+block those DNS names.
+
+For convenience and in case you have other block lists, like for ads
+etc., consider using hosts-gen:
+
+ git://r-36.net/hosts-gen
+
+See there how you install it and then have your /etc/hosts.d ready.
+There you can copy the 05-hosts.block file. After you ran `hosts-gen`,
+the new /etc/hosts file is generated and will be used by any
+application.
+
+Have fun!
+