package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Packages

Package publicdns contains mapping and helpers for working with public DNS providers.
Package recursive implements a simple recursive DNS resolver.
Package resolvconffile parses & serializes /etc/resolv.conf-style files.
Package resolver implements a stub DNS resolver that can also serve records out of an internal local zone.

# Functions

CleanUp restores the system DNS configuration to its original state in case the Tailscale daemon terminated without closing the router.
NewManagers created a new manager from the given config.
No description provided by the author
NewOSConfigurator created a new OS configurator.

# Variables

ErrGetBaseConfigNotSupported is the error OSConfigurator.GetBaseConfig returns when the OSConfigurator doesn't support reading the underlying configuration out of the OS.

# Structs

Config is a DNS configuration.
HostEntry represents a single line in the OS's hosts file.
Manager manages system DNS settings.
OSConfig is an OS DNS configuration.

# Interfaces

An OSConfigurator applies DNS settings to the operating system.