DNS problem: NXDOMAIN but dig _acme-challenge.sbsiot.xyz works

My domain is: sbsiot.xyz

I ran this command:
sudo ./certbot-auto certonly --manual --preferred-challenges=dns --email mckenna.tim@gmail.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.sbsiot.xyz

It produced this output:
- The following errors were reported by the server:

   Domain: sbsiot.xyz
   Type:   dns
   Detail: DNS problem: NXDOMAIN looking up TXT for

My web server is (include version):
nginx 1.10.3

The operating system my web server runs on is (include version):
ubuntu 16.04

My hosting provider, if applicable, is:

I can login to a root shell on my machine
I’m not using a control panel

Certbot 0.38.0

once the CNAME record updates dig gives me the correct challenge text

dig -q=txt _acme-challenge.sbsiot.xyz txt +short

(nslookup fails though

nslookup -q=txt _acme-challenge.sbsiot.xyz.

`** server can't find _acme-challenge.sbsiot.xyz: NXDOMAIN)`

Hi @mckennatim,

This is a kind of obscure one in terms of the way that different software will handle it, but you’ve created a CNAME record instead of a TXT record on your DNS server. You should find where you did that and replace it with a TXT record instead.

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