Migrating DNS zones from Yandex 360 to Yandex Cloud DNS
If your domain is delegated to Yandex 360 and your services are hosted in Yandex Cloud, you can transfer domain control to Yandex Cloud DNS servers and migrate DNS zones to Yandex Cloud DNS for even more convenience. Yandex Cloud DNS is tightly integrated with other Yandex Cloud services, such as Yandex Compute Cloud.
To migrate DNS zones from Yandex 360 to Yandex Cloud DNS:
Delegate the domain name
Before transferring DNS zones to Yandex Cloud DNS control, you need to delegate your domain to Yandex Cloud servers. To do this, specify the addresses of Yandex Cloud name servers in the NS
records of your registrar:
ns1.yandexcloud.net.
ns2.yandexcloud.net.
Transfer records
You can only move your domain's DNS records from Yandex 360 to Yandex Cloud DNS manually.
Before that, create a public DNS zone for your domain's DNS records.
- Create a new record of the appropriate type.
- In the Data field, enter the value of the Yandex 360 record to be transferred in the original format.
- In the TTL (in seconds) field, enter the value of the TTL parameter from Yandex 360.
For example:
Yandex 360 | Cloud DNS |
---|---|
Record type: CNAME Record value: domain.mail.yandex.net. TTL: 600 |
Type: CNAME Data: domain.mail.yandex.net. TTL (in seconds) : 600 |
- Create a new MX record.
- In the Data field, specify the parameters of the Yandex 360 MX record to be transferred in
<priority> <record value>
format. - In the TTL (in seconds) field, enter the value of the TTL parameter from Yandex 360.
For example:
Yandex 360 | Cloud DNS |
---|---|
Record type: MX Record value: mx.yandex.net. Priority: 10 TTL: 21600 |
Type: MX Data: 10 mx.yandex.net. TTL (in seconds) : 21600 |
-
In the Data field, specify the parameters of the Yandex 360 TXT record to be transferred in
"<record_value>"
format.Warning
Cloud DNS uses MASTER FILES
format when parsing TXT records. According to the format specifications, a;
indicates the beginning of a comment, meaning that any content following it is ignored. To use a;
and spaces in the record value, enclose them in double quotes""
. -
In the TTL (in seconds) field, enter the value of the TTL parameter from Yandex 360.
For example:
Yandex 360 | Cloud DNS |
---|---|
Record type: TXT Record value: v=DMARC1; p=none; sp=quarantine; pct=100; rua=mailto: dmarcreports@example.com; TTL: 26000 |
Type: TXT Data: "v=DMARC1; p=none; sp=quarantine; pct=100; rua=mailto: dmarcreports@example.com;" TTL (in seconds): 26000 |
- Copy all the characters after
SRV
from the value of a Yandex 360 SRV record. For example, from the86400 IN SRV 0 5 5060 _sip._tcp.example.com.
value, only copy0 5 5060 _sip._tcp.example.com.
. - Create a new SRV record.
- In the Data field, enter the characters you copied.
- In the TTL (in seconds) field, enter the value of the TTL parameter from Yandex 360.
For example:
Yandex 360 | Cloud DNS |
---|---|
Record type: SRV Record value: 86400 IN SRV 0 5 5060 _sip._tcp.example.com. Priority: 0 TTL: 86400 |
Type: SRV Data: 0 5 5060 _sip._tcp.example.com. TTL (in seconds) : 86400 |
Wait for the changes to take effect. It may take the DNS servers up to 72 hours to exchange data about new DNS records on the internet.
For more information about the types of resource records supported by the service, see Resource records.