> Complete guide to DNS records for business email. Set up MX, SPF, DKIM, and DMARC records correctly for deliverability and security.

Source: https://mailbux.com/blog/email-security/dns-records-business-email-mx-spf-dkim-dmarc

# DNS Records for Business Email: MX, SPF, DKIM, and DMARC Setup Guide

April 14, 2026•4 min read•Updated October 8, 2026

## What DNS records do for your email

DNS records are the instructions that tell the rest of the internet how to handle mail for your domain: where to deliver it, who is allowed to send on your behalf, and how to spot forgeries. Get them right and your mail flows and lands in the inbox. Get them wrong and messages bounce, or quietly drop into spam. For business email you need four core records — **MX, SPF, DKIM and DMARC** — plus a couple of optional ones for extra security.
**Important:** every domain on Mailbux gets its own values — your DKIM key in particular is unique to your domain. Always copy the exact records Mailbux generates for you in **Domains → Open DNS setup** (each value has a copy button), rather than retyping examples from any guide.

## 1. MX — where your mail is delivered

The MX (Mail Exchange) record routes incoming mail to Mailbux. Add a single MX record:

- **Type:** MX
- **Name/Host:** @ (your root domain)
- **Value:** `my.mailbux.com`
- **Priority:** 10

Remove any old MX records from a previous provider — leftover MX entries are one of the most common causes of mail going to the wrong place.

## 2. SPF — who is allowed to send for your domain

SPF (Sender Policy Framework) lists the servers permitted to send mail using your domain, so receivers can reject spoofed messages. It's a single TXT record:

- **Type:** TXT
- **Name/Host:** @ (your root domain)
- **Value:** `v=spf1 include:msg25.com ~all`

You may only have **one** SPF record per domain. If you already send through another service (for example a CRM or newsletter tool), don't add a second SPF record — merge the includes into one line.

## 3. DKIM — a tamper-proof signature on every message

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to your outgoing mail so receivers can verify it really came from you and wasn't altered in transit. Mailbux signs your mail with two keys and shows both in your dashboard:

- **Ed25519 (recommended)** — a modern, compact key. This is the one marked _Best_; add it if your registrar supports it.
- **RSA (legacy)** — a longer key for the small number of older receivers that don't yet understand Ed25519.

The record is a TXT entry at a selector unique to your domain (something like `xxxx._domainkey`), with a value beginning `v=DKIM1; k=ed25519; ...` or `v=DKIM1; k=rsa; ...`. Because the key is unique to you, copy it straight from your dashboard — don't reuse another domain's value.

## 4. DMARC — what to do with mail that fails the checks

DMARC ties SPF and DKIM together and tells receivers how to treat mail that fails — and where to send you reports. Add a TXT record:

- **Type:** TXT
- **Name/Host:** `_dmarc`
- **Value:** `v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com; pct=100`

Start with `p=quarantine` (suspicious mail goes to spam) while you confirm everything is signing correctly, then tighten to `p=reject` once you're confident. Point `rua` at a mailbox you actually read so you can see who is sending as your domain.

## How to add the records

You add these at your domain registrar or DNS host (GoDaddy, Namecheap, Cloudflare, etc.), not inside Mailbux. The flow is the same everywhere:

1. In your Mailbux dashboard, go to **Domains** and choose **Open DNS setup** next to your domain. Keep that page side by side with your registrar.
2. For each record, copy the **Name** and the **Value** using the copy buttons, and paste them into a new record of the matching **Type**.
3. Save, then come back to the DNS setup page: checks run automatically, and you can choose **Re-check now**.

For registrar-specific, click-by-click screenshots, see our companion walkthrough: [How to add DNS records for your email domain](https://mailbux.com/blog/email-guides/how-to-add-dns-records-email-domain).

## Verifying and propagation

DNS changes aren't instant — they can take anywhere from a few minutes up to **1–24 hours** to propagate worldwide. Mailbux re-checks automatically and turns each record green once it's live, and you can re-run a check any time with **Re-check now** on the domain's DNS setup page (**Domains → Open DNS setup**). To debug a stubborn record, use our free tools: [MX Lookup](https://mailbux.com/blog/email-guides/mx-lookup-tool-guide), [SPF Lookup](https://mailbux.com/blog/email-guides/spf-lookup-tool-guide) and [DKIM Lookup](https://mailbux.com/blog/email-guides/dkim-lookup-tool-guide).

## Common mistakes to avoid

- **Two SPF records** — only one is allowed; a second causes a hard failure. Merge instead.
- **Leftover MX records** from your old provider still pointing mail elsewhere.
- **Wrong Name/Host** — use `@` for the root and `_dmarc` exactly as shown; some registrars add your domain automatically.
- **Copying examples instead of your own values** — your DKIM key is unique; always copy it from your dashboard.
- **Expecting instant results** — give DNS time to propagate before assuming something's broken.

## Getting started

Mailbux generates all of these records for you the moment you add a domain, and verifies them automatically — no guesswork. [Create your free Mailbux account](https://mailbux.com/), add your domain, and copy your records straight from the dashboard.
Free business email
Want a professional address on your own domain, free to start? [Read the free business email guide](https://mailbux.com/blog/business-email/free-business-email-account) or [see how free business email works with Mailbux](https://mailbux.com/free-business-email).

## Put this guide to work

Business email on your own domain, free to start — unlimited business mailboxes on paid plans, no per-mailbox pricing.
[See pricing](https://mailbux.com/pricing)

## Related guides

[3 min read ### How to Add DNS Records for Your Email Domain Step-by-step guide to adding MX, SPF, DKIM, and DMARC DNS records for your Mailbux email domain. Includes the correct values and verification tools.](https://mailbux.com/blog/email-guides/how-to-add-dns-records-email-domain)

[1 min read ### SPF, DKIM, and DMARC Explained: Email Authentication for Businesses SPF, DKIM, and DMARC stop attackers from spoofing your domain. Learn how each works and how to set them up correctly.](https://mailbux.com/blog/email-security/spf-dkim-dmarc-email-authentication-explained)

[3 min read ### How to Verify Your Email DNS Records Are Correct Learn how to verify your MX, SPF, DKIM, and DMARC DNS records are set up correctly using free lookup tools. Includes what correct results look like vs wrong ones.](https://mailbux.com/blog/email-guides/verify-email-dns-records-correct)

[4 min read ### Multiple SPF Records? How to Merge Them Into One (and Fix SPF PermError) Two SPF records on one domain make SPF fail with PermError. Here is how to find them, merge every sender into one record and stay under the 10-lookup limit.](https://mailbux.com/blog/email-security/fix-multiple-spf-records-merge)

[6 min read ### How to Add a Second Domain to Your Business Email Bought a second domain? Add it to the same Mailbux plan, publish its own MX, SPF, DKIM and DMARC records, then choose mailboxes, aliases or forwarders for it.](https://mailbux.com/blog/email-guides/add-second-domain-business-email)

[7 min read ### DKIM Fail: What Each Error Means and How to Fix It Seeing dkim=fail in your headers or DMARC reports? Learn what body hash did not verify, signature verification failed and no key mean, and fix each one.](https://mailbux.com/blog/email-security/dkim-fail-causes-fixes)

---

More for agents: [llms.txt](https://mailbux.com/llms.txt) · [Sitemap](https://mailbux.com/sitemap.xml)
