Email infrastructure research

A domain's email runs through services you can partly see from outside: who receives its mail, who it authorises to send, and who signs for it. This research sets out what public DNS shows, and where it stops.

Three questions DNS can answer

Who receives the mail?

The MX records name the mailbox provider. A host such as aspmx.l.google.com identifies Google Workspace with high confidence.

Who may send it?

Each SPF include names a service by its documented SPF domain. It shows authorisation, not use: old includes often outlive the service.

Who signs it?

DKIM keys under a provider's selector names point to that provider. Keys under custom names are invisible until someone names them.

Fingerprints Sendavio recognises

The same table drives the analyser on Sendavio, the DKIM explorer and specimen FX-08, which authorises three of these services at once.

ServiceKindSPF includeDKIM selectors
Google WorkspaceMailbox_spf.google.comgoogle
Microsoft 365Mailboxspf.protection.outlook.comselector1, selector2
Zoho MailMailbox*.zoho(mail)?.(com|eu|in|com.au|jp|com.cn|sa)zmail, zoho
Proton MailMailbox_spf.protonmail.chprotonmail, protonmail2, protonmail3
FastmailMailboxspf.messagingengine.comfm1, fm2, fm3
iCloud MailMailboxicloud.comsig1
Yandex MailMailbox_spf.yandex.(net|ru)mail
Cloudflare Email RoutingMailbox_spf.mx.cloudflare.netcf2024-1
Amazon SESSending*.amazonses.comper customer
SendGridSendingsendgrid.nets1, s2
MailgunSending*.mailgun.orgk1, mx, smtp, pic, krs
MailchimpSending(servers.mcsv.net|spf.mandrillapp.com)k2, k3, k1, mandrill
BrevoSendingspf.(sendinblue|brevo).combrevo1, brevo2, mail
PostmarkSendingspf.mtasv.netper customer
MailjetSendingspf.mailjet.commailjet
SparkPostSending*.sparkpostmail.comper customer
HubSpotSending.hubspotemail.neths1, hs2
SalesforceSending_spf.salesforce.comsf1, sf2
ZendeskSendingmail.zendesk.comzendesk1, zendesk2
Constant ContactSendingspf.constantcontact.comctct1, ctct2
MailerLiteSending_spf.mlsend.comml, ml2
ResendSendingnoneresend

What sending services expect you to publish

Sending services authenticate your domain by asking you to publish records, then validating them on their side. Their validation and public DNS can disagree: a record can be validated once and removed later. Comparing the two is how drift is caught.

SendGrid (automated security)

TypeNameValue (example)Purpose
CNAMEem123.yourdomainu123.wl.sendgrid.netReturn path and link branding host
CNAMEs1._domainkey.yourdomains1.domainkey.u123.wl.sendgrid.netDKIM, delegated so SendGrid can rotate keys
CNAMEs2._domainkey.yourdomains2.domainkey.u123.wl.sendgrid.netSecond DKIM key for rotation

SendGrid API: GET /v3/whitelabel/domains returns these with their validation results.

Mailgun (sending records)

TypeNameValue (example)Purpose
TXTyourdomain or a subdomainv=spf1 include:mailgun.org ~allMerged into your one SPF record
TXTpic._domainkey.yourdomain (name varies)k=rsa; p=...DKIM public key published as TXT
CNAMEemail.yourdomainmailgun.orgOnly for open and click tracking

Mailgun API: GET /v4/domains/{name} returns sending_dns_records with record_type, name, value and valid.

Amazon SES (Easy DKIM and custom MAIL FROM)

TypeNameValue (example)Purpose
CNAMEtoken1._domainkey.yourdomain (x3)token1.dkim.amazonses.comThree random tokens; the target follows SigningHostedZone
MXbounce.yourdomain10 feedback-smtp.us-east-1.amazonses.comCustom MAIL FROM, per region; exactly one MX
TXTbounce.yourdomainv=spf1 include:amazonses.com ~allSPF for the MAIL FROM subdomain

Amazon SES API v2: GetEmailIdentity returns DkimAttributes.Tokens, SigningHostedZone and MailFromAttributes.

Where DNS evidence stops

  • An SPF include proves a service may send, not that it does, or that it still holds an account for you.
  • A DKIM key proves a key exists, not that mail is signed with it. Only a real message shows that.
  • DMARC reports, not DNS, show who actually sends as your domain. Reading them closes most of these gaps.
  • Inbox placement cannot be read from DNS at all. It needs test messages to real mailboxes.

Map your own email infrastructure

Sendavio draws this map for your domains from public DNS, then adds what connected services report, so you can see what depends on what.

See Sendavio