msdns

package
v3.31.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditRecords added in v3.8.0

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