Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 944 Bytes

README.md

File metadata and controls

54 lines (43 loc) · 944 Bytes

ParsPack module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with ParsPack.

Caddy module name

dns.providers.parspack

Config examples

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}
}

Notes

  • 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
}