Unbound
What it's for
A recursive DNS resolver you run yourself: it asks the internet’s root and authoritative servers directly, with no DNS provider in between.
Why it matters
Public resolvers come and go, and can be ordered to block domains. Your own resolver has no provider to shut down or to censor, and no third party collects the list of sites you visit. Maintained by NLnet Labs, a Dutch non-profit, it validates DNSSEC and pairs naturally with Pi-hole.
For whom & when
Those who already run a Pi-hole, a home server or a router that supports it, and want the durable fix.
Unbound talks to authoritative servers in plain DNS, from your IP: your internet provider can still see those queries. To hide them too, run it behind a VPN, or have it forward to an encrypted resolver (DNS-over-TLS).
Install & use
Install the unbound package (Debian, Raspberry Pi OS, OpenWrt, OPNsense, pfSense…).
With Pi-hole: follow Pi-hole’s Unbound guide, then set 127.0.0.1#5335 as Pi-hole’s only upstream DNS.