For Yandex DNS servers to be responsible for your domain, you need to delegate your domain to Yandex servers. After delegation, you can manage the domain's DNS using the Yandex.Mail for Domain DNS editor or the API.
Yandex allows you to use DNS hosting without creating email in Yandex.Mail for Domain. In this case, after delegating the domain, delete all the Yandex DNS records except the NS records. The Yandex NS records must always be present.
You can configure the following types of DNS records:
A or AAAA.
MX. Priority must be set between 1 and 90. To set a priority value that isn't available in the drop-down list, use the API.
SRV. Priority must be set between 1 and 90. To set a priority value that isn't available in the drop-down list, use the API.
TXT. When setting up DKIM records, the maximum length of a TXT record value is 255 characters.
CNAME. Remember that a CNAME record can't be set up for the domain root, because this is prohibited by the RFC.
You can change parameter values within the following limits:
|Parameter name||Recommended values||Acceptable range of values|
|REFRESH||14400 seconds||from 900 to 86400 seconds|
|RETRY||900 seconds||from 90 to 3600 seconds|
|EXPIRE||1209600 seconds||from 604800 to 2419200 seconds|
|MINIMUM||14400 seconds||from 90 to 86400 seconds|
|TTL||21600 seconds||from 900 to 1209600 seconds|
To go to the DNS editor:
When creating a DNS record, specify in the Host field:
“@”, if you are setting up a record for the domain root.
The first part of the subdomain name before the first dot. For example:
If the subdomain is bar.yourdomain.tld, enter “bar” in Host.
If the subdomain is foo.bar.yourdomain.com, enter “foo.bar” in Host.