
Cloudflare Dns
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-codeInstalls 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:
| Permission | Access | Purpose |
|---|---|---|
| Zone > Zone | Read | List zones |
| Zone > DNS | Edit | Manage DNS records |
Create Token:
- Cloudflare Dashboard > My Profile > API Tokens
- Create Token > Custom token
- Add permissions above
- Zone Resources: Specific zones only
- (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