Manage private DNS settings on the network
Add a network to the DNS zone
If you add a network to a DNS zone, A- or AAAA records are automatically created for the ports on the network. If new ports are added to the network or existing ports are changed, the A- or AAAA records for them will be added or changed automatically. You can change the domain name of a port manually, and the zone record will be updated automatically.
The fully qualified port domain name (FQDN) 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 name.
- In the dashboard, on the top menu, click Products and select Cloud Servers.
- Go to the Private DNS section.
- Open the DNS resolvers tab.
- In the network row, click .
- Under the DNS zone field, check the Add to zone.... checkbox.
- Select a zone or click New Zone to create a new zone.
- If you clicked New Zone in step 6, enter the zone domain or leave the default domain. The domain can contain numbers, Latin letters, and hyphens. The domain cannot be a first-level domain, such as
example. - Click Save.
Remove a network from the DNS zone
If you remove a network from the DNS zone, the A- and AAAA port records on that network stop being created and updated automatically. You can add the network to the DNS zone again to have the records created again.
- In the dashboard, on the top menu, click Products and select Cloud Servers.
- Go to the Private DNS section.
- Open the DNS resolvers tab.
- In the network row, click .
- Under the DNS zone field, check the Remove from zone.... checkbox.
- Enter the name of the network to confirm the deletion.
- Click Save.
Connect the network to a 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.
-
In the dashboard, on the top menu, click Products and select Cloud Servers.
-
Go to the Private DNS section.
-
Open the DNS resolvers tab.
-
In the network row, click .
-
Under the DNS resolver field, check the Connect to DNS resolver.... checkbox.
-
Click Save.
-
Specify the IP addresses of the resolver in the subnet settings of this network. Use the Change DNS Servers on Private Subnet subsection of the Private Networks and Subnets manual.
DNS resolver IP addresses on the network can be viewed in the Control Panel: in the top menu, click Products → Cloud Servers → Private DNS → DNS Resolvers tab → Network row → DNS Resolver field.
Disconnect the network from the DNS resolver
If you disconnect a network from a DNS resolver, the servers on that network will stop resolving the domain names of private DNS zones.
-
In the dashboard, on the top menu, click Products and select Cloud Servers.
-
Go to the Private DNS section.
-
Open the DNS resolvers tab.
-
In the network row, click .
-
Under the DNS Resolver field, check the Disconnect from DNS Resolver checkbox....
-
Enter the name of the network to confirm disconnection.
-
Click Save.
-
Remove the resolver IP addresses from the subnet settings of this network. Use the Change DNS Servers on a Private Subnet subsection of the Private Networks and Subnets manual.
DNS resolver IP addresses on the network can be viewed in the Control Panel: in the top menu, click Products → Cloud Servers → Private DNS → DNS Resolvers tab → Network row → DNS Resolver field.