2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-07-31 20:27:09 +00:00
|
|
|
|
2022-04-23 19:49:07 +00:00
|
|
|
//go:build !linux && !freebsd && !openbsd && !windows && !darwin
|
2020-07-31 20:27:09 +00:00
|
|
|
|
|
|
|
package dns
|
|
|
|
|
2021-04-02 06:26:52 +00:00
|
|
|
import "tailscale.com/types/logger"
|
|
|
|
|
2021-04-12 22:51:37 +00:00
|
|
|
func NewOSConfigurator(logger.Logf, string) (OSConfigurator, error) {
|
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
|
|
|
}
|