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 PowerDNS.
dns.providers.powerdns
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": "powerdns",
"api_token": "POWERDNS_API_TOKEN",
"server_url": "https://your.powerdns.com",
"server_id": "localhost"
}
}
}
}
or with the Caddyfile:
# globally
{
acme_dns powerdns {
api_token POWERDNS_API_TOKEN
server_url https://your.powerdns.com
server_id localhost
}
}
# one site
tls {
dns powerdns {
api_token POWERDNS_API_TOKEN
server_url https://your.powerdns.com
server_id localhost
}
}