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
Click to show internal directories.
Click to hide internal directories.