ByCloud Docs
GuidesCLIAPISDK

List zones

bycloud dns zones list [flags]

List all DNS zones in the current project

Options

--limit

integeroptional

Maximum number of items to return

Default: 20

--marker

stringoptional

ID of the last item from the previous page (for pagination)

--name

stringoptional

Filter by name (exact match or prefix with *)

--output

(-o)

stringoptional

Output format: text, json, or yaml

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

Default: "text"

--status

stringoptional

Filter by status

--type

stringoptional

Filter by zone type

Values: "PRIMARY", "SECONDARY"

Command

bycloud dns zones list

Output

ID CRN NAME DESCRIPTION STATUS
550e8400-e29b-41d4-a716-446655 crn:spo1:dns:zone:550e8400-e29 example.com. Main domain zone ACTIVE
550e8400-e29b-41d4-a716-446655 crn:spo1:dns:zone:550e8400-e29 example.com. Main domain zone ACTIVE