Mail records when your DNS is elsewhere

MX, SPF, DKIM and DMARC: what each does and how to add them.

If your domain uses our nameservers, ns1.nyra.st and ns2.nyra.st, its mail records are set already and there is nothing to do. This guide is for a domain whose DNS is run somewhere else, such as Cloudflare or the company you bought it from.

The four records

MXBrings mail in. It names our mail server for the domain, with priority 10.
SPFA TXT record at the domain itself that names the servers allowed to send its mail.
DKIMA TXT record at mail._domainkey with the key that signs each message. Every domain has its own.
DMARCA TXT record at _dmarc that tells other servers what to do with mail that fails the other two.

Without MX, nothing arrives. Without the other three, what you send is likely to land in spam or be turned away.

Where to find yours

The Email page lists every domain with its records ready to copy, says where its DNS is run, and says whether anything is missing.

Adding them

  1. Sign in where the domain's DNS is run, often the company you bought the domain from.
  2. Open the domain's DNS settings and add each record with the type, name and value shown. The button beside each value copies it exactly.
  3. Give the MX record priority 10.
  4. Press Check the records on the Email page. A change usually shows within an hour.

Things that trip people up

  • @ means the domain itself. Some providers want that box left empty instead, and a few want the whole name, such as _dmarc.example.com where it says _dmarc.
  • Only one SPF record. Two TXT records that start with v=spf1 cancel each other out. If you have one already, put our address into it, as the Email page shows, before the all at the end.
  • Only one place for incoming mail. Remove old MX records that point somewhere else, or some of your mail goes there.
  • The DKIM key is long. Paste the whole value in one go. Most providers split it by themselves.
  • A subdomain such as shop.example.com keeps its records in the DNS of example.com, with shop added to each name. The Email page writes them that way for you.

Or let us do it

Point the domain at ns1.nyra.st and ns2.nyra.st where it is registered, and every record for mail and for the website is set for you. See Point a domain at your hosting.