Documentation ¶
Overview ¶
Package pdns adapts the lego PowerDNS provider for Caddy. Importing this package plugs it in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDNSProvider ¶
func NewDNSProvider(credentials ...string) (caddytls.ChallengeProvider, error)
NewDNSProvider returns a new PowerDNS challenge provider. The credentials are interpreted as follows:
len(0): use credentials from environment len(2): credentials[0] = pdns API URL, credentials[1] = pdns API key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.