Cloudflare Docs
DNS
DNS
Edit this page
Give us feedback
Set theme to dark (⇧+D)

Partial (CNAME) setup

A partial (CNAME) setup allows you to use Cloudflare’s reverse proxy while maintaining your primary and authoritative DNS provider.

Use this option to proxy only individual subdomains through Cloudflare’s global network when you cannot change your authoritative DNS provider.

Once you are on a partial setup, the actual resolution of your records to Cloudflare depends on CNAME records added at your authoritative DNS provider. Check your authoritative DNS provider to know which records are pointing to {your-hostname}.cdn.cloudflare.net.

​​ How to

​​ Availability

FreeProBusinessEnterprise

Availability

NoNoYesYes

​​ Reference

​​ DNS resolution

With a partial zone, Cloudflare resolves DNS records differently than for full zones.

​​ CNAME flattening

A partial (CNAME) setup requires the proxied hostname to be pointed to Cloudflare via a CNAME record. Since CNAME records are not allowed on the zone apex (example.com), you can only proxy your zone apex to Cloudflare if your authoritative DNS provider supports CNAME Flattening.

If your authoritative DNS provider does not support CNAME Flattening, redirect its traffic — for example, with an .htaccess file — to a subdomain proxied to Cloudflare. Alternatively, you can use static IPs or BYOIPs.

​​ DDoS protection

DDoS protection for attacks against DNS infrastructure is only available for domains on full setup. Domains on the partial setup are not using Cloudflare authoritative nameservers.