# Cloudflare complains about missing quotation marks around txt entry

**URL:** <https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030>\
**Category:** Help! (Home for newbies)\
**Created:** [September 21, 2026, 7:43am UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030 "2026-09-21T07:43:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [September 21, 2026, 7:43am UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/1 "2026-09-21T07:43:09Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | AlmaLinux 10.2 |
| Virtualmin version | 8.2 pro |

I have established connection to Cloudflare and all DNS records are being transferred properly. However, in Cloudflare it says " The content field of [TXT records](https://www.cloudflare.com/learning/dns/dns-records/dns-txt-record/) must be in quotation marks. Cloudflare may add quotation marks on your behalf, which will not affect how the record works." It’s the record which begins with “v=spf1”. There are two other txt records which are in quotation marks. I don’t know why Cloudflare doesn’t add te quotation marks, because it seems to do it for the other two txt records. All three txt records don’t show quotation marks within Virtualadmin. I don’t know how the communication between the two works. Anyway, the domain can be accessed, hence I think it’s fine, but I would like all entries to be properly set. Should I add quotation marks for that record?

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [September 22, 2026, 5:29am UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/2 "2026-09-22T05:29:47Z")

</div>

Are you using cloud provider setting in virtualmin or are you doing it manually?  
If its not adding the quotes then its a bug, I’ll see if I can test it.

P.S. Tested and adding quotes fine, maybe your doing it manually?

![image](https://cdn.forum.virtualmin.com/uploads/default/optimized/3X/4/f/4fbf65b132fd46d54ffd8244346bd37a6a7cbda6_2_690x67.png)

---

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [September 22, 2026, 2:23pm UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/3 "2026-09-22T14:23:05Z")

</div>

No, I let Virtualmin do all the editing of the entries in cloudflare. The quotation marks are missing at both DNS zones which I am currently maintaining (and Cloudflare is pointing it out). However, I am not sure what you mean by “cloud provider setting”. I have connected Virtualmin with cloudflare via an API token which was created in Cloudflare.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [September 22, 2026, 8:59pm UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/4 "2026-09-22T20:59:36Z")

</div>

> [@DrMartinus](#):
>
> I have connected Virtualmin with cloudflare via an API token which was created in Cloudflare.

Sorry I have no idea how that works.  
Maybe better using virtualmin’s cloud provider setting.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/f/7/f75285a7d2c3509246b78ff91ddbed7b17ad96fd.png)

> **[How to Configure Cloudflare DNS](https://www.virtualmin.com/docs/server-components/how-to-configure-cloudflare-dns/)**
>
> For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and enhances your domain’s DNS management capabilities. Here’s a simple guide to help you configure Virtualmin Pro with Cloudflare:
> Initial Cloudflare...

---

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [September 24, 2026, 8:08am UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/5 "2026-09-24T08:08:38Z")

</div>

Just to clarify:  
When using the Virtual min Cloud DNS Providers tool, it asks either for credentials or for an API token to be entered. The API token can be easily created within Cloudflare and then just needs to be copied in the Virtualmin dialog for Cloudflare. That’s also what the guide is describing.

---

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [October 12, 2026, 10:11am UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/6 "2026-10-12T10:11:29Z")

</div>

Are there no more suggestions? As said, I let Virtualmin do everything, I have not changed a bit of the DNS entries. Yet for all domains, the spf-Entry is free of quotation marks.

---

<div class="post-metadata">

**Author:** ![leoadam2772](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/leoadam2772/32/24834_2.png) [@leoadam2772](https://forum.virtualmin.com/u/leoadam2772)\
**Post date:** [October 13, 2026, 8:04pm UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/7 "2026-10-13T20:04:39Z")

</div>

That is just a standard notification, not an error. Cloudflare automatically adds quotation marks when saving the record, and this does not affect the record’s functionality. You can verify this by running the command `dig TXT yourdomain.com` to confirm that the `v=spf1` value still appears correctly. I recommend against adding quotation marks yourself in Virtualmin, as the system might add its own, resulting in duplication (i.e., double sets of quotation marks).

---

<div class="post-metadata">

**Author:** ![DrMartinus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/d/a6a055/32.png) [@DrMartinus](https://forum.virtualmin.com/u/DrMartinus)\
**Post date:** [October 14, 2026, 7:58am UTC](https://forum.virtualmin.com/t/cloudflare-complains-about-missing-quotation-marks-around-txt-entry/138030/8 "2026-10-14T07:58:53Z")

</div>

Thank you for your input. In Cloudflare the entry appears without quotation marks, even though in the “warning” it says that Cloudflare “may add quotation marks” on my behalf. I also think that this is not a big problem, but since others have quotation marks around these entries, I just wonder what is or could be different with my setup and if I can do something to remedy it. I am not changing anything manually as long as I am not 100% certain that it doesn’t break anything - and I’m far from that. 😅
