——
CriticalINCIDENTS

Your domain or DNS records were changed

Recover registrar control, stabilise authoritative DNS, protect email, and determine whether the change enabled credential or certificate abuse.

For teams responding to unauthorised registrar access, nameserver changes, DNS record tampering, or loss of domain control.

DNSDomainEmail security

Start with the situation, not the slogan

An incident rarely arrives with a neat label. It arrives as a forwarded screenshot, a worried telephone call, or a monitoring alert written by a machine with no sense of occasion. In this case “Your domain or DNS records were changed” is the working heading, but the label is only a starting hypothesis. The useful work is to establish what happened, what can still happen, and which decision cannot safely wait.

Keep three clocks in view: the attacker’s opportunity, the business interruption, and the lifetime of the evidence. They do not run at the same speed. A hasty change may interrupt access but erase context; a perfect investigation conducted at geological pace may leave the organisation exposed. Good response is the slightly unglamorous art of making the next reversible decision with the best evidence currently available.

DNS compromise can redirect websites, intercept email, issue certificates, defeat password resets, and undermine every service that trusts the domain. Recovery must address both registrar identity and downstream consequences.

How this usually reaches the desk

Imagine the report begins with this observation: “Unexpected nameserver, A/AAAA, MX, TXT, CAA, or delegation changes and registrar audit notifications.” A second check returns another clue: “Certificate transparency entries, mail-delivery changes, authentication failures, or users reaching an unfamiliar service.” Neither fact alone tells the whole story. Together they justify a documented incident, a defined owner, and a deliberate containment decision. This is where a timeline beats a collection of heroic memories; memory is an excellent storyteller and a dreadful audit log.

This scenario combines common operational patterns; it is not presented as a report of one named incident.

What to look for

Begin with preserved, comparable evidence. One signal is rarely proof; use independent observations and a reliable timeline before declaring scope or intent.

01

Unexpected nameserver, A/AAAA, MX, TXT, CAA, or delegation changes and registrar audit notifications.

Record the exact time, source, identity, system and time zone. Compare it with a known-good baseline and with what the user or service owner expected. A surprising event is a lead, not a conviction.

02

Certificate transparency entries, mail-delivery changes, authentication failures, or users reaching an unfamiliar service.

Look for the control-plane event that made the visible activity possible: a changed credential, permission, rule, route, token or trusted device. Persistence often looks administrative because, technically, it is.

03

Registrar account recovery, contact, MFA, API token, or transfer-lock changes without an approved request.

Correlate the report with independent telemetry before deciding scope. User testimony, identity logs, endpoint evidence and service audit records are strongest when they agree on sequence rather than merely on mood.

Run it, read it, decide what changes

These examples use documentation addresses, test identities and bounded targets. Replace placeholders only inside systems you own or are explicitly authorised to operate. Read the expected result and next action before running the command; a successful command is evidence, not yet a conclusion.

Example 01

Record authoritative DNS delegation

digLinux, macOS or Windows with BIND tools
Prerequisites
The domain name and an external network path.
shell
domain=example.com
dig +short NS "$domain"
dig +trace NS "$domain" > dns-trace.txt
dig +dnssec "$domain" DNSKEY
Expected result

The authoritative nameservers, delegation path and DNSSEC records are printed.

How to interpret it

Unexpected nameservers or missing DNSSEC where it was expected justify registrar and DNS-provider review. DNSSEC absence alone is not proof of takeover.

Next action

Compare registrar delegation, provider zones, DS records and account audit logs; lock the registrar account before making broad DNS changes.

Example 02

Check email-control records

digAny system with dig
Prerequisites
The affected domain.
shell
domain=example.com
dig +short TXT "$domain"
dig +short TXT "_dmarc.$domain"
dig +short MX "$domain"
dig +short CAA "$domain"
Expected result

SPF-like TXT, DMARC, mail exchangers and CAA records are displayed.

How to interpret it

A record can be syntactically present and still be weak, stale or split incorrectly. Multiple SPF records are invalid.

Next action

Compare with the approved mail and certificate providers, then test changes in a staging domain or low-risk window.

Example 03

Check the certificate currently served

OpenSSLLinux, macOS or WSL
Prerequisites
A TLS hostname and outbound TCP/443 access.
shell
host=www.example.com
openssl s_client -connect "$host:443" -servername "$host" </dev/null 2>/dev/null |
  openssl x509 -noout -subject -issuer -serial -dates -ext subjectAltName
Expected result

The live certificate identity, issuer, serial, dates and subject names are printed.

How to interpret it

A valid certificate proves control of a validation path at issuance time, not that the website or DNS is trustworthy now.

Next action

Compare the serial and names with certificate-provider records and investigate unexpected issuance through the CA and DNS audit trails.

What to do

Read the whole sequence before starting. Several workstreams may run in parallel, but their evidence, authority and expected outcomes still need to be explicit. Every step below points back to a concrete example; use the example as implementation evidence, not as permission to operate outside the stated scope.

  1. 01

    Contact the registrar through a verified support channel and invoke its account or domain hijack process. Record case numbers and change times.

    Write down who can authorise containment, who records the timeline and which business service is at risk. If nobody owns a decision, the decision will eventually be made by whichever system fails first.

    Working example 01: Record authoritative DNS delegation — dig on Linux, macOS or Windows with BIND tools.

  2. 02

    Secure registrar and DNS-provider identities, revoke sessions and API tokens, restore trusted MFA, and freeze transfer or administrative changes.

    Prefer a control that is fast, reversible and observable. Note its expected effect before applying it, then check that the effect occurred; clicking a red button is an action, not proof.

    Working example 02: Check email-control records — dig on Any system with dig.

  3. 03

    Restore authoritative nameservers and records from a reviewed configuration. Lowering TTL after compromise does not instantly clear cached malicious data.

    Export or preserve the records most likely to expire, roll over or be changed by containment. Use original time stamps, document collection time and keep the untouched source alongside any working copy.

    Working example 03: Check the certificate currently served — OpenSSL on Linux, macOS or WSL.

  4. 04

    Review certificate issuance, email authentication records, mail flow, password-reset activity, and affected services for abuse during the window.

    Search for mechanisms that survive the obvious fix: alternate credentials, delegated access, scheduled activity, trusted applications, modified recovery details and management-plane changes.

    Working example 01: Record authoritative DNS delegation — dig on Linux, macOS or Windows with BIND tools.

  5. 05

    Notify users and partners through a channel that does not depend on the compromised domain when redirection or email integrity was affected.

    Expand scope by shared infrastructure and behaviour, not by panic. Related identities, devices, recipients and services deserve review when evidence connects them to the same access path or campaign.

    Working example 02: Check email-control records — dig on Any system with dig.

Operational judgement

Containment and recovery are different verbs. Containment limits the next harmful action; recovery returns a service to trustworthy operation. Between them sits eradication: removing the access path and persistence that would make the freshly restored service merely a cleaner target. For DNS, Domain and Email security, keep those decisions separate in the timeline even if a small team performs them minutes apart.

Communication is also a control. Tell affected people what is known, what remains uncertain, what they must do and when the next update will arrive. Avoid both melodrama and false reassurance. “We are investigating” is useful only when followed by an owner and a time. The goal is to reduce secondary harm without teaching a possible attacker exactly what the team has discovered.

Make the result useful to the next person

Maintain two views of the incident. The working timeline should contain detailed events, evidence locations, hypotheses and technical actions. The stakeholder update should contain confirmed impact, current containment, material uncertainty, decisions required and the next reporting time. Do not copy speculative indicators into executive statements. Equally, do not polish away uncertainty merely because it looks untidy. Both records should use absolute times with a declared time zone and should identify the source of each important fact.

At shift change, hand over the current scope, trusted administration path, preservation status, active controls, failed actions, business priorities and the next three decisions. Read back the most consequential assumptions. For this case, ensure the record begins with “Contact the registrar through a verified support channel and invoke its account or domain hijack process. Record case numbers and change times.” and does not finish until the team has addressed “Notify users and partners through a channel that does not depend on the compromised domain when redirection or email integrity was affected.” A concise, accurate handover prevents the incoming team from repeating disruptive work or mistaking a quiet telemetry gap for successful containment.

Validate before you close

Confirm delegation from multiple resolvers, registrar ownership, DNSSEC and transfer controls where applicable, expected certificates, correct mail flow, and monitoring for renewed changes.

Capture the test, the expected result and the observed result. Where a person or business owner must accept restored service, name them in the record. A green dashboard can confirm that a component is answering; it cannot confirm that invoices, identities or restored data are trustworthy.

Finish with a compact closure note: the original trigger, confirmed scope, evidence retained, controls changed, tests passed, known gaps, residual risk, and the people responsible for the remaining work. Schedule a review while the timeline is still fresh enough to challenge. The purpose is not to find a person to blame; computers already perform blame with admirable efficiency. The purpose is to make the next response faster, safer and less dependent on one person remembering where the useful log was hidden.

Common mistakes

  • Resetting systems before preserving volatile evidence and audit logs.
  • Treating the first visible symptom as the complete scope of the incident.
  • Restoring service without verifying that the attacker’s access path is closed.

These errors usually come from haste, unclear ownership or misplaced confidence. Build the safeguard into the runbook: a required evidence field, a second-person review, a rollback test or a specific exit criterion.

Questions people ask when the clock is running

Does one suspicious event prove compromise?

No. Treat “Unexpected nameserver, A/AAAA, MX, TXT, CAA, or delegation changes and registrar audit notifications.” as a reason to investigate and preserve evidence. Confidence should rise when independent identity, service, endpoint or network records support the same sequence.

Should we reset everything immediately?

Reset or revoke what the evidence and risk justify, but preserve the state you will need to understand the incident. Broad, undocumented resets can interrupt the attacker, the business and the investigation in one impressively efficient stroke.

When can the incident be closed?

Confirm delegation from multiple resolvers, registrar ownership, DNSSEC and transfer controls where applicable, expected certificates, correct mail flow, and monitoring for renewed changes. Closure also requires named owners for residual risk and follow-up work; “it seems quiet now” is an observation, not an exit criterion.

Safety boundary

Use these steps only on systems you own or are explicitly authorised to assess. Preserve evidence, follow your organisation’s legal and regulatory obligations, and prefer reversible actions when the situation is not yet understood.

Primary references

  1. Domain Name SecurityICANN
  2. SP 800-61 Rev. 3: Incident Response Recommendations and ConsiderationsNIST

Editorial status: first edition. Review the linked vendor documentation for product- and version-specific changes before acting.