diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-02-11 00:35:54 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-02-24 12:26:28 +0100 |
commit | fd2dd40522a71b633a1b31197d1e2cd083cf0995 (patch) | |
tree | 084a26c133a819240038386000a449b868617378 /systems/eldiron | |
parent | 4024d6ccd8d83fd4145042fce74f56ec26fbeb7d (diff) | |
download | Nix-fd2dd40522a71b633a1b31197d1e2cd083cf0995.tar.gz Nix-fd2dd40522a71b633a1b31197d1e2cd083cf0995.tar.zst Nix-fd2dd40522a71b633a1b31197d1e2cd083cf0995.zip |
Revert patch for bind
Diffstat (limited to 'systems/eldiron')
-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 = '' |