Security records

Last updated May 5, 2026 Without email authentication records, anyone can send email that appears to come from your domain — a technique known as domain spoofing. To prevent this, you add DNS TXT records (text-based entries in your domain's DNS settings) that allow receiving mail servers to verify whether an email actually came from you:

Note

For additional background on email security records, refer to the introductory blog post ↗︎.

Create security records

To set up email security records:

  1. Log in to the Cloudflare dashboard ↗︎, and select your account and domain.
  2. Go to Email > DMARC Management.
  3. In Email record overview, select View records.
  4. Use the available options to set up SPF ↗︎, DKIM ↗︎, and DMARC records ↗︎. This page will also list any previous records you might already have in your account.

Edit or delete records

Refer to Manage DNS records for more information.

Was this helpful?

YesNo

On this page

Security records - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dmarc-management/security-records/#page","headline":"Security records","description":"Learn how to configure SPF records, DKIM records, and DMARC records in your Cloudflare account to help improve email security.","url":"https://developers.cloudflare.com/dmarc-management/security-records/","inLanguage":"en","image":"https://developers.cloudflare.com/dmarc-management/security-records/og.png?v=9cbcb64541d8ff83","dateModified":"2026-05-05","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["DNS"]}


description: Review number of DNS lookups on your SPF records title: DNS lookup limit image: https://developers.cloudflare.com/dmarc-management/dns-lookup-limits/og.png?v=b1f774077ac21adc


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dmarc-management/llms.txt
Use this file to discover all available pages before exploring further.