Zones & Domain Management
DomainsList, inspect, verify, and manage Cloudflare zones (domains) and nameserver assignments.
📖 Full Explanation
A Zone represents an active domain managed by Cloudflare. \1 allows you to list all zones on your account, verify nameserver delegation, inspect plan types (Free, Pro, Business, Enterprise), and check whether traffic is active.
⚙️ Command Options & Flags
| Option / Flag | Description | Default |
|---|---|---|
| -s, --status <status> | Filter zones by status (active, pending, paused) | all |
| --json | Return zones in raw JSON format | false |
🔬 Technical Corollary & Edge Mechanics
Resolves domain names to Zone IDs automatically, caching them locally in \1 for 24 hours so you can specify human-readable domains (e.g. \1) instead of memorizing 32-character hexadecimal Zone IDs.
🎯 Real-World DevOps Use Cases
New Domain Onboarding Check
Check if newly configured Cloudflare nameservers have been recognized by root registrars.
Multi-Domain Inventory Audit
Export a complete inventory of all domains across enterprise accounts.
💻 Live Output Simulation
$ cflare zones list ┌─────────────────┬──────────────────────────────────┬────────┬──────────┐ │ Zone Name │ Zone ID │ Status │ Plan │ ├─────────────────┼──────────────────────────────────┼────────┼──────────┤ │ namishkumar.in │ 8f92ab3c4d5e6f7a8b9c0d1e2f3a4b5c │ active │ Free │ │ example.com │ 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d │ active │ Pro │ └─────────────────┴──────────────────────────────────┴────────┴──────────┘