summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-03 22:28:15 +0000
committertv <tv@krebsco.de>2026-12-03 22:38:02 +0000
commit7f634011e2fc8bba9de8b20cbaaafe3f1c5a181d (patch)
tree0b2daad177c072741882e103d4d302fb75b76561
parent532c5d45687b1a0ca64dcecebee0ba1fa95f0ed4 (diff)
unbound: r. and w. as auth zones
-rw-r--r--modules/unbound.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/unbound.nix b/modules/unbound.nix
index 862df4d1..9b3eadbf 100644
--- a/modules/unbound.nix
+++ b/modules/unbound.nix
@@ -30,6 +30,16 @@
prefetch = true;
prefetch-key = true;
};
+ settings.auth-zone = [
+ {
+ name = "r.";
+ zonefile = "${pkgs.krebs.zones.r}";
+ }
+ {
+ name = "w.";
+ zonefile = "${pkgs.krebs.zones.w}";
+ }
+ ];
};
# Since we use this for local dns resolving, we don't want to stop/start
# but just restart, so we quickly get it back.