diff options
Diffstat (limited to 'systems')
-rw-r--r-- | systems/eldiron/dns.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/systems/eldiron/dns.nix b/systems/eldiron/dns.nix index 3d5aafa..4ebb401 100644 --- a/systems/eldiron/dns.nix +++ b/systems/eldiron/dns.nix | |||
@@ -278,6 +278,13 @@ in | |||
278 | networking.firewall.allowedTCPPorts = [ 53 ]; | 278 | networking.firewall.allowedTCPPorts = [ 53 ]; |
279 | users.users.named.extraGroups = [ "keys" ]; | 279 | users.users.named.extraGroups = [ "keys" ]; |
280 | services.bind = { | 280 | services.bind = { |
281 | package = pkgs.bind.overrideAttrs(old: { | ||
282 | # Partially revert https://gitlab.isc.org/isc-projects/bind9/-/commit/fd96a418689593882485bb715b3cd76b9af6f968 | ||
283 | # Some DNS server don’t sent the question section | ||
284 | postPatch = (old.postPatch or "") + '' | ||
285 | sed -i -e "/missing question section/{n;N;d;}" lib/dns/xfrin.c | ||
286 | ''; | ||
287 | }); | ||
281 | enable = true; | 288 | enable = true; |
282 | cacheNetworks = ["any"]; | 289 | cacheNetworks = ["any"]; |
283 | extraOptions = '' | 290 | extraOptions = '' |