TXT record is not found by LE #1798
Replies: 1 comment 27 replies
-
Hello, Lego and LE don't use the same DNS servers because LE doesn't communicate publically on the DNS servers they use. The DNS propagation can be very very long with some DNS providers, but we check the propagation of the TXT record and if the domain doesn't exist the check will stop before the end of the propagation check. The A bit off-topic but I recommend using CNAME instead of asking for the DNS credentials of your customers. |
Beta Was this translation helpful? Give feedback.
-
We provide a service that orders certificates from LE.
We use Lego library, DNS-01 challenges.
A customer creates a config with his DNS provider credentials and we make everything for him.
Our code implements functions Present, CleanUp, it adds/removes the TXT record through DNS provider API
Usually everything works, we have a lot of customers.
Recently orders started failing for one specific customer, he uses Softlayer DNS provider.
In our log, I can see that a challenge was set, but when Lego calls LE it returns the error
"acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.logs-epfp01-00465.qradar.ibmcloud.com - check that a DNS record exists for this domain"
.We increased the polling interval to wait between the set challenge and validation to 10 minutes for case of slow propagation. The customer complains that 7 of 15 orders still fail.
Please help to understand what is the issue.
Does Lego poll both authoritative DNS servers?
What can be a reason that Lego finds TXT record and LE not?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions