As How-To Geek recently highlighted in a timely networking sanity check, your Pi-hole can be running flawlessly while entire categories of DNS requests glide right past it on modern dual-stack networks. The culprit usually isn't a broken Pi-hole install—it is a quiet mismatch between how IPv4 and IPv6 hand out DNS server addresses on your local network.
Why Dual-Stack Networks Let DNS Traffic Slip Past Pi-hole
Most modern residential and small-office networks run dual-stack, meaning devices simultaneously hold both IPv4 and IPv6 connectivity. On the IPv4 side, life is straightforward: your router's DHCP server hands each Windows machine an IP address, a gateway, and a DNS server—namely, your Pi-hole.
IPv6 plays by different rules. Devices on an IPv6-enabled LAN can learn DNS server addresses through DHCPv6 or through Router Advertisements (RAs) containing the Recursive DNS Server (RDNSS) option, as standardized in IETF RFC 8106. When your router broadcasts an RA packet or responds to a DHCPv6 request, it may still be advertising your ISP's default IPv6 resolvers—even if you painstakingly typed Pi-hole's IPv4 address into the IPv4 DHCP fields.
Here is where RFC 8106's design turns a tidy Pi-hole deployment into a sieve:
- Multiple configuration sources coexist: RFC 8106 specifies that when an IPv6 host learns DNS information from multiple sources—such as Router Advertisements and DHCP—it retains an ordered list of recursive DNS servers from all sources unless static DNS settings were manually configured.
- Your PC may hold two conflicting answers for "Who handles DNS?": A Windows 11 laptop can dutifully list your Pi-hole's IPv4 address right alongside a pair of ISP-assigned IPv6 DNS servers. Depending on how Windows and individual applications prioritize those resolvers, queries can exit over IPv6 to the ISP without Pi-hole ever seeing a packet.
- IPv6 itself is not the villain: Pi-hole is built to handle both IPv4 and IPv6 ad blocking, and it can effortlessly resolve IPv6 (
AAAA) records even when a client contacts it over IPv4. A bypass only happens when clients are handed a different DNS server—or when a router advertises itself for IPv6 DNS but fails to forward those queries to Pi-hole.
Section Summary: Dual-stack networks frequently leak DNS queries not because IPv6 breaks Pi-hole, but because IPv6 Router Advertisements (RDNSS) and DHCPv6 distribute DNS settings independently of IPv4 DHCP. Under RFC 8106, clients keep DNS servers from multiple sources, allowing ISP IPv6 resolvers to sit quietly beside your Pi-hole.
The Five-Minute Windows Sanity Check
Before you start tearing apart router menus, verify whether your Windows PC is actually bypassing Pi-hole. Built-in Windows 10 and Windows 11 command-line tools—paired with Pi-hole's web dashboard—give you a definitive answer in under five minutes.
Step 1: Audit All DNS Servers With ipconfig /all
Open Command Prompt or Windows Terminal on your Windows PC and run:
ipconfig /all
Microsoft's ipconfig documentation notes that the /all switch reveals the full TCP/IP configuration for every physical and logical network adapter. Scroll to your active Ethernet or Wi-Fi adapter and inspect the DNS Servers section carefully.
| What You See Under DNS Servers | What It Usually Means |
|---|---|
| Only your Pi-hole's IPv4 address (and/or Pi-hole's IPv6 address) | Expected configuration; clients should send queries directly to Pi-hole. |
| Pi-hole's IPv4 address + your router's IPv6 address | Possibly fine—if your router forwards all DNS requests to Pi-hole rather than upstream ISP servers. |
| Pi-hole's IPv4 address + unfamiliar IPv6 addresses | Red flag: your router is likely advertising ISP or third-party IPv6 resolvers via RA/RDNSS or DHCPv6. |
Step 2: Compare Default vs. Direct nslookup Queries Against the Query Log
Seeing an extra IPv6 address is suspicious, but you still need proof of where lookups are actually landing. Open your Pi-hole web interface and navigate to the Query Log (Pi-hole enables query logging by default, as documented in its FTLDNS configuration reference).
- Test your default Windows resolver: In Command Prompt, run a noninteractive
nslookupquery for an IPv6 address record:
nslookup -type=AAAA example.com
You can also test a domain known to sit on your active blocklist—Pi-hole's own setup documentation suggests testing with a blocked domain such asapi.mixpanel.com,. Look at the Server and Address lines printed at the top of thenslookupoutput, then check whether the query appears in Pi-hole's Query Log. - Query Pi-hole directly for comparison: Now specify your Pi-hole's IP address as the second argument (substituting your Pi-hole's real address in place of
192.168.1.10):
nslookup -type=AAAA example.com 192.168.1.10
Microsoft documents this second parameter in noninteractivenslookupmode as overriding the default DNS server. Pi-hole's troubleshooting guidance similarly recommends querying every IPv4 and IPv6 DNS server listed inipconfig /alldirectly to verify which ones actually reach Pi-hole and appear in the Query Log,.
Step 3: Read the Clues Without Falling Into a Common Trap
Keep one crucial technical distinction in mind: requesting an AAAA record does not mean the DNS query traveled over IPv6. An AAAA query simply asks for an IPv6 host address; that question can be asked over plain IPv4 UDP port 53. What matters is which server IP answered in nslookup and whether Pi-hole logged the request.
If the direct query shows up in Pi-hole's Query Log while the default nslookup misses it—and reports a different DNS server—you have likely caught a bypass. Before jumping to conclusions, double-check three basics: confirm that query logging wasn't toggled off in Pi-hole, verify you are viewing the correct Pi-hole instance if you run a redundant pair, and remember that nslookup talks directly to the DNS server rather than pulling from the Windows DNS client cache, unlike a web browser.
Section Summary: Running ipconfig /all exposes hidden IPv6 DNS servers on Windows, while comparing a default nslookup -type=AAAA lookup against a direct query to Pi-hole's IP proves whether requests are actually hitting your Query Log.
How to Fix IPv6 DNS Leaks Without Breaking IPv6
When people discover an IPv6 DNS leak, their first instinct is often to smash the panic button and disable IPv6 entirely—either on the router or by unchecking IPv6 on every Windows network adapter. That is unnecessary overkill, and it throws away modern dual-stack connectivity when cleaner fixes exist.
Option 1: Have Your Router Advertise Pi-hole Over IPv6
Log in to your router's administration panel and hunt down the IPv6 LAN, Router Advertisement (RA), RDNSS, or DHCPv6 settings. Your goal is to replace your ISP's resolvers with Pi-hole's IPv6 address.
Because router firmware varies wildly, exact menu names differ from vendor to vendor:
- Stable addressing matters: If your ISP changes your public IPv6 prefix periodically, pointing your router at Pi-hole's global IPv6 address can break DNS later. Pi-hole's Fritz!Box documentation recommends enabling Unique Local Addresses (ULAs)—private, non-internet-routable IPv6 addresses analogous to IPv4's
192.168.x.yranges—so your Pi-hole keeps a stable local IPv6 address for both DHCPv6 and RA/RDNSS,. - Watch out for link-local (
fe80::) caveats: Some Pi-hole router guides, including those for OPNsense and Nokia G-240W-B gateways, demonstrate using the Pi-hole host's link-localfe80::address in RA/DHCPv6 fields,. However, Pi-hole's OPNsense guide explicitly warns that link-local IPv6 addresses are not reachable across separate VLANs—if you segment IoT devices or guest networks onto another VLAN, use a ULA or route through the gateway instead. - Vendor examples show the pattern: On OPNsense, Pi-hole's guide enables manual adjustment of DHCPv6 and Router Advertisements on the LAN interface and enters Pi-hole's IPv6 address under
Services --> Router Advertisement. On Ubiquiti UniFi / USG hardware, the setting sits under IPv6DHCPv6/RDNSS DNS Control.
Option 2: Stop Advertising Separate IPv6 DNS Servers (or Forward via the Router)
What if you are stuck with a locked-down ISP gateway that refuses to let you edit RDNSS or DHCPv6 DNS fields? You still have two clean alternatives:
- Turn off IPv6 DNS advertisement if allowed: If your router lets you disable RDNSS and DHCPv6 DNS server announcements while keeping IPv6 addressing intact, dual-stack clients will still get IPv6 connectivity while routing all DNS lookups—both
AandAAAA—to Pi-hole over IPv4. - Route upstream through the router (carefully): On routers that allow custom WAN/upstream DNS servers while advertising themselves on the LAN, you can point the router's upstream DNS to Pi-hole and uncheck options that let the ISP override DNS via WAN DHCP/PPP. As Pi-hole's OPNsense documentation cautions, never set that same router as Pi-hole's own upstream DNS server, or you will create an instant resolver loop.
Refresh Windows and Re-Test
Routers do not instantly push updated RA or DHCPv6 DNS changes to every sleeping device. As Pi-hole's router guides recommend, disconnect and reconnect your Windows client—toggle Wi-Fi off and on, or unplug and replug Ethernet—to force a fresh configuration pull,. In Command Prompt, you can also clear stale state and renew IPv6 leases using Microsoft's documented ipconfig switches:
ipconfig /flushdns
ipconfig /release6
ipconfig /renew6
Follow up with ipconfig /all and repeat the nslookup plus Query Log check to verify that your Windows machine now routes default lookups cleanly through Pi-hole.
Section Summary: You do not need to disable IPv6 to fix DNS leaks. Configure your router's RA/RDNSS and DHCPv6 settings to advertise a stable Pi-hole IPv6 address (ideally a ULA, avoiding fe80:: across VLANs), or stop advertising separate IPv6 DNS servers so clients query Pi-hole over IPv4, then reconnect Windows and re-test.
Still Missing Queries? Check Encrypted DNS, VPNs, and Windows Caches
Fixing IPv6 advertisements closes the biggest LAN-wide loophole, yet plenty of seasoned admins still notice silent gaps in their Query Logs. Modern operating systems and applications have become remarkably assertive about choosing their own DNS paths:
- Windows 11 native DNS over HTTPS (DoH): Windows 11 lets users and policies configure DoH per network adapter under
Settings > Network & internet > [Connection] > DNS settings,. If a Windows machine is configured to talk DoH to Cloudflare or another public resolver over port 443—and fallback to plaintext is disabled—port-53 LAN filtering won't touch it. - Browser "Secure DNS" (DoH): Microsoft Edge, Google Chrome, and Firefox all ship built-in DoH clients that can bypass both the Windows DNS resolver and Pi-hole entirely,,. Unless you specifically want a browser overriding your network filter, verify that Secure DNS is disabled or configured to respect your local setup,.
- Android Private DNS (DoT) and hardcoded IoT apps: On mobile devices, Android's Private DNS uses DNS over TLS (port 853) to reach external providers directly. Meanwhile, streaming sticks and smart TVs—Pi-hole's OPNsense guide specifically calls out Chromecasts—often ignore DHCP/RA DNS entirely in favor of hardcoded resolvers unless blocked by firewall rules.
- VPN tunnels: Commercial and corporate VPN clients routinely route DNS inside the encrypted tunnel to prevent leaks, which naturally bypasses your local Pi-hole unless you run a split-tunnel or self-hosted VPN pointing back to Pi-hole.
- DNS caching illusions: Windows' DNS Client service caches recent answers locally (viewable with
ipconfig /displaydnsand cleared withipconfig /flushdns), and browsers maintain their own internal caches. If a domain doesn't appear in Pi-hole's Query Log when you refresh a tab, the answer may simply have been served from local memory.
As a last-resort Windows-only workaround for stubborn enterprise or legacy scenarios—never a substitute for fixing your router—Microsoft documents a registry value (DisabledComponents set to 0x20 hex under HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\) that tells Windows to prefer IPv4 over IPv6 without disabling IPv6,. Still, fixing Router Advertisements at the gateway remains the right architectural move because it protects every device on your network, not just one PC.
Section Summary: Even with IPv6 DNS properly configured, Windows 11 DoH, browser Secure DNS, Android Private DNS (DoT), VPNs, hardcoded device resolvers, and local DNS caches can all keep queries out of Pi-hole's logs.
The Bottom Line for Windows and Home-Lab Admins
Pi-hole can only block the requests it actually sees. Because dual-stack networking splits IPv4 and IPv6 DNS discovery across DHCP, DHCPv6, and Router Advertisements, it is surprisingly easy for an ISP router update—or a fresh Windows install—to reintroduce an IPv6 bypass without throwing a single error message. Make ipconfig /all and a quick nslookup cross-check part of your routine whenever you swap routers, tweak VLANs, or notice ads creeping back onto your screen.
For related troubleshooting on WindowsForum.com, explore discussions on Windows 11 DNS over HTTPS settings, configuring custom routers like OPNsense for local DNS enforcement, and using PowerShell's Resolve-DnsName alongside ipconfig for deeper network diagnostics.
References
- Your Pi-hole might be ignoring all the IPv6 devices on your network, so do a quick sanity check now How-To Geek · 2026-11-27T12:30:15+00:00
- RFC 8106 - IPv6 Router Advertisement Options for DNS Configuration datatracker.ietf.org
- ipconfig | Microsoft Learn learn.microsoft.com