GET
/
dns
/
v2
/
zones
/
{name}
curl --request GET \
  --url https://api.gcore.com/dns/v2/zones/{name} \
  --header 'Authorization: <api-key>'
{
  "Zone": {
    "client_id": 123,
    "contact": "<string>",
    "dnssec_enabled": true,
    "expiry": 123,
    "id": 123,
    "meta": {},
    "name": "<string>",
    "nx_ttl": 123,
    "primary_server": "<string>",
    "records": [
      {
        "name": "<string>",
        "short_answers": [
          "<string>"
        ],
        "ttl": 123,
        "type": "<string>"
      }
    ],
    "refresh": 123,
    "retry": 123,
    "rrsets_amount": {
      "dynamic": {
        "healthcheck": 123,
        "total": 123
      },
      "static": 123,
      "total": 123
    },
    "serial": 123,
    "status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

name
string
required

Response

200
application/json

ItemZoneResponse

Complete zone info with all records included