mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-20 09:57:31 +00:00
wgengine: move DNS configuration out of wgengine/router.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
7183e1f052
commit
4c61ebacf4
@@ -8,9 +8,9 @@ package dns
|
||||
|
||||
import "tailscale.com/types/logger"
|
||||
|
||||
func newManager(logger.Logf, string) OSConfigurator {
|
||||
func NewOSConfigurator(logger.Logf, string) OSConfigurator {
|
||||
// TODO(dmytro): on darwin, we should use a macOS-specific method such as scutil.
|
||||
// This is currently not implemented. Editing /etc/resolv.conf does not work,
|
||||
// as most applications use the system resolver, which disregards it.
|
||||
return newNoopManager()
|
||||
return NewNoopManager()
|
||||
}
|
||||
|
Reference in New Issue
Block a user