Skip to main content

Create DNS zone

  1. In the Control panel, go to the top menu, click Products, and select Cloud Servers.

  2. Go to the Private DNS section.

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

  4. Select a pool.

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

  6. Optional: change the TTL by entering the value in seconds. TTL is the time during which resource records of the zone stored in the NS server's cache are considered up-to-date and do not require repeated caching. The zone's TTL will apply 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 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 checking the required networks. If a network is connected to the DNS resolver, servers in this network can resolve domain names of all DNS zones within their pool and project.

  9. Optional: add records to the zone by clicking Add record and filling in the fields depending on the required record type. You can add, edit, and delete records at any time after creating the zone.

    If a network is added to a zone, A and AAAA records are created and added automatically; you do not need to create and update them manually. To add a record manually:

    9.1.Select the record type — A or AAAA.

    9.2.Enter the domain name for which the record will be created. The domain of the zone where you are creating the record will be automatically appended to it.

    9.3.Enter the IP addresses that will be associated with the domain name: IPv4 addresses for an A record, IPv6 addresses for an AAAA record. You can specify up to 100 IP addresses. Enter addresses separated by commas or spaces, or each address on a new line.

    9.4.Enter the record TTL in seconds. To apply the zone TTL, enter -1 or click Use zone TTL.

    9.5.Click Add.

    9.6.To add another record, click Add record and repeat steps 9.1–9.5.

  10. Click Create DNS zone.

  11. If you connected networks in the zone to the DNS resolver in step 8, specify the resolver's IP addresses in the subnet settings of this network. Use the Change DNS servers on a private subnet subsection of the Private networks and subnets instructions.

    You can view the IP addresses of the DNS resolver in the network in the Control panel: in the top menu, click Products → Cloud Servers → Private DNS → DNS resolvers tab → network row → DNS resolver field.