Feature Request: Block generic NextDNS endpoint (dns.nextdns.io) to prevent profile bypass in browsers
Hi NextDNS Community & Team,
I've run into a specific bypass scenario in browser settings (like Google Chrome / Mozilla Firefox) that undermines custom NextDNS profiles, and I'd like to suggest a solution or start a discussion on how this can be better handled.
The Problem
When a user goes into Chrome/Firefox settings under Security > Use Secure DNS (DoH), the browser offers a built-in dropdown list of popular DoH providers, including NextDNS.
When selecting "NextDNS" from that browser dropdown:
The browser connects directly to the default global NextDNS DoH endpoint ([https://dns.nextdns.io](https://dns.nextdns.io)) over Port 443.
Because it uses the generic endpoint without a profile ID attached ([https://dns.nextdns.io/XXXXXX](https://dns.nextdns.io/XXXXXX)), it completely bypasses all custom profile rules, blocklists, and parental controls set up on the network/account.
Since it is still resolving via NextDNS's public infrastructure, traffic flows normally, but without any filtering applied.
Even if you enable "Block Bypass Methods" in your NextDNS dashboard, it currently doesn't block queries going to NextDNS's own generic DoH IP/endpoints if a user selects it inside the browser.
Feature Request / Proposed Solution
Could NextDNS introduce a way—either within the dashboard or via DNS resolution logic—to block or restrict queries coming through the generic/unauthenticated dns.nextdns.io endpoints for networks utilizing custom profiles?
Specifically:
Option to treat requests without a valid Profile ID as blocked/unfiltered-deny on networks associated with linked IPs or configured DoT/DoH endpoints.
Or provide recommended Canary/DDR responses to ensure browsers fail back to the local/router-provided DoH/DoT endpoint containing the user's specific Profile ID.
This would prevent users on a network from easily bypassing custom NextDNS profiles simply by selecting the default "NextDNS" option built into modern browsers.
Curious to hear thoughts from the community and the NextDNS team on how this can be better mitigated!
4 replies
-
Hi, It seems to me that all browsers have included a DNS security bypass feature, with the seductive argument of doing DoH 🤔
-
Hi, here is the answer given in another thread here :
"NextDNS is set on the router but NextDNS says it’s using Cloudflare instead."
For blocking unauthorised use of DoH is more difficult as it uses the https port which is an administrators nightmare to control, one option if you have local DNSBL capabilities such as pfblockerng is to load a DoH block list so anything going to a DoH server is blocked, and typically any software doing this will fall back to system DNS instead of failing the DNS query. Or you can do it in firewall directly if the firewall supports URL aliases to convert to IP's to block, block with a reject not a silent drop for fast fall back to system DNS, I prefer the firewall method. Obviously if you blocking DoH, you might need to whitelist/exclude any DoH you want accessible over your network, e.g. NextDNS.
Once you done all this, and assuming your DHCP is sending correct local DNS IP to clients, you dont need to worry about individual devices using unauthorised DNS services. -
Thanks for sharing that! That firewall/DNSBL approach works great for third-party DoH providers like Cloudflare or Google.
However, the catch with NextDNS itself is that both the generic endpoint (dns.nextdns.io) and custom profile endpoints (<id>.dns.nextdns.io) share the same anycast IPs. Blocking NextDNS IPs at the firewall level would break legitimate custom profiles too, while whitelisting them leaves the generic unauthenticated endpoint open.
A neat local workaround I found is adding dns.nextdns.io directly to my NextDNS Denylist—that blocks the browser's built-in generic endpoint without affecting <id>.dns.nextdns.io or IPv4/Linked IP resolution, forcing the browser to fall back to the router's filtered DNS. Still, having a native toggle in NextDNS to reject unauthenticated dns.nextdns.io queries from Linked IPs would be much cleaner!
Content aside
-
1
Votes
- 9 hrs agoLast active
- 4Replies
- 52Views
-
2
Following
