Why the timing matters
Pi-hole's own release notes make this more than a hobby project. Pi-hole announced FTL v6.9 and Core v6.6 on November 11, with the web interface staying at v6.6.1. I'm citing the announcement's contents as relayed in the source packet, because my search results didn't include the page directly. The notes say the release fixes security advisories in FTL and Core. They recommend updating with pihole -up, and taking a Teleporter backup first from Settings > Teleporter or with pihole-FTL --teleporter. The Docker image is tagged 2026.11.0.
The October 17 release shipped FTL v6.8, Web v6.6.1 and Core v6.5. It fixed a Core command-execution bug through a crafted PID, rated CVSS 7.8, plus several root-writes-to-user-controlled-path issues. The Shattered guide's security table is broadly right, but it leaves out one item. The November notes list a command-execution flaw through files.gravity at CVSS 7.2, which needs an admin and affects both FTL and Core. They also list Core issues where root followed Pi-hole-controlled paths, at CVSS 7.3.
Most of these bugs need an authenticated session or local access. That is no reason to relax. It is the reason the dashboard must never be reachable from the internet.
What the setup actually does
Pi-hole is a DNS sinkhole. A device asks for a name, Pi-hole checks it against the enabled blocklists, and a match gets a blocked reply. Everything else goes to the upstream resolver. With Unbound as that upstream, the upstream is a local recursive resolver. It walks the DNS hierarchy itself instead of asking Cloudflare or your ISP.
Be precise about the privacy gain. Unbound reduces your reliance on a single public resolver. It does not make queries invisible, because the authoritative servers for each domain still see the lookups meant for them. Cold lookups are also slower than a nearby public resolver, and caching and prefetch recover most of that.
DNS filtering has hard limits, and the guide is right to say so:
- Same-hostname ads. If ads are served from the same name as the content, such as many video ads, blocking the name breaks the content.
- Hard-coded DNS. Some TVs and streaming sticks ignore your resolver.
- DoH browsers. Browsers with built-in DNS over HTTPS go around you.
- Off-network traffic. Phones on cellular data or a VPN leave the home network entirely.
- HTTPS content. Pi-hole sees names, not encrypted page content.
The core procedure, step by step
Here is the shape of the build. The exact addresses are illustrative, so swap in your own.
- Prepare an always-on Linux host. Use a Raspberry Pi, mini PC or small VM, preferably on wired Ethernet. Update it and install
dnsutilsfordig. - Give it a stable address. A DHCP reservation on the router is the simplest route. Static configuration through netplan or NetworkManager also works, but you must adapt interface names, subnet and gateway to your system. The guide's example uses 192.168.1.2.
- Check port 53. On Ubuntu,
systemd-resolved's stub listener can occupy the port. Runsudo ss -lntup | grep ':53 'and, if something is listening, disable the stub listener before installing. - Install Pi-hole v6. Download the installer, read it, then run it. Afterward, set the admin password with
sudo pihole setpassword. Version 6 moved the web server and API into FTL, so there is no lighttpd or PHP, and configuration lives in/etc/pihole/pihole.toml. - Install Unbound on localhost, port 5335. Pi-hole keeps port 53, and Unbound stays out of its way. Several independent guides use the same layout. Their configuration binds
interface: 127.0.0.1andport: 5335. Binding to 127.0.0.1 means nothing outside the server can talk to it directly. - Disable the Debian resolvconf helper. On Debian Bullseye and later,
unbound-resolvconfwrites Unbound's address into /etc/resolv.conf without the 5335 port, which causes unexpected behaviour. The guide'ssystemctl disable --now unbound-resolvconf.servicehandles that. - Point Pi-hole at Unbound. Untick the public upstreams, enter 127.0.0.1#5335 under custom DNS servers, then select Save & Apply. The shell route is
sudo pihole-FTL --config dns.upstreams '["127.0.0.1#5335"]'. - Add blocklists gradually. Add one list, run
sudo pihole -g, browse for a day, then decide.pihole -qnames the list that blocks a domain. - Change the router's DHCP DNS setting. Hand out the Pi-hole address, and leave the secondary empty. Clients don't treat a second server as a fallback, so a public secondary lets a share of queries skip the filter.
- Verify on real clients. Don't test from the Pi-hole host alone.
The DNSSEC test: one caveat
The Shattered guide validates the chain with sigok.verteiltesysteme.net and sigfail.verteiltesysteme.net. The first should return NOERROR and the second SERVFAIL. Other published guides use the same pair. Pi-hole's own documentation, as quoted by those guides, uses a different pair. That pair is fail01.dnssec.works and dnssec.works, queried against 127.0.0.1 on port 5335. If one pair stops responding as expected, try the other before suspecting your setup. A signed domain queried with dig +dnssec showing the ad flag works as a fallback.
Leave Pi-hole's own DNSSEC switch off when Unbound is already validating. This is the guide's advice, and it is sensible. Validating twice adds latency and no safety.
Windows 11 and macOS client checks
Windows is a client here, not a host. Pi-hole targets Linux. If your only always-on box runs Windows or macOS, the guide points to Docker. A sleeping laptop makes a poor DNS server.
On Windows 11, the guide's sequence in PowerShell is:
ipconfig /release
ipconfig /renew
ipconfig /flushdns
Get-DnsClientServerAddress -AddressFamily IPv4,IPv6
Resolve-DnsName doubleclick.net
Success means the adapter lists only the Pi-hole address, for IPv4 and IPv6 alike. A blocked domain should return a blocked reply, which in default mode is typically a zero address. The query should also appear in Pi-hole's Query Log under that client. On a Mac, scutil --dns shows the resolvers in use.
Check IPv6 specifically. Routers often advertise their own IPv6 resolver, and a client that prefers it will bypass Pi-hole. The fix is to advertise Pi-hole's IPv6 address, stop advertising DNS over IPv6, or disable IPv6 on the LAN.
Also check the browser. If a Windows 11 client still shows ads, look for a DoH toggle in Edge, Chrome or Windows network settings. Firefox disables its own DoH when the canary name use-application-dns.net returns NXDOMAIN, but only where DoH is on by default; it does not override a user's own choice to turn DoH on. Chromium-based browsers need the setting changed by hand or by policy.
Locking it down
Treat the DNS box like a router. A few rules follow from the advisories:
- Never forward port 53 from the router to Pi-hole. An open resolver on the internet gets abused for amplification attacks.
- Restrict access by firewall. The guide's UFW rules allow SSH, DNS (UDP and TCP) and ports 80 and 443 from the LAN subnet only. Allow SSH first or you can lock yourself out. The November notes show why an ACL alone is not enough. They describe a
webserver.aclbug where IPv4 entries were ignored on dual-stack ports, so deny entries let IPv4 clients through and allow entries refused them. - Mind Docker. Published container ports can bypass UFW rules. The guide's Compose example sets listening mode to
all, so a firewall in front matters even more. - Back up first. Take a Teleporter export before every upgrade.
- Update the stack together. Run
pihole -upfor Pi-hole, andaptfor Unbound and the OS.
Unbound version: check, don't assume
NLnet Labs' release page lists Unbound 1.26.2, dated October 21, as the latest release. The notes say it carries a number of security fixes, including fixes for CVE-2026-97206 and CVE-2026-50106. Don't assume your package manager hands you that version. Run unbound -V, keep applying your distribution's security updates, and don't swap in a hand-built binary unless you intend to maintain it. The guide cites community reports of Unbound 1.26.1 timing out on some DNSSEC-signed domains. I couldn't verify those against a primary source. If you see SERVFAILs, dig +cd against the failing name tells you whether validation is the cause.
The audit script
The guide's finale is a dnspython script that asks Pi-hole and a control resolver the same questions. It reports which test ad domains were blocked, whether ordinary sites still resolve, how DNSSEC behaves and whether the Firefox canary returns NXDOMAIN. It also compares median latency. Read its output carefully:
- "LEAKED" means "not on your enabled lists." It does not mean a bypass.
- Block detection depends on the blocking mode. The script treats NXDOMAIN or a zero or empty answer as blocked.
- The sample output is illustrative. The blocked count and latency figures depend on your lists and your network, and I haven't reproduced them.
- The script returns exit code 1 when control domains fail or DNSSEC breaks. That makes it a reasonable cron job.
Bottom line
This is a solid, practical build, and the Pi-hole plus Unbound architecture matches what Pi-hole's own documentation and several independent guides describe. Treat the version numbers as a snapshot. Confirm the installer accepts your OS, and use Docker if it doesn't, since Ubuntu 26.04 support isn't something I could confirm. Above all, treat Pi-hole as a layer that only helps for clients that actually use it. The Windows 11 and macOS checks and the audit script exist to prove that, and they are worth the extra ten minutes.
Correction (November 29, 2026): An earlier version of this article said Firefox disables its own DoH when the canary name returns NXDOMAIN, without qualification. The canary applies only where DoH is enabled by default; it does not override a user's own choice to turn DoH on.
References
- Pi-hole Setup With Unbound: 12 Steps, 60 Min - shattered.io shattered.io · 2026-11-29T08:33:11+00:00
- Pi-hole with Unbound: Private Recursive DNS Explained - DEV Community dev.to
- Pi-hole v6 With Unbound: Setup Guide for Private DNS - Techzei techzei.com