This is a practical reference for managing Cloudflare DNS via their REST API, with a specific focus on Azure integrations. It covers the essentials: setting up scoped API tokens instead of global keys, managing different record types (A, CNAME, TXT, MX), and understanding when to proxy traffic through Cloudflare versus DNS-only mode. The External-DNS section is solid if you're running Kubernetes and want automated DNS management for ingresses and services. One thing to note: the guide correctly emphasizes using upsert-only policy in production rather than sync, which can prevent accidental deletions. It's thorough on the automation side but assumes you're already familiar with why you'd choose Cloudflare over other DNS providers.

skills.sh installs
186
GitHub stars
15
last updated
Aug 21, 2026

Install

$ npx -y skills add julianobarbosa/claude-code-skills --skill cloudflare-dns --agent claude-code

Installs into .claude/skills of the current project.

Files

Cloudflare DNS Skill

Complete Cloudflare DNS operations via REST API with focus on Azure integration.

Overview

This skill covers Cloudflare DNS management for Azure-hosted workloads, including:

  • API token configuration and security
  • DNS record management (A, AAAA, CNAME, TXT, MX)
  • Proxy settings (orange/gray cloud)
  • External-DNS integration for Kubernetes
  • Troubleshooting and monitoring

Authentication

API Token (Recommended)

Create scoped API tokens instead of using Global API Key:

Required Permissions:

PermissionAccessPurpose
Zone > ZoneReadList zones
Zone > DNSEditManage DNS records

Create Token:

  1. Cloudflare Dashboard > My Profile > API Tokens
  2. Create Token > Custom token
  3. Add permissions above
  4. Zone Resources: Specific zones only
  5. (Optional) IP filtering for extra security

Environment Setup:

# Export for API calls
export CF_API_TOKEN="your-api-token"
export CF_ZONE_ID="your-zone-id"

# Get zone ID
curl -s -X GET "https://api.cloudflare.com/client/v4/zones" \
  -H "Authorization: Bearer $CF_API_TOKEN" | jq '.result[] | {name, id}'

Sponsors

Details

Repository
github.com/julianobarbosa/claude-code-skills
Categories
Backend & APIs, Security, DevOps & CI/CD, Documentation, Debugging, Cloud & Infrastructure
First seen
Jun 3, 2026

More from julianobarbosa/claude-code-skills

All 8
1cloudai-x avatardesigning-apiscloudai-x/claude-workflow-v2Designs REST and GraphQL APIs including endpoints, error handling, versioning, and documentation. Use when creating new APIs, designing endpoints, reviewing API184skills.sh installs
2databricks-solutions avatardatabricks-python-sdkdatabricks-solutions/ai-dev-kitDatabricks development guidance including Python SDK, Databricks Connect, CLI, and REST API. Use when working with databricks-sdk, databricks-connect, or Databr183skills.sh installs
3charleswiltgen avataraxiom-storekit-refcharleswiltgen/axiomReference — Complete StoreKit 2 API guide covering Product, Transaction, AppTransaction, RenewalInfo, SubscriptionStatus, StoreKit Views, purchase options, serv181skills.sh installs
4iii-hq avatariii-http-endpointsiii-hq/iiiExposes iii functions as REST API endpoints. Use when building HTTP APIs, webhooks, or inbound request handling where iii owns the route.180skills.sh installs
5sendaifun avatardflowsendaifun/skillsComplete DFlow trading protocol SDK - the single source of truth for integrating DFlow on Solana. Covers spot trading, prediction markets, Swap API, Metadata AP179skills.sh installs
6srbhr avatarfastapisrbhr/resume-matcherBuild Python APIs with FastAPI, Pydantic v2, and SQLAlchemy 2.0 async. Covers project structure, JWT auth, validation, and database integration with uv package 179skills.sh installs