mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
caddytls: Add propagation_delay
, support propagation_timeout -1
(#4723)
This commit is contained in:
parent
db62942d63
commit
77a77c0219
5 changed files with 60 additions and 11 deletions
|
@ -363,7 +363,13 @@ type DNSChallengeConfig struct {
|
|||
// The TTL of the TXT record used for the DNS challenge.
|
||||
TTL caddy.Duration `json:"ttl,omitempty"`
|
||||
|
||||
// How long to wait for DNS record to propagate.
|
||||
// How long to wait before starting propagation checks.
|
||||
// Default: 0 (no wait).
|
||||
PropagationDelay caddy.Duration `json:"propagation_delay,omitempty"`
|
||||
|
||||
// Maximum time to wait for temporary DNS record to appear.
|
||||
// Set to -1 to disable propagation checks.
|
||||
// Default: 2 minutes.
|
||||
PropagationTimeout caddy.Duration `json:"propagation_timeout,omitempty"`
|
||||
|
||||
// Custom DNS resolvers to prefer over system/built-in defaults.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue