cflare dns

DNS Record Management

DNS Engine

Create, update, delete, and inspect DNS records (A, AAAA, CNAME, TXT, MX, SRV) with proxy toggles.

$ cflare dns <list|add|update|delete> <domain> [options]

📖 Full Explanation

\1 provides blazing-fast DNS record management from your terminal. Add records, toggle Cloudflare edge proxying, and update server destinations with instantaneous global propagation across Cloudflare's authoritative nameservers.

⚙️ Command Options & Flags

Option / Flag Description Default
-t, --type <type> Record type: A, AAAA, CNAME, TXT, MX, SRV, NS A
-n, --name <name> Record subdomain or name (e.g. api, @, mail) required for add
-c, --content <value> Target IP or destination host (e.g. 1.2.3.4) required for add
-p, --proxied Toggle Cloudflare orange-cloud edge proxy true
--ttl <seconds> Time to live in seconds (1 for auto) 1

🔬 Technical Corollary & Edge Mechanics

Communicates with \1. When \1 is configured, Cloudflare edge intercepts incoming requests, applying WAF, DDoS mitigation, and SSL caching. When \1, traffic resolves directly to the destination origin IP.

🎯 Real-World DevOps Use Cases

Pointing Subdomain to Load Balancer

Add an orange-cloud proxied A record pointing an API subdomain to your origin.

$ cflare dns add namishkumar.in -t A -n api -c 203.0.113.88 --proxied

Domain Ownership Verification

Quickly add a Google, Resend, or GitHub TXT verification record.

$ cflare dns add namishkumar.in -t TXT -n @ -c "google-site-verification=abc123"

💻 Live Output Simulation

$ cflare dns add namishkumar.in -t A -n api -c 203.0.113.88 --proxied
✔ Added DNS record:
  Type:    A
  Name:    api.namishkumar.in
  Content: 203.0.113.88
  Proxied: true (Orange cloud active)
  TTL:     Auto