rfc2136

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2018 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL