All Collections
DNS Setup Instructions
How to create TXT records for SPF & DMARC with Cloudflare
How to create TXT records for SPF & DMARC with Cloudflare

Instructions to create TXT records such as SPF and DMARC for Cloudflare.

Eric Johnson avatar
Written by Eric Johnson
Updated over a week ago
  1. Login to your Cloudflare Account, and go to DNS.

  2. Select Add record.

  3. Select TXT as the Type and fill out the fields with the following info:

    1. Host: Enter the host name for the TXT record. For example, enter @ for an SPF record, or enter the value _dmarc for a DMARC record.

    2. TXT Value: The value you are setting as the destination of the Host.

    3. TTL: Determine how long the server should cache information.

  4. When finished entering information, select Save.


Create a free OnDMARC account to test your configuration.

Did this answer your question?