You can now disable Cloudflare’s reverse proxy across all zones in your account simultaneously using the new enforce_dns_only setting. When enabled, Cloudflare responds to DNS queries for all proxied records with your origin IP addresses instead of Cloudflare’s anycast IPs.
This account-level kill switch is designed for incident response scenarios where you need to quickly route traffic directly to your origin servers.
Key characteristics
- Account-level — Affects all zones in the account simultaneously with a single API call.
- Non-destructive — Does not modify your DNS records. Disabling the setting restores normal proxy behavior.
- API-only — Available through the API only, not in the Cloudflare dashboard.
What’s affected
Included: Standard proxied A, AAAA, and CNAME records, Load Balancing records, and records matching Worker routes.
Excluded: Spectrum applications, Cloudflare Tunnel CNAMEs, R2 custom domains, Web3 gateways, and Workers custom domains continue to operate normally.
Before you enable
- Verify your origin servers can handle direct traffic without Cloudflare’s caching and filtering.
- Review which origin IPs will become publicly visible through DNS queries.
- Test the API in a staging account before relying on it for incident response.
Availability
Available via API to all Cloudflare customers.
For information on how to use it, refer to Enforce DNS-only developer documentation .
Source: Cloudflare
Latest Posts
- DNS – Account-level enforce DNS-only

- Microsoft Edge: M365 Copilot Search relevance using work browsing history [MC1294523]
![Microsoft Edge: M365 Copilot Search relevance using work browsing history [MC1294523] 3 pexels olly 3760809](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Generate documents using forms in SharePoint with Power Automate (Preview) [MC1294518]
![Generate documents using forms in SharePoint with Power Automate (Preview) [MC1294518] 4 pexels andre furtado 43594 370717](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams: Enhanced cross-platform join via Session Initiation Protocol (SIP) for Teams Rooms on Android [MC1294522]
![Microsoft Teams: Enhanced cross-platform join via Session Initiation Protocol (SIP) for Teams Rooms on Android [MC1294522] 5 pexels cup of couple 8014533](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![Microsoft Edge: M365 Copilot Search relevance using work browsing history [MC1294523] 3 pexels olly 3760809](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-olly-3760809-150x150.webp)
![Generate documents using forms in SharePoint with Power Automate (Preview) [MC1294518] 4 pexels andre furtado 43594 370717](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-andre-furtado-43594-370717-150x150.webp)
![Microsoft Teams: Enhanced cross-platform join via Session Initiation Protocol (SIP) for Teams Rooms on Android [MC1294522] 5 pexels cup of couple 8014533](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cup-of-couple-8014533-150x150.webp)