Challenge failed for domain

I’m unable to install my cert and get the errors below.
firstly,i run the command

certbot certonly --standalone --agree-tos -n -d -d -m

but i get following error

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1):
Account registered.
Requesting a certificate for and
Performing the following challenges:
http-01 challenge for
http-01 challenge for
Waiting for verification...
Challenge failed for domain
http-01 challenge for
Cleaning up challenges
Some challenges have failed.

 - The following errors were reported by the server:

   Type:   dns
   Detail: During secondary validation: DNS problem: networking error
   looking up A for www.example; DNS problem:
   networking error looking up AAAA for
1 Like

Welcome @frank2

It is difficult to help with such problems without knowing the actual DNS names

But, if the error only related to your www subdomain and not your apex name then my first guess is that you don't have an A and/or AAAA DNS record for the subdomain

Some tools you might use to diagnose the problem yourself are:


thank you


I wonder if I'm misinterpreting "secondary" in this context ...
But it seems (to me) that at least some of the DNS systems may have had a proper reply for the "www" name.
I would check to confirm that all authoritative DNS servers have the exact same information.


thank you,the isuue has solved


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.