From fd2dd40522a71b633a1b31197d1e2cd083cf0995 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 11 Feb 2024 00:35:54 +0100 Subject: [PATCH] Revert patch for bind --- deploy/flake.lock | 4 ++-- flake.lock | 4 ++-- flakes/flake.lock | 2 +- systems/eldiron/dns.nix | 7 ------- 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 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-c7dsI2OqMU+4+ysGSVrF0BLoJiHPU2gVtTwKGhTGb88=", + "narHash": "sha256-vC7WaZfq0RkLnryC9VLo6hzIK6qSnXjuQnGRE/euQ1U=", "path": "../flakes", "type": "path" }, @@ -3903,7 +3903,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-zBwqj1wNm+4wK8QHiRGM1IGqedytZnsp7wiy8GEKUa0=", + "narHash": "sha256-HWihtz2ljCc6Yrg55dDsQf4nG6EtJw+2OmH6K7ieNtk=", "path": "../systems/eldiron", "type": "path" }, diff --git a/flake.lock b/flake.lock index f26c4a4..7b15319 100644 --- a/flake.lock +++ b/flake.lock @@ -2664,7 +2664,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-c7dsI2OqMU+4+ysGSVrF0BLoJiHPU2gVtTwKGhTGb88=", + "narHash": "sha256-vC7WaZfq0RkLnryC9VLo6hzIK6qSnXjuQnGRE/euQ1U=", "path": "./flakes", "type": "path" }, @@ -3919,7 +3919,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-zBwqj1wNm+4wK8QHiRGM1IGqedytZnsp7wiy8GEKUa0=", + "narHash": "sha256-HWihtz2ljCc6Yrg55dDsQf4nG6EtJw+2OmH6K7ieNtk=", "path": "../systems/eldiron", "type": "path" }, 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 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-zBwqj1wNm+4wK8QHiRGM1IGqedytZnsp7wiy8GEKUa0=", + "narHash": "sha256-HWihtz2ljCc6Yrg55dDsQf4nG6EtJw+2OmH6K7ieNtk=", "path": "../systems/eldiron", "type": "path" }, 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 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 = '' -- 2.41.0