aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2023-11-01 16:40:15 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2023-11-01 16:40:35 +0100
commita3147364ec1b912526f91eec3385a1807c84e00f (patch)
tree69e735a77c666f42103b0718fec5b1458b69f5f7 /systems/eldiron
parent3baad5758c75a38e1f1eea3b4b51139179cddda9 (diff)
downloadNix-a3147364ec1b912526f91eec3385a1807c84e00f.tar.gz
Nix-a3147364ec1b912526f91eec3385a1807c84e00f.tar.zst
Nix-a3147364ec1b912526f91eec3385a1807c84e00f.zip
Patch bind
partially revert https://gitlab.isc.org/isc-projects/bind9/-/commit/fd96a418689593882485bb715b3cd76b9af6f968
Diffstat (limited to 'systems/eldiron')
-rw-r--r--systems/eldiron/dns.nix7
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 = ''