mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-02-28 18:55:15 +00:00
DnsServer: updated PostProcessQueryAsync() to return response without EDNS when request does not have EDNS.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user