DNS Zones¶
Manage DNS zones in the CloudAPI.
List Zones¶
Lists all DNS zones for your organization.
Get Zone Details¶
Shows detailed information about a zone, including its records.
Create a Zone¶
Flags¶
| Flag | Type | Default | Description |
|---|---|---|---|
--kind | string | Master | Zone kind: Master or Slave |
Examples¶
# Create a master zone
bnerd dns zones create example.com
# Create a slave zone
bnerd dns zones create example.com --kind Slave
Delete a Zone¶
Warning
Deleting a zone removes all its DNS records. This action cannot be undone.
Output Examples¶
Table¶
JSON¶
[
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "example.com.",
"kind": "Master",
"serial": 2024010101
}
]
TUI Equivalent¶
In the interactive TUI (bnerd x), use the :zones or :dns command to browse DNS zones.