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.
|
|
|
|
|
2022-04-23 19:49:07 +00:00
|
|
|
//go:build !linux && !freebsd && !openbsd && !windows && !darwin
|
|
|
|
// +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
|
|
|
}
|