summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorLeonardo <noreply@leoflo.me>2026-03-23 18:48:55 +0100
committerLeonardo <noreply@leoflo.me>2026-03-23 18:48:55 +0100
commit6dae353d5699788b7bd0dc81a494dbda12a18d2a (patch)
tree08d467e793c944e94c2578a664d7a1af6cce881c /components
parent44024e8e52b490e9f61f5c87a50da0dac9cf1a4f (diff)
downloadnixos-6dae353d5699788b7bd0dc81a494dbda12a18d2a.tar.gz
nixos-6dae353d5699788b7bd0dc81a494dbda12a18d2a.zip
bind (possibilmente) fixato
Diffstat (limited to 'components')
-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;
+ '';
};
};
}