Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultZoneResolver ¶
DefaultZoneResolver determines the authoritative zone for the given fqdn by recursing up the domain labels until the nameserver returns a SOA record in the answer section.
Types ¶
type Challenge ¶
type Challenge struct { EncodedKeyAuth string // encoded key authorization value FQDN string // FQDN we want to verify }
Challenge holds information about an ACME challenge.
type Provider ¶
type Provider interface { Present(ctx context.Context, c Challenge) error Cleanup(ctx context.Context, c Challenge) error Underlying() interface { libdns.RecordGetter libdns.RecordAppender libdns.RecordSetter libdns.RecordDeleter } }
Provider calls the DNS provider API
func NewProvider ¶
func NewProvider(p libdnsfactory.Provider, resolver ZoneResolver) (Provider, error)
NewProvider creates a new provider
func NewProviderFromConfig ¶
func NewProviderFromConfig(cfg *config.Provider, resolver ZoneResolver) (Provider, error)
NewProviderFromConfig creates a new provider from a config.Provider instance
type ZoneResolver ¶
ZoneResolver resolve the zone from an FQDN
Click to show internal directories.
Click to hide internal directories.