diff options
Diffstat (limited to 'systems/eldiron/dns.nix')
-rw-r--r-- | systems/eldiron/dns.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/systems/eldiron/dns.nix b/systems/eldiron/dns.nix index 4ebb401..3d5aafa 100644 --- a/systems/eldiron/dns.nix +++ b/systems/eldiron/dns.nix | |||
@@ -278,13 +278,6 @@ 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 | }); | ||
288 | enable = true; | 281 | enable = true; |
289 | cacheNetworks = ["any"]; | 282 | cacheNetworks = ["any"]; |
290 | extraOptions = '' | 283 | extraOptions = '' |