Open Sohalt opened 2 years ago
(specifically, if there is already a TXT record of that name; multiple TXT records should be supported.)
Thanks for the heads up. I'll take a closer look at the issue this weekend.
I have a PR while I do some final testing. I should have this merged and tagged shortly.
Hello @Sohalt. Could you confirm that you are requesting the certs doing something like this? I would like to verify I'm performing the correct test on this change. Thanks!
*.example.com foo.example.com {
tls {
dns googleclouddns {
gcp_project my-gcp-project
}
}
file_server * {
root /var/www
}
log {
output file /tmp/caddy.log
format console
}
}
I think my issue turns up with *. example.com
and example.com
, not foo.example.com
.
^ Right -- ACME uses the same parent domain for a challenge for its wildcard and the parent domain itself; i.e. you'll want to use *.example.com
and example.com
. (Though you don't necessarily need to use an ACME challenge to test this either. Just set multiple TXT records with the same name.)
Thanks for working on this, @brockwood ! :D
Thank you both for the info, it is greatly appreciated. :heart:
Thanks for sticking with this @Sohalt. The latest version of the caddy-dns
module has been tagged. Please give it a try and let me know if that fixes it for you.
Appending a TXT record as done e.g. by the https://github.com/caddy-dns/googleclouddns plugin fails (cf. https://github.com/caddyserver/caddy/issues/5093)