Setup
CNAME
flattening occurs by default for all plans when your domain uses a CNAME
record for its zone apex (example.com
, meaning the record Name is set to @
).
Accounts on paid plans can also choose to flatten all CNAME
records on their domain. This option is useful for DNS-only (unproxied) CNAME
records since proxied records are flattened by default (as they return Cloudflare IPv4 and IPv6 addresses).
- Log in to the Cloudflare dashboard ↗ and select your account and domain.
- Navigate to DNS > Settings.
- For CNAME Flattening, select Flatten all CNAMEs.