Log effective search domains
This commit is contained in:
parent
4e77f5b6b3
commit
3a38b0da15
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue