rwth

package
v3.18.2-dev3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RWTHDefaultNs = []string{"dns-1.dfn.de", "dns-2.dfn.de", "zs1.rz.rwth-aachen.de", "zs2.rz.rwth-aachen.de"}

Functions

func AuditRecords

func AuditRecords(records []*models.RecordConfig) error

AuditRecords returns an error if any records are not supportable by this provider.

func New

func NewRR

func NewRR(s string) (dns.RR, error)

NewRR returns custom dns.NewRR with RWTH default TTL

func ReadRR

func ReadRR(r io.Reader) (dns.RR, error)

Types

type RecordReply

type RecordReply struct {
	ID        int       `json:"id"`
	ZoneID    int       `json:"zone_id"`
	Type      string    `json:"type"`
	Content   string    `json:"content"`
	Status    string    `json:"status"`
	UpdatedAt time.Time `json:"updated_at"`
	Editable  bool      `json:"editable"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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