How do these records work together for email delivery?

Still have a question, spotted an error, or have a better explanation or a source we should cite?

Every email you send triggers a chain of DNS lookups behind the scenes. These records don't operate in isolation. They each play a specific role, and they fire in a specific order. Here's how that chain actually works.

When you send an email, your server first needs to find the recipient's mail server. It looks up their MX record to get a hostname, then resolves that hostname to an IP address using an A or AAAA record. Without those two working in sequence, the email never even starts its journey.

Once your server connects, the receiving server immediately starts checking you out. First it does a PTR lookup (reverse DNS) to confirm your sending IP matches the hostname you're claiming. Then it checks your SPF record to see if your IP is authorized to send for your domain. After that, it verifies your DKIM signature against the public key sitting in your DNS. Finally, once SPF and DKIM results are in, it looks up your DMARC policy to decide what to do if either check failed.

That sequence matters. DMARC can't do its job without SPF and DKIM results to evaluate. SPF can't pass if your PTR record is missing or mismatched. It's a chain, and each link depends on the one before it.

When someone sends email to you, the flow is simpler. The sender's server looks up your MX record, finds the hostname of your mail server, resolves it via your A record, and delivers the message there. Your MX record is the front door. If it's missing or broken, inbound mail fails silently or bounces back to the sender.

Tracking links and branded domains use CNAME records. When you send a campaign through an ESP, click tracking URLs often go through a subdomain like click.yourdomain.com. That subdomain's CNAME points to your ESP's tracking infrastructure, so clicks are logged under your brand instead of theirs. It's a deliverability detail, but it also affects how your links appear to spam filters.

So the most common failure pattern is this: someone sets up SPF and DKIM but skips DMARC, or sets DMARC to p=none and forgets about it. Everything looks fine on the surface, but there's no enforcement if someone spoofs your domain. The whole point of having all three is that DMARC uses SPF and DKIM together to make a final call. One record alone doesn't get you there.

If you want to see how your current records are holding up, the free SPF checker is a good starting point. Not sure where the gap is? Our SOS hotline is free and we actually pick up.

The Email Almanac Field Notes: the most useful email questions, once a month

One email a month. New questions worth reading, real deliverability changes (Gmail and Outlook updates, etc.), and any tool or report that landed since the last issue. No fluff, no upsell.

Contributors

Who worked on this answer

Every name links to their profile. Every company links to their site. Real people, real accountability.

Ask an AI · tailored to your setup

Map my email authentication records

My domain is your domain. I use your ESP, e.g. Mailchimp / Google Workspace / Amazon SES to send email. Walk me through how my MX, SPF, DKIM, DMARC, PTR, and CNAME records work together when I send an email. Which records should I check first, and what does a correct setup look like for my situation?

Edit the yellow boxes, then send to the AI of your choice.