Glossary
DNS hijacking
Definition
DNS hijacking: Redirecting a domain's traffic by tampering with its DNS, usually by changing its name servers or records after taking over the registrar or DNS host account, so web visitors and email go to servers an attacker controls.
Also known asDNS redirection attackDNS infrastructure tamperingdomain hijacking
In short
DNS hijacking is redirecting a domain's traffic by tampering with its DNS: changing the name servers that answer for it or the records they return. The usual route is a stolen login at the registrar or DNS host. An attacker can then point your website and MX records at servers they control, receive your mail and get valid certificates. Registrar locks, two-step verification and record monitoring stop most of it.
Key takeaways
- The common route is a stolen registrar or DNS host login, not a technical exploit.
- Changing NS or MX records lets an attacker receive your domain's mail, including password reset emails.
- CISA's response to a hijacking campaign was to audit records, change passwords, add multi-factor authentication and watch certificate logs.
- Registrar locks make the registry refuse transfers or updates until the lock is lifted.
- It differs from cache poisoning, which forges answers in a resolver, and from subdomain takeover, which abuses forgotten records.
Last reviewed 5 December 2026 by Foxcolab Team
DNS hijacking is redirecting a domain's traffic by tampering with its DNS: changing the name servers that answer for it, or the records they hand out. Visitors type your real address and land on an attacker's server. Mail sent to your domain goes to an attacker's inbox. Nothing looks wrong from the outside, because the domain name is genuine.
How it usually happens#
It rarely takes a clever exploit. In 2019, CISA ordered US federal agencies to act after a hijacking campaign (Emergency Directive 19-01). The attackers began by "compromising user credentials, or obtaining them through alternate means" for accounts that could change DNS. They then altered "Address (A), Mail Exchanger (MX), or Name Server (NS) records," obtained valid certificates for the victims' domains, and "redirected and intercepted web and mail traffic."
A worked example: an attacker phishes the registrar login for example.com and changes its NS records to servers they run. They copy every record except MX, which points to their own mail server. The website still works. But every email to example.com reaches them first, including password reset emails from every service your team signed up for with a company address. That's how one DNS change becomes many account takeovers.
DNS hijacking is different from cache poisoning, where forged answers are planted in a resolver's cache (the problem DNSSEC addresses), and from subdomain takeover, which exploits records you forgot to remove.
How to protect your domain#
CISA's directive is a good checklist for any company:
- Audit your DNS records and know what each one should say.
- Change the passwords of every account that can edit DNS, and remove old users.
- Add multi-factor authentication at your registrar and DNS host.
- Watch certificate logs. CISA told agencies to monitor certificate transparency logs "for certificates issued that they did not request."
Then lock the domain. ICANN explains that the registrar lock clientTransferProhibited "tells your domain's registry to reject requests to transfer the domain," and clientUpdateProhibited does the same for updates. Some registries also offer a stronger registry lock through your registrar.
In Foxcolab#
On a verified domain in your account console, select DNS records, then Check records. Foxcolab looks up your MX, SPF, DKIM and DMARC records and marks each Found or Not found yet, with the time of the check. If Foxcolab's mail server disappears from your MX records, that record shows Not found yet, and what Foxcolab found instead appears under We currently find. A change you didn't make is a reason to check your registrar account straight away. Protect the owner and admin accounts with Two-step verification, and see Domain not verifying? for the lookups.
Keep exploring
Related terms
- DNS (Domain Name System)DNS is the internet's directory. It turns a name like example.com into the records computers need, from a website's address to the servers that accept a domain's mail.
- Domain registrarA domain registrar is the company you register and renew a domain name through. Here's how registrars, registries and DNS hosts fit together, and the mistakes that cost companies their email.
- NS recordAn NS record names the name servers that hold a domain's DNS records and answer for it. It decides where your DNS changes count, which is why so many setup problems trace back to it.
- MX recordAn MX record is the DNS entry that names the servers accepting email for a domain and sets the order in which sending servers try them.
- DNSSECDNSSEC signs DNS records so resolvers can tell a genuine answer from a forged one. Here's how the chain of trust works, what DNSSEC doesn't do and the mistake that takes domains offline.
- Subdomain takeoverA subdomain takeover happens when your DNS still points to an outside service you've stopped using, and someone else claims it to serve content or receive mail on your domain.
- Certificate Transparency (CT)Certificate Transparency is a system of public, append-only logs that record every TLS certificate a public certificate authority issues, so domain owners can spot certificates they didn't request.
- Account takeover (ATO)Account takeover is when someone else gains control of your account and uses it as you. The routes in are reused passwords, phishing, stolen sessions and recovery.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.