Return to Homepage

List Records

http
GET /dns/{domain}/records

Query Parameters

Field Type Required Description
type string No Filter by record type (any case). 400 for anything but A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR, SOA, TLSA, SSHFP, DS, HTTPS, SVCB

The list leaves out the SOA and the domain’s own NS records (Export Zone has them). A domain with no zone yet lists no records. TXT values come back as stored: quoted, and split into 255-character pieces when longer.

Response

json
[
  {
    "id": "3f9c2a71b04d8e65",
    "name": "www.example.com.",
    "display_name": "www",
    "type": "A",
    "content": "1.2.3.4",
    "ttl": 3600
  }
]

Snagged on something?

Our sysadmins answer tickets around the clock.