DEVELOPER INSTRUCTIONS:
- Update module name in go.mod
- Update dependencies to latest versions
- Update name and year in license
- Customize configuration and Caddyfile parsing
- Update godocs / comments (especially provider name and nuances)
- Update README and remove this section
This package contains a DNS provider module for Caddy. It can be used to manage DNS records with \tocadns.
dns.providers.tocadns
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": "tocadns",
"api_token": "YOUR_PROVIDER_API_TOKEN",
"api_host": "YOUR_API_HOST"
}
}
}
}
or with the Caddyfile:
# globally
{
acme_dns tocadns {
api_token YOUR_API_TOKEN
api_host YOUR API HOST
}
}
# one site
tls {
dns tocadns ...
}