msdns

package
v4.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditRecords

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

AuditRecords returns a list of errors corresponding to the records that aren't supported by this provider. If all records are supported, an empty list is returned.

Types

type DNSAccessor

type DNSAccessor interface {
	Exit()
	GetDNSServerZoneAll(dnsserver string) ([]string, error)
	GetDNSZoneRecords(dnsserver, domain string) ([]nativeRecord, error)
	RecordCreate(dnsserver, domain string, rec *models.RecordConfig) error
	RecordDelete(dnsserver, domain string, rec *models.RecordConfig) error
	RecordModify(dnsserver, domain string, old, rec *models.RecordConfig) error
	RecordModifyTTL(dnsserver, domain string, old *models.RecordConfig, newTTL uint32) error
}

DNSAccessor describes a system that can access Microsoft DNS.

Jump to

Keyboard shortcuts

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