Quick answer
What DNS hijacking is, and where a VPN helps
DNS hijacking is when someone changes the answers your device gets when it looks up a website, so you can land on a fake site even though you typed the right address. Most home cases start with a hacked router. A VPN helps a lot with router and public Wi-Fi hijacks on the devices running it, but it can't fix malware already on your device or a hijack at the website's own registrar.
| Type | Does a VPN help? |
|---|---|
| Router hijacking | Yes, on devices running the VPN while it's connected. |
| Public Wi-Fi interception | Yes. Lookups inside the tunnel can't be read or rewritten on the network. |
| Malware on your device | Partly. A VPN can't clean an infected device. |
| Registrar or provider hijacking | No. Watch for certificate warnings and use two-step sign-in. |
DNS hijacking is an attack that changes where your device goes when you type a web address. You enter the right name, the page looks right, but your request was quietly answered by a server the attacker controls. In most real cases, the weak point is not your phone or laptop. It is the router sitting on your shelf.
This is not a theoretical risk. In April 2026, the U.S. Department of Justice and the FBI announced a court-authorized operation to clean up home and small-office routers that a unit of Russia's GRU intelligence service had taken over to hijack DNS. The FBI said routers belonging to Americans in more than 23 states were involved. Microsoft Threat Intelligence counted more than 200 organizations and 5,000 consumer devices affected by the same campaign.
Here is how DNS hijacking works, how to tell if it is happening to you, and where a VPN helps and where it does not.
What DNS Does
DNS, the Domain Name System, is the internet's address book. Computers connect using numeric IP addresses, but people use names like yourbank.com. Every time you open a site or an app checks for updates, your device asks a DNS resolver, "What is the address for this name?" The resolver answers, and your device connects to that address.
Most homes never choose a resolver. The router hands one out automatically to every phone, laptop, TV and smart speaker that joins the Wi-Fi, usually your internet provider's. Whoever controls that setting controls the answers every device on the network receives.
See Web Shield block a known malicious site.
If a hijack or a bad link points you at a known scam site, Web Shield blocks it before the page loads while CyberFence is connected. Here it is in under a minute.
Watch the Web Shield film
Select play to load YouTube, then start the film in the player. YouTube processes data when loaded; its privacy policy applies.
Watch on YouTube (opens a new tab)
Read the video transcript
Fake websites can look exactly like the real ones. One wrong link can cost you a password, or put malware on your device.
That's where CyberFence Web Shield comes in. Built by cybersecurity professionals, it turns on with your VPN. No setup needed.
It checks the sites and links you open against CyberFence's own database of known threats. If there's a match, it's blocked. The page never loads, and nothing downloads. Safe sites open as usual.
It works in your apps too: at home, on hotel Wi-Fi, or on mobile data. On iPhone, iPad, Android, Windows and Mac.
CyberFence Web Shield. Malicious sites, blocked. Choose your plan today.
How DNS Hijacking Works
DNS hijacking means tampering with those answers. Security teams usually describe four types:
- Router hijacking. The attacker logs into or exploits your router and changes its DNS setting to a server they run. Every device on your network is affected at once. It's a common type for home users.
- Local (device) hijacking. Malware on your computer or phone changes its own DNS settings.
- On-path hijacking. On a shared network such as public Wi-Fi, an attacker intercepts DNS requests, which are usually unencrypted, and sends back fake answers.
- Registrar or provider hijacking. The attacker takes over a website's own DNS records at its domain registrar or DNS host, so everyone in the world is pointed to the wrong place.
In the 2026 router campaign, investigators found the attackers mostly passed requests through to the real sites so nothing seemed wrong, while collecting a record of where people went. For selected targets, they returned fake addresses for services like Microsoft Outlook on the web. According to Microsoft, those fake servers showed an invalid security certificate. People who clicked past the browser warning could have their email and other data read. The DOJ says the group also collected unencrypted passwords, sign-in tokens and emails.
Criminal groups use the same trick for money. Security researchers at Infoblox have reported a separate campaign that took over home routers, particularly older models, and pushed users through redirect chains toward scam and malicious sites.
Warning Signs of DNS Hijacking
DNS hijacking is designed to be quiet, but these signs are worth checking:
- Certificate warnings on familiar sites. A "Your connection is not private" message on your bank, email or a major site is a red flag. Do not click past it.
- Unexpected redirects. You type a well-known address and land on a different page, a search page full of ads, or a "prize" pop-up.
- Sign-in pages that look slightly off. Odd spelling, missing logos or a strange web address in the bar.
- Every device acting strangely at once. If phones, laptops and the TV all show odd behavior on your home Wi-Fi but work fine on mobile data, the router is the likely cause.
- Router settings you did not make. Unknown DNS server addresses, remote management turned on, or a changed admin password.
You can also run our free DNS leak test. If it shows resolver servers you do not recognize or did not expect, investigate further.
Can a VPN Protect You From DNS Hijacking?
For the most common types, yes, a VPN is a strong defense. But the honest answer depends on where the hijack happens.
Router hijacking: strong protection
When a well-built VPN is connected, your device sends DNS lookups through the encrypted tunnel to a resolver the VPN uses, instead of the one your router hands out. So even if someone has changed your router's DNS setting, your protected devices don't use it. That is the attack the FBI and Microsoft described. To check that your lookups really stay inside the VPN, run a DNS leak test while connected. See what a DNS leak is.
Two caveats: the protection covers only devices running the VPN, so your smart TV or game console may still use the hijacked router. And it only works while the VPN is connected, so check that it's on, and see what happens if a VPN connection drops.
Public Wi-Fi interception: strong protection
On a coffee shop or hotel network, an attacker cannot read or rewrite DNS requests that are inside an encrypted tunnel. See whether a VPN protects from man-in-the-middle attacks and evil twin Wi-Fi attacks.
Malware on your device: partial protection
If malware already controls your computer, it may change settings, interfere with apps, or steal data directly. A VPN cannot clean an infected device. Keep your system updated and use your operating system's built-in security tools.
Registrar or provider hijacking: no protection
If attackers take over a website's real DNS records, the wrong answer comes from the authoritative source itself. No VPN can fix that. Your main protections are paying attention to certificate warnings, using two-step sign-in, and blocking known malicious domains. We covered a real example in our post on a country domain hijack using fake Google certificates.
How Web Shield Adds a Second Layer
Encryption protects the path your DNS request takes. It does not judge where the request is going. CyberFence's Web Shield adds that layer while the VPN is connected: it checks domains against lists of known malware and phishing sites and blocks them before the page loads. If a hijack or a bad link sends you toward a known scam domain, Web Shield can stop it. It relies on reported threats, so a brand-new site may not be listed yet, and it isn't an ad blocker or antivirus. Learn more in how DNS filtering works.
How to Check and Secure Your Router
The DOJ and FBI recommend the first four of these steps for home and small-office routers:
- Replace routers that no longer get updates. Check the manufacturer's site for "end of life" or "end of support" notices.
- Install the latest firmware. Many routers can update automatically; turn that on.
- Check the DNS servers in your router settings. Log into the admin page (often printed on a label on the router) and look for DNS or DHCP settings. If you see addresses you do not recognize, reset them to automatic or to your internet provider's defaults.
- Turn off remote management from the internet unless you truly need it.
- Change the default admin username and password to something long and unique.
If you find something wrong, a factory reset followed by a firmware update and a new admin password is often the cleanest fix. Then change passwords for important accounts you used on that network, starting with email.
The Bottom Line
DNS hijacking works because most people never look at who answers their DNS requests. Attackers who control your router can see where you go and, for chosen targets, send you to convincing fakes. Keep your router updated, never click past certificate warnings, and use a VPN that sends your DNS lookups through its encrypted tunnel, checked with a DNS leak test, so your devices stop trusting whatever the local network tells them.
Frequently Asked Questions
What is DNS hijacking?
It's when someone tampers with the answers your device gets when it looks up a website, so you can be sent to a fake site even though you typed the right address.
How do I know if my router's DNS was hijacked?
Warning signs include certificate warnings on familiar sites, unexpected redirects, and every device on your Wi-Fi acting oddly while mobile data works fine. Check the DNS servers in your router's settings.
Can a VPN stop DNS hijacking?
For router and public Wi-Fi hijacks, a VPN helps a lot on the devices running it, while it's connected. It can't fix malware on your device or a hijack at a website's registrar.
What should I do if my router was hijacked?
Reset it, update the firmware, set a new admin password and turn off remote management. Replace it if it no longer gets updates. Then change passwords for important accounts, starting with email.
Does Web Shield stop DNS hijacking?
Not by itself. Web Shield blocks known malicious and phishing sites while CyberFence is connected. A brand-new fake site may not be on the list yet.
Read Next
Want to go deeper? Read our free privacy and security tools , the CyberFence DNS leak test , or the CyberFence WebRTC leak checker .