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"}
RWTHDefaultNs is the default DNS NS for this provider.
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.
func New ¶
func New(settings map[string]string, _ json.RawMessage) (providers.DNSServiceProvider, error)
New allocates a DNS service provider.
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"`
}
RecordReply represents a DNS Record in an API.
Click to show internal directories.
Click to hide internal directories.