challange is called multiple times for the same doamin #29
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I have implemented a custom dns challenge.
But somehow, the challenge is called multiple times for the same domain.
What may be the reason for that?
Thanks
i can see in the logs the message
waitChallengeDelay 500
its happening in case it takes time to satisfied the dns challenge so i implement in the dns challenge handler a mechanism that query for the txt record and invoke the callback only after the TXT record returned successfully (sometimes it may take a few minutes).What is the best practice here? what should i do if it takes time to the TXT record to be returned in a dns lookup call?
Sorry for the late response.
The first challenge that you'll see is actually the dry-run. The second is the real one, if the dry-run succeeds.
In your DNS-01 handlers you should do whatever is necessary to verify the DNS record before calling the callback.
You'll also want to make sure that your DNS isn't set up to cache DNS misses.
I'm going to close this out, but please re-open if you still need help.