Skip to content

razonyang/caddy-dnspodcn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.