---
title: "Источник данных selectel_domains_zone_v2"
sidebar_label: "selectel_domains_zone_v2"
description: "Provides information about a zone in Selectel DNS Hosting (actual)"
sidebar_position: 15
---

# Источник данных selectel\_domains\_zone\_v2

:::info

Эта инструкция — копия документации Selectel Terraform-провайдера в [Terraform Registry](https://registry.terraform.io/providers/selectel/selectel/latest/docs).

:::

Provides information about a zone in Selectel DNS Hosting (actual). For more information about zones, see the [official Selectel documentation](/dns-hosting/zones/).

## Example Usage \{#example-usage}

```hcl
data "selectel_domains_zone_v2" "zone_1" {
  name       = "example.com."
  project_id = selectel_vpc_project_v2.project_1.id
}
```

## Argument Reference \{#argument-reference}

* `name` - (Required) Zone name.

* `project_id` - (Required) Unique identifier of the associated project. Retrieved from the [selectel\_vpc\_project\_v2](/terraform/selectel-provider-reference/resources/vpc_project_v2) resource. Learn more about [Projects](/access-control/projects/about-projects/).

## Attributes Reference \{#attributes-reference}

* `comment` - Comment for the zone.

* `created_at` - Time when the zone was created in the RFC 3339 timestamp format.

* `updated_at` - Time when the zone was updated in the RFC 3339 timestamp format.

* `delegation_checked_at` - Time when DNS Hosting checked if the zone was delegated to Selectel NS servers in the RFC 3339 timestamp format.

* `last_check_status` - Zone status retrieved during the last delegation check.

* `last_delegated_at` - Equals to the `delegation_check_at` argument value when the `last_check_status` is `true`.

* `disabled` - Shows if the zone is enabled or disabled.
