If your business email is going to spam · or worse, getting silently rejected · the cause is almost always one of four DNS records: MX, SPF, DKIM, DMARC. Together they tell the receiving server: "this email really is from the person it claims to be from."
Gmail and Microsoft both tightened the rules in 2024: if you send more than 5,000 emails a month to Gmail addresses, DMARC is no longer optional. Even at lower volumes, missing or wrong records cost you deliverability quietly · the recipient doesn't know to check spam, you don't know your message never arrived.
01What each record does
Each record solves a different problem. They work as a chain · skip one and the others can't carry the full load.
| Record | Plain English | What happens if missing |
|---|---|---|
MX |
Where inbound mail to @yourdomain.com should be delivered. | You can't receive email. |
SPF |
Which servers are allowed to send mail as @yourdomain.com. | Anyone can spoof your address. Mail flagged or rejected. |
DKIM |
A cryptographic signature on every message your server sends. | Receivers can't verify the message wasn't tampered with in transit. |
DMARC |
The policy: "if SPF or DKIM fail, do this." Plus reports. | Receivers fall back to their own guesswork. Spoofers exploit your domain. |
02MX records
MX (Mail eXchange) records point your domain at the servers that should receive inbound mail. You add them at your DNS host (your registrar or wherever your nameservers point). One MX record per receiving server; priority numbers control fallback order (lower = tried first).
Google Workspace(The exact yourdomain-com part appears in your Microsoft 365 admin panel under Domains.)
03SPF · Sender Policy Framework
SPF is a single TXT record at your domain root that lists every service authorised to send mail as @yourdomain.com. The receiving server reads this list, checks where the message actually came from, and rejects (or flags) anything not on it.
Google Workspace onlyinclude: directives go in the same SPF record.~all = soft fail (mark suspicious, deliver anyway). -all = hard fail (reject). Microsoft recommends
-all. For most clients on Google, ~all is safer during setup, then move to -all after a month of clean DMARC reports.
04DKIM · DomainKeys Identified Mail
DKIM is a cryptographic signature your mail server adds to every outgoing message. The receiving server fetches your public DKIM key (via DNS) and uses it to verify the message wasn't altered in transit · and that it really came from your domain. It's published as a TXT record at a specific subdomain (called a "selector").
Google Workspace · selector "google"Generate at admin.google.com → Apps → Google Workspace → Gmail → Authenticate email → Generate new record. 2048-bit recommended.
Microsoft 365 · two selectors (selector1 + selector2)Generate at security.microsoft.com → Policies → Email authentication → DKIM. Microsoft uses two selectors so it can rotate keys without downtime.
hostingermail-a._domainkey, hostingermail-b._domainkey, hostingermail-c._domainkey. Auto-generated when you create the domain in Hostinger; just add the CNAMEs at your DNS host.
05DMARC · Domain-based Message Authentication, Reporting + Conformance
DMARC ties SPF and DKIM together with a policy. It tells receiving servers what to do when a message fails SPF or DKIM checks · ignore it (none), flag it (quarantine), or reject it. It also opts you in to daily aggregate reports from every major receiver, so you can see who's sending mail as you.
DMARC · sensible starting policyp=none = report only, deliver anyway. Use first.p=quarantine = send failed messages to spam. Use after reviewing reports for a month.p=reject = reject failed messages outright. Use only when you're confident every legitimate sender is on SPF / DKIM. Mandatory for high-volume Gmail senders since 2024.
dmarc@ inbox are unreadable. Use dmarcian.com (free up to 50k mails/month) or postmark.com/dmarc · they parse the reports and tell you in plain English which senders are passing, failing, and where to investigate.
06How to check it's working
Three free tools cover 95% of email-deliverability diagnosis. Run them after any DNS change.
- mxtoolbox.com · paste your domain into the SuperTool. Checks MX, SPF, DKIM, DMARC, blacklist status. Free, instant, no signup. Bookmark this.
- mail-tester.com · gives you a one-time send-to address. Send a real email from your actual mail client to that address. Mail-tester scores deliverability out of 10, breaks down exactly which records are wrong, and shows whether the message body trips spam filters.
- dmarcian.com · point your DMARC
ruareports at the dmarcian inbox they provide. Their dashboard then visualises who's sending as you. Free tier covers most Mode-client volumes.