dns

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Package dns defines generic interfaces for managing DNS records.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordDeleteWriter

type RecordDeleteWriter interface {
	RecordDeleter
	RecordWriter
}

RecordDeleteWriter defines a DNS record deleter/writer.

type RecordDeleter

type RecordDeleter interface {
	DeleteRecords(fqdn, recType string) error
}

RecordDeleter defines a DNS record deleter.

type RecordManager

type RecordManager interface {
	RecordDeleter
	RecordReader
	RecordWriter
}

RecordManager defines a DNS record manager.

type RecordReader

type RecordReader interface {
	ReadRecords(fqdn, recType string) ([]string, time.Duration, error)
}

RecordReader defines a DNS record reader.

type RecordWriter

type RecordWriter interface {
	WriteRecords(fqdn, recType string, recs []string, ttl time.Duration,
		wait bool) error
}

RecordWriter defines a DNS record writer.

Directories

Path Synopsis
Package route53 implements a simple DNS record reader and writer using AWS Route 53.
Package route53 implements a simple DNS record reader and writer using AWS Route 53.

Jump to

Keyboard shortcuts

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