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"
|
|
|
|
|
|
|
|
func newManager(logger.Logf, string) managerImpl {
|
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-02 06:26:52 +00:00
|
|
|
return newNoopManager()
|
2020-07-31 20:27:09 +00:00
|
|
|
}
|