My domain is: penguinpee.nl
I ran this command: certbot -v run -n -a dns-rfc2136 --dns-rfc2136-credentials /etc/letsencrypt/penguinpee.ini --agree-tos -m mailbox@penguinpee.nl --cert-name wildcard.penguinpee.nl -i nginx -d *.penguinpee.nl
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-rfc2136, Installer nginx
Requesting a certificate for *.penguinpee.nl
Performing the following challenges:
dns-01 challenge for penguinpee.nl
Waiting 60 seconds for DNS changes to propagate
Waiting for verification...
Challenge failed for domain penguinpee.nl
dns-01 challenge for penguinpee.nl
Certbot failed to authenticate some domains (authenticator: dns-rfc2136). The Certificate Authority reported these problems:
Domain: penguinpee.nl
Type: dns
Detail: During secondary validation: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.penguinpee.nl - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the DNS TXT records created by --dns-rfc2136. Ensure the above domains are hosted by this DNS provider, or try increasing --dns-rfc2136-propagation-seconds (currently 60 seconds).
Cleaning up challenges
My web server is (include version): nginx 1.20.2
The operating system my web server runs on is (include version): Fedora 35 (armv7l)
My hosting provider, if applicable, is: n/a
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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 1.27.0
During the 60 second wait I am able to query named with dig _acme-challenge.penguinpee.nl +dnssec IN TXT
and it provides an answer. Log entries also confirm that dns-rfc2136 plugin is able to add and remove the entry. I can also see queries coming in from Let's Encrypt servers for the specific records. Yet, in the end it fails.
In the log file, I found the following snippet:
{
"type": "dns-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:dns",
"detail": "During secondary validation: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.penguinpee.nl - check that a DNS record exists for this domain",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/123576657316/eWIHrw",
"token": "rkl-fYjLqqHGYyKLdhwE7g4PQv75qt2EsAAtBflogXE",
"validationRecord": [
{
"hostname": "penguinpee.nl"
}
],
"validated": "2022-06-25T16:59:28Z"
}
Are the secondary name servers also queried? In that case I would need to increase the propagation time considerably. My registrar is doing AXFRs once an hour and doesn't support NOTIFY. I'm not keen on lowering the TTL just for certificate updates.