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