How to use DNS provider modules in Caddy 2 — by matt (Matt Holt) on Caddy Community
Community wiki on adding a DNS provider module to Caddy (via the download page or xcaddy) and enabling the ACME DNS challenge globally with acme_dns or per site in a tls block. Needed for wildcard certificates.
Quick steps
- Get a Caddy build including your provider (download page or xcaddy build --with github.com/caddy-dns/...)
- Enable via acme_dns <provider> globally or dns <provider> inside tls
- Use {env.*} placeholders for credentials
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: How to use DNS provider modules in Caddy 2 by matt (Matt Holt) on Caddy Community. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me