package
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 30, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Caddy2 DNSPod.cn DNS Provider Module

Usage
Install xcaddy
$ go get -u github.com/caddyserver/xcaddy/cmd/xcaddy
Rebuild caddy with dnspodcn module
$ xcaddy build --with clevergo.tech/caddy-dnspodcn
Configuration
Caddyfile example:
## defines a dnspodcn snippet
(dnspodcn) {
dns dnspodcn APP_ID APP_TOKEN
}
domain.tld {
tls {
# imports dnspodcn setting.
import dnspodcn
}
}
APP_ID: API ID.
APP_TOKEN: API TOKEN.
Documentation
¶
Module wraps dnspodcn.Provider.
CaddyModule returns the Caddy module information.
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
dnspodcn [<app_id> <app_token>] {
app_id <app_id>
app_token <app_token>
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.