[ DNS & domains ]

DNS hijacking and its effect on email trust

Trace unauthorized DNS control changes through delegation, inbound routing and outbound authentication without overstating what one lookup proves.

By the EmailAuth research team · 6 min read

[ Key points ]

  • Authoritative takeover, cache poisoning and local resolver redirection need different recovery owners.
  • An authentication pass does not prove that a changed policy was authorized.
  • DNSSEC and transport policies have distinct protections and limits.
On this page

Treat DNS control as part of email trust

DNS hijacking is an unauthorized change to the information or resolution path that a client trusts. For an email team, the important question is not merely whether a domain's website moved. Determine which authority, account or resolver was affected, which mail-related names changed, and what receivers could have observed during the affected interval. A clean answer now does not establish that earlier delivery decisions used the same data.

Keep authoritative takeover separate from cache poisoning and local resolver redirection. They can produce similar symptoms but require different recovery owners. A registrar account can influence delegation; an authoritative hosting account can change zone content; a compromised endpoint can use an unexpected resolver. NIST's DNS deployment guide distinguishes threats to authoritative, recursive and stub services. That distinction is the starting point for a useful incident map.

Identify the trust boundary that moved

Compare the known registration and delegation baseline with the current authoritative service. Record who manages the registrar, DNS hosting, signing infrastructure and recovery contacts. Check whether a change was authorized before calling it malicious: planned migrations, delegated subdomains and split views can produce legitimate differences. Preserve uncertainty when records or account logs are unavailable.

The authoritative hierarchy matters because a trustworthy-looking zone export from the former provider may no longer describe the public delegation. RFC 1034 section 4.2 explains zone boundaries and delegation. Incident evidence should identify the server and path used for each observation, not just reproduce the answer text. A screenshot without its queried name, record type and timestamp is weak evidence of what changed.

Use established incident procedures to protect affected accounts, preserve relevant logs and coordinate restoration. Those actions require the organization's authorization; this article does not direct changes to a live service. Avoid destroying useful evidence by deleting accounts, replacing every record or clearing every cache before the incident owner has captured the affected state.

Trace different consequences for inbound and outbound mail

An unauthorized MX change can redirect attempts to deliver inbound mail. Whether a particular sender actually delivers depends on its selected route, transport protections and the resulting connection. Do not infer mailbox contents were read solely from an MX difference. Establish the affected interval and inspect delivery evidence before making an exposure claim.

Outbound identity checks have different dependencies. SPF evaluates whether the connecting address is authorized for the evaluated domain, using DNS policy under RFC 7208. If an adversary controls that policy, an SPF pass may reflect unauthorized policy rather than legitimate business authorization. Replacing a DKIM public key can affect verification, but publishing a key does not alter old message signatures or reveal the former private key. The key lookup and verification process is described in RFC 6376 sections 3.6 and 6.1.2.

DMARC relies on an authenticated identifier aligning with the Author Domain. It is not an independent registry of approved employees or vendors. A hijacked domain's authentication material can undermine the assumptions behind a passing result. Domain policy also informs receiver handling rather than guaranteeing a universal outcome, as explained in RFC 9989 sections 4.4 and 5.4.

Understand which protections address which risk

DNSSEC provides origin authentication and integrity for DNS data when validation has a usable chain of trust. It does not certify that a change made through an authorized signing system reflects the owner's intention. A malicious edit accepted and signed by a compromised authoritative administration path may still validate. RFC 4033 section 3 sets out the services DNSSEC provides; account protection and approval controls address a different layer.

Transport policies also need their own analysis. An existing MTA-STS policy can constrain permitted MX hosts and TLS validation for implementing senders, but initial discovery and policy caching have limits. DANE SMTP depends on DNSSEC-authenticated information and suitable TLSA records. Neither mechanism should be described as a universal antidote to administrative domain takeover. Consult RFC 8461 section 10 and RFC 7672 section 2 for their distinct trust models.

Fictional worked example of a disputed MX change

At the fictional organization Example Workshops, an alert reports that example.com now has a different MX target. The mail administrator's old DNS panel still displays the expected value. A proposed investigation would compare delegation, current authoritative answers and registrar change records before deciding whether the panel is simply no longer authoritative.

