Pi-hole logo

Pi-hole

61986 stars Shell

Blackhole for Internet advertisements with a GUI for management and monitoring.

Pi-hole is a network-wide ad blocker that acts as a DNS sinkhole, protecting all devices on your network from advertisements, trackers, and malicious domains. Unlike browser-based ad blockers, Pi-hole works at the network level, blocking unwanted content before it even reaches your devices.

Key Features

Network-Wide Protection: A single Pi-hole installation protects every device on your network—computers, phones, tablets, smart TVs, and IoT devices. No per-device configuration needed.

Block Ads Everywhere: Eliminate ads in apps, games, and smart TVs where browser extensions can't reach. Even YouTube app ads on smart TVs can be reduced.

Tracker Blocking: Prevent advertising networks and data brokers from tracking your family's online activity. Reclaim your privacy across all devices.

Detailed Statistics: The intuitive dashboard shows exactly what's being blocked, which devices make the most queries, and your network's overall DNS activity.

Custom Blocklists: Combine multiple community-maintained blocklists or add your own. Whitelist essential domains that might be incorrectly blocked.

Local DNS: Assign friendly names to devices on your network. Access your NAS as "nas.home" instead of remembering IP addresses.

Why Self-Host Pi-hole?

Commercial DNS services that offer ad blocking often log your queries and monetize that data. With Pi-hole, your DNS queries stay on your network, and you maintain complete visibility into what's being requested and blocked. It's free, open source, and puts you in control.

Deployment

Pi-hole runs excellently on a Raspberry Pi (hence the name), but works on any Linux system or Docker container. Installation takes minutes with the automated installer. For reliability, consider running two Pi-hole instances. The system uses minimal resources—even a Raspberry Pi Zero handles DNS for a busy household.

Configuration involves pointing your router's DHCP settings to use Pi-hole as the DNS server, automatically protecting all network clients. Advanced setups can include DHCP serving and DNS-over-HTTPS (DoH) for encrypted queries.

Last Update

November 2026

Alternative to

Pi-hole is a self-hosted alternative to popular services:

Related Infrastructure Apps