summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.