Beep beep... Loading...
Learn how TXT records help verify domain ownership and configure email security
A TXT (Text) record is like a sticky note for your domain. It lets you attach any text information to your domain name, which can be used to prove ownership, configure email security, or provide information to other services.
Real-world examples:
# Google Workspace verification example.com → "google-site-verification=1a2b3c4d5e6f7g8h9i0j" # Email security with SPF record example.com → "v=spf1 include:_spf.google.com ~all" # Microsoft 365 verification example.com → "MS=ms12345678" # Domain ownership verification for various services example.com → "facebook-domain-verification=1234567890" example.com → "stripe-verification=abcdef123456" # DMARC policy _dmarc.example.com → "v=DMARC1; p=reject; rua=mailto:reports@example.com"
Think of TXT records like ID cards or badges for your domain:
These digital "badges" help services verify your domain's identity and understand how to handle things like email security and domain verification.
Tell email servers which servers can send email from your domain:
v=spf1 include:_spf.google.com include:_spf.microsoft.com ~all
Prove domain ownership to various services:
google-site-verification=1234567890abcdef facebook-domain-verification=1234567890
Set email authentication policies:
v=DMARC1; p=reject; rua=mailto:reports@example.com
You can have many different TXT records for the same domain, each serving a different purpose.
Each TXT record has a length limit - very long records might need to be split into multiple parts.
Make sure to include quotes when required and follow exact formatting instructions from services.
Don't remove TXT records unless you're sure they're no longer needed - they might be essential for email or services.
Keep notes about what each TXT record is for and when it was added.
After adding a TXT record, verify it's working using the service's verification tool.
Periodically review your TXT records and remove any that are no longer needed.