Documentation
¶
Overview ¶
Package noderings is a Caddy module for NodeRings DNS. It lets Caddy solve ACME DNS-01 challenges (for example wildcard certificates) and manage records in zones hosted on NodeRings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider lets Caddy read and manipulate DNS records hosted by NodeRings.
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Provider) Provision ¶
Provision replaces placeholders such as {env.NODERINGS_API_TOKEN} in the configuration. Implements caddy.Provisioner.
func (*Provider) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
noderings [<api_token>] {
api_token <api_token>
organization_id <organization_id>
base_url <base_url>
}
The API token defaults to $NODERINGS_API_TOKEN when it is not given.