Skip to content

cloudflare-dns

Use when managing DNS records, zones, or domain settings via Cloudflare API — record CRUD, batch operations, proxy toggle, SSL/TLS mode, DNSSEC, or zone management. Also use when migrating DNS to Cloudflare or debugging Cloudflare DNS issues.

ModelSource
sonnetpack: dns
Full Reference

┏━ 🔧 cloudflare-dns ━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Use when managing DNS records, zones, or domai… ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Cloudflare API v4 for DNS management. Available on all plans including Free — unlimited DNS queries, no per-query charges. Batch operations endpoint is 850x faster than individual calls for bulk changes. DNS record type changes deprecated January 2026, EOL June 30, 2026.

ItemValue
API Basehttps://api.cloudflare.com/client/v4
AuthBearer token (Authorization: Bearer $CF_API_TOKEN)
Rate Limit1,200 req / 5 min per user (global)
Docshttps://developers.cloudflare.com/dns/
API Refhttps://developers.cloudflare.com/api/resources/dns/
I want to…File
Authenticate and set up credentialsreference/auth.md
Add, update, and delete DNS recordsreference/records.md
Manage zones and bulk batch operationsreference/zones.md
Configure SSL/TLS and proxy settingsreference/ssl-tls.md
Enable and manage DNSSECreference/dnssec.md
Handle errors, rate limits, and deprecationsreference/errors-and-limits.md

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.