TXT Records for SPF, DKIM, and Domain Verification

DNS Management 8 December 2025 1 min read

What are TXT Records?

TXT records store text-based information in DNS. They are commonly used for email security and domain ownership verification.

SPF Record (Sender Policy Framework)

SPF specifies which mail servers can send email for your domain.

Example SPF Record:

v=spf1 include:_spf.google.com ~all

Common SPF includes:

  • Google: include:_spf.google.com
  • Microsoft: include:spf.protection.outlook.com
  • Mailchimp: include:servers.mcsv.net

DKIM Record

DKIM adds a digital signature to verify emails are from your domain.

Format: selector._domainkey.yourdomain.com

Your email provider will give you the specific DKIM value to add.

DMARC Record

DMARC tells receiving servers what to do with emails that fail SPF/DKIM.

Example:

v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com

Domain Verification TXT Records

Services like Google, Microsoft, and Facebook require TXT records to verify domain ownership.

Example:

google-site-verification=abcd1234xyz

How to Add TXT Records

  1. Log into DNS management panel
  2. Click Add Record → TXT
  3. Enter hostname (@ for root domain)
  4. Paste the TXT value exactly as provided
  5. Save and wait for propagation

Was this article helpful?

0% of readers found this helpful

Back to DNS Management