Cloudflare DNS Manager for Openclaw

A powerful CLI-driven skill for managing Cloudflare DNS records, including A, MX, and TXT records, with built-in Dynamic DNS support.

pushp1997
v1.0.0
Feb 9, 2026
0
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cloudflare-dns

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cloudflare-dns using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Cloudflare DNS Manager?

This skill provides a streamlined interface for interacting with the Cloudflare API to manage domain name system settings. By utilizing the bundled shell script, developers can automate the creation and maintenance of various record types, ensuring high availability and secure routing for their web properties. As part of the Openclaw Skills ecosystem, it bridges the gap between manual dashboard management and programmatic automation.

It is designed for developers who need to handle zone records, perform domain verification, or maintain home server connectivity without leaving their development environment. Using Openclaw Skills like this one reduces the friction of context switching while managing cloud infrastructure, allowing for faster deployments and reliable DNS configurations.

Cloudflare DNS Manager Use Cases

  • Automating the setup of subdomains for staging and production environments.
  • Managing email verification records like MX and SPF for new domains.
  • Implementing Dynamic DNS (DDNS) to keep home servers accessible via a static hostname.
  • Bulk updating DNS records across multiple zones using shell automation.
  • Enabling or disabling Cloudflare proxy settings programmatically to manage CDN traffic.

How Cloudflare DNS Manager Works

  1. Authenticate with the Cloudflare API using a secure API Token and an optional Zone ID.
  2. Execute the cf-dns.sh script with specific subcommands such as zones, list, or create.
  3. The skill parses the provided request parameters including record type, name, content, and TTL.
  4. It sends a signed request to the Cloudflare API to perform the requested operation.
  5. For Dynamic DNS tasks, the skill automatically detects the current public IP and updates the target A record to match.
  6. The skill returns a JSON response confirming the status of the DNS modification.

Cloudflare DNS Manager Setup

To begin using this skill within the Openclaw Skills framework, configure your environment variables to authenticate with Cloudflare:

export CF_API_TOKEN="your-api-token"
export CF_ZONE_ID="your-zone-id" # Optional: can be auto-detected from domain

You can generate an API token in the Cloudflare Dashboard under My Profile -> API Tokens using the Edit zone DNS template. The Zone ID is found on the Overview page of your specific domain.

Cloudflare DNS Manager Data Schema & Taxonomy

The skill interacts with Cloudflare API objects and generates JSON output. The following table describes the primary data points handled by the script:

Parameter Description Examples
type The DNS record protocol A, AAAA, CNAME, TXT, MX
name The subdomain or root label www, @, blog
content The target IP or destination 1.2.3.4, example.com
proxied Whether to use Cloudflare Proxy true, false
ttl Time to live in seconds 300, 1 (Auto)
priority Order for MX records 10, 20

Cloudflare DNS Manager Advanced Features

  • Automatic Zone ID detection based on the domain name to simplify CLI command syntax.
  • Native Dynamic DNS (DDNS) support to keep local server hostnames in sync with changing public IPs.
  • Proxy toggle support (orange cloud) to instantly enable CDN, WAF, and DDoS protection via the API.
  • Comprehensive record type support covering A, AAAA, CNAME, TXT, and MX configurations.
  • JSON-based output for easy integration with jq or other pipeline processing tools within the Openclaw Skills environment.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*