ByCloud Docs
GuidesCLIAPISDK

Get zone

bycloud dns zones get --zone_id <zone_id> [flags]

Get details of a specific DNS zone

Options

--zone_id

stringrequired

DNS Zone ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Command

bycloud dns zones get \
--zone_id "abc-123"

Output

ID 550e8400-e29b-41d4-a716-446655440000
CRN crn:spo1:dns:zone:550e8400-e29b-41d4-a716-446655440000
NAME example.com.
DESCRIPTION Main domain zone
STATUS ACTIVE
ACTION NONE
TYPE PRIMARY
EMAIL admin@example.com
TTL 3600
SERIAL 2024011501
POOL_ID 550e8400-e29b-41d4-a716-446655440000
MASTERS string, string
PROJECT_ID 550e8400-e29b-41d4-a716-446655440000
CREATED_AT 2024-01-15T10:30:00Z
UPDATED_AT 2024-01-15T10:30:00Z