Documentation ¶
Overview ¶
Package rfc2136 adapts the lego RFC 2136 dynamic update DNS 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 RFC 2136 DNS challenge provider. The credentials are interpreted as follows:
len(0): use credentials from environment len(4): credentials[0] = nameserver
credentials[1] = TSIG algorithm credentials[2] = TSIG key credentials[3] = TSIG secret DNS propagation timeout uses default from github.com/xenolf/lego/providers/dns/rfc2136 (60s)
len(5): credentials[0] = nameserver
credentials[1] = TSIG algorithm credentials[2] = TSIG key credentials[3] = TSIG secret credentials[4] = DNS propagation timeout
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.