Cloudflare · api · fg-0624

PATCH to /dns_settings with foundation_dns is rejected and the field disappears from responses

If you see PATCH request to /zones/{zone_id}/dns_settings containing foundation_dns is rejected, the cause and the fix for Cloudflare are below, last verified 2026-11-27.

Verified Nov 2026trust 50/100
Symptom
PATCH request to /zones/{zone_id}/dns_settings containing foundation_dns is rejectedfoundation_dns missing from GET responses for zone settings or account defaultsclient code reading foundation_dns gets undefined
Cause
Starting 2026-11-23, with a rollout of about seven days, the DNS settings endpoints for zones and account defaults no longer return or accept the deprecated foundation_dns boolean. Advanced Nameservers are now configured only through nameservers.type.
Fix
Stop reading and writing foundation_dns. Set nameservers.type to cloudflare.advanced instead. Your Foundation DNS subscription and zone state are not changed.
Apply
{"nameservers":{"type":"cloudflare.advanced"}}
Affected
/zones/{zone_id}/dns_settings and /accounts/{account_id}/dns_settings from 2026-11-23, rolling out over about 7 days
Sources

Last verified 2026-11-27 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun