net/dns: replace managerImpl with OSConfigurator in code.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-04-02 02:17:50 -07:00
parent 077d4dc8c7
commit befd8e4e68
12 changed files with 49 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ package dns
import "tailscale.com/types/logger"
func newManager(logger.Logf, string) managerImpl {
func newManager(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.