Zones

Show created zones with pagination managed by limit and offset params. All query params are optional.

get/dns/v2/zones

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/dns/v2/zones
  • Auth
    HTTP apikey

Query parameters

offsetinteger

Amount of records to skip before beginning to write in response.

limitinteger

Max number of records in response

order_bystring

Field name to sort by

order_direction'asc' | 'desc'

Ascending or descending order

idinteger[]

to pass several ids id=1&id=3&id=5...

client_idinteger[]

to pass several client_ids client_id=1&client_id=3&client_id=5...

reseller_idinteger[]
iam_reseller_idinteger[]
namestring[]

to pass several names name=first&name=second...

case_sensitiveboolean
exact_matchboolean
enabledboolean
statusstring
dynamicboolean

Zones with dynamic RRsets

healthcheckboolean

Zones with RRsets that have healthchecks

is_secondaryboolean

Filter by AXFR secondary zone marker (meta.is_secondary). true returns only secondary zones, false returns only zones without that marker (primary zones have no is_secondary key at all), omitted returns all zones.

updated_at_fromstring date-time
updated_at_tostring date-time

Response

ListZoneResponse

total_amountinteger

Changes

    • info

      added the new optional query request parameter is_secondary

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status