Increase 'just because' sleep to 60s
@@ -13,14 +13,14 @@ func (c *certManager) preCheckDNS(fqdn, value string) (bool, error) {
// default record verification in the client library makes sure the authoritative nameservers
// have the expected records.
// Sometimes the Let's Encrypt verification fails anyway because records have not propagated the provider's network fully.
- // So we add an additional 20 second sleep just for safety.
+ // So we add an additional 60 second sleep just for safety.
v, err := acmePreCheck(fqdn, value)
if err != nil {
return v, err
}
if !c.waitedOnce {
- log.Printf("DNS ok. Waiting another 20s to ensure stability.")
- time.Sleep(20 * time.Second)
+ log.Printf("DNS ok. Waiting another 60s to ensure stability.")
+ time.Sleep(60 * time.Second)
c.waitedOnce = true
}
log.Printf("DNS records seem to exist. Proceeding to request validation")
