Documentation
¶
Overview ¶
Package dode implements a DNS record management client compatible with the libdns interfaces for do.de. Unfortunately, the do.de API only supports creating and removing TXT records for domains starting with `_acme-challenge.`
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type Provider ¶
type Provider struct { // API token for do.de API APIToken string `json:"api_token,omitempty"` }
Provider facilitates DNS record manipulation with do.de.
func (*Provider) AppendRecords ¶
func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
AppendRecords adds records to the zone. It returns the records that were added.
The do.de API only supports creating TXT records that start with `_acme-challenge.`.
func (*Provider) DeleteRecords ¶
func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
DeleteRecords deletes the records from the zone. It returns the records that were deleted.
The do.de API only supports deleting TXT records that start with `_acme-challenge.`.
Click to show internal directories.
Click to hide internal directories.