mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
technitium-dns-server: fix missing DNSSEC DO bit in authoritative responses
Assisted-by: Claude Code (Fable 5)
(cherry picked from commit adc33d694d)
This commit is contained in:
parent
52b22ecc47
commit
f07816aa13
2 changed files with 19 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/DnsServerCore/Dns/ZoneManagers/AuthZoneManager.cs b/DnsServerCore/Dns/ZoneManagers/AuthZoneManager.cs
|
||||
index 352ea6c0..41a9a1c7 100644
|
||||
--- a/DnsServerCore/Dns/ZoneManagers/AuthZoneManager.cs
|
||||
+++ b/DnsServerCore/Dns/ZoneManagers/AuthZoneManager.cs
|
||||
@@ -3536,7 +3536,7 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
}
|
||||
}
|
||||
|
||||
- return new DnsDatagram(request.Identifier, true, DnsOpcode.StandardQuery, true, false, request.RecursionDesired, isRecursionAllowed, false, false, rCode, request.Question, answer, authority, additional, udpPayloadSize: _dnsServer.UdpPayloadSize, options: eDnsOptions);
|
||||
+ return new DnsDatagram(request.Identifier, true, DnsOpcode.StandardQuery, true, false, request.RecursionDesired, isRecursionAllowed, false, false, rCode, request.Question, answer, authority, additional, _dnsServer.UdpPayloadSize, request.DnssecOk ? EDnsHeaderFlags.DNSSEC_OK : EDnsHeaderFlags.None, eDnsOptions);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -41,6 +41,12 @@ buildDotnetModule rec {
|
|||
libmsquic
|
||||
];
|
||||
|
||||
# Confirmed correct by upstream, remove when fixed in a release:
|
||||
# https://github.com/TechnitiumSoftware/DnsServer/issues/1967
|
||||
patches = [
|
||||
./dnssec-do-bit-fix.patch
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) technitium-dns-server;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue