# Certbot keeps receiving outdated challenge TXT record value

**URL:** <https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694>\
**Category:** Help\
**Created:** [July 29, 2024, 9:26pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694 "2024-07-29T21:26:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jskntx](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jskntx](https://community.letsencrypt.org/u/jskntx)\
**Post date:** [July 29, 2024, 9:26pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/1 "2024-07-29T21:26:57Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [https://crt.sh/?q=example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: [ftp.netexsw.com/ftp.netex.com](http://ftp.netexsw.com/ftp.netex.com)

I ran this command: certbot certonly --manual --preferred-challenges dns -d [ftp.netexsw.com](http://ftp.netexsw.com) -d [ftp.netex.com](http://ftp.netex.com)

It produced this output:

Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:  
Domain: [ftp.netexsw.com](http://ftp.netexsw.com)  
Type: unauthorized  
Detail: Incorrect TXT record "YNS-9YBndPa-aWcBJFvHenFgVd0wbAmuBLj6SkD3VzQ" found at \_acme-challenge.ftp.netexsw.com

My web server is (include version): Apache 2.4.37-65.module\_el8.10.0+3872+9b8ab21e.1

The operating system my web server runs on is (include version): AlmaLinux 8 with all available updates

My hosting provider, if applicable, is: self-hosting

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): certbot 2.11.0

I'm trying to generate a new cert using the above command. The first time I ran the command, the TXT record validation for "[ftp.netex.com](http://ftp.netex.com)" passed but the TXT record validation for "[ftp.netexsw.com](http://ftp.netexsw.com)" failed. I'm pretty sure it is because I did not wait long enough for Network Solutions to push out the DNS record creation.

I tried to rerun the command and it spit out a new TXT validation string for [ftp.netexsw.com](http://ftp.netexsw.com). After editing the corresponding challenge TXT record to match the new string and using the suggested Google Admin Toolbox command to confirm that the TXT record displays the new string, I hit enter to move forward but it keeps saying it found the same invalid TXT record.

Why does Certbot continue to report an incorrect string despite the Google Admin Toolbox command showing that I have the correct/current string for that text record?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 29, 2024, 9:40pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/2 "2024-07-29T21:40:44Z")

</div>

Hi @jskntx, and welcome to the LE community forum 🙂

> [@jskntx](#):
>
> Incorrect TXT record "YNS-9YBndPa-aWcBJFvHenFgVd0wbAmuBLj6SkD3VzQ" found at \_acme-challenge.ftp.netexsw.com

You may need to wait a little longer after updating the TXT record for the all the authoritative DNS servers to synchronize before you "continue".

---

<div class="post-metadata">

**Author:** ![jskntx](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jskntx](https://community.letsencrypt.org/u/jskntx)\
**Post date:** [July 29, 2024, 10:06pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/3 "2024-07-29T22:06:34Z")

</div>

I guess I have a follow-up question:

I have another host that's running an older version of the certbot client (certbot 1.22.0) under AlmaLinux 8. It's been running that way since I deployed that system a couple years ago. I've never had a problem with the timing of updates to these TXT challenge records.

I did not know until I was getting ready to migrate the host I'm having problems with from a NetSol cert to Let's Encrypt that the old Certbot client was being deprecated for this newer snap-based one. So, I will need to migrate my older host to this newer Certbot.

Was there a change between that older client and this new snap-based one that might have had an affect on the timing or method of these DNS record checks or have I just been lucky that I hadn't run into this timing problem previously? I only ask because I just tend to leave these TXT records out there and will update the value field when I've needed to renew a cert.

FWIW, my DNS provider is Network Solutions.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jskntx](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jskntx](https://community.letsencrypt.org/u/jskntx)\
**Post date:** [July 30, 2024, 3:38pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/4 "2024-07-30T15:38:28Z")

</div>

My issue was definitely due to timing of DNS challenge record change being pushed out to global DNS servers.

I reran my cert generation command this morning and after waiting a sufficiently long period of time (TTL=15 minutes), the cert generation completed successfully.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [July 30, 2024, 3:48pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/5 "2024-07-30T15:48:40Z")

</div>

Glad it worked. Just want to note that the TTL settings do not affect Let's Encrypt queries. LE looks directly at the authoritive DNS servers and is not subject to TTL propagation.

LE is affected if the auth DNS servers are slow to sync amongst themselves which is what rg305 said earlier. Sounds like your provider is on the slow side because usually that takes less than a minute.

---

<div class="post-metadata">

**Author:** ![jskntx](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jskntx](https://community.letsencrypt.org/u/jskntx)\
**Post date:** [July 30, 2024, 4:02pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/6 "2024-07-30T16:02:02Z")

</div>

Thanks for the clarification!

Like I said in my original response to rg305, this was the first time I've run into a timing issue when changing the challenge TXT record through NetSol.

Maybe they were having a slow day. 🤷‍♂️

They seem to be prone to "mysterious" issues. 🤣

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [July 30, 2024, 4:02pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/7 "2024-07-30T16:02:56Z")

</div>

> [@jskntx](#):
>
> They seem to be prone to "mysterious" issues

Yes, yes they do 🙂

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 30, 2024, 4:04pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/8 "2024-07-30T16:04:25Z")

</div>

> [@jskntx](#):
>
> my DNS provider is Network Solutions

And their IPs are from...  
`Cloudflare`

```nohighlight
ns35.worldnic.com internet address = 162.159.26.212
ns36.worldnic.com internet address = 162.159.27.146
ns53.worldnic.com internet address = 162.159.26.165
ns54.worldnic.com internet address = 162.159.27.8

```

[ARIN Whois/RDAP - American Registry for Internet Numbers](https://search.arin.net/rdap/?query=162.158.0.0)

---

<div class="post-metadata">

**Author:** ![jskntx](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@jskntx](https://community.letsencrypt.org/u/jskntx)\
**Post date:** [July 30, 2024, 4:44pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/9 "2024-07-30T16:44:23Z")

</div>

Oh, good to know. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [August 29, 2024, 4:44pm UTC](https://community.letsencrypt.org/t/certbot-keeps-receiving-outdated-challenge-txt-record-value/222694/10 "2024-08-29T16:44:43Z")

</div>

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