mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-02-24 08:46:28 +00:00
DnsWebService: Updated ResolveQueryAsync() to avoid resolving domain name for name server for TLS and HTTPS transport protocols.
This commit is contained in:
@@ -3487,7 +3487,7 @@ namespace DnsServerCore
|
||||
if (proxy is null)
|
||||
await nameServer.ResolveIPAddressAsync(_dnsServer, _dnsServer.PreferIPv6);
|
||||
}
|
||||
else if (protocol != DnsTransportProtocol.Tls)
|
||||
else if ((nameServer.DomainEndPoint is null) && ((protocol == DnsTransportProtocol.Udp) || (protocol == DnsTransportProtocol.Tcp)))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user