Documentation ¶
Overview ¶
Package rfc2136 adapts the libdns RFC 2136 dynamic update DNS provider for Casket. Importing this package plugs it in.
Index ¶
Constants ¶
View Source
const ( EnvTSIGKey = envNamespace + "TSIG_KEY" EnvTSIGSecret = envNamespace + "TSIG_SECRET" EnvTSIGAlgorithm = envNamespace + "TSIG_ALGORITHM" EnvNameserver = envNamespace + "NAMESERVER" )
Variables ¶
This section is empty.
Functions ¶
func NewDNSProvider ¶
func NewDNSProvider(c *casket.Controller) (certmagic.ACMEDNSProvider, error)
NewDNSProvider returns a new RFC 2136 DNS challenge provider. The credentials are interpreted as follows:
len(0): use credentials from environment or configuration block len(4): credentials[0] = nameserver ------- credentials[1] = TSIG algorithm ------- credentials[2] = TSIG key ------- credentials[3] = TSIG secret
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.