This package contains a DNS provider module for Caddy. It can be used to manage DNS records with google clouddns.
dns.provider.clouddns
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": "clouddns",
"json_key_file": "path to json key file",
"project": "project name"
}
}
}
}
or with the Caddyfile:
# globally
{
acme_dns clouddns {
json_key_file {env.GOOGLE_APPLICATION_CREDENTIALS}
project {env.PROJECT_ID}
}
}
# one site
tls {
dns clouddns {
json_key_file {env.GOOGLE_APPLICATION_CREDENTIALS}
project {env.PROJECT_ID}
}
}