# Let's Encrypt Wildcard Renew failing on DNS challenge

**URL:** <https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282>\
**Category:** Help! (Home for newbies)\
**Created:** [November 5, 2026, 1:57pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282 "2026-11-05T13:57:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 5, 2026, 1:57pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/1 "2026-11-05T13:57:14Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Debian Linux 13 |
| Virtualmin version | 8.3.0 Professional |

When attempting to renew a Wildcard cert for a domain, I am getting the error below. DNS is hosted with Namecheap - I can modify, add, delete, etc. other records for this domain without issue from within Virtualmin, so the API seems to be working. What would be blocking the TXT record specifically from being created, or is there another potential issue I am missing?

```auto
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for aiskon.net and *.aiskon.net

Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
  Domain: aiskon.net
  Type: dns
  Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.aiskon.net - 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.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

```

---

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 5, 2026, 2:52pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/2 "2026-11-05T14:52:53Z")

</div>

Attempted a reset of all records to be sure, and got the following:

```auto
Resetting DNS for domain ..
.. skipping warning : DNS records will be lost : food (A), truenas (A), truenas (AAAA)
Deleting and re-creating standard DNS records ..
.. failed to update DNS records : Failed to update DNS records : API command failed : Requested value 'UNKNOWN' was not found.
.. done

```

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [November 5, 2026, 4:07pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/3 "2026-11-05T16:07:25Z")

</div>

Hello,

Thanks for the heads-up!

Try applying this patch and giving it another shot:

```auto
webmin patch https://github.com/webmin/webmin/commit/7efb03d

```

---

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 5, 2026, 4:36pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/4 "2026-11-05T16:36:28Z")

</div>

Thank you. Patch is applied, but still getting the same error.

What I am noticing is that any time I work with DNS using Namecheap for the root domain only, I am getting the following error:

```auto
Resetting DNS for domain ..
Deleting and re-creating standard DNS records ..
.. failed to update DNS records : Failed to update DNS records : API command failed : Requested value 'UNKNOWN' was not found.
.. done

```

The changes seem to still go through, but not right away.

If I make any edits for the sub-domains, I do not get an error.

---

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 5, 2026, 4:58pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/5 "2026-11-05T16:58:07Z")

</div>

… and after banging my head against it for 2 days, it went through.

Not sure if the patch was involved, but it’s now working. Thank you!

---

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 9, 2026, 2:58pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/6 "2026-11-09T14:58:32Z")

</div>

Unfortunately, this is back now for another domain on the same server.

Both domains are on the same server. Both use Namecheap API for DNS. In the case of the second domain, I’ve verified the API is working, and I can create TXT records in Virtualmin that show up on Namecheap’s end.

```auto
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for aiskondns.net and *.aiskondns.net

Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
  Domain: aiskondns.net
  Type: dns
  Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.aiskondns.net - check that a DNS record exists for this domain

  Domain: aiskondns.net
  Type: dns
  Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.aiskondns.net - 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.

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

```

---

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 9, 2026, 3:29pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/7 "2026-11-09T15:29:57Z")

</div>

Tried the individual domains, instead of the Wildcard:

**Edit:** Mistake on my end, this works now. The non-wildcard cert is in place, mitigating any urgency - I’d still like to work out why the wildcard challenge is failing.

---

<div class="post-metadata">

**Author:** ![GJSchaller](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gjschaller/32/8901_2.png) [@GJSchaller](https://forum.virtualmin.com/u/GJSchaller)\
**Post date:** [November 11, 2026, 4:17pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/8 "2026-11-11T16:17:46Z")

</div>

Same error when trying to set up DMARC and other records via the Namecheap API:

```auto
Failed to save DNS options : Failed to update DNS records : API command failed : Requested value 'UNKNOWN' was not found.

```

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [November 14, 2026, 7:00pm UTC](https://forum.virtualmin.com/t/lets-encrypt-wildcard-renew-failing-on-dns-challenge/138282/9 "2026-11-14T19:00:17Z")

</div>

Helo,

Thanks for the heads-up!

> [@GJSchaller](#):
>
> `Failed to save DNS options : Failed to update DNS records : API command failed : Requested value 'UNKNOWN' was not found.`

The upcoming Webmin 2.680 release should address this issue.
