Getting challenge failed because no valid ip addresses found

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. crt.sh | 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:
thanhhuuviet.org
www.thanhhuuviet.org

I ran this command:
certbot --apache

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?


1: c130c681be3750479.temporary.link
2: thanhhuuviet.org
3: www.thanhhuuviet.org


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 2,3
Requesting a certificate for thanhhuuviet.org and www.thanhhuuviet.org

Performing the following challenges:
http-01 challenge for thanhhuuviet.org
http-01 challenge for www.thanhhuuviet.org

Waiting for verification...
Challenge failed for domain thanhhuuviet.org
Challenge failed for domain www.thanhhuuviet.org
http-01 challenge for thanhhuuviet.org
http-01 challenge for www.thanhhuuviet.org
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

Domain: www.thanhhuuviet.org
Type: dns
Detail: No valid IP addresses found for www.thanhhuuviet.org

My web server is (include version): Apache 2.4.37

The operating system my web server runs on is (include version): CentOS 8

My hosting provider, if applicable, is: InMotion Hosting

I can login to a root shell on my machine (yes or no, or I don't know): Yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Np

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.12.0

2 Likes

Hello @quangthang10d4,

You have an erroneous nameserver listed for your domain:

thanhhuuviet.org.       86400   IN      NS      ns.inmotionhosting.com.
thanhhuuviet.org.       86400   IN      NS      ns3.dreamhost.com.
thanhhuuviet.org.       86400   IN      NS      ns2.inmotionhosting.com.

Try logging into Dreamhost and removing the ns3.dreamhost.com nameserver from your domain's nameserver settings.

5 Likes

Yes that worked! Thank you so much for your help!

3 Likes