Cloudflare DNS Problems: Common Issues and Fixes

Most Cloudflare DNS complaints collapse into the same handful of causes. Match your symptom below; every fix includes the free tool that confirms it.

Watch out: Cloudflare proxies (orange-clouds) most records by default. That's great for websites and terrible for mail: an MX or SPF-related record that must stay DNS-only will break email if proxied.

Common problems and fixes

Error 522 or 521 on the website

The origin server refused or timed out Cloudflare's proxy connection. Check that your server firewall allows Cloudflare IP ranges, and that the origin is actually up.

Mail breaks after adding the domain

An MX/TXT record was proxied. Edit the record and switch it to DNS only (grey cloud).

I see Cloudflare's nameservers but edits don't appear

You may be editing a different Cloudflare account's zone, or the domain was added twice. Check the zone status is Active and you're in the right account.

DNSSEC mismatch errors after moving away

If you previously enabled DNSSEC here, delete the DS record at your registrar before switching nameservers away, or the whole domain SERVFAILs.

Frequently asked questions

Does Cloudflare charge for DNS?+

No: the DNS plan is free for standard record counts, generous for any normal site.

Can I proxy MX records?+

No, mail-related records must stay DNS only. Proxied mail is the most common Cloudflare misconfiguration.

How long do DNS changes take in Cloudflare?+

The provider serves new values quickly, but resolvers keep old answers until each record's TTL expires. Verify live values with the record lookup, then watch the propagation checker until resolvers agree.

Where do I find Cloudflare's nameservers?+

This playbook's nameservers guide covers the exact location. They are the delegation pair your registrar must point at for Cloudflare to be authoritative.

Should I lower TTL before changing records in Cloudflare?+

Yes, for anything planned: set TTL to 300 seconds at least one old-TTL cycle ahead, make the change, confirm propagation, then restore the TTL.

Can I keep email with one provider and DNS in Cloudflare?+

Yes: DNS host and mail provider are independent. Publish the mail provider's MX, SPF, DKIM, and DMARC records in Cloudflare, and keep those records unproxied.

Which records should every domain have?+

A (and ideally AAAA) for the website, MX plus SPF/DKIM/DMARC for mail, and CAA to restrict certificate issuance. Everything else is per-service.

Verify your work: confirm every record with the DNS record lookup and check changes worldwide with the propagation checker.

Last verified: 2026-10-28