diff options
| author | Leonardo <noreply@leoflo.me> | 2026-03-23 18:56:08 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2026-03-23 18:56:08 +0100 |
| commit | c37a0012edbf56d42f21f041ef160330810abadb (patch) | |
| tree | c2e929cc6d3e7d07b905b8b7fe8fafec4c346190 /components/services | |
| parent | 6dae353d5699788b7bd0dc81a494dbda12a18d2a (diff) | |
| download | nixos-c37a0012edbf56d42f21f041ef160330810abadb.tar.gz nixos-c37a0012edbf56d42f21f041ef160330810abadb.zip | |
bind def fixato
Diffstat (limited to 'components/services')
| -rw-r--r-- | components/services/bind.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/components/services/bind.nix b/components/services/bind.nix index 4444d21..483d192 100644 --- a/components/services/bind.nix +++ b/components/services/bind.nix @@ -5,7 +5,10 @@ services.bind = { enable = true; - forwarders = [ "208.67.222.222" "208.67.220.220" ]; + forwarders = [ "1.1.1.1" "8.8.8.8" ]; + forward = "only"; + + cacheNetworks = [ "127.0.0.0/8" "10.69.0.0/24" ]; zones = { "home.arpa" = { @@ -34,12 +37,6 @@ ''; }; }; - - extraOptions = '' - recursion yes; - allow-recursion { 127.0.0.0/8; 10.69.0.0/24; }; - forward only; - ''; }; }; } |
