Mail for domain

Delegate a domain to Yandex servers

Domain delegation means specifying the DNS servers that are responsible for making the domain name work. The DNS servers must be specified in the domain settings on the registrar's website.

Attention! 

You can delegate a domain to Yandex servers only after you have added it to Yandex.Mail for Domain.

After delegating a domain to Yandex servers:

  • The domain will be confirmed in Yandex.Mail for Domain automatically.

  • The DNS records required for email will be set up: MX, SPF, CNAME, and the DKIM signature.

  • You can use Yandex DNS hosting.

To delegate a domain to Yandex servers:

  1. Make sure that you have added the domain to Yandex.Mail for Domain.

    To do this, open the My domains page and log in to the account created for working with it. Check whether the domain is there.

  2. Log in to the control panel under your domain on the registrar's website. Go to the section with delegation settings.

  3. Change the values of the primary and secondary DNS servers:

    • Primary DNS server — “dns1.yandex.net.”
    • Secondary DNS server — “dns2.yandex.net.”

    Note. The letter “d” at the beginning of the DNS servers is required.

    If the control panel has options for entering the IP addresses, leave them empty.

  4. Wait while the changes take effect in DNS. This process may take up to 72 hours.

  5. Check the status of your domain on the My domains page. Its value should be “Domain confirmed and delegated to Yandex”.

How domain delegation affects your site

DNS hosting and website hosting are two different services that are usually offered by hosting providers at the same time. However, they are not related to each other in any way, so you can safely move your DNS hosting to Yandex servers. This won't affect the site at all.

When you delegate a domain to Yandex, A-records are created on the Yandex.Mail for Domain servers. These records point to your site's hosting address. If the A-records weren't created automatically, you can add them manually in the DNS editor:

  • In the Host field, enter “@” if you are configuring the record for the root domain.

    If you are configuring a record for a subdomain, enter the first part of the subdomain name up to the first dot in Host. 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.

  • In Type, choose “A” (or “AAAA” if the site uses the IPv6 protocol).

  • In The value of a record, set the IP address of the site.

Then repeat these steps for another A-record. If you are configuring the record for the root domain, enter “www” in Host. If you are configuring a record for a subdomain, enter “www” and the first part of the subdomain name up to the first dot in Host. For example:

  • If the subdomain is bar.yourdomain.tld, enter “www.bar” in Host.

  • If the subdomain is foo.bar.yourdomain.com, enter “www.foo.bar” in Host.

Make the other settings the same way as for the first record.