X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=systems%2Feldiron%2Fdns.nix;h=4ebb4010fae648c2a25c8704dc24482100de6413;hb=a3147364ec1b912526f91eec3385a1807c84e00f;hpb=3baad5758c75a38e1f1eea3b4b51139179cddda9;p=perso%2FImmae%2FConfig%2FNix.git 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 networking.firewall.allowedTCPPorts = [ 53 ]; users.users.named.extraGroups = [ "keys" ]; services.bind = { + package = pkgs.bind.overrideAttrs(old: { + # Partially revert https://gitlab.isc.org/isc-projects/bind9/-/commit/fd96a418689593882485bb715b3cd76b9af6f968 + # Some DNS server don’t sent the question section + postPatch = (old.postPatch or "") + '' + sed -i -e "/missing question section/{n;N;d;}" lib/dns/xfrin.c + ''; + }); enable = true; cacheNetworks = ["any"]; extraOptions = ''