aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2024-02-11 00:35:54 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2024-02-24 12:26:28 +0100
commitfd2dd40522a71b633a1b31197d1e2cd083cf0995 (patch)
tree084a26c133a819240038386000a449b868617378
parent4024d6ccd8d83fd4145042fce74f56ec26fbeb7d (diff)
downloadNix-fd2dd40522a71b633a1b31197d1e2cd083cf0995.tar.gz
Nix-fd2dd40522a71b633a1b31197d1e2cd083cf0995.tar.zst
Nix-fd2dd40522a71b633a1b31197d1e2cd083cf0995.zip
Revert patch for bind
-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, 5 insertions, 12 deletions
diff --git a/deploy/flake.lock b/deploy/flake.lock
index 86553e5..0ece9c3 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-c7dsI2OqMU+4+ysGSVrF0BLoJiHPU2gVtTwKGhTGb88=", 2786 "narHash": "sha256-vC7WaZfq0RkLnryC9VLo6hzIK6qSnXjuQnGRE/euQ1U=",
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-zBwqj1wNm+4wK8QHiRGM1IGqedytZnsp7wiy8GEKUa0=", 3906 "narHash": "sha256-HWihtz2ljCc6Yrg55dDsQf4nG6EtJw+2OmH6K7ieNtk=",
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 f26c4a4..7b15319 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-c7dsI2OqMU+4+ysGSVrF0BLoJiHPU2gVtTwKGhTGb88=", 2667 "narHash": "sha256-vC7WaZfq0RkLnryC9VLo6hzIK6qSnXjuQnGRE/euQ1U=",
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-zBwqj1wNm+4wK8QHiRGM1IGqedytZnsp7wiy8GEKUa0=", 3922 "narHash": "sha256-HWihtz2ljCc6Yrg55dDsQf4nG6EtJw+2OmH6K7ieNtk=",
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 e4f848a..5bb0740 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-zBwqj1wNm+4wK8QHiRGM1IGqedytZnsp7wiy8GEKUa0=", 3827 "narHash": "sha256-HWihtz2ljCc6Yrg55dDsQf4nG6EtJw+2OmH6K7ieNtk=",
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 4ebb401..3d5aafa 100644
--- a/systems/eldiron/dns.nix
+++ b/systems/eldiron/dns.nix
@@ -278,13 +278,6 @@ 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 });
288 enable = true; 281 enable = true;
289 cacheNetworks = ["any"]; 282 cacheNetworks = ["any"];
290 extraOptions = '' 283 extraOptions = ''