Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.87 KB

README.md

File metadata and controls

56 lines (44 loc) · 1.87 KB

Caddy2 DNSPod.cn DNS Provider Module

Build Status Coverage Status Go.Dev reference Go Report Card Release Downloads Chat Community

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.