Proxy traffic with Secondary DNS override
With Secondary DNS override, you can use Cloudflare as your secondary DNS provider but still get the of Cloudflare’s proxy. Additionally it lets you override any
AAAA records on your zone apex with a
Before you set up Secondary DNS override, make sure that you have:
- and make sure your DNS records are transferred correctly.
- Asked your account team to enable Secondary DNS override.
- Removed all nameservers from your registrar except for those provided by Cloudflare (highly recommended).
Set up Secondary DNS override
After proxying (orange clouding) a Secondary DNS record, any additional records under that hostname transferred from the primary DNS provider are automatically proxied. This applies to all
AAAA records under that domain.
Using the dashboard
Using the API
To set up Secondary DNS override for specific
CNAME records, send a request with the
proxied status as
true. Make sure the added record has the same name as the transferred record you intend to proxy. Cloudflare only looks at the name and the proxy status, so the record content does not matter.
CNAME record on the zone apex
Once you create a
CNAME record at the apex, existing
AAAA records on the zone apex will be deactivated. You can view those deactivated records by clicking View Inactive Records. To re-activate the
AAAA records at the root, remove the