]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Patch bind
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 1 Nov 2023 15:40:15 +0000 (16:40 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 1 Nov 2023 15:40:35 +0000 (16:40 +0100)
partially revert https://gitlab.isc.org/isc-projects/bind9/-/commit/fd96a418689593882485bb715b3cd76b9af6f968

deploy/flake.lock
flake.lock
flakes/flake.lock
systems/eldiron/dns.nix

index 707b0cc2da5d7e861813e1d6cf6ab9d7aed45eca..0302b8c1e51c73514efe34d76936ff5f65159830 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-CiSvuSJhnAe1dXxotdFprQMgXa4Pase+cchTdPcotno=",
+        "narHash": "sha256-uN1hah0fHMQoPHlU2DaCZSe6VEgbTbte//c7rLSwYQM=",
         "path": "../flakes",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-CugQxVXifzrt4VHpWStcnNt4idRBiRtDxpYCQ4qtUxo=",
+        "narHash": "sha256-k4JkkQECOTq1uxe8nZe0Wmj+DfzX1KKF7lvDkEMK6vQ=",
         "path": "../systems/eldiron",
         "type": "path"
       },
index 55c2a9815b24c487dc9abba837e91f2ba96c1254..d1f5a88c3140368afbdf7de81c2c5bab94aad9a5 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-CiSvuSJhnAe1dXxotdFprQMgXa4Pase+cchTdPcotno=",
+        "narHash": "sha256-uN1hah0fHMQoPHlU2DaCZSe6VEgbTbte//c7rLSwYQM=",
         "path": "./flakes",
         "type": "path"
       },
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-CugQxVXifzrt4VHpWStcnNt4idRBiRtDxpYCQ4qtUxo=",
+        "narHash": "sha256-k4JkkQECOTq1uxe8nZe0Wmj+DfzX1KKF7lvDkEMK6vQ=",
         "path": "../systems/eldiron",
         "type": "path"
       },
index 4af23014304339bcb2d3d542062f8fe49b9fdec6..64c9100114904dda08a5eecdbe46b8b07c5e140a 100644 (file)
       },
       "locked": {
         "lastModified": 1,
-        "narHash": "sha256-CugQxVXifzrt4VHpWStcnNt4idRBiRtDxpYCQ4qtUxo=",
+        "narHash": "sha256-k4JkkQECOTq1uxe8nZe0Wmj+DfzX1KKF7lvDkEMK6vQ=",
         "path": "../systems/eldiron",
         "type": "path"
       },
index 3d5aafa4401707fcff2b93ac5cf81fbf1e5df8a2..4ebb4010fae648c2a25c8704dc24482100de6413 100644 (file)
@@ -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 = ''