If a network is connected to a zone, A or AAAA records in the zone are added automatically when a port is created in the network. Such records are marked with the Auto tag. A or AAAA records can also be added manually. CNAME, MX, and TXT records can only be added manually.
For a domain name, only one record of each type can exist. If you don't have a resource record of the required type for the domain name yet, add a record. If you already have a record of the required type for the domain name, add a value to it.
If a network is connected to a zone and you have added an A or AAAA record for a domain name manually, and then created a port with this domain name, the port's IP address will be automatically added to this record as an additional value. The record will be marked with the Auto tag, and it will begin changing automatically when port data changes.
You can check if a network is connected to a zone in the control panel: from the top menu, click Products → Cloud Servers → Private DNS → DNS Resolvers tab → network row → DNS Zone field.
Add record
A or AAAA
CNAME
MX
TXT
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, click Add record.
Select the record type — A or AAAA.
Enter the domain name for which the record will be created. The domain of the zone where you are creating the record will be added to it automatically.
Enter the IP addresses that will be associated with the domain name: IPv4 addresses for an A record, and IPv6 addresses for an AAAA record. You can specify no more than 100 IP addresses. Enter the addresses separated by a comma or a space, or on a new line.
Enter the record TTL in seconds. To apply the zone TTL, enter -1 or click Use zone TTL. TTL is the time during which a resource record in the NS server cache is considered valid and does not require re-caching.
Click Add.
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, click Add record.
Select the record type — CNAME.
Enter the domain alias — the domain name that should translate to the target domain. The domain of the zone where you are creating the record will be added to it automatically.
Enter the target domain name to which the alias should translate. It can be any domain name in FQDN format, with a trailing dot.
Enter the record TTL in seconds. To apply the zone TTL, enter -1 or click Use zone TTL. TTL is the time during which a resource record in the NS server cache is considered valid and does not require re-caching.
Click Add.
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, click Add record.
Select the record type — MX.
Enter the domain name for which the record will be created. The domain of the zone where you are creating the record will be added to it automatically.
Enter the priority and mail server name separated by a space, for example 10 mail.example.com. Priority is a number from 0 to 65535; the lower the number, the higher the priority. The mail server name must be in the zone domain.
Optional: to add another mail server, click + and enter the priority and server name. You can add no more than 100 mail servers.
Enter the record TTL in seconds. To apply the zone TTL, enter -1 or click Use zone TTL. TTL is the time during which a resource record in the NS server cache is considered valid and does not require re-caching.
Click Add.
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, click Add record.
Select the record type — TXT.
Enter the domain name for which the record will be created. The domain of the zone where you are creating the record will be added to it automatically.
Enter the record value — any text not exceeding 255 characters.
Optional: to add another value, click + and enter the record value. You can add no more than 100 values.
Enter the record TTL in seconds. To apply the zone TTL, enter -1 or click Use zone TTL. TTL is the time during which a resource record in the NS server cache is considered valid and does not require re-caching.
Click Add.
Add value to record
You can add a value to A, AAAA, MX, and TXT records. A CNAME record can contain only one value.
A or AAAA
MX
TXT
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, in the row of the required A or AAAA record, click and select Edit record.
In the IPv4 address or IPv6 address field, enter the additional IP address to be associated with the domain name. You can specify no more than 100 IP addresses. Enter the addresses separated by a comma or a space, or on a new line.
Click Save.
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, in the row of the required MX record, click and select Edit record.
Click + and enter the priority and mail server name separated by a space, for example 10 mail.example.com. The lower the number, the higher the priority. The mail server name must be in the same zone as the domain name of the record. You can add no more than 100 mail servers.
Click Save.
In the control panel, from the top menu, click Products and select Cloud Servers.
Go to the Private DNS section.
Open the zone page.
In the Records block, in the row of the required TXT record, click and select Edit record.
Click + and enter the record value — any text not exceeding 255 characters. You can add no more than 100 values.