Skip to main content

Data source selectel_domains_zone_v2

For your information

This instruction is a copy of the Selectel Terraform provider documentation in the Terraform Registry.

Provides information about a zone in Selectel DNS Hosting (actual). For more information about zones, see the official Selectel documentation.

Usage Example

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

Argument Reference

  • name — (Required) Zone name.

  • project_id — (Required) Unique identifier of the associated project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about Projects.

Attribute Reference

  • comment — Comment for the zone.

  • created_at — Time the zone was created in RFC 3339 timestamp format.

  • updated_at — Time the zone was updated in RFC 3339 timestamp format.

  • delegation_checked_at — Time when DNS Hosting last checked if the zone was delegated to Selectel NS servers in RFC 3339 timestamp format.

  • last_check_status — Zone status retrieved during the last delegation check.

  • last_delegated_at — Equals the delegation_check_at argument value when last_check_status is true.

  • disabled — Shows whether the zone is enabled or disabled.