cloudflare-dns

Manage Cloudflare DNS records via API-driven bash script.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/mattstyles333/openclaw-workspace --skill cloudflare-dns-mattstyles333
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-dns
Source: https://github.com/mattstyles333/openclaw-workspace/tree/main/skills/cloudflare-dns
Command: npx skills add https://github.com/mattstyles333/openclaw-workspace --skill cloudflare-dns-mattstyles333

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the management of DNS records within Cloudflare, automating tasks like creation, updates, deletion, and dynamic DNS configuration.

Core Features & Use Cases

  • DNS Record Management: Create, list, get, update, and delete various DNS record types (A, AAAA, CNAME, TXT, MX, etc.).
  • Dynamic DNS (DDNS): Automatically update A records with your current public IP address.
  • Zone Management: List available DNS zones to help identify Zone IDs.
  • Use Case: Automatically update your home server's IP address with Cloudflare whenever your public IP changes, ensuring your services remain accessible.

Quick Start

Use the cloudflare-dns skill to create a new A record for the subdomain 'www' pointing to the IP address '1.2.3.4' within your zone.

Frequently Asked Questions about cloudflare-dns

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

FAQPage Schema
How do I automate updating Cloudflare DNS records when my public IP address changes?

Dynamic DNS updates automatically push your current public IP address to Cloudflare A records. This bash script checks your IP and updates the DNS record via the API, ensuring services remain accessible when your IP changes.

How do I create and delete Cloudflare DNS records using a bash script?

You can create and delete Cloudflare DNS records by providing the API token and Zone ID to the script. It supports various record types including A, AAAA, CNAME, TXT, and MX through API-driven operations.

What do I need to manage Cloudflare DNS zones through an API script?

Managing Cloudflare DNS requires a Cloudflare API token and optionally a Zone ID. The script uses these credentials to list available zones, helping you identify the correct Zone ID for record operations.

Can I update multiple types of DNS records like CNAME and MX in Cloudflare?

Yes, the script supports updating various DNS record types including A, AAAA, CNAME, TXT, and MX. It handles creation, updates, listing, and deletion for these records through the Cloudflare API.

What is the best way to list Cloudflare DNS zones to find a specific Zone ID?

Listing Cloudflare DNS zones is handled directly by the script using your API token. It queries the API and returns available zones, allowing you to identify the correct Zone ID for subsequent record management tasks.