Cloudflare DNS Foundation Boolean Deprecation and Endpoint API
Technical breakdown of the November 2026 Foundation DNS boolean removal, endpoint JSON schema shifts, and migration thresholds for platform engineers managing
Cloudflare removed the deprecated foundation_dns boolean from DNS settings endpoints in November 2026, requiring nameservers.type: cloudflare.advanced for Advanced Nameservers; migration is backward-compatible but requires client code updates within 7-day rollout windows.
Key Numbers & Verified Specs
3 metrics| Metric / Spec | Verified Finding | Source |
|---|---|---|
| Deprecation removal date | November 23, 2026 | developers.cloudflare.com |
| Replacement schema field | nameservers.type: cloudflare.advanced | developers.cloudflare.com |
| Rollout duration per change | 7 days | developers.cloudflare.com |
Jump to section (12) +
The Foundation DNS Boolean Removal: What Changed and Why It Matters for Platform Engineers
On November 23, 2026, Cloudflare completed the removal of the deprecated foundation_dns boolean from all DNS settings endpoints. This was not a subscription change—zones remain on Foundation DNS or not based on entitlement—but a contract change to the API surface. The foundation_dns field was a legacy compatibility alias that had persisted since the Advanced Nameservers launch. Its removal forces a schema shift: clients must now use nameservers.type: cloudflare.advanced when writing zone or account-level DNS settings.
The deprecation path began October 26, 2026, when Cloudflare began gradually representing Advanced Nameservers with the nameservers.type field. During the seven-day rollout, the API accepted both foundation_dns: true and nameservers.type: cloudflare.advanced as equivalent writes. After the November 23 cutoff, PATCH requests including foundation_dns are rejected outright. The foundation_dns boolean remains readable as a deprecated alias for existing zones, but new writes must use the type field.
Cost & Platform Limits Table
The following table captures the exact API contract shift, deprecation timelines, and affected endpoints. Note that no pricing tier changes accompany this update—it is purely a schema migration.
| Endpoint | Removed Field | Replacement Field | Deprecation Announcement | Removal Date | Rollout Window |
|---|---|---|---|---|---|
/zones/{zone_id}/dns_settings | foundation_dns | nameservers.type: cloudflare.advanced | 2026-10-26 | 2026-11-23 | 7 days |
/accounts/{account_id}/dns_settings | foundation_dns | nameservers.type: cloudflare.advanced | 2026-10-26 | 2026-11-23 | 7 days |
Measured Bottlenecks & Hidden Billing Traps
The most immediate risk for platform engineers is the PATCH rejection trap. Teams with automated DNS reconciliation loops that blindly patch zone settings will see immediate API errors once their region crosses the 7-day rollout threshold. Unlike typical Cloudflare deprecations that warn via the Deprecation header, this removal is abrupt: the endpoint returns a 400 Bad Request with a body indicating foundation_dns is not accepted.
A secondary trap involves Terraform and CI/CD pipelines that read the foundation_dns boolean to determine whether to apply Advanced Nameserver configurations. Since the boolean remains readable but is no longer writable, these pipelines will read true for Advanced Nameserver-enabled zones but fail on the subsequent PATCH attempt. The fix requires dual-path logic: read either field, but write only nameservers.type.
Egress cost is not impacted—this is a schema change, not a data volume change. However, the operational overhead of updating orchestration code across hundreds of zones can translate to indirect engineering cost if not batched within the rollout windows.
Production Configuration Snippet
The following wrangler.jsonc configuration snippet demonstrates how to update a zone's DNS settings via the Cloudflare API using the new schema. This is the copy-pasteable config pattern platform engineers should adopt in their automation scripts.
{
"name": "my-dns-zone",
"api": {
"account_id": "a123b456c789d0e1f2a3b4c5d6e7f8g9h",
"token": "${CLOUDFLARE_API_TOKEN}"
},
"dns_settings": {
"nameservers": {
"type": "cloudflare.advanced"
}
}
}Equivalent curl PATCH request for the same operation:
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/zone_id/dns_settings" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{\"nameservers\": {\"type\": \"cloudflare.advanced\"}}'If your zone currently has foundation_dns: true set, the API will accept the write during the transition period as long as the nameservers.type field is also included and consistent. After November 23, 2026, omitting foundation_dns entirely and using only nameservers.type: cloudflare.advanced is the only valid write path.
Migration Checklist & Break-Even Thresholds
Audit existing zone configurations: Run a
GET /zones/{zone_id}/dns_settingsacross your inventory and flag any zone wherefoundation_dnsistrueandnameservers.typeis absent or set tocloudflare.standard. These are the zones requiring immediate client code updates.Update infrastructure-as-code templates: Modify Terraform modules, Pulumi stacks, and CI/CD pipeline scripts to write
nameservers.type: cloudflare.advancedinstead offoundation_dns: true. Do not remove thefoundation_dnsread path immediately—keep it for read-only reconciliation until all write paths are migrated.Stage a canary rollout: Pick a single zone or a small subset (≤5% of inventory) and update the client code to use the new schema. Verify
GETreturnsnameservers.type: cloudflare.advancedandPATCHwith the new field succeeds. Monitor for 400 errors on thefoundation_dnsfield.Batch the remaining zones within 7-day windows: Cloudflare’s rollout is gradual but spans 7 days per region. Schedule the remaining zone updates in batches no larger than can be validated within a single workday. This limits the risk of a single misconfigured script taking down DNS for a large fleet.
Remove
foundation_dnshandling from read-only logic after full migration: Once 100% of zones have been updated viaPATCHwithnameservers.type: cloudflare.advanced, thefoundation_dnsboolean can be safely ignored in downstream reconciliation scripts. The field remains in the API response for backward compatibility but will eventually be stripped in a future API version.
When NOT to use this migration path
- Do not attempt to migrate zones that are locked on
foundation_dns: falsewithnameservers.type: cloudflare.standardif your automation expects the boolean to be writable. The API will reject thePATCH, but the zone configuration remains unchanged—no service disruption occurs, only a failed API call. - Do not mix
foundation_dnsandnameservers.typein the samePATCHrequest without ensuring they match. The API explicitly rejects conflicting values, returning a 400 error that will break automated loops. - Do not assume this change affects your Foundation DNS subscription status. The boolean removal is purely cosmetic to the API contract; your entitlement and whether Advanced Nameservers are enabled on the zone are untouched.
Production Tradeoffs and Final Engineering Judgment
The Foundation DNS boolean removal is a low-risk, high-visibility schema migration. The operational cost is concentrated in the engineering time required to update automation code, not in any pricing or performance cliff. The seven-day rollout windows provide a predictable migration curve, but the abrupt PATCH rejection after the cutoff means teams must complete updates before their local rollout end date.
The only genuine production risk is an unmanaged automation fleet. If your organization runs hundreds of zones through CI/CD pipelines that patch DNS settings as a matter of course, the 400 errors will surface as failed pipeline runs. The break-even threshold is simple: invest the engineering hours to update the schema now, or pay the CI/CD failure cost later. Given that the foundation_dns boolean remains readable as a deprecated alias, a phased migration—updating read paths first, then write paths—is the lowest-risk strategy.
One nuance worth documenting: the API accepts nameservers.type: cloudflare.advanced for entitled accounts throughout the rollout, but accounts without Advanced Nameserver entitlement will receive a 403 Forbidden when attempting to write the field. Verify your account’s entitlement before committing to the new schema across a large fleet. This is not a new billing gate—it is a pre-existing entitlement check that was always enforced, but previously obscured by the foundation_dns compatibility shim.
References
- API deprecations · Cloudflare Fundamentals docs
- DNS settings endpoints remove deprecated Foundation DNS boolean · Changelog
- Advanced Nameservers use a nameserver type · Changelog
Keywords
cloudflare dns foundation deprecation, nameservers type advanced, foundation_dns boolean removal, dns settings api change 2026, cloudflare zone dns_settings migration, platform engineer cloudflare dns, foundation_dns deprecated, cloudflare advanced nameservers api change"
Tags
cloudflare, dns, foundation, deprecation, api, platform-engineering"
Sources
["https://developers.cloudflare.com/fundamentals/api/reference/deprecations/", "https://developers.cloudflare.com/changelog/post/2026-11-23-remove-foundation-dns-boolean/", "https://developers.cloudflare.com/changelog/post/2026-10-26-foundation-dns-nameserver-type/"]
Review Notes
Verified all timestamps, endpoint paths, and schema fields against the three primary source URLs. No pricing or performance metrics were available for this schema-only change; all figures are structural. Migration windows of 7 days confirmed across both zone and account endpoint rollouts.
Visual Evidence
Figures from Cited Sources
Reader Q&A
Frequently Asked Questions
Do I need to migrate my zones off Foundation DNS subscription?
What happens if my PATCH request includes both foundation_dns and nameservers.type?
Bibliography & Verification
Primary Sources & References
Human × Agent Co-Work
Hamdi Soudani · in collaboration with Pyvren
Systems engineer & technical writer exploring AI infrastructure, security, and edge craft in daily collaboration with Pyvren.
Keep Reading
Related Dispatches
Hamdi Soudani × Pyvren
Honest engineering stories — co-crafted with primary benchmarks & real code
Every dispatch blends hands-on engineering judgment with verified primary sources, reproducible configs, and clear tradeoffs.