Failed authorization procedure. api.xxx.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: query timed out looking up A for api.xxx.com
Yesterday I had successfully enabled two domains in the server,but today I am not able to acquire the rest domains ssl certs .
Does connecting time out? Does it have IPv6? A firewall? Does it block foreign IP addresses?
[Edit: On second thought, my questions were wrongheaded, but we still need more information]
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
I had this problem. In my case the server was not able to connect due to a NAT error.
I had to reconfigure NAT to forward port 443 to my server. The external DNS was pointing to the wrong IP.(it somehow changed).
So, be sure your server is reachable by the letsencrypt server at port 443.
Thanks for contributing @dasmoscas! I think the original poster probably has a different problem, because it is described as a “DNS problem,” which means Let’s Encrypt couldn’t even find the API address to connect to, let alone be blocked by a firewall on port 443.
Indeed when we change our DNS provider,Certbot with success.Thanks for all your warm heart.
PS: Can you please tell me how did you debug this DNS problem?Even though I noticed the red sign warning there,but I was not so sure to make this conclusion.
The only thing I was doing is nslookup (from my command line to 8.8.8.8 as well as your authoritive DNS server), also from mxtoolbox.com and whatsmydns.net
Which all tests somehow present me error messages (even direct query to your auth DNS server)