TXT Record Lookup - Check Email Authentication Records

No logs stored • Server-side processing

Check SPF, DKIM, DMARC, and domain verification records for any domain. Auto-classification with color-coded badges, email authentication analysis, and security scoring.

Free Online TXT Record Checker

7 Record Types Classified
Email Auth Detection
One-Click Copy
100% Free

Enter a domain name to view all DNS records

Enter a domain above to get started

We'll show you A, AAAA, MX, CNAME, TXT, NS, SOA, and CAA records

What is a TXT Record?

TXT (Text) records store arbitrary text data in DNS. They're primarily used for email authentication (SPF, DKIM, DMARC), domain verification (Google, Microsoft, Facebook, Apple), and security policies. Our tool automatically classifies TXT records into 7 types with color-coded badges for instant identification.

What You'll Discover

v=spf1 - Sender Policy Framework, lists authorized email senders
v=DKIM1 - DomainKeys Identified Mail, email signing public keys
v=DMARC1 - Email handling policy for authentication failures
Google, Microsoft, Facebook, Apple domain ownership proof

Can Find

  • All TXT records for any domain with automatic classification
  • SPF, DKIM, and DMARC records with colored badges
  • Domain verification records for Google, Microsoft, Facebook, Apple
  • Record length and TTL values in human-readable format
  • All 8 DNS record types via tabs (A, AAAA, MX, CNAME, TXT, NS, SOA, CAA)

Cannot Find

  • SPF syntax validation (we show records, use dedicated validators)
  • DKIM key strength analysis (shows record, not cryptographic analysis)
  • DMARC policy recommendations (shows current policy only)
  • Email deliverability testing (different tool category)

How to Check TXT Records

Find SPF, DKIM, DMARC, and verification records in seconds

1

Enter the Domain

Type the domain you want to check (e.g., google.com, example.com). We automatically strip www and clean up the input.

2

Click Lookup

We query DNS servers to retrieve all TXT records plus 7 other record types. Results are automatically classified and color-coded.

3

Review Classified Records

TXT records are tagged with colored badges: green for SPF, blue for DKIM, purple for DMARC, and service-specific colors for verification records.

4

Check Email Authentication

The Email Authentication section shows SPF, DKIM, and DMARC status with a security grade (A-F). Copy any record with one click.

Understanding Your TXT Lookup Results

What each field in your TXT records reveals

Record Value

The complete text content of the TXT record. SPF records start with 'v=spf1', DKIM with 'v=DKIM1', DMARC with 'v=DMARC1'. Verification records contain service-specific identifiers like 'google-site-verification=' or 'MS='.

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

Record Classification

Automatic detection of TXT record type: SPF (green badge), DKIM (blue), DMARC (purple), Google verification (red), Microsoft (blue), Facebook (blue), Apple (gray). Unclassified records show as generic.

Example: SPF badge (green)

Record Length

Character count of the TXT record. DNS has a 255-character limit per string, but records can be multi-part. Long SPF records with many includes may approach the 10 DNS lookup limit.

Example: 36 characters

TTL (Time To Live)

How long DNS servers cache this TXT record before checking for updates. Displayed in human-readable format: '5m', '1h', '24h'. Lower TTL means faster propagation of changes but more DNS queries.

Example: 1h (3600 seconds)

Email Auth Status

Security grade (A-F) based on SPF, DKIM, and DMARC configuration. Grade A = all three properly configured with strict policies. Grade F = missing critical records. Helps identify email deliverability issues.

Example: Grade A (SPF + DKIM + DMARC strict)

Why Choose Our TXT Record Lookup Tool

More than just TXT records—email authentication at a glance

7-Type Auto-Classification

Automatically detects SPF, DKIM, DMARC, and verification records for Google, Microsoft, Facebook, and Apple. Color-coded badges for instant identification.

Email Auth Analysis

Dedicated section showing SPF, DKIM, and DMARC status together. See if your domain has the three pillars of email authentication properly configured.

Security Grading

Get an A-F grade for your domain's email authentication configuration. Identify gaps in SPF, DKIM, or DMARC setup that could affect deliverability.

Verification Detection

Instantly spot domain verification records for Google Workspace, Microsoft 365, Facebook Business, and Apple. See which services have verified your domain.

One-Click Copy

Click any TXT record to copy it to your clipboard instantly. Perfect for documentation, troubleshooting, or migrating DNS records between providers.

Export to JSON/CSV/TXT

Download your complete TXT record results in multiple formats. JSON for APIs and automation, CSV for spreadsheets, plain text for documentation.

When You Need TXT Record Lookup

Common scenarios where checking TXT records is essential

Email Deliverability

Check SPF, DKIM, and DMARC configuration to improve inbox placement. Missing or misconfigured email auth records cause emails to land in spam folders.

Domain Verification

Confirm verification records for Google Workspace, Microsoft 365, Facebook Business, AWS SES, and other services that require TXT-based domain ownership proof.

Security Audit

Review email authentication configuration and security policies. Identify missing DMARC records or weak SPF configurations that leave your domain vulnerable to spoofing.

Troubleshooting

Debug email authentication failures and delivery issues. See exactly what TXT records exist and identify conflicts, typos, or missing records.

How Email Authentication TXT Records Work

Understanding SPF, DKIM, and DMARC is essential for email deliverability. These three work together to prevent email spoofing and improve inbox placement.

SPF Records Explained

SPF (Sender Policy Framework) records list which mail servers are authorized to send email for your domain. They start with 'v=spf1' followed by mechanisms: 'include:' (authorized domains), 'a' (domain's A record), 'mx' (domain's mail servers), 'ip4:/ip6:' (specific IP ranges). End with '-all' (hard fail), '~all' (soft fail), or '?all' (neutral). Example: 'v=spf1 include:_spf.google.com include:sendgrid.net ~all' authorizes Google and SendGrid to send email.

DKIM Records Explained

DKIM (DomainKeys Identified Mail) uses cryptographic signatures to verify email authenticity. DKIM records are TXT records at 'selector._domainkey.yourdomain.com' containing a public key. When you send email, your server signs it with a private key; receivers verify using the public key in DNS. Look for 'v=DKIM1; k=rsa; p=[public key]'. Common selectors: 'google', 's1', 's2', 'selector1', 'selector2'.

DMARC Records Explained

DMARC (Domain-based Message Authentication, Reporting, and Conformance) tells receivers what to do when SPF or DKIM fail. Found at '_dmarc.yourdomain.com'. Policies: 'p=none' (monitor only), 'p=quarantine' (send to spam), 'p=reject' (block). Example: 'v=DMARC1; p=reject; rua=mailto:dmarc@example.com; pct=100'. Start with p=none for monitoring, then gradually move to p=reject.

Domain Verification Records

Services use TXT records to verify domain ownership. Google Workspace: 'google-site-verification=[code]'. Microsoft 365: 'MS=[code]'. Facebook: 'facebook-domain-verification=[code]'. Apple: 'apple-domain-verification=[code]'. These remain in DNS after verification but can be safely removed once the service is configured (though many leave them as documentation).

TXT Record Lookup Specifications

Record Types Detected
SPF, DKIM, DMARC, Google, Microsoft, Facebook, Apple, Generic
Classification Count
7 distinct types + generic fallback
DNS Record Types
A, AAAA, MX, CNAME, TXT (default), NS, SOA, CAA
Email Auth Analysis
SPF/DKIM/DMARC status with A-F grading
Max TXT Length
Multi-part records joined (255 chars per string)
Response Time
< 500ms (cached: < 50ms)
Cache Duration
5 minutes (300 seconds)
Export Formats
JSON, CSV, Plain Text
API Access
REST API at /api/v1/dns-lookup

Frequently Asked Questions

What is a TXT record in DNS?

TXT (Text) records store arbitrary text data in DNS. They're primarily used for email authentication (SPF, DKIM, DMARC), domain verification for services like Google and Microsoft, and security policies. Unlike A records (which point to IP addresses), TXT records can contain any text up to 255 characters per string, with support for multi-part records.

What is the difference between SPF, DKIM, and DMARC?

SPF lists authorized mail servers ('who can send'), DKIM adds cryptographic signatures ('is it genuine'), and DMARC sets policy for failures ('what to do if checks fail'). SPF prevents server spoofing, DKIM prevents message tampering, and DMARC provides enforcement and reporting. All three work together—implementing just one provides limited protection. For best email deliverability, configure all three with DMARC set to p=reject.

How many TXT records can a domain have?

Domains can have unlimited TXT records. Most domains have multiple: one SPF record, multiple DKIM selectors, one DMARC record, and various verification records for services. However, you can only have ONE SPF record per domain—if you need to authorize multiple services, use 'include:' mechanisms in a single SPF record rather than creating multiple SPF records.

How do I check if SPF is configured correctly?

Use our TXT Lookup to find the SPF record (green badge, starts with 'v=spf1'). A valid SPF should: 1) Include all your email-sending services, 2) End with '-all' or '~all', 3) Have fewer than 10 DNS lookups (include/redirect count toward this limit). If you don't see an SPF record, one needs to be created. If SPF authentication is failing, check that all sending services are included.

What is a DMARC record and why do I need one?

DMARC (Domain-based Message Authentication, Reporting, and Conformance) tells email receivers what to do when SPF or DKIM checks fail. Without DMARC, receivers make their own decisions. With DMARC, you control the policy: 'p=none' (monitor), 'p=quarantine' (spam folder), or 'p=reject' (block). DMARC also enables aggregate and forensic reporting so you can see who's sending email using your domain.

How do I verify domain ownership with a TXT record?

Services like Google Workspace, Microsoft 365, and Facebook Business provide a unique verification code. You add a TXT record to your domain's DNS (usually at the root level) containing that code. The service then checks DNS for the record. Common patterns: 'google-site-verification=[code]', 'MS=[code]', 'facebook-domain-verification=[code]'. Our tool highlights these with service-specific badges.

Why is my SPF record not working?

Common SPF failures: 1) Too many DNS lookups (max 10—each 'include:' counts), 2) Sending service not in SPF (add with 'include:'), 3) Hard fail '-all' but legitimate sender missing, 4) Multiple SPF records (you can only have one), 5) Syntax error (check for typos), 6) DNS propagation not complete (wait 24-48 hours). Use DNS Checker to verify propagation across global servers.

What services require TXT records for verification?

Major services requiring TXT verification: Google Workspace/Search Console (google-site-verification), Microsoft 365 (MS=), Facebook Business (facebook-domain-verification), Apple Business/Developer (apple-domain-verification), AWS SES (custom format), Mailchimp, SendGrid, and most SaaS platforms with custom domain features. SSL certificate authorities also use TXT for domain validation.

Can I have multiple SPF records?

No—you can only have ONE SPF record per domain. Having multiple SPF records causes a 'permerror' and email authentication fails. To authorize multiple email services, use 'include:' mechanisms within a single SPF record. Example: 'v=spf1 include:_spf.google.com include:sendgrid.net include:mailchimp.com ~all' authorizes Google, SendGrid, and Mailchimp in one record.

How long does TXT record propagation take?

TXT record propagation typically takes 1-48 hours depending on the previous TTL value. If your old TXT record had a 24-hour TTL, some DNS servers will cache it for that duration. To speed up changes: 1) Lower TTL to 5-10 minutes 24 hours BEFORE making changes, 2) Make the change, 3) Use our DNS Checker tool to monitor global propagation, 4) Restore normal TTL after propagation is confirmed.

Check Any Domain's TXT Records Now

Enter a domain above to find SPF, DKIM, DMARC, and verification records. Free, fast, no registration required. Color-coded badges make email authentication status instantly clear.

Try Another Lookup