Skip to main content

AltF DomainOps

Email domain setup guide: MX, SPF, DKIM and DMARC

Since 2024, Gmail and Yahoo require bulk senders to have SPF, DKIM and DMARC, and every serious mailbox provider uses them to decide what reaches the inbox. This guide sets them up in order, with the exact record formats and a DomainOps check after each step.

  • Free, no sign-up
  • Real DNS, RDAP and TLS data
  • Raw records shown
  • No affiliate links

Step 1: MX

Add the MX records your mail provider gives you and remove any from a previous provider. Check with the MX lookup: the provider name should appear next to the records.

Step 2: one SPF record

  • Publish exactly one TXT record at the bare domain that starts with v=spf1.
  • Add an include: for each service that sends as you (mail provider, newsletter tool, CRM, help desk).
  • End with ~all while testing, -all when you are sure the list is complete.
  • Keep it under 10 DNS lookups. The Email DNS tab counts them for you, include by include.

Step 3: DKIM

Turn on DKIM signing in each sending service. Each gives you a selector and a TXT or CNAME record at selector._domainkey. Type the selector into the Email DNS tab to confirm the key is published.

Step 4: DMARC in three stages

  • Week 1: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain. Read the aggregate reports to find every sender.
  • Week 3-4: p=quarantine once all your real senders pass SPF or DKIM in alignment.
  • Then: p=reject. Spoofed mail is now refused outright.

Step 5: optional extras

  • MTA-STS (_mta-sts TXT plus a policy file) to require TLS for mail delivered to you.
  • TLS-RPT (_smtp._tls TXT) to receive reports on failed encrypted deliveries.
  • BIMI (default._bimi TXT) to show your logo in supporting inboxes; needs DMARC at quarantine or reject.

Check each step with the tools below.

Email domain setup guide: questions and answers

Can I have two SPF records?

No. Two v=spf1 records make SPF fail with a permanent error for every message. Merge all the includes into a single record.

Do I need DMARC if I only use Gmail or Outlook?

Yes, if you send from your own domain. Google and Yahoo require a DMARC record for bulk senders, and without one anyone can spoof your domain with no way for you to see it.

Which tool should I use for a quick SPF, DKIM and DMARC pass/fail?

The SPF, DKIM and DMARC checker tool on AltFTool gives a fast single-page verdict. The Email DNS tab here adds SPF lookup counting, DKIM selector probing and MTA-STS, TLS-RPT and BIMI.

Start from what you are doing

Focused checks and guides

Checks

Guides

25 more free domain and DNS tools

AltFTool does not store the domains or addresses you check. DNS lookups in the DNS, compare, email and IP tools run from your browser; registration, report and certificate checks pass through AltFTool's server and keep nothing.