I have been using wildcard certificates with the DNS challenge for many months, and it works well for my use case. My Caddyfile is mostly based on the pattern described in the docs, with handle directives nested inside a site block.
According to the latest release notes (version 2.10.0) it should now be possible to use wildcard certificates without the nested handle directives. It’s not very clear to me, though, what the new Caddyfile should look like.
Could someone maybe provide a simple example of the new pattern when using a DNS challenge inside the global options block?