challange is called multiple times for the same doamin #29

已關閉
建立於 2019-01-07 10:18:46 +00:00 由 Ghost · 2 comment

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

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?

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.

  • Update via DNS provider's API
  • Verify via DNS provider's API
  • Wait some amount of time for propagation
  • Query via DNS

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.

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. * Update via DNS provider's API * Verify via DNS provider's API * Wait some amount of time for propagation * Query via DNS 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.
coolaj86 關閉了這個問題 2019-02-05 05:09:21 +00:00
登入 才能加入這對話。
未選擇標籤
2 參與者
通知
截止日期
未設定截止日期。
先決條件

未設定先決條件。

參考: coolaj86/greenlock.js-ARCHIVED#29
No description provided.