msdns

package
v3.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 20 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 an error if any records are not supportable by this provider.

func PrepDesiredRecords

func PrepDesiredRecords(dc *models.DomainConfig)

PrepDesiredRecords munges any records to best suit this provider.

func PrepFoundRecords

func PrepFoundRecords(recs models.Records) models.Records

PrepFoundRecords munges any records to make them compatible with this provider. Usually this is a no-op.

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
}

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