aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--deploy/flake.lock4
-rw-r--r--flake.lock4
-rw-r--r--flakes/flake.lock2
-rw-r--r--systems/eldiron/dns.nix7
4 files changed, 12 insertions, 5 deletions
diff --git a/deploy/flake.lock b/deploy/flake.lock
index 707b0cc..0302b8c 100644
--- a/deploy/flake.lock
+++ b/deploy/flake.lock
@@ -2783,7 +2783,7 @@
2783 }, 2783 },
2784 "locked": { 2784 "locked": {
2785 "lastModified": 1, 2785 "lastModified": 1,
2786 "narHash": "sha256-CiSvuSJhnAe1dXxotdFprQMgXa4Pase+cchTdPcotno=", 2786 "narHash": "sha256-uN1hah0fHMQoPHlU2DaCZSe6VEgbTbte//c7rLSwYQM=",
2787 "path": "../flakes", 2787 "path": "../flakes",
2788 "type": "path" 2788 "type": "path"
2789 }, 2789 },
@@ -3903,7 +3903,7 @@
3903 }, 3903 },
3904 "locked": { 3904 "locked": {
3905 "lastModified": 1, 3905 "lastModified": 1,
3906 "narHash": "sha256-CugQxVXifzrt4VHpWStcnNt4idRBiRtDxpYCQ4qtUxo=", 3906 "narHash": "sha256-k4JkkQECOTq1uxe8nZe0Wmj+DfzX1KKF7lvDkEMK6vQ=",
3907 "path": "../systems/eldiron", 3907 "path": "../systems/eldiron",
3908 "type": "path" 3908 "type": "path"
3909 }, 3909 },
diff --git a/flake.lock b/flake.lock
index 55c2a98..d1f5a88 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2664,7 +2664,7 @@
2664 }, 2664 },
2665 "locked": { 2665 "locked": {
2666 "lastModified": 1, 2666 "lastModified": 1,
2667 "narHash": "sha256-CiSvuSJhnAe1dXxotdFprQMgXa4Pase+cchTdPcotno=", 2667 "narHash": "sha256-uN1hah0fHMQoPHlU2DaCZSe6VEgbTbte//c7rLSwYQM=",
2668 "path": "./flakes", 2668 "path": "./flakes",
2669 "type": "path" 2669 "type": "path"
2670 }, 2670 },
@@ -3919,7 +3919,7 @@
3919 }, 3919 },
3920 "locked": { 3920 "locked": {
3921 "lastModified": 1, 3921 "lastModified": 1,
3922 "narHash": "sha256-CugQxVXifzrt4VHpWStcnNt4idRBiRtDxpYCQ4qtUxo=", 3922 "narHash": "sha256-k4JkkQECOTq1uxe8nZe0Wmj+DfzX1KKF7lvDkEMK6vQ=",
3923 "path": "../systems/eldiron", 3923 "path": "../systems/eldiron",
3924 "type": "path" 3924 "type": "path"
3925 }, 3925 },
diff --git a/flakes/flake.lock b/flakes/flake.lock
index 4af2301..64c9100 100644
--- a/flakes/flake.lock
+++ b/flakes/flake.lock
@@ -3824,7 +3824,7 @@
3824 }, 3824 },
3825 "locked": { 3825 "locked": {
3826 "lastModified": 1, 3826 "lastModified": 1,
3827 "narHash": "sha256-CugQxVXifzrt4VHpWStcnNt4idRBiRtDxpYCQ4qtUxo=", 3827 "narHash": "sha256-k4JkkQECOTq1uxe8nZe0Wmj+DfzX1KKF7lvDkEMK6vQ=",
3828 "path": "../systems/eldiron", 3828 "path": "../systems/eldiron",
3829 "type": "path" 3829 "type": "path"
3830 }, 3830 },
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 = ''