Skip to content

Domain health

Inboxes like Gmail and Outlook check your domain’s DNS records before they trust an email. If the records are missing or wrong, your emails are much more likely to go to spam. The domain health check looks at those records and tells you exactly what to add.

Open it from Stacko Mail → Tools → Domain health. The setup wizard also runs it as its last step.

  1. The Sending domain is filled in for you. It’s the domain of your From address.
  2. Optionally enter a DKIM selector (see DKIM below).
  3. Click Check now.

Each record gets a status: OK, Improve, Fix or Unknown (the lookup failed; try again later). Results are kept for an hour, and Check now always runs a fresh check.

When something needs fixing, you get the record to add, ready to copy:

  • Type (for example TXT)
  • Host / Name
  • Value

Add it at your DNS provider, which is usually your domain registrar, your host or a service like Cloudflare. DNS changes can take a while to show up. Run the check again later.

SPF lists which services may send email for your domain.

  • No SPF record: you get a complete record to add. If you use Brevo, SendGrid or Mailgun, it already includes that service.
  • More than one SPF record: a domain must have exactly one. Merge them into one record.
  • Too many DNS lookups: SPF allows at most 10 lookups. Above that, inboxes ignore the record. Remove services you no longer use.
  • Does not include your email service: your record exists but doesn’t allow your connected service (for example include:sendgrid.net). You get an updated record.
  • Allows anyone to send: the record ends with +all or ?all. Use ~all or -all instead.

DKIM signs your emails so inboxes can check they really came from you. The key lives in DNS under a name called a selector.

Stacko Mail knows the usual selectors for Brevo, SendGrid and Mailgun and checks them automatically. For other services (including Postmark, whose selectors are date-based, and SMTP servers), enter the selector from your provider’s DNS settings in the DKIM selector field.

If no key is found, copy the DKIM record from your email service’s domain settings into your DNS.

DMARC tells inboxes what to do with emails that fail SPF and DKIM. Gmail and Yahoo now expect one.

If you don’t have one, you get a starting record to add:

  • Type: TXT
  • Host: _dmarc.yourdomain.com
  • Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

p=none only monitors. When the reports look clean, move to p=quarantine for stronger protection.

MX records let your domain receive email. Without them, replies and bounce messages are lost, and some inboxes trust the domain less.

The score (out of 100) sums up how ready your site is to deliver email:

Part Points
Mail service connected (not WordPress default) 30
SPF 20
DKIM 20
DMARC 15
Real From address (not wordpress@) 10
MX 5

A check that passes earns full points. A check that needs improving, or couldn’t be checked, earns half.

Some hosts turn off DNS lookups for PHP. If yours does, turn on Use Cloudflare DNS for the domain check in Settings → Advanced. The check then uses Cloudflare’s DNS-over-HTTPS service, which means the domain name being checked is sent to Cloudflare. It’s off by default.

Stacko Mail also adds tests to Tools → Site Health in WordPress: whether a mail service is connected, whether emails failed in the last 24 hours, whether your sending domain has DNS problems, and whether your saved password can still be read.