Skip to main content

Private DNS: Quick Start

Last update:

To configure DNS on a cloud platform private network, you create a private DNS zone with records. You can also:

  • add network to private DNS zone - if a network is added to a DNS zone, when you add or change a port on that network, an A- or AAAA record is automatically created or updated for it. The fully qualified domain name (FQDN) of the port in the record is formed as <server_hostname>.<zone_domain_name>. where <server_hostname> is the server hostname, <zone_domain_name> is the zone domain. You can change the port's domain name manually, and the zone record will be updated automatically;
  • connect network to a private DNS resolver - If a network is connected to a DNS resolver, servers on that network can resolve the domain names of all private DNS zones within their pool and project.

If you need to configure DNS on a private network of dedicated servers, the connection is made through a global router, more details in the instructions Configure DNS on a private network of a dedicated server.

To configure private DNS on the cloud platform network:

  1. In the dashboard, on 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 the pool where the private network resides.

  5. Enter the zone domain. The domain can contain numbers, Latin letters and hyphens. The domain cannot be first level, for example example.

  6. Optional: Enter the TTL in seconds or leave the default value. TTL is the time for which the zone's resource entries in the NS server's cache are considered up-to-date and do not need to be re-cached. The zone TTL will be applied to entries that do not have their own TTL specified.

  7. Optional: Select the network to add to the zone. If you add a network to the zone, A- or AAAA records are automatically created and updated for the ports on the network. You can add a network to the zone at any time.

  8. Optional: If you marked a network to be added to the zone in step 7, connect it to the DNS resolver by marking the network. You can connect the network to a DNS resolver at any time, even if the network is not added to the zone.

  9. Optional: add records to the zone, to do this click Add Record and fill in the fields depending on the type of record you want. You can add, modify and delete records at any time after the zone is created.

    If a network is added to a zone, A- and AAAA records are created and added automatically, they do not need to be created and updated manually. To add a record manually:

    9.1.Select the type of recording - A or AAAA.

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

    9.3.Enter the IP addresses to be associated with the domain name: for A record - IPv4 addresses, for AAAA record - IPv6 addresses. You can specify a maximum of 100 IP addresses. Specify addresses with commas or spaces, or each address on a new line.

    9.4.Enter the TTL of the recording in seconds. To apply TTL zones, enter -1 or click Use TTL Zones.

    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 the network in the zone to a DNS resolver in step 8, specify the IP addresses of the resolver in the subnet settings for that network. Use the Change DNS Servers in a Private Subnet subsection of the Private Networks and Subnets instructions.

    DNS resolver IP addresses on the network can be viewed in the Control Panel: in the top menu, click ProductsCloud ServersPrivate DNS → DNS Resolvers tab → Network row → DNS Resolver field.