nameserver

package
v0.0.0-...-8b9ae9f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindV4 = RecordKind("A")
	KindV6 = RecordKind("AAAA")
)

Variables

This section is empty.

Functions

func IsPermanentClientError

func IsPermanentClientError(err error) bool

Types

type Nameserver

type Nameserver interface {
	UpdateRecord(record Record) error
}

func New

func New(cfg config.Nameserver) (Nameserver, error)

type Record

type Record struct {
	Zone   string
	Domain string
	Kind   RecordKind
	IP     net.IP
}

type RecordKind

type RecordKind string

Jump to

Keyboard shortcuts

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