]> git.kaiwu.me - haproxy.git/commit
MINOR: acme: add 'dns-timeout' keyword for dns-01 challenge
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 1 Apr 2026 16:30:06 +0000 (18:30 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 1 Apr 2026 16:56:13 +0000 (18:56 +0200)
commit7f6999b76495965c7ae44d45b0c18caa8d98da56
treee6344d97a86c19f8dd5a11fdc291b4dea3df771b
parentc49facbabee5c845a713cb7e19d3653e66acb4af
MINOR: acme: add 'dns-timeout' keyword for dns-01 challenge

When using the dns-01 challenge method with "challenge-ready dns", HAProxy
retries DNS resolution indefinitely at the interval set by "dns-delay". This
adds a "dns-timeout" keyword to set a maximum duration for the DNS check phase
(default: 600s). If the next resolution attempt would be scheduled beyond that
deadline, the renewal is aborted with an explicit error message.

A new "dnsstarttime" field is stored in the acme_ctx to record when DNS
resolution began, used to evaluate the timeout on each retry.
doc/configuration.txt
include/haproxy/acme-t.h
src/acme.c