Pi-hole for the whole house¶
A smart TV or a speaker cannot run an ad blocker. Pi-hole answers the household’s DNS lookups, the step in which a
device asks where a name like ads.example.com lives, and gives no answer for names on its blocklists. Every device on
the network gets the same blocking, including those without settings for it. It runs on a
Raspberry Pi or another small computer that stays on.
Setting it up¶
Run the installer from the Pi-hole documentation on the Pi. It asks for an upstream DNS service, which answers everything Pi-hole does not block. Quad9, run by a Swiss-based foundation, also blocks lookups of malicious host names.
In the router’s network settings, enter Pi-hole’s address as the DNS server the router hands out to every device. Where the router has no such setting, let Pi-hole hand out addresses itself.
Fill every DNS field there with Pi-hole’s address, the second one too. An ordinary DNS server left in any of them lets some devices go around Pi-hole.
Add extra blocklists for smart TVs and other devices in the Pi-hole web interface.
The query log then lists every name a TV or speaker contacts, including when it is not in use. It shows blocked lookups from the TV and the phones, and websites still open normally.
What gets past¶
Pi-hole blocks names. Tracking served from the same name as the content, and names not yet on any list, pass through. A device set to send DNS straight to another resolver, including an encrypted DNS service, can go around it. A separate network limits what such devices reach in the house.
When the Pi is off¶
With every device using Pi-hole, the internet can seem to stop when the Pi is switched off or crashes. Give the Pi a stable power supply, and keep a note of how to set the router’s DNS back.