summaryrefslogtreecommitdiff
path: root/components/services/bind.nix
diff options
context:
space:
mode:
Diffstat (limited to 'components/services/bind.nix')
-rw-r--r--components/services/bind.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/components/services/bind.nix b/components/services/bind.nix
index 5ff9be9..4444d21 100644
--- a/components/services/bind.nix
+++ b/components/services/bind.nix
@@ -10,7 +10,7 @@
zones = {
"home.arpa" = {
master = true;
- allowQuery = [ "127.0.0.0/24" "10.69.0.0/24" ];
+ allowQuery = [ "127.0.0.0/8" "10.69.0.0/24" ];
file = pkgs.writeText "home.arpa" ''
$TTL 86400
@@ -34,6 +34,12 @@
'';
};
};
+
+ extraOptions = ''
+ recursion yes;
+ allow-recursion { 127.0.0.0/8; 10.69.0.0/24; };
+ forward only;
+ '';
};
};
}