---
title: "Cloudflare DNS Foundation Boolean Deprecation and Endpoint API"
slug: "cloudflare-dns-foundation-boolean-deprecation-api-surface-change"
description: "Technical breakdown of the November 2026 Foundation DNS boolean removal, endpoint JSON schema shifts, and migration thresholds for platform engineers managing"
author: "Hamdi Soudani"
category: "cloud-gpu-infra"
archetype: "benchmark-index"
published_at: "2026-11-23T17:05:35.075+00:00"
updated_at: "2026-11-23T17:05:35.266319+00:00"
canonical_url: "https://pyvren.com/blog/cloudflare-dns-foundation-boolean-deprecation-api-surface-change"
reading_time_minutes: 6
word_count: 1146
quality_score: 90
tags: ["cloudflare","dns","foundation","deprecation","api","platform-engineering"]
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"]
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/"]
---

# Cloudflare DNS Foundation Boolean Deprecation and Endpoint API

> **TL;DR:** 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 Facts

- **Deprecation removal date:** November 23, 2026 ([source](https://developers.cloudflare.com/changelog/post/2026-11-23-remove-foundation-dns-boolean/))
- **Replacement schema field:** nameservers.type: cloudflare.advanced ([source](https://developers.cloudflare.com/changelog/post/2026-10-26-foundation-dns-nameserver-type/))
- **Rollout duration per change:** 7 days ([source](https://developers.cloudflare.com/changelog/post/2026-10-26-foundation-dns-nameserver-type/))

## 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.

```jsonc
{
  "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:

```bash
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

1. **Audit existing zone configurations**: Run a `GET /zones/{zone_id}/dns_settings` across your inventory and flag any zone where `foundation_dns` is `true` and `nameservers.type` is absent or set to `cloudflare.standard`. These are the zones requiring immediate client code updates.

2. **Update infrastructure-as-code templates**: Modify Terraform modules, Pulumi stacks, and CI/CD pipeline scripts to write `nameservers.type: cloudflare.advanced` instead of `foundation_dns: true`. Do not remove the `foundation_dns` read path immediately—keep it for read-only reconciliation until all write paths are migrated.

3. **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 `GET` returns `nameservers.type: cloudflare.advanced` and `PATCH` with the new field succeeds. Monitor for 400 errors on the `foundation_dns` field.

4. **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.

5. **Remove `foundation_dns` handling from read-only logic after full migration**: Once 100% of zones have been updated via `PATCH` with `nameservers.type: cloudflare.advanced`, the `foundation_dns` boolean 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: false` with `nameservers.type: cloudflare.standard` if your automation expects the boolean to be writable. The API will reject the `PATCH`, but the zone configuration remains unchanged—no service disruption occurs, only a failed API call.
- Do not mix `foundation_dns` and `nameservers.type` in the same `PATCH` request 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](https://developers.cloudflare.com/fundamentals/api/reference/deprecations/)
- [DNS settings endpoints remove deprecated Foundation DNS boolean · Changelog](https://developers.cloudflare.com/changelog/post/2026-11-23-remove-foundation-dns-boolean/)
- [Advanced Nameservers use a nameserver type · Changelog](https://developers.cloudflare.com/changelog/post/2026-10-26-foundation-dns-nameserver-type/)

## 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.

## Frequently Asked Questions

### Do I need to migrate my zones off Foundation DNS subscription?

No. The API change is backward-compatible; the foundation_dns boolean remains available as a deprecated compatibility alias during the transition. Your Foundation DNS subscription status and Advanced Nameserver enablement are unaffected.

### What happens if my PATCH request includes both foundation_dns and nameservers.type?

The API will reject the request if the values conflict. If both are included, they must match: advanced nameservers require foundation_dns to be true or omitted, while standard nameservers expect foundation_dns false or omitted.

## Primary 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/
