[ DNS & domains ]

DNS records and owners for email authentication

Map each authentication identity to its exact DNS owner, record type and responsible operator before changing SPF, DKIM or DMARC.

By the EmailAuth research team · 6 min read

[ Key points ]

  • Derive SPF, DKIM and DMARC questions from their actual protocol identities.
  • Confirm the delegated authority, not just the registrar or a familiar DNS console.
  • Preserve TXT record boundaries and distinguish aliases from zone delegation.
On this page

Start with the identity the receiver will check

An email-authentication change begins with a name, a record type and a responsible operator. “Add authentication to our domain” is too broad to identify the correct DNS editor or the answer a receiver needs. A marketing service may sign with one domain, use another for its SMTP envelope, and display a third in the From field. An inventory should preserve those differences before anyone edits a zone.

For SPF, obtain the domain used by the SMTP MAIL FROM identity; the HELO identity has its own check, including the null reverse-path case. Query the applicable domain for TXT. Do not select the SPF owner merely by reading the visible From address. RFC 7208, sections 2.3–2.4 and 3.1.

For DKIM, take the selector from s= and the signing domain from d= in the signature. The key lookup name is selector, then _domainkey, then the signing domain. For DMARC, policy discovery starts with a TXT query beneath _dmarc at the Author Domain and can continue using the specified DNS tree walk. An absent initial record does not by itself establish that no policy applies. RFC 6376, section 3.6.2; RFC 9989, sections 4.5 and 4.10.

Separate the owner name from the people who own the change

In DNS, the record's owner is a domain name. In a change ticket, its owner is often a person or team. Record both. The domain registrar, authoritative DNS host, sending-platform administrator and approving domain owner can be different parties. Registration access is not evidence that a particular DNS console controls today's public answer.

Identify the delegated authoritative servers for the zone containing the requested name. A subdomain may have its own delegation, so the correct editor may differ from the parent domain's editor. Keep the zone, full owner name, requested type, proposed data and accountable operator together. DNS delegation defines where authority changes; it does not follow an organization's support-team boundaries. RFC 1034, sections 4.2 and 4.2.1.

Ask the sender administrator to supply account-issued values and explain any aliases. A provider's CNAME instruction points a name at another name; it is not the same operation as delegating a child zone with NS records. Capture who maintains the alias target as well as who can change the customer-side record.

Read the published record set rather than the editor's appearance

DNS consoles often accept a relative host label and append the zone name. A copied fully qualified name entered in the wrong mode can therefore land at an unintended owner. Verify the final absolute name, including every subdomain and underscore label. An editor's saved value is preparation evidence; an authoritative DNS answer is publication evidence.

TXT presentation also needs care. A single TXT resource record may contain several character strings. For SPF those strings are concatenated without inserting spaces. That differs from publishing two separate SPF records at the same owner, which is prohibited. Preserve record boundaries when reviewing an export or screenshot rather than counting quotation marks. RFC 1035, section 3.3.14; RFC 7208, sections 3.2–3.3.

MX records identify mail exchangers for receiving mail. They do not independently prove which outbound service is authorized or which key signs a message. An SPF policy can refer to MX through a mechanism, but that relationship must come from the actual policy, not from an assumption that all mail-related DNS records authenticate sending. RFC 1035, section 3.3.9; RFC 7208, section 5.4.

Work through a fictional ownership inventory

Suppose a fictional service sends mail with From news@example.com, MAIL FROM bounce@mail.example.com, and a DKIM signature containing d=example.com; s=nov26. The initial inventory has three separate TXT questions: mail.example.com, nov26._domainkey.example.com, and _dmarc.example.com. These are illustrative names and identities, not observed messages or recommended production values.

The email administrator confirms the intended route and selector. The DNS administrator checks which zone contains each name and whether any provider-required alias changes the lookup path. The domain owner approves the scope. If the selector is issued by a vendor, the vendor must retain the corresponding private key; only public-key material belongs in DNS. A private key must never be copied into the ticket or a public TXT record.

An inventory row should distinguish “supplied by the service,” “present in authoritative DNS,” and “observed on received mail.” Leaving one of those columns unknown is more useful than checking a single “authenticated” box prematurely.

Collect evidence before closing the change

