Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.03 KB

README.md

File metadata and controls

55 lines (46 loc) · 1.03 KB

ClouDNS module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with ClouDNS.

Caddy module name

dns.providers.cloudns

Config examples

To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:

{
	"module": "acme",
	"challenges": {
		"dns": {
			"provider": {
				"name": "cloudns",
				"auth_id": "CLOUDNS_AUTH_ID",
                // or sub auth id
                "sub_auth_id": "CLOUDNS_SUB_AUTH_ID",
				"auth_password": "CLOUDNS_AUTH_PASSWORD"
			}
		}
	}
}

or with the Caddyfile:

# globally
{
	acme_dns cloudns {
        auth_id "<auth_id>"
	    sub_auth_id "<sub_auth_id>"
	    auth_password "<auth_password>"
	}
}
# one site
tls {
	dns cloudns {
        auth_id "<auth_id>"
	    sub_auth_id "<sub_auth_id>"
	    auth_password "<auth_password>"
	}
}