Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSoaIfMissing ¶
func AddSoaIfMissing(dc *models.DomainConfig, defaultSoaValues SoaDefaults)
func AuditRecords ¶
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.
func ParseZoneContents ¶
func ParseZoneContents(dc *models.DomainConfig, content string, zonefileName string) (models.Records, error)
ParseZoneContents parses a string as a BIND zone and returns the records.
Types ¶
type SoaDefaults ¶
type SoaDefaults struct {
Ns string `json:"master"`
Mbox string `json:"mbox"`
Serial uint32 `json:"serial"`
Refresh uint32 `json:"refresh"`
Retry uint32 `json:"retry"`
Expire uint32 `json:"expire"`
Minttl uint32 `json:"minttl"`
// TTL isn't part of the SOA RDATA. It is a default applied to the SOA record's TTL itself.
TTL uint32 `json:"ttl,omitempty"`
}
SoaDefaults contains the parts of the default SOA settings.
func (SoaDefaults) String ¶
func (s SoaDefaults) String() string
Click to show internal directories.
Click to hide internal directories.