Suppose the incident record later establishes an unauthorized delegation change. The response owner would coordinate restoration of the approved authority and assess the time window against sender logs and transport-policy evidence. An authentication pass on an unrelated outbound message would not close the inbound exposure question. This scenario is invented and contains no observed incident, provider account access or tested restoration.

Define recovery beyond restoring one answer

Retain the approved record difference, dependency map and restore material, then verify the restored authoritative path and selected recursive views. Review any keys, credentials or policy endpoints implicated by the actual compromise without assuming every secret was exposed. Assign ownership for monitoring recurrence and unresolved exposure questions.

Close the incident only against explicit criteria: administration is controlled, intended records are served, dependent services are verified and the evidence interval is understood. Cached answers and queued mail can outlive the visible repair. Original approval and post-change lookup evidence remain missing here, so this educational explanation is not a completed hijacking assessment or a declaration that any domain is safe.

[ Takeaway ]

Restore the affected trust boundary and assess its evidence window, not just the currently visible record.

[ By role ]

What this means for you

Choose your role for practical next steps.

Incident coordinator

Separate facts from exposure claims

A changed record and a proven disclosure are different conclusions.

Next steps

  1. Preserve the observation interval and competing explanations.
  2. Coordinate authorized containment and evidence collection.

Domain administrator

Recover the controlling authority

The repair belongs at the registrar, hosting or resolver layer actually affected.

Next steps

  1. Compare delegation and account-change history with the baseline.
  2. Retain the approved restoration difference and post-change answers.

Mail security analyst

Trace message consequences

Inbound routing and outbound identity authentication have different evidence needs.

Next steps

  1. Connect affected names to real mail routes.
  2. Review receiver and transport evidence before making exposure claims.

[ FAQs ]

Frequently asked questions

Is an unexpected MX target enough to prove mailbox contents were stolen?

No. It establishes a routing discrepancy if the observation is sound. Exposure assessment also needs the affected interval, sender behavior, transport protections and delivery evidence.

Why can the old DNS panel still show correct records during hijacking?

Public delegation may point elsewhere. The former panel can retain intended data while no longer controlling the authoritative path that clients follow.

Can malicious DNS policy produce an SPF pass?

If an adversary controls the relevant SPF policy, it can change the authorization evaluated by receivers. A pass describes that evaluation, not approval by the business owner.

Does replacing a DKIM public key reveal the former private key?

No. Publishing replacement verification material does not reveal the old private key or rewrite existing signatures. Its effect depends on the signatures and keys actually used.

Does DNSSEC prove a record edit was authorized by the organization?

No. DNSSEC authenticates DNS data through its trust model. A malicious edit accepted by a compromised signing administration path may still have a valid signature.

Will MTA-STS protect every sender after an MX takeover?

No. Its behavior depends on sender support, policy discovery, a valid cached policy and policy validation. Its security considerations include limits around initial discovery.

Should every cache be cleared before preserving incident evidence?

No. Follow the incident owner’s preservation plan first. Cache and resolver observations may help explain the interval, and broad clearing can remove useful context without fixing the compromised layer.

When can this article declare a domain recovered?

It cannot make that declaration. A real owner must verify administrative control, intended authority, dependent mail services and unresolved exposure questions using retained incident evidence.

[ Sources ]

Sources

  1. NIST SP 800-81r3: Secure Domain Name System Deployment Guide
  2. RFC 1034: Domain names: concepts and facilities
  3. RFC 4033: DNS Security Introduction and Requirements
  4. RFC 6376: DomainKeys Identified Mail Signatures
  5. RFC 7208: Sender Policy Framework for Authorizing Use of Domains in Email
  6. RFC 7672: SMTP Security via Opportunistic DANE TLS
  7. RFC 8461: SMTP MTA Strict Transport Security
  8. RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance

[ Glossary ]

Glossary

DNS hijacking
Unauthorized alteration of DNS data or the resolution path relied on by a client.
Delegation
A DNS hierarchy relationship identifying the authoritative servers responsible for a child zone.
Authoritative takeover
Compromise of the administration or service that determines authoritative DNS answers.
Evidence interval
The bounded period during which affected observations or actions may have influenced a mail decision.
Data origin authentication
Assurance about the source of DNS data within the DNSSEC trust model, distinct from business approval of an edit.

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