package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev

# Functions

FirstLabel returns the first DNS label of hostname.
HasSuffix reports whether the provided name ends with the component(s) in suffix, ignoring any trailing or leading dots.
NumLabels returns the number of DNS labels in hostname.
SanitizeHostname turns hostname into a valid name label according to RFC 1035.
SanitizeLabel takes a string intended to be a DNS name label and turns it into a valid name label according to RFC 1035.
No description provided by the author
TrimCommonSuffixes returns hostname with some common suffixes removed.
TrimSuffix trims any trailing dots from a name and removes the suffix ending if present.

# Type aliases

A FQDN is a fully-qualified DNS name or name suffix.