Add FIXME for default DNS from network interface
This commit is contained in:
parent
b199064b94
commit
233aa02169
@ -564,6 +564,7 @@ extension TunnelKitProvider: SessionProxyDelegate {
|
||||
if dnsServers?.isEmpty ?? true {
|
||||
dnsServers = reply.options.dnsServers
|
||||
}
|
||||
// FIXME: default to DNS servers from current network instead
|
||||
let dnsSettings = NEDNSSettings(servers: dnsServers ?? [])
|
||||
if let searchDomain = cfg.sessionConfiguration.searchDomain ?? reply.options.searchDomain {
|
||||
dnsSettings.domainName = searchDomain
|
||||
|
Loading…
Reference in New Issue
Block a user