Documentation ¶
Overview ¶
Package pdns adapts the libdns PowerDNS provider for Casket. Importing this package plugs it in.
Index ¶
Constants ¶
View Source
const ( EnvAPIKey = envNamespace + "API_KEY" EnvAPIURL = envNamespace + "API_URL" EnvServerID = envNamespace + "SERVER_ID" )
Variables ¶
This section is empty.
Functions ¶
func NewDNSProvider ¶
func NewDNSProvider(c *casket.Controller) (certmagic.ACMEDNSProvider, error)
NewDNSProvider returns a new PowerDNS challenge provider. The credentials are interpreted as follows:
len(0): use credentials from environment or configuration block len(2): credentials[0] = PowerDNS API URL, ------- credentials[1] = PowerDNS API key len(3): credentials[0] = PowerDNS API URL, ------- credentials[1] = PowerDNS API key ------- credentials[2] = PowerDNS server id (if empty, defaults to localhost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.