dns

Automate Cloudflare DNS zone and record management via API or CLI.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill dns-theslashdojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dns
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/cloudflare/dns
Command: npx skills add https://github.com/theslashdojo/dojo --skill dns-theslashdojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, and includes scripts (resource) components.

What problem does it solve?

Manage Cloudflare DNS zones and records — create, list, update, and delete A, AAAA, CNAME, MX, TXT, and other DNS records. Use when pointing domains to servers, Workers, or Pages, configuring email DNS, or verifying domain ownership.

Core Features & Use Cases

  • CRUD operations for zones and DNS records via REST API or CLI.
  • Proxied vs DNS-only settings to control traffic routing for performance and security.
  • Use Case: Automate onboarding of new domains by provisioning zones and standard DNS records for Workers, Pages, or email.

Quick Start

Create a Cloudflare zone for your domain and then manage DNS records via the API to automate domain setup.

Frequently Asked Questions about dns

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

FAQPage Schema
How do I automate Cloudflare DNS record management for multiple domains?

Automate Cloudflare DNS record management by using REST API or CLI scripts to create, list, update, and delete zones and records. This requires a Cloudflare API token with Zone:DNS:Edit permission to provision and maintain domains programmatically.

What Cloudflare API permissions do I need to manage DNS zones via CLI?

Managing Cloudflare DNS zones via CLI requires an API token with Zone:DNS:Edit permission. You also need curl and jq installed to execute the scripts that handle CRUD operations for DNS records and zones.

Can I configure proxied vs DNS-only records when automating Cloudflare DNS setup?

Yes, you can configure proxied vs DNS-only records when automating Cloudflare DNS setup. The automation supports toggling proxied options to control traffic routing for performance and security across A, AAAA, CNAME, MX, TXT, and SRV records.

How do I automate DNS provisioning for Cloudflare Workers and Pages?

Automate DNS provisioning for Cloudflare Workers and Pages by using scripts to create zones and standard DNS records. This automates domain onboarding by pointing domains to your Workers or Pages deployments through the API.

What DNS record types are supported by Cloudflare DNS automation scripts?

Cloudflare DNS automation scripts support A, AAAA, CNAME, MX, TXT, and SRV record types. You can programmatically create, list, update, and delete these records to configure email DNS, verify domain ownership, or point domains to servers.

Is there a way to script Cloudflare email DNS configuration and domain verification?

Yes, script Cloudflare email DNS configuration and domain verification by creating TXT and MX records through the API. This automates the setup of email DNS records and domain ownership verification without manual dashboard intervention.