mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-03 21:27:37 +03:00
Fix system dns is ignored if bootstrap resolver is empty. Fix default bootstrap resolver is not used if bootstrap resolver is empty.
Fix system dns is ignored if bootstrap resolver is empty. Fix default bootstrap resolver is not used if bootstrap resolver is empty.
This commit is contained in:
parent
b2e74ca1d0
commit
95f37cbfdf
1 changed files with 2 additions and 2 deletions
|
@ -396,9 +396,9 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
|
|||
return fmt.Errorf("Bootstrap resolver [%v]: %v", resolver, err)
|
||||
}
|
||||
}
|
||||
proxy.xTransport.ignoreSystemDNS = config.IgnoreSystemDNS
|
||||
proxy.xTransport.bootstrapResolvers = config.BootstrapResolvers
|
||||
}
|
||||
proxy.xTransport.bootstrapResolvers = config.BootstrapResolvers
|
||||
proxy.xTransport.ignoreSystemDNS = config.IgnoreSystemDNS
|
||||
proxy.xTransport.useIPv4 = config.SourceIPv4
|
||||
proxy.xTransport.useIPv6 = config.SourceIPv6
|
||||
proxy.xTransport.keepAlive = time.Duration(config.KeepAlive) * time.Second
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue