mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 18:21:00 +00:00
net/dns: disable NetworkManager and resolved configurators temporarily.
They need some rework to do the right thing, in the meantime the direct and resolvconf managers will work out. The resolved implementation was never selected due to control-side settings. The networkmanager implementation mostly doesn't get selected due to unforeseen interactions with `resolvconf` on many platforms. Both implementations also need rework to support the various routing modes they're capable of. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
befd8e4e68
commit
a39d2403bc
@ -8,10 +8,11 @@ import "tailscale.com/types/logger"
|
||||
|
||||
func newManager(logf logger.Logf, interfaceName string) OSConfigurator {
|
||||
switch {
|
||||
case isResolvedActive():
|
||||
return newResolvedManager()
|
||||
case isNMActive():
|
||||
return newNMManager(interfaceName)
|
||||
// TODO: rework NetworkManager and resolved support.
|
||||
// case isResolvedActive():
|
||||
// return newResolvedManager()
|
||||
// case isNMActive():
|
||||
// return newNMManager(interfaceName)
|
||||
case isResolvconfActive():
|
||||
return newResolvconfManager(logf)
|
||||
default:
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
// +build linux
|
||||
|
||||
//lint:file-ignore U1000 refactoring, temporarily unused code.
|
||||
|
||||
package dns
|
||||
|
||||
import (
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
// +build linux
|
||||
|
||||
//lint:file-ignore U1000 refactoring, temporarily unused code.
|
||||
|
||||
package dns
|
||||
|
||||
import (
|
||||
|
Loading…
x
Reference in New Issue
Block a user