From a3147364ec1b912526f91eec3385a1807c84e00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 1 Nov 2023 16:40:15 +0100 Subject: Patch bind partially revert https://gitlab.isc.org/isc-projects/bind9/-/commit/fd96a418689593882485bb715b3cd76b9af6f968 --- systems/eldiron/dns.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'systems/eldiron') 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 = '' -- cgit v1.2.3