DNS problem: NXDOMAIN looking up A for testnklab.com

Hi everyone,
I have next error when try to create certificate on CentOS 8(WepApp is nginx) by command:
certbot certonly --authenticator manual -d testnklab.com

Error:

And make it available on your web server at this URL:

http://testnklab.com/.well-known/acme-challenge/X30PPrRFwi_n_xqttB-erFg2ZwlvktDBN-yNnB86688


Press Enter to Continue

Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: testnklab.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for testnklab.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for testnklab.com - check that a DNS record exists for this domain

Hint: The Certificate Authority failed to verify the manually created challenge files. Ensure that you created these in the correct location.

Some challenges have failed.

Questions:

  1. How to fix the error?

testnklab.com needs to be a real, registered domain name which points to your server.

Since this is not the case, you cannot demonstrate control of the domain, and Let's Encrypt won't issue a certificate for it.

5 Likes