I am trying to get the correct text to enter the DNS challenge in _acme-challenge.wachtell.net. I ran Certbot. However, even though I entered "--debug-challenges" it did not show the expected text to enter the DNS challenge.
I ran this command:
certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d *.wachtell.net -d wachtell.net
It produced this output:
Domain: wachtell.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.wachtell.net - check that a DNS record exists for
this domain
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 0.40.0
You seem to be using acme-dns, which usually requires a CNAME pointing to the acme-dns instance. Did you do that step? I assume you read the acme-dns documentation, right? Otherwise you wouldn't be using acme-dns-auth.py as a manual auth hook I'd think.
Maybe I did not explain the problem well enough. I want to enter the CNAME for _acme-challenge.wachtell.net in my DNS. I followed this guide:
I may have misunderstood it, but though that it give me an output like this:
Output...
Output from acme-dns-auth.py:
Please add the following CNAME record to your main DNS zone:
_acme-challenge.your-domain CNAME a15ce5b2-f170-4c91-97bf-09a5764a88f6.auth.acme-dns.io.
Waiting for verification...
...
However, somehow the script continues to run, cleans up, and does not show the "add the following CNAME record to your main DNS...". Can you help?
Hi Bruce,
Thank you for your investigation and clearly I did not explain the problem well enough. I want to be able to get a certificate but I have not been able to write the correct text into the _acme-challenge.wachtell.net text = "nothing" field. Can you help?