---
title: "Get Zone"
method: GET
path: "/dns/v2/zones/{name}"
tags: ["Zones"]
---

# Get Zone

`GET /dns/v2/zones/{name}`

Zone info by zone name.

## Path parameters

- `name` string, required

## Response `200`

ItemZoneResponse

- ItemZoneResponse — Complete zone info with all records included
  - `contact` string — email address of the administrator responsible for this zone
  - `dnssec_enabled` boolean — describe dnssec status true means dnssec is enabled for the zone false means dnssec is disabled for the zone
  - `enabled` boolean
  - `expiry` integer — number of seconds after which secondary name servers should stop answering request for this zone
  - `id` integer — ID of zone. This field usually is omitted in response and available only in case of getting deleted zones by admin.
  - `meta` object — arbitrarily data of zone in json format
  - `name` string — name of DNS zone
  - `nx_ttl` integer — Time To Live of cache
  - `primary_server` string — primary master name server for zone
  - `records` Record[]
    - `name` string
    - `short_answers` string[]
    - `ttl` integer
    - `type` string
  - `refresh` integer — number of seconds after which secondary name servers should query the master for the SOA record, to detect zone changes.
  - `retry` integer — number of seconds after which secondary name servers should retry to request the serial number
  - `rrsets_amount` RRSetsAmount
    - `dynamic` object — Amount of dynamic RRsets in zone
      - `healthcheck` integer — Amount of RRsets with enabled healthchecks
      - `total` integer — Total amount of dynamic RRsets in zone
    - `static` integer — Amount of static RRsets in zone
    - `total` integer — Total amount of RRsets in zone
  - `serial` integer — Serial number for this zone or Timestamp of zone modification moment. If a secondary name server slaved to this one observes an increase in this number, the slave will assume that the zone has been updated and initiate a zone transfer.
  - `status` string

## Other responses

- `400` — Error message response

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
