BUG/MEDIUM: acme: match DNS challenges against all TXT records
A certificate covering a domain and its wildcard requires two dns-01 TXT
values at the same _acme-challenge name. The DNS parser retains both
records, but the ACME resolver callback only copied the first one. With
challenge-ready dns, one authorization could therefore never match its
expected value and renewal would time out.
Copy all TXT records into an owned singly linked list in one response-tree
traversal, using istdup() for each value. Match each challenge against any
entry and free the complete list on replacement, allocation failure, and
resolver teardown. Keep successful empty-list responses valid as before
and leave CLI readiness unchanged.
This should be backported to 3.4, where the DNS propagation pre-check was
introduced by
631fd5f99b.