]> git.kaiwu.me - haproxy.git/commit
MINOR: acme: extend resolver-based DNS pre-check to dns-persist-01
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 16:44:11 +0000 (18:44 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 16:45:08 +0000 (18:45 +0200)
commit39476040ecd0b928fd7d25f326d08c6b0e444079
treef6013e95c6f8871581e388411848116328662a4f
parent0d3689959d933146af882f8697d9304c8e5f6a48
MINOR: acme: extend resolver-based DNS pre-check to dns-persist-01

Add challenge_type parameter to acme_rslv_start() to select the correct
DNS lookup prefix: _validation-persist.<domain> for dns-persist-01 and
_acme-challenge.<domain> for dns-01.

Default cond_ready to ACME_RDY_DNS|ACME_RDY_DELAY for dns-persist-01.
Extend ACME_CLI_WAIT to cover dns-persist-01 alongside dns-01.

In ACME_RSLV_READY, check only TXT record existence for dns-persist-01
since the resolver cannot parse multiple strings within a single TXT entry.
include/haproxy/acme_resolvers.h
src/acme.c
src/acme_resolvers.c