dns

package
v0.0.0-...-764ac46 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Service  string = "_minecraft"
	Protocol string = "_tcp"
	DnsName  string = `([a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62}){1}(\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*[\._]?$`
)

Variables

This section is empty.

Functions

func EnsureTrailingDot

func EnsureTrailingDot(hostname string) string

func IsDnsName

func IsDnsName(name string) bool

func JoinARecordName

func JoinARecordName(domain, podName string) string

func JoinSrvRR

func JoinSrvRR(srvRecordName string, port uint16, priority int, weight int, aRecordName string) string

func JoinSrvRecordName

func JoinSrvRecordName(domain, podName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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