From 3a38b0da15282214dbd676dad5691256fc6eae74 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 25 Oct 2019 19:08:34 +0200 Subject: [PATCH] Log effective search domains --- .../Protocols/OpenVPN/AppExtension/OpenVPNTunnelProvider.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/TunnelKit/Sources/Protocols/OpenVPN/AppExtension/OpenVPNTunnelProvider.swift b/TunnelKit/Sources/Protocols/OpenVPN/AppExtension/OpenVPNTunnelProvider.swift index 353c87e..de9666b 100644 --- a/TunnelKit/Sources/Protocols/OpenVPN/AppExtension/OpenVPNTunnelProvider.swift +++ b/TunnelKit/Sources/Protocols/OpenVPN/AppExtension/OpenVPNTunnelProvider.swift @@ -653,6 +653,7 @@ extension OpenVPNTunnelProvider: OpenVPNSessionDelegate { dnsSettings.matchDomains = [""] } if let searchDomains = cfg.sessionConfiguration.searchDomains ?? options.searchDomains { + log.info("DNS: Using search domains \(searchDomains.maskedDescription)") dnsSettings.domainName = searchDomains.first dnsSettings.searchDomains = searchDomains if !isGateway {