Skip to main content

List all zones records

This endpoint allows you to list the DNS records of all your zones.
Many results can be returned, so a pagination system is provided with the limit and offset parameters.
You can also use filters to search for specific records.

Endpoint

GET /dns/v3/records

Parameters

NameLocationRequiredTypeDefault valueDescription
limitURLNoInteger100Number of DNS records to return (max: 500)
offsetURLNoInteger0Offset used
sortURLNoStringzoneField used to sort DNS records.
Allowed values : zone, name, type
zoneURLNoStringSearch by zone name.
Wildcard compatible
customer_idURLNoIntegerSearch for zones belonging to a specific customer ID.
include_subsidiariesURLNoBooleantrueInclude subsidiaries in the search.
nameURLNoStringSearch by DNS record name.
Use @ to search for records at the zone apex.
Wildcard compatible
typeURLNoStringSearch by DNS record type.
Wildcard compatible
dataURLNoStringSearch by DNS record content.
Wildcard compatible
commentURLNoStringSearch by comment.
Wildcard compatible
tagURLNoStringSearch by the name of a tag
Wildcard compatible
tag_valueURLNoStringSearch by the value of a tag
Wildcard compatible
show_updatesURLNoBooleanfalseDisplay record creations, modifications and deletions awaiting validation

Response

A RecordSearchResults object.

Example Request

GET /dns/v3/records?limit=3&offset=2&name=@&zone=nameshield.*

Example Response

{
"message": "OK",
"data": {
"total": 10,
"limit": 3,
"offset": 2,
"results": [
{
"id": "55555",
"name": "",
"type": "A",
"data": "192.168.0.0",
"ttl": 3600,
"created_at": "2021-01-01T16:48:27.000000Z",
"modified_at": "2021-01-01T16:48:27.000000Z",
"modified_by": "Paul SMITH",
"comment": {
"value": "test",
"modified_at": "2021-01-01T16:48:27.000000Z",
"modified_by": "Paul SMITH"
},
"zone": "nameshield.com"
},
{
"id": "55566",
"name": "",
"type": "MX",
"data": "10 mx3.nameshield.com",
"created_at": "2021-01-01T16:48:27.000000Z",
"modified_at": "2021-01-03T10:42:25.000000Z",
"modified_by": "James Darwin",
"comment": {
"value": "test",
"modified_at": "2021-01-03T10:42:25.000000Z",
"modified_by": "James Darwin"
},
"tags": [
{
"tag": "ref",
"value": "4782",
"created_at": "2021-01-02T11:02:28.000000Z",
"created_by": "John Doe"
}
],
"zone": "nameshield.net"
}
]
}
}