From de7184794a023fe38ea364e8887e9249499f4a35 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 21 Oct 2020 15:16:56 +0300 Subject: [PATCH] etc: add hosts.append for appending into hosts for systemd-resolved --- etc/hosts.append | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 etc/hosts.append diff --git a/etc/hosts.append b/etc/hosts.append new file mode 100644 index 00000000..b5e9ad97 --- /dev/null +++ b/etc/hosts.append @@ -0,0 +1,8 @@ +# abusing this shell-things / this hosts.append file to cat into /etc/hosts +# for blocking these specific domains with systemd-resolved like +# /etc/unbound/unbound.conf.d/blocklist.conf to avoid logs/NextDNS spamming +# about these hosts +0.0.0.0 google-analytics.com +0.0.0.0 www.google-analytics.com +0.0.0.0 ssl.google-analytics.com +0.0.0.0 incoming.telemetry.mozilla.org