Documentation
¶
Overview ¶
Package nameocean is a Caddy module, dns.providers.nameocean, for NameOcean DNS (https://nameocean.net/dns/). With it Caddy can solve ACME DNS-01 challenges (wildcard certificates) on zones hosted at NameOcean.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{ *libdnsnameocean.Provider }
Provider lets Caddy read and manipulate DNS records hosted by NameOcean.
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Provider) Provision ¶
Provision replaces placeholders such as {env.NAMEOCEAN_API_KEY} in the configuration. Implements caddy.Provisioner.
func (*Provider) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
nameocean [<api_key>] {
api_key <api_key>
base_url <url>
}
Without an API key the NAMEOCEAN_API_KEY environment variable is used.