Миграция в Selectel — основная информация, гайды и ответы на частые вопросы в разделе «Миграции»
Add DNS record
If a network is attached to the zone, A or AAAA records in the zone are added automatically when a port is created in the network. Such records are labeled with the Auto tag. A or AAAA records can also be added manually. CNAME, MX, and TXT records can only be added manually.
Only one record of each type can exist for a domain name. If you do not yet have a resource record of the required type for the domain name, 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 attached to the zone and you manually added an A or AAAA record for the domain name, and then created a port with that domain name, the port's IP address will be automatically added to this record as an additional value. The Auto tag will be added to the record, and it will start updating automatically when the port data changes.
You can check if a network is attached to the zone in the Control panel: in the top menu, click Products → Cloud Servers → Private DNS → the DNS resolvers tab → the network row → the DNS zone field.
Add record
A or AAAA
CNAME
MX
TXT
In the Control panel, in 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 automatically appended to it.
Enter the IP addresses to 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 a comma or space, or each 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, in 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 point to the target domain. The domain of the zone where you are creating the record will be automatically appended to it.
Enter the target domain name that the alias should point to. This can be any domain name in FQDN format, ending with a period.
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, in 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 automatically appended to it.
Enter the priority and the mail server name separated by a space, for example 10 mail.example.com. Priority is a number from 0 to 65,535; 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 server priority and name. You can add up to 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, in 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 automatically appended to it.
Enter the record value: any text up to 255 characters.
Optional: to add another value, click + and enter the record value. You can add up to 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 a value to the record
You can add a value to A, AAAA, MX, and TXT records. A CNAME record can only contain one value.
A or AAAA
MX
TXT
In the Control panel, in 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 line with the required A or AAAA record, click and select Edit record.
In the IPv4 address or IPv6 address field, enter an additional IP address to be associated with the domain name. You can specify up to 100 IP addresses. Enter addresses separated by a comma or space, or each on a new line.
Click Save.
In the Control panel, in 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 line with the required MX record, click and select Edit record.
Click + and enter the priority and the 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 record's domain name. You can add up to 100 mail servers.
Click Save.
In the Control panel, in 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 line with the required TXT record, click and select Edit record.
Click + and enter the record value: any text up to 255 characters. You can add up to 100 values.