Skip to main content

Manage private DNS settings in a network

Last update:

Add a network to a DNS zone

If you add a network to a DNS zone, A or AAAA records will be created automatically for the network ports. If new ports are added to the network or existing ones are changed, A or AAAA records for them will be added or updated automatically. You can change the port domain name manually, and the record in the zone will be updated automatically.

The full domain name of the port (FQDN) in the record is formed as <server_hostname>.<zone_domain_name>., where <server_hostname> is the server hostname, and <zone_domain_name> is the zone domain name.

  1. In the Control panel, from the top menu, click Products and select Cloud Servers.
  2. Go to the Private DNS section.
  3. Open the DNS Resolvers tab.
  4. In the network row, click .
  5. Under the DNS zone field, check the Add to zone checkbox....
  6. Select a zone or click New zone to create a new one.
  7. If you clicked New zone in step 6, enter the zone domain or leave the default one. The domain can contain digits, Latin letters, and hyphens. The domain cannot be a top-level domain, for example, example.
  8. Click Save.

Remove a network from a DNS zone

If you remove a network from a DNS zone, A and AAAA records for ports in this network will no longer be created or updated automatically. You can add the network to a DNS zone again to recreate the records.

  1. In the Control panel, from the top menu, click Products and select Cloud Servers.
  2. Go to the Private DNS section.
  3. Open the DNS Resolvers tab.
  4. In the network row, click .
  5. Under the DNS zone field, check the Remove from zone checkbox....
  6. Enter the network name to confirm the removal.
  7. Click Save.

Connect a network to a DNS resolver

If a network is connected to a DNS resolver, servers in this network can resolve domain names of all private DNS zones within their pool and project.

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

  2. Go to the Private DNS section.

  3. Open the DNS Resolvers tab.

  4. In the network row, click .

  5. Under the DNS resolver field, check the Connect to DNS resolver checkbox....

  6. Click Save.

  7. Specify the resolver IP addresses in the subnet settings of this network. Use the Change DNS servers in a private subnet subsection of the Private networks and subnets guide.

    You can find the DNS resolver IP addresses in the network in the Control Panel: from the top menu, click ProductsCloud ServersPrivate DNSDNS Resolvers tab → network row → DNS resolver field.

Disconnect a network from a DNS resolver

If you disconnect a network from a DNS resolver, servers in this network will no longer resolve private DNS zone domain names.

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

  2. Go to the Private DNS section.

  3. Open the DNS Resolvers tab.

  4. In the network row, click .

  5. Under the DNS resolver field, check the Disconnect from DNS resolver checkbox....

  6. Enter the network name to confirm the disconnection.

  7. Click Save.

  8. Remove the resolver IP addresses from the subnet settings of this network. Use the Change DNS servers in a private subnet subsection of the Private networks and subnets guide.

    You can find the DNS resolver IP addresses in the network in the Control Panel: from the top menu, click ProductsCloud ServersPrivate DNSDNS Resolvers tab → network row → DNS resolver field.