This article explains when to use the orange cloud proxy and when to keep a DNS record as DNS Only.
Overview
Proxied records send web traffic through Cloudflare so Cloudflare features can apply. DNS Only records only return the target IP or hostname and do not receive Cloudflare WAF, caching, or HTTP security processing.
Recommended Steps
- Use Proxied for normal website records such as
example.comandwww. - Use DNS Only for MX records and mail hostnames such as
mail,smtp,imap, andpop. - Use DNS Only for FTP, SSH, and most non-HTTP services unless a Cloudflare feature such as Tunnel, Access, or Spectrum is configured.
- Check that public web subdomains are intentionally proxied.
- Remove unused DNS records that expose server IPs.
- Avoid creating
direct.example.comororigin.example.comunless it is restricted and documented.
Common Mistakes to Avoid
- Proxying mail and breaking email clients.
- Leaving website subdomains DNS Only by mistake.
- Assuming DNS Only traffic is protected by Cloudflare WAF.
- Keeping old records that reveal the origin IP.