diff --git a/DnsServerCore/DnsWebService.cs b/DnsServerCore/DnsWebService.cs index 814833cd..7af40515 100644 --- a/DnsServerCore/DnsWebService.cs +++ b/DnsServerCore/DnsWebService.cs @@ -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 {