diff options
-rw-r--r-- | deploy/flake.lock | 4 | ||||
-rw-r--r-- | flake.lock | 4 | ||||
-rw-r--r-- | flakes/flake.lock | 2 | ||||
-rw-r--r-- | systems/eldiron/dns.nix | 7 |
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 | }, |
@@ -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 = '' |