The CNAME record looks like this:
_acme-challenge.customer2 IN CNAME 1e979b4b-a053-4400-99da-34283206a75e.auth.acme-dns.io.
Here's the letsencrypt.log:
HTTP 200
Server: nginx
Date: Wed, 26 Apr 2023 18:57:51 GMT
Content-Type: application/json
Content-Length: 667
Connection: keep-alive
Boulder-Requester: 1080977797
Cache-Control: public, max-age=0, no-cache
Link: https://acme-v02.api.letsencrypt.org/directory;rel="index"
Replay-Nonce: A5FEDw-kb7_QvtmHE1-J7U2pNyNSzD2ZygzGCrkD157--Ow
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"identifier": {
"type": "dns",
"value": "customer2.fangfree.com"
},
"status": "invalid",
"expires": "2023-05-03T18:57:46Z",
"challenges": [
{
"type": "dns-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:dns",
"detail": "DNS problem: NXDOMAIN looking up TXT for _acme-challenge.customer2.fangfree.com - check that a DNS record exists for this domain",
"status": 400
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/222745380507/_Nh_HQ",
"token": "bOgzvDu5hhAJnLCpDonqXZk3cHz1j_qbHchHDF6Le4w",
"validated": "2023-04-26T18:57:50Z"
}
]
}
2023-04-26 18:57:51,099:DEBUG:acme.client:Storing nonce: A5FEDw-kb7_QvtmHE1-J7U2pNyNSzD2ZygzGCrkD157--Ow
2023-04-26 18:57:51,100:INFO:certbot._internal.auth_handler:Challenge failed for domain customer2.fangfree.com
2023-04-26 18:57:51,100:INFO:certbot._internal.auth_handler:Challenge failed for domain customer2.fangfree.com
2023-04-26 18:57:51,100:INFO:certbot._internal.auth_handler:dns-01 challenge for customer2.fangfree.com
2023-04-26 18:57:51,100:INFO:certbot._internal.auth_handler:dns-01 challenge for customer2.fangfree.com
2023-04-26 18:57:51,100:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: customer2.fangfree.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.customer2.fangfree.com - check that a DNS record exists for this domain
Domain: customer2.fangfree.com
Type: dns
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.customer2.fangfree.com - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to verify the DNS TXT records created by the --manual-auth-hook. Ensure that this hook is functioning correctly and that it waits a sufficient duration of time for DNS propagation. Refer to "certbot --help manual" and the Certbot User Guide.
2023-04-26 18:57:51,100:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/certbot/_internal/auth_handler.py", line 106, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3.10/site-packages/certbot/_internal/auth_handler.py", line 206, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.