Documentation ¶
Overview ¶
Package dns defines the DNS service backend interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { // Get a record via a DNS backend Get(domain, name string, typ RType) (string, error) // Upsert a record into a DNS backend Upsert(domain, name, data string, typ RType) error // DefaultDomainName returns the default domain name DefaultDomainName() string // DefaultRecordName returns the default record name DefaultRecordName() string // DefaultRecordTTL returns the default record ttl DefaultRecordTTL() int // AccessKey provides a method to set an API access key AccessKey(string) // SecretKey provides a method to set an API secret key SecretKey(string) }
Backend defines the DNS registry backend interface
Click to show internal directories.
Click to hide internal directories.