This package contains a DNS provider module for Caddy. It can be used to manage DNS records with ParsPack.
dns.providers.parspack
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": "parspack",
"api_token": "YOUR_PARSPACK_API_TOKEN"
}
}
}
}or with the Caddyfile:
# globally
{
acme_dns parspack {$PARSPACK_API_TOKEN}
}
# one site
tls {
dns parspack {$PARSPACK_API_TOKEN}
}
- Parspack doesn't accept all TTL values, you probably need to set a specific TTL value like this:
tls {
dns parspack {$PARSPACK_API_TOKEN}
dns_ttl 1s
}