Proposed checks are dig @AUTH_IP nov26._domainkey.example.com. TXT +norecurse and dig @RESOLVER_IP nov26._domainkey.example.com. TXT. Replace the uppercase placeholders with approved endpoints. Repeat for each actual owner and relevant authoritative server. Retain UTC time, server address, question, response code, flags, answer and authority sections, TTLs and any alias chain. These commands have not been executed for this article.

If authority and recursion disagree, investigate publication consistency, caching and the resolver path before adding duplicate records. A DNS answer still cannot prove a signature verifies, SPF authorizes the actual sending IP, or DMARC aligns. Close those questions with a controlled received message and trusted receiver results. Timestamped authoritative and recursive transcripts remain an open original-evidence gate for this documentary draft.

[ Takeaway ]

Keep the protocol identity, DNS owner name and accountable operator together, then verify publication and received mail separately.

[ By role ]

What this means for you

Choose your role for practical next steps.

DNS administrator

Verify the actual publication point

The requested owner may sit in a delegated child zone or point to a provider-controlled target.

Next steps

  1. Record the full owner, type, zone and operator before editing.
  2. Retain answers from the relevant authoritative servers and identify aliases.

Email platform owner

Supply identities from the sending workflow

The service’s envelope domain and DKIM selector determine different DNS questions.

Next steps

  1. Provide the actual MAIL FROM domain and intended d=/s= pair.
  2. Keep issued configuration separate from received-message observations.

Security reviewer

Approve a bounded authentication change

A published record is one dependency, not proof that a sender is aligned or safe to release.

Next steps

  1. Check that no private key enters DNS or the ticket.
  2. Review a controlled message and retain unresolved identity gaps.

[ FAQs ]

Frequently asked questions

Which domain should I query for SPF if the From address is news@example.com?

Use the domain from the applicable SMTP MAIL FROM identity, with the HELO rules including the null reverse-path case. The visible From address alone does not identify the SPF query owner.

How do I build the DKIM lookup name?

Take the signature’s s= selector and d= signing domain, then query selector._domainkey.signing-domain for TXT. Do not assume every message uses the selector shown in an old setup ticket.

Is the registrar necessarily the person who can change the TXT record?

No. Identify the zone’s delegated authoritative service and the operator who manages it. Registration and DNS hosting can be handled by different services.

Can an MX record prove that an outbound platform is authorized?

No. MX identifies receiving mail exchangers. An SPF policy can explicitly use an mx mechanism, but MX publication alone is not outbound authentication.

Are two quoted strings in a TXT answer two SPF policies?

Not necessarily. One TXT record can contain multiple strings, which SPF joins without adding spaces. Preserve resource-record boundaries before deciding that duplicate SPF policies exist.

Does a provider CNAME instruction delegate the entire DNS zone?

No. A CNAME establishes an alias at a name. NS records establish zone delegation. Record the alias target’s operator without treating the alias as a transfer of zone authority.

Does no TXT at the first _dmarc name mean no DMARC policy applies?

Not by itself. RFC 9989 policy discovery can continue with a DNS tree walk when the initial lookup does not find a valid policy record.

What is still needed to complete the inventory’s evidence gate?

Original timestamped authoritative and recursive answers for each exact owner and type, plus account applicability and controlled received-message results. The example inventory is fictional.

[ Sources ]

Sources

  1. RFC 1034: Domain names: concepts and facilities
  2. RFC 1035: Domain names: implementation and specification
  3. RFC 6376: DomainKeys Identified Mail Signatures
  4. RFC 7208: Sender Policy Framework for Authorizing Use of Domains in Email
  5. RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance

[ Glossary ]

Glossary

DNS owner name
The domain name to which a DNS resource record belongs, distinct from the person responsible for changing it.
Selector
The DKIM s= value used with the signing domain to locate a public-key record beneath _domainkey.
MAIL FROM identity
The SMTP envelope identity whose domain normally supplies the SPF policy lookup; null reverse-path handling uses the HELO-based identity rules.
Author Domain
The domain of the message’s RFC5322.From address used by DMARC for policy discovery and alignment evaluation.
TXT character string
One length-delimited string within a TXT resource record; several strings may belong to a single record.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base