API reference · DNS
List the records of a zone, oldest first
GET
/v1/orgs/{org}/zones/{zone}/dns/records- Permission
dns.records.read- Operation
dns.records.list
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
zone | path | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
limit | query | integer | no | 1 to 100; default 50 |
cursor | query | string | no | 0 to 200 characters |
name | query | string | no | 0 to 255 characters |
type | query | string | no | one of "A", "AAAA", "CNAME", "NS", "MX", "TXT", "SRV", "CAA" |
x-obhut-management-assignment | header | string | no | Select one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q" |
Response 200
| Field | Type | Required | Notes |
|---|---|---|---|
items | array of object | yes | |
items[].id | string | yes | for example "record_01h455vb4pex5vsknk084sn02q" |
items[].zoneId | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
items[].name | string | yes | |
items[].ttl | integer | yes | 60 to 86400 |
items[].data | object or object or object or object or object or object or object or object | yes | |
items[].data.type | "A" | yes | |
items[].data.address | string (ipv4) | yes | |
items[].data.target | string | yes | 1 to 253 characters |
items[].data.nameserver | string | yes | 1 to 253 characters |
items[].data.priority | integer | yes | 0 to 65535 |
items[].data.exchange | string | yes | 1 to 253 characters |
items[].data.text | string | yes | 1 to 4096 characters |
items[].data.weight | integer | yes | 0 to 65535 |
items[].data.port | integer | yes | 0 to 65535 |
items[].data.flags | integer | yes | 0 to 255 |
items[].data.tag | string | yes | one of "issue", "issuewild", "iodef" |
items[].data.value | string | yes | 1 to 1024 characters |
items[].revision | string | yes | Opaque revision: dot-joined counters. |
items[].createdAt | string (date-time) | yes | UTC, ISO 8601. |
items[].updatedAt | string (date-time) | yes | UTC, ISO 8601. |
nextCursor | string or null | yes |