cloudflare-dns

Add, update, and delete Cloudflare DNS records via the API.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RonanCodes/ronan-skills --skill cloudflare-dns-ronancodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-dns
Source: https://github.com/RonanCodes/ronan-skills/tree/main/skills/cloudflare-dns
Command: npx skills add https://github.com/RonanCodes/ronan-skills --skill cloudflare-dns-ronancodes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cloudflare DNS management often requires manual REST calls or manual UI, this skill provides a programmatic way to add, update, or delete DNS records via the Cloudflare API, simplifying provisioning and maintenance.

Core Features & Use Cases

  • Add, update, list, or delete A, AAAA, CNAME, TXT, and MX records across zones.
  • Resolve zone IDs, manage tokens securely, and apply changes to hosts used by Fly.io, Vercel, Render, and other platforms.
  • Safe operations with token scopes, optional zone IDs, and clear verification before destructive actions.

Quick Start

Create a Cloudflare API token with the Zone DNS Edit scope and authorize the tool to modify your DNS records.

Frequently Asked Questions about cloudflare-dns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate adding and updating Cloudflare DNS records via API?

Automating Cloudflare DNS records via API requires a token with Zone DNS Edit scope to programmatically add, update, or delete A, AAAA, CNAME, TXT, and MX entries. This eliminates manual REST calls and simplifies domain provisioning and maintenance workflows.

What do I need to manage Cloudflare DNS records programmatically?

To manage Cloudflare DNS records programmatically, you need a Cloudflare API token configured with the appropriate edit scopes. The system uses this token for validation and optional zone ID resolution to safely apply changes across your domains.

Can I use the Cloudflare API to provision domains for hosting providers like Fly.io, Vercel, or Render?

Yes, you can provision domains for hosting providers like Fly.io, Vercel, and Render using the Cloudflare API. The process automates creating necessary CNAMEs and A records to point your domains directly to your hosting platforms.

How does Cloudflare API DNS automation handle destructive record changes?

Cloudflare API DNS automation handles destructive record changes by implementing safe operation flows that require clear verification before deletion. This ensures token scopes are validated and zone lookups are confirmed before applying any irreversible updates.

Is there a way to resolve Cloudflare zone IDs automatically when managing DNS?

Yes, resolving Cloudflare zone IDs can be automated when managing DNS. The system performs an optional zone ID lookup based on your domain data, allowing you to apply DNS record updates without manually searching for the specific zone identifier.