TUN-1522: If we can't get SRV from default resolver, get them from 1.1.1.1 DoT

This commit is contained in:
Nick Vollmar
2019-03-07 21:12:24 -05:00
parent b02718f86b
commit d22e214000
3 changed files with 66 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ func StartTunnelDaemon(config *TunnelConfig, shutdownC <-chan struct{}, connecte
if config.HAConnections > 1 {
return NewSupervisor(config).Run(ctx, connectedSignal, u)
} else {
addrs, err := ResolveEdgeIPs(config.EdgeAddrs)
addrs, err := ResolveEdgeIPs(config.Logger, config.EdgeAddrs)
if err != nil {
return err
}