Cloudflare DNS Setup Guide
Step-by-step guide to configure DMARC records in Cloudflare
Cloudflare DNS Setup Guide
This guide walks you through adding your DMARC record to Cloudflare.
Prerequisites
- Cloudflare account with your domain configured
- DMARC record from DMARC Nerd (from your dashboard)
- Administrative access to your Cloudflare account
Step-by-Step Instructions
1. Log in to Cloudflare
- Go to dash.cloudflare.com
- Enter your email and password
- Click Sign in
2. Select Your Domain
- Click on your domain in the domain list
- You’ll see your domain’s dashboard
3. Navigate to DNS Records
- In the left sidebar, click DNS (or DNS Records depending on your Cloudflare UI)
- You’ll see your existing DNS records
4. Add a New Record
- Click the + Add record button
- A form will appear with fields for:
- Type - Leave as default
- Name - We’ll change this
- IPv4 address - We’ll ignore this
- TTL - Leave as default
5. Configure the DMARC Record
Fill in the following fields:
Type:
- Click the dropdown that says “A”
- Select TXT from the list
Name:
- Enter
_dmarc(just the text, no domain)
Content:
- Paste your entire DMARC record from DMARC Nerd
- It should look something like:
v=DMARC1; p=none; rua=mailto:...
TTL:
- Leave as “Auto” (Cloudflare default)
Proxy status:
- Should already be set to “DNS only” - that’s correct
- Do NOT set it to “Proxied”
6. Save Your Record
- Click Save button
- Cloudflare will create the record
- You should see your new
_dmarcTXT record in the list
Verifying Your Record
Option 1: Cloudflare Dashboard
- Look in your DNS records list
- You should see the
_dmarcrecord you just added - Status should show as “Active”
Option 2: Online DNS Checker
- Go to mxtoolbox.com
- Select TXT Lookup
- Enter
_dmarc.yourdomain.com - You should see your DMARC record in the results
Option 3: DMARC Nerd
- Log in to DMARC Nerd
- Go to your domain settings
- Click Verify DNS Record
- If configured correctly, it will show as verified
Troubleshooting
Record not showing up?
- Confirm the Type is set to TXT
- Confirm the Name is exactly
_dmarc(with underscore) - Wait 5-10 minutes for Cloudflare to propagate the record
- Try refreshing the DNS Records page
DMARC Nerd says record is invalid?
- Copy and paste the exact record from DMARC Nerd
- Make sure there are no extra spaces or line breaks
- Double-check the record content matches exactly
DNS propagation taking longer?
- DNS changes typically take 5-10 minutes in Cloudflare
- In rare cases, it can take up to 24 hours
- Try clearing your browser cache or using incognito mode
What Happens Next?
- Your DMARC record is now live
- Email servers start processing your policy
- Reports start coming in immediately
- First aggregated report arrives next Monday morning
Questions?
Contact our support team if you need help!