Report this

What is the reason for this report?

DNS problem: NXDOMAIN looking up A for

Posted on August 27, 2021

We have pointed the domain puremilk.co.in(godaddy) to our subdomain “Smartmilk” on digital ocean (159.89.171.131). Respective A and CNAME records are addred and “Smartmilk.puremilk.co.in” is accessible. But facing error while installing the SSL certificate.

The following errors were reported by the server:

Domain: www.smartmilk.puremilk.co.in Type: None Detail: DNS problem: NXDOMAIN looking up A for www.smartmilk.puremilk.co.in - check that a DNS record exists for this domain



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

As far as I can see you do not have a CNAME record for your www version:

https://www.digitalocean.com/community/tools/dns

What you would need to do is to add a CNAME record for www.smartmilk.puremilk.co.in to point to your non-www version: smartmilk.puremilk.co.in.

That way Let’s Encrypt will be able to validate your www version too and issue a certificate for you.

Let me know how it goes.

Regards, Bobby

I have the same problem. I have added the cname but I’m getting same error

Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator nginx, Installer nginx Attempting to parse the version 2.6.0 renewal configuration file found at /etc/letsencrypt/renewal/app.blacktechtalent.org.conf with version 0.40.0 of Certbot. This might not work. Obtaining a new certificate Performing the following challenges: http-01 challenge for api.basilhive.com Waiting for verification… Challenge failed for domain api.basilhive.com http-01 challenge for api.basilhive.com Cleaning up challenges Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: api.basilhive.com Type: dns Detail: DNS problem: NXDOMAIN looking up A for api.basilhive.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for api.basilhive.com - check that a DNS record exists for this domain

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.