DnsServer: updated PostProcessQueryAsync() to return response without EDNS when request does not have EDNS.

This commit is contained in:
Shreyas Zare
2022-11-12 17:19:43 +05:30
parent 7c42ed0afe
commit e36fb906da

View File

@@ -1099,7 +1099,12 @@ namespace DnsServerCore.Dns
}
if (request.EDNS is null)
{
if (response.EDNS is not null)
response = response.CloneWithoutEDns();
return response;
}
if (response.EDNS is not null)
return response;