mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-03-04 12:44:32 +00:00
DnsServer: updated PrepareRecursiveResolveResponse() to handle ANY response correctly.
This commit is contained in:
@@ -2431,7 +2431,7 @@ namespace DnsServerCore.Dns
|
||||
IReadOnlyList<DnsResourceRecord> additional = response.Additional;
|
||||
|
||||
//answer section checks
|
||||
if (!dnssecOk && (answer.Count > 0))
|
||||
if (!dnssecOk && (answer.Count > 0) && (response.Question[0].Type != DnsResourceRecordType.ANY))
|
||||
{
|
||||
//remove RRSIGs from answer
|
||||
bool foundRRSIG = false;
|
||||
|
||||
Reference in New Issue
Block a user