cloudflare-dnsManage Cloudflare DNS records via API. Use when user asks to list, create, update, or delete DNS records, set up DDNS, manage domains on Cloudflare, or check DNS propagation. Supports A, AAAA, CNAME, TXT, MX, and other record types.
Install via ClawdBot CLI:
clawdbot install pushp1997/cloudflare-dnsManage DNS records via Cloudflare API using the bundled cf-dns.sh script.
Store credentials in environment or pass via flags:
export CF_API_TOKEN="your-api-token"
export CF_ZONE_ID="your-zone-id" # optional, can auto-detect from domain
Get API token: Cloudflare Dashboard → My Profile → API Tokens → Create Token → "Edit zone DNS" template.
Get Zone ID: Cloudflare Dashboard → select domain → Overview → right sidebar "Zone ID".
The script is at scripts/cf-dns.sh. All commands:
# List zones (find zone ID)
cf-dns.sh zones
# List all records for a zone
cf-dns.sh list <zone_id>
cf-dns.sh list --domain example.com
# Get specific record
cf-dns.sh get <zone_id> <record_id>
# Create record
cf-dns.sh create <zone_id> --type A --name www --content 1.2.3.4 [--ttl 300] [--proxied]
cf-dns.sh create <zone_id> --type CNAME --name blog --content example.com
cf-dns.sh create <zone_id> --type TXT --name @ --content "v=spf1 ..."
cf-dns.sh create <zone_id> --type MX --name @ --content mail.example.com --priority 10
# Update record
cf-dns.sh update <zone_id> <record_id> --content 5.6.7.8 [--ttl 600] [--proxied]
# Delete record
cf-dns.sh delete <zone_id> <record_id>
# DDNS: update A record to current public IP
cf-dns.sh ddns <zone_id> --name home
cf-dns.sh ddns --domain example.com --name home
Add subdomain pointing to IP:
cf-dns.sh create <zone_id> --type A --name subdomain --content 203.0.113.50 --proxied
Set up email (MX + SPF):
cf-dns.sh create <zone_id> --type MX --name @ --content mail.example.com --priority 10
cf-dns.sh create <zone_id> --type TXT --name @ --content "v=spf1 include:_spf.google.com ~all"
Dynamic DNS for home server:
# Run periodically via cron
cf-dns.sh ddns --domain example.com --name home
--proxied enables Cloudflare proxy (orange cloud) — hides origin IP, adds CDN@ means root domainjq for parsingGenerated Mar 1, 2026
Home users or small businesses can automatically update DNS A records with their changing public IP addresses, enabling reliable access to self-hosted services like media servers or remote desktops. This is commonly implemented via cron jobs to ensure continuous availability without manual intervention.
Developers and IT teams can create, update, or delete DNS records such as A or CNAME records to point subdomains to specific IPs or services, facilitating deployment of staging environments, microservices, or CDN setups. This supports agile development and scalable infrastructure management.
Organizations can set up MX and TXT records to configure email services with providers like Google Workspace or Microsoft 365, ensuring proper mail routing and SPF authentication. This helps prevent email spoofing and improves deliverability for business communications.
During domain transfers or server migrations, users can list and update DNS records to redirect traffic smoothly, and the script's JSON output allows for monitoring changes. This minimizes downtime and ensures seamless transitions for websites and applications.
By using the --proxied flag, users can hide origin server IPs and leverage Cloudflare's CDN and DDoS protection for enhanced security and performance. This is useful for e-commerce sites or public-facing applications to reduce latency and mitigate attacks.
Offer subscription-based DNS management for clients, handling record updates, DDNS setups, and propagation monitoring. Revenue comes from monthly fees for automated maintenance and support, targeting small businesses lacking in-house IT expertise.
Sell one-time or annual support packages to home users for configuring and maintaining DDNS for personal servers, including setup assistance and troubleshooting. This model capitalizes on the growing trend of self-hosting and remote work setups.
Provide consulting services to integrate this skill into larger DevOps pipelines or cloud infrastructure, offering customization and automation solutions. Revenue is generated through project-based fees or hourly rates for implementation and training.
💬 Integration Tip
Integrate with cron jobs for automated DDNS updates or use in CI/CD pipelines to manage DNS records during deployments, ensuring scripts are secured with environment variables for API tokens.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.