dns

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxLabelLength = 63

MaxLabelLength is the maximum length for a name that can be used in DNS.

Variables

View Source
var InvalidNameRe = regexp.MustCompile(`[^A-Za-z0-9\\-]+`)

InvalidNameRe is a regex that matches characters which can not be included in a DNS name.

Functions

This section is empty.

Types

type RecursorStrategy added in v1.11.0

type RecursorStrategy string
const (
	RecursorStrategySequential RecursorStrategy = "sequential"
	RecursorStrategyRandom     RecursorStrategy = "random"
)

func (RecursorStrategy) Indexes added in v1.11.0

func (s RecursorStrategy) Indexes(max int) []int

Jump to

Keyboard shortcuts

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