This package provides a DNS provider module for Caddy. It allows you to manage DNS records with ClouDNS.
dns.providers.cloudns
To install this module, add it to your Caddy configuration.
To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:
{
"apps": {
"tls": {
"automation": {
"policies": [
{
"issuers": [
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"name": "cloudns",
"auth_id": "CLOUDNS_AUTH_ID",
"sub_auth_id": "CLOUDNS_SUB_AUTH_ID",
"auth_password": "CLOUDNS_AUTH_PASSWORD"
}
}
}
}
]
}
]
}
}
}
}
You can also configure the module using the Caddyfile.
{
acme_dns cloudns {
auth_id "<auth_id>"
sub_auth_id "<sub_auth_id>"
auth_password "<auth_password>"
}
}
tls {
dns cloudns {
auth_id "<auth_id>"
sub_auth_id "<sub_auth_id>"
auth_password "<auth_password>"
}
}
You can also set the following environment variables to configure the module:
CLOUDNS_AUTH_ID
CLOUDNS_SUB_AUTH_ID
CLOUDNS_AUTH_PASSWORD
This project is licensed under the MIT License. See the LICENSE
file for details.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.