Proxy status is a per-record decision, not a zone-wide one. Orange cloud (proxied) means Cloudflare’s edge answers for the hostname, terminates HTTP/HTTPS, and hides your origin IP; grey cloud (DNS only) means Cloudflare is just a DNS server handing out the real IP. The working rule: web traffic gets the orange cloud, everything that is not HTTP — mail, SSH, FTP, databases, VPN endpoints — stays grey, and only A, AAAA, and CNAME records can be proxied in the first place. Get one hostname wrong in either direction and you get a black-holed protocol or a publicly exposed origin.
What’s happening
A proxied record stops returning your origin IP. Resolvers get Cloudflare anycast addresses, browsers connect to the edge, and Cloudflare forwards the request to your origin over HTTP or HTTPS. That buys you the WAF, caching, DDoS absorption, and origin-IP privacy — on Free, Pro, and Business alike; the plans differ in which WAF rulesets and tuning options you get, not in whether the proxy works.
The proxy only speaks HTTP and HTTPS, on a fixed set of ports (80, 443, plus the alternates such as 8080, 8443, 2052–2096). Anything else that arrives at a proxied hostname — an SMTP connection to port 25, an SSH session on 22, a MySQL client on 3306 — is simply not forwarded. This is why the toggle exists per record: www and the apex want the proxy; mail, ftp, and vpn must not have it.
Record types split cleanly. A, AAAA, and CNAME are proxiable because they answer “what IP do I connect to for HTTP”. MX, TXT, SRV, CAA, and NS have no proxy toggle at all — the cloud icon is fixed grey — because nothing about them involves Cloudflare’s edge. The full type-by-type reference lives in the Cloudflare DNS record cookbook; this article is about the decision, and Cloudflare’s own guidance is under their DNS docs.
What to check first
- Which hostnames carry non-HTTP traffic: MX targets, FTP, SSH, VPN, database endpoints, monitoring agents.
- Whether your MX record points at a hostname whose A record is orange — that combination silently kills inbound mail.
- Which CNAMEs exist for third-party verification or service discovery (DKIM CNAMEs,
autodiscover, SaaS validation names) — vendors generally require these DNS only. - Whether anything connects to your site on a non-standard port like 3000 or 8000 — the proxy will not carry it.
- Which grey records reveal the same IP your orange records are trying to hide.
How to verify
# A proxied record returns Cloudflare anycast IPs, not your origin
dig +short A www.example.com @1.1.1.1
# A DNS-only record returns the origin IP directly
dig +short A mail.example.com @1.1.1.1
# Confirm the MX target and then check what its A record returns
dig +short MX example.com
dig +short A mx-target.example.com @1.1.1.1
# Prove the origin itself still answers, without touching DNS
curl -sv --resolve www.example.com:443:203.0.113.10 https://www.example.com/ -o /dev/null 2>&1 | head -20
If www returns addresses in Cloudflare ranges and mail returns your server’s real IP, the split is working as designed. In the dashboard, DNS → Records shows the toggle per record; anything with a fixed grey icon is a type that cannot be proxied.
The fix
Walk the zone record by record:
- Apex and
www— orange. These are the hostnames the proxy exists for. On a WordPress site this includeswp-adminandwp-login.phptraffic automatically, since those are paths on the same hostname, and the WAF in front of them is most of the point. - The MX target — always grey. The MX record itself cannot be proxied, but the A record it points at (say
mail.example.com) can be, and that mistake blocks SMTP entirely. Keep every hostname referenced by an MX record DNS only. If that hostname is your web server too, accept the IP exposure or move mail to its own host. - Service hostnames — grey.
ftp,ssh,vpn,db,webmailwhen it must be reached by non-HTTP clients, monitoring endpoints that check the origin directly. The cPanel-flavoured version of this decision, including the stack ofcpanel.andwhm.subdomains, is covered in Cloudflare DNS only vs proxied for cPanel. - Third-party CNAMEs — usually grey. Domain-verification CNAMEs, DKIM CNAMEs,
autodiscover, and most SaaS onboarding records need the vendor to see their own target, not Cloudflare’s edge. Proxy them only when the vendor documents support for it (some site builders and PaaS providers do). - App hostnames on odd ports — grey, or re-port. A proxied hostname serving an app on port 3000 will not work; either move the app behind 443 on the origin or leave the record DNS only.
- Everything else that is plain web — orange. Staging and admin subdomains benefit from the proxy as much as production does. If you would put a WAF in front of it, orange-cloud it.
When this fix is wrong
If your real question is “why is the site slow or broken since enabling the proxy”, proxy status is the wrong knob — look at SSL mode, cache rules, and origin health before grey-clouding anything, because toggling to DNS only publishes your origin IP to every DNS-history crawler within minutes. The trade-offs of flipping a record grey to debug are covered in grey-clouding a record safely. And if you run cPanel, the impact list is longer than a generic stack — see the cPanel article above rather than applying this one blindly.
Common mistakes
- Orange-clouding the hostname an MX record points at, then spending a day debugging “mail server down”.
- Grey-clouding
www“temporarily” during an incident and leaving the origin IP exposed permanently in DNS-history databases. - Assuming the proxy carries any TCP port — it forwards only HTTP/HTTPS ports, and non-web protocols need Spectrum, which is not a Free/Pro feature for arbitrary ports.
- Proxying a SaaS verification CNAME and wondering why the vendor’s check never passes.
Prevention
- Audit proxy status whenever you add a record: web = orange, non-HTTP = grey, vendor CNAME = whatever the vendor documents.
- Keep mail on a different IP than the web origin so the mandatory grey mail records do not reveal the IP the proxy hides.
- After any change,
digthe record from a public resolver and confirm you see edge IPs or origin IPs as intended. - Document which grey records exist and why, so nobody “fixes” them to orange later.
- Re-check the zone after imports and migrations — imported records do not always land with the proxy status you meant.
A zone where every record has a deliberate proxy status is the difference between Cloudflare protecting you and Cloudflare surprising you. Moving a production zone onto Cloudflare without dropping mail or exposing the origin is exactly the kind of work Stack Harbor handles under Managed Cloud Ops — book an infrastructure review if you want it done with a rollback plan.