BUG/MEDIUM: lua: handle apex and wildcard challenges in Gandi example
The Gandi deployment callback acknowledges wildcard authorizations using
the base domain and overwrites the TXT RRset with one token at a time. A
certificate covering both identifiers can therefore lose a required
token or leave its wildcard authorization waiting.
Accumulate tokens per certificate and base domain, publish the complete
list, and serialize yielding PUTs with a queue-backed lock. Release the
lock on HTTP errors and acknowledge wildcard authorizations using their
literal *.domain identifier. Remove the pre-publication DELETE and skip
cleanup for records that were never deployed.
The example remains dependency-free. Its existing ownership limitation
is unchanged: publication replaces unrelated TXT values and cleanup
removes the whole RRset.
No backport is needed: the Gandi example was introduced in 3.5 by
d2c9bf70e5 ("EXAMPLES: lua/acme: add a dns-01 handler for Gandi LiveDNS
API"). It requires the preceding wildcard readiness API fix.