ByCloud Docs
GuidesCLIAPISDK

List recordsets

bycloud dns zones-recordsets list --zone_id <zone_id> [flags]

List all recordsets in a DNS zone

Options

--zone_id

stringrequired

DNS Zone ID

--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 record type

Values: "A", "AAAA", "CNAME", "MX", "NS", "PTR", "SOA", "SPF", "SRV", "SSHFP", "TXT", "CAA", "NAPTR"

Command

bycloud dns zones-recordsets list \
--zone_id "abc-123"

Output

ID CRN ZONE_ID ZONE_NAME NAME
550e8400-e29b-41d4-a716-446655 crn:spo1:dns:recordset:550e840 550e8400-e29b-41d4-a716-446655 example.com. www.example.com.
550e8400-e29b-41d4-a716-446655 crn:spo1:dns:recordset:550e840 550e8400-e29b-41d4-a716-446655 example.com. www.example.com.