From 6df345e70bd0c6180bc1711e0f4b7ab3fb564f25 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 16 Apr 2024 08:46:49 +0200 Subject: Update dns server block lists --- system/linde.nix | 5 +++++ system/nanopi.nix | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/system/linde.nix b/system/linde.nix index edccf22f..10425754 100644 --- a/system/linde.nix +++ b/system/linde.nix @@ -431,6 +431,11 @@ in -- true -- will watch the file for updates )) + policy.add(policy.domains(policy.REFUSE, policy.todnames({ + 'use-application-dns.net', + 'telemetry.astro.build', + }))) + -- disable DNSSEC when using Quad9 since they do it -- trust_anchors.remove('.') -- policy.add(policy.all(policy.TLS_FORWARD({ diff --git a/system/nanopi.nix b/system/nanopi.nix index 0df57316..2d3551a4 100755 --- a/system/nanopi.nix +++ b/system/nanopi.nix @@ -850,6 +850,11 @@ in {'2620:fe::fe:11', hostname='dns11.quad9.net'} }))) + policy.add(policy.domains(policy.REFUSE, policy.todnames({ + 'use-application-dns.net', + 'telemetry.astro.build', + }))) + -- policy.add(policy.rpz( -- policy.DENY_MSG('domain blocked by hblock'), -- '/etc/knot-resolver/blocklist.rpz', -- cgit 1.4.1