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