fallbacknames

package
v1.106.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: BSD-3-Clause Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fallbacknames defines which hostnames the DERP-based fallback DNS mechanism (net/dnsfallback and the DERP server's /bootstrap-dns handler) is allowed to resolve.

It's a leaf package so that both clients and cmd/derper can share the policy without depending on each other.

We're slowly removing the DERP-based fallback DNS mechanism entirely in favor of caching earlier DNS results on disk (feature/dnsresolvecache). This set of names may shrink over time but must not grow. See https://github.com/tailscale/tailscale/issues/21028.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTailscaleHost

func IsTailscaleHost(host string) bool

IsTailscaleHost reports whether host is one of Tailscale's own hostnames, the only names the DERP-based fallback DNS resolves.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL