---
title: "Create DNS zone"
sidebar_label: "Create DNS zone"
sidebar_position: 1
description: "How to create a DNS zone"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import Formbricks from '@theme/MDXComponents/Formbricks'

import AddRecordWithZone from '@site/i18n/en/docusaurus-plugin-content-docs/current/_partials/cloud-servers/private-dns/add-record-with-zone.mdx'

# Create DNS zone

1. In the [Control panel](https://my.selectel.ru/vpc/default/private-dns/), on the top menu, click **Products** and select **Cloud Servers**.

2. Go to the **Private DNS**.

3. On the **DNS zones** tab, click **Create DNS zone**.

4. Select a pool.

5. Enter the zone domain. The domain can contain numbers, Latin letters, and hyphens. A domain cannot be a top-level domain, for example, `example`.

6. Optional: change the TTL by entering a value in seconds. TTL is the time during which resource records for a zone in the NS server cache are considered valid and do not require re-caching. The zone TTL will be applied to records that do not have their own TTL specified.

7. Optional: select the networks you want to add to the zone. If you add a network to the zone, A or AAAA records will be automatically created and updated for the ports in that network.

8. Optional: if you selected networks to add to the zone in step 7, connect them to the DNS resolver by selecting the necessary networks. If a network is connected to the DNS resolver, servers in that network can resolve domain names of all DNS zones within their [pool](/infrastructure/locations.mdx#pool) and [project](/access-control/projects/).

9. Optional: add records to the zone by clicking **Add record** and filling in the fields according to the required record type. You can [add](/cloud-servers/private-dns/manage-records/add-record.mdx), [edit](/cloud-servers/private-dns/manage-records/edit-record.mdx) and [delete records](/cloud-servers/private-dns/manage-records/delete-record.mdx) at any time after creating the zone.

   <AddRecordWithZone />

10. Click **Create DNS zone**.

11. If you connected networks in the zone to the DNS resolver in step 8, specify the resolver IP addresses in the subnet settings of that network. Use the [Change DNS servers in a private subnet](/cloud-servers/cloud-networks/private-networks-and-subnets.mdx#change-dns-servers-on-private-subnet) section of the [Private networks and subnets](/cloud-servers/cloud-networks/private-networks-and-subnets.mdx) article.

    The DNS resolver IP addresses in the network can be viewed in the [Control Panel](https://my.selectel.ru/vpc/default/private-dns/resolvers): from the top menu, click **Products** → **Cloud servers** → **Private DNS** → **DNS resolvers** tab → network row → **DNS resolver** field.

<Formbricks />
