Zone > Dns Record

List dns records

Retrieve all dns record for a given zone

get/2/zones/{zone}/records

Path parameters

zonestring required

A domain name or a sub delegated zone

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

sourcestring

Filter dns record by source

typesstring[]

Filter dns record by types

{
  "source": "filter[source]=www",
  "types": [
    "filter[types][]=A"
  ]
}
searchstring

Search in all dns record

return'total'

Optional : If you pass this parameter with the value total, then the response will be the number of items in the collection, instead of the items themselves.<br /> Part of the total capacity

pageinteger

Optional parameter that define the page number<br /> Part of the pagination capacity

per_pageinteger

Optional parameter that define the number of items per page<br /> Part of the pagination capacity

string
OR
string[]

Optional parameter that define the field used for sorting<br /> Part of the sort capacity

order'asc' | 'desc'

Optional parameter that define the default sort order<br /> Part of the sort capacity

order_forobject

Optional parameter that define the sorting order for a field<br /> By default order is used<br /> Part of the sort capacity

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

data2f8071fdApiDnsDnsRecord[] — unresolved $ref
totalinteger

Total number of items Added when using query parameter page

pageinteger

Number of the current page Added when using query parameter page

pagesinteger

Total number of pages Added when using query parameter page

items_per_pageinteger

Number of items per page Added when using query parameter page

Changes

No recorded changes to this endpoint across all 1 revision of this API.