SecDNS

DNS leak

A DNS leak is when DNS queries from a device bypass the protective or encrypted resolver the user expected, exposing the browsing history to the local network or ISP.

DNS leak

A DNS leak is when a device's DNS queries take a path other than the encrypted or protective resolver the user intended — for example sending queries to the ISP's resolver despite an active VPN or DoH profile.

In plain English

You configured DoH on your laptop and feel safe. But the operating system's stub resolver still has an old DHCP entry, or an app is using its own resolver, so a quarter of your queries actually go to the cafe Wi-Fi's DNS in plaintext. That is a DNS leak.

How it works

DNS leaks happen at several layers. The OS stub resolver may not pick up the encrypted profile (older macOS and Windows networking stacks split DNS between interfaces). VPN clients sometimes set a default route but forget to override DNS, so the system resolver still talks to the ISP. Browsers ship their own DoH that can race the system resolver. Apps that embed their own resolver (Chrome on some platforms, certain mobile apps) may ignore system DNS entirely. IPv6 commonly leaks because DHCPv6 or Router Advertisements supply DNS even when IPv4 DNS is overridden. The standard mitigation is a single, system-wide enforcement point — DoH or DoT pinned at the OS level, with IPv6 leaks blocked and split-DNS disabled. Diagnostic tools like "whats-my-dns" confirm the resolver actually in use.

SecDNS perspective

The SecDNS portal includes a leak-test tool that confirms every device is reaching your assigned resolver — if a single query falls through to the ISP, we flag the device and tell you which protocol is leaking.

Frequently asked questions

How do I test for a DNS leak?

Use a leak-test tool that compares the resolver IP your browser is using against the resolver IP you expect. If the answer is not your protective resolver, the device is leaking.

Does a VPN automatically prevent DNS leaks?

No. Many VPN clients tunnel traffic but leave DNS to the system resolver. Look for an explicit "force DNS through tunnel" option or use a DoH/DoT profile pinned at the OS level.