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:
tls {
dns dnspodcn APP_ID APP_TOKEN
}
json
example:
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"Language": "en",
"BaseURL": "https://dnsapi.cn",
"name": "dnspodcn",
"AppID": "APP_ID",
"AppToken": "APP_TOKEN"
}
}
}
}
APP_ID
: API ID.APP_TOKEN
: API TOKEN.