summary refs log tree commit diff stats
path: root/system/nanopi.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-04-16 08:46:49 +0200
committerAlan Pearce2024-04-16 08:46:49 +0200
commit6df345e70bd0c6180bc1711e0f4b7ab3fb564f25 (patch)
treee9dc0c4be852d2e833f26ba22b4cb27c15f818c4 /system/nanopi.nix
parent3f4828bd28af16177d2157ecd6c989a989f0b672 (diff)
downloadnixfiles-6df345e70bd0c6180bc1711e0f4b7ab3fb564f25.tar.lz
nixfiles-6df345e70bd0c6180bc1711e0f4b7ab3fb564f25.tar.zst
nixfiles-6df345e70bd0c6180bc1711e0f4b7ab3fb564f25.zip
Update dns server block lists
Diffstat (limited to 'system/nanopi.nix')
-rwxr-xr-xsystem/nanopi.nix5
1 files changed, 5 insertions, 0 deletions
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',