2020-07-31 20:27:09 +00:00
|
|
|
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// +build !linux,!freebsd,!openbsd,!windows
|
|
|
|
|
|
|
|
package dns
|
|
|
|
|
2021-04-02 06:26:52 +00:00
|
|
|
import "tailscale.com/types/logger"
|
|
|
|
|
2021-04-03 02:24:02 +00:00
|
|
|
func NewOSConfigurator(logger.Logf, string) OSConfigurator {
|
2020-07-31 20:27:09 +00:00
|
|
|
// 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.
|
2021-04-03 02:24:02 +00:00
|
|
|
return NewNoopManager()
|
2020-07-31 20:27:09 +00:00
|
|
|
}
|