cloudflare-dns

Manage Cloudflare DNS records and zones using the flarectl CLI tool.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/riipandi/minis-skills --skill cloudflare-dns-riipandi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-dns
Source: https://github.com/riipandi/minis-skills/tree/main/cloudflare-dns
Command: npx skills add https://github.com/riipandi/minis-skills --skill cloudflare-dns-riipandi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Cloudflare DNS records through the web dashboard is slow and hard to automate. This Skill lets you list, create, update, and delete DNS records directly from the command line using the flarectl CLI, with proper authentication handling and safe workflows. ## Core Features & Use Cases - Full DNS Record Management: List, create, update, upsert, and delete A, AAAA, CNAME, MX, and TXT records across your Cloudflare zones. - Zone Discovery & Filtering: List available zones and filter records by type or name, with JSON output for easy parsing of record IDs. - Batch Operations: Delete multiple records sharing the same name, and use create-or-update for idempotent record management. - Use Case: You need to point a new subdomain to a server IP and enable Cloudflare's proxy. The Skill verifies your API token, creates the A record with the orange cloud proxy enabled, and shows the updated record list. ## Quick Start Add an A record for sub.example.com pointing to 1.2.3.4 on Cloudflare with the proxy enabled.

Frequently Asked Questions about cloudflare-dns

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

FAQPage Schema
How do I add a DNS record to Cloudflare from the command line?

Use flarectl dns create with the zone, record type, name, and content flags. For example, create an A record with --type A --name sub.example.com --content 1.2.3.4, and add --proxy to enable Cloudflare's orange cloud proxy.

How to update an existing Cloudflare DNS record with flarectl?

First retrieve the record ID using flarectl --json dns list with name filters, then run flarectl dns update with the zone, record ID, and new content. Alternatively, use dns create-or-update to upsert without knowing the ID.

What authentication does flarectl need for the Cloudflare API?

flarectl supports two methods: an API Token via the CF_API_TOKEN environment variable (recommended), or a Global API Key via CF_API_KEY plus CF_API_EMAIL. Set CF_ACCOUNT_ID optionally when working with multiple accounts.

Which Cloudflare record types support the proxy flag?

The --proxy flag only works with A, AAAA, and CNAME record types. MX and TXT records cannot be proxied through Cloudflare, and MX records additionally require a --priority value.

How do I delete multiple Cloudflare DNS records with the same name?

List records in JSON mode filtered by name, then loop through the results in Python calling flarectl dns delete for each record ID. Deletion is irreversible, so confirm the record list with the user before executing.