How to block DNS over HTTPS on your home network, so parental controls actually work
You set up a filter, it works on the laptop, and then a phone, a browser or the smart TV gets to sites it shouldn't. Usually nothing is broken. The device has stopped asking your filter, most often because it switched to encrypted DNS: DNS over HTTPS (DoH), DNS over TLS (DoT) or DNS over QUIC (DoQ).
This page explains why that happens, how to turn encrypted DNS off device by device, and how to block it for the whole network so you don't have to. To check a device first, run our free parental controls bypass test on it.
Why encrypted DNS gets around your filter
Before a device opens a website, it asks a DNS server where that site lives. Most home parental controls, router filters, Pi-hole-style blockers and filtering DNS services work by answering that question: ask for a blocked site and you get no answer, so the page never loads.
That only works while the device is asking your DNS server. Devices stop asking it in three ways:
Encrypted DNS in the browser or app
Browsers and many apps can send lookups over DoH straight to an outside resolver. DoH travels on port 443 like any HTTPS site, so a normal router passes it through without seeing what was looked up. Some browsers turn it on by themselves.
A different DNS server in the settings
Anyone can type another DNS server into a phone, laptop or console. Android's "Private DNS" does this with DNS over TLS on port 853.
Devices with their own DNS built in
Some smart TVs, streaming sticks and apps use their maker's DNS servers whatever your network says, and nothing on the device lets you change it.
How to turn off DNS over HTTPS, device by device
If you only have a few devices, you can switch encrypted DNS off on each one. Menu names move between versions, but this is where to look:
- Firefox: Settings → Privacy & Security → DNS over HTTPS → Off. Firefox also turns its default DoH off by itself on networks that block the test domain
use-application-dns.net, unless someone picked its strictest setting. - Chrome: Settings → Privacy and security → Security → Use secure DNS → off.
- Microsoft Edge: Settings → Privacy, search, and services → Security → Use secure DNS → off.
- Windows 11: Settings → Network & internet → your connection → DNS server assignment → make sure DNS over HTTPS is off.
- Android: Settings → Network & internet → Private DNS → Off.
- iPhone and Mac: iCloud Private Relay sends Safari's lookups around your filter. Turn it off under Settings → your name → iCloud → Private Relay. Also check for DNS or VPN profiles under Settings → General → VPN & Device Management.
The catch: this only covers the devices and browsers you changed. A setting can be switched back on, an update can change it, it does nothing for apps and smart TVs, and it never covers a friend's phone on your Wi-Fi. A filtering app on each device has the same problem.
How to block encrypted DNS for the whole network
To cover every device at once, the blocking has to happen where all traffic passes: the router or firewall between your modem and your network. It takes four things:
- Force plain DNS to your filter. Redirect every lookup on port 53 to your filter, whatever server the device asked for. That catches hard-coded DNS on TVs and consoles.
- Block DNS over TLS and DNS over QUIC. Block outgoing port 853 (TCP and UDP). That covers Android's Private DNS too.
- Block DNS over HTTPS. This is the hard one, because DoH shares port 443 with every website. It has to be blocked by the addresses and names of known DoH resolvers, from a list that's kept up to date, plus the signals browsers check, such as
use-application-dns.netfor Firefox and Apple's Private Relay names. - Block whole domains, not single addresses, so a blocked site can't slip past on a new subdomain.
When encrypted DNS is blocked this way, browsers and apps fall back to ordinary DNS, which your filter answers. Most consumer routers can do the first item at best. The DoH list is the part that usually takes a full firewall and an afternoon of rules.
How TheVault does it
TheVault is the firewall between your modem and your network, so every device passes through it, phones, consoles and smart TVs included. In the setup wizard you pick Parental controls and it does all of the above for you: forced DNS for every device, encrypted DNS (DoH, DoT and DoQ) blocked at the firewall and at DNS, about 4.6 million domains blocked with every subdomain under them, and SafeSearch and YouTube's restricted mode switched on at the network.
When a site you actually need is caught, Site not working? shows every rule that blocks it and links straight to allowing that one site. More about TheVault's parental controls
One limit applies to every home filter, TheVault included: a phone on mobile data isn't on your network, so the filter at home doesn't see it. What about mobile data?
Questions parents ask
Why does DNS over HTTPS get around parental controls?
Most home filters work by answering DNS lookups. With DNS over HTTPS, the browser or app sends its lookups encrypted to an outside server, inside ordinary-looking web traffic, so the filter on your router never sees them and never gets to block anything.
Does blocking DNS over HTTPS break websites?
No. When encrypted DNS to an outside server is blocked, browsers and apps fall back to ordinary DNS, which your filter answers. Sites keep working; only the blocked ones stay blocked.
Is turning DoH off in each browser enough?
Not on its own. It only covers the browsers you changed, it can be switched back on, and it does nothing for apps, smart TVs or a friend's phone on your Wi-Fi. Blocking it at the network covers every device at once.
Does network-level filtering work on mobile data?
No. A phone on mobile data isn't on your network, so no home filter sees its traffic. Network filtering covers devices while they're on your Wi-Fi or wired network.
More guides: block ads and trackers on every device and turn an old PC into a home firewall.
What your family looks up is logged on the box in your home. Your data
Filtering that holds on every device on your network
TheVault runs on a PC with two Ethernet ports, placed between your modem and your network. One payment, updates included, 30-day refund.