Pi-hole

EUPL-1.2
Platform
Docker Linux
Licence
EUPL-1.2 Open source
Pi-hole

Pi-hole is a network-wide ad blocker that protects every device on your home or office network from advertisements, trackers, and malware domains. By acting as a DNS sinkhole, it intercepts requests to known advertising and tracking domains and returns a null response, effectively blocking them at the network level before they reach any device. No client-side software installation needed — set it up once on a Raspberry Pi, server, or Docker container and every device on your network benefits automatically.

Key Features

  • Network-wide blocking — Covers every device on your network: computers, phones, tablets, smart TVs, and IoT gadgets, without installing anything on them
  • DNS sinkhole — Returns null (0.0.0.0) for known ad and tracking domains, preventing connections before they start
  • Real-time statistics dashboard — Web-based admin interface showing queries per second, top blocked domains, top clients, and query history over time
  • Whitelist/blacklist domain control — Easily allow or block specific domains from the web dashboard or command line
  • Ad list management — Supports multiple blocklist sources (StevenBlack, Firebog, custom lists) that update automatically
  • DHCP server integration — Can act as a DHCP server to automatically configure itself as the DNS resolver for all network clients
  • Conditional forwarding — Forwards local domain queries to your existing DNS server while blocking ad domains globally
  • Low resource footprint — Runs comfortably on a Raspberry Pi Zero with minimal power consumption (< 50MB RAM idle)

Why Use Pi-hole?

Pi-hole is a set-and-forget solution that improves privacy, reduces bandwidth usage, speeds up page loading by eliminating ad scripts, and protects against malware-serving domains — all without configuring each device individually. It’s the single most effective privacy tool you can deploy on a home network.

Use Cases

  • Home network ad blocking — Block ads on every device in your household, including smart TVs and game consoles that can’t run ad blockers
  • Malware domain blocking — Use curated blocklists to prevent devices from reaching known malware, phishing, and ransomware distribution domains
  • IoT monitoring and filtering — See what your smart devices are phoning home to, and block unwanted telemetry at the DNS level

Alternatives

  • AdGuard Home — A self-hosted DNS sinkhole with a modern web UI, YAML-based configuration, DHCP server, and built-in parental controls. Offers a more polished out-of-box experience with automatic update support and encrypted DNS (DNS-over-HTTPS, DNS-over-TLS) out of the box.
  • NextDNS — Cloud-based DNS filtering service that requires no hardware setup. Features per-device policies, detailed analytics, native blocklists, and encrypted DNS with a generous free tier. Ideal if you manage devices across multiple networks.
  • uBlock Origin — Browser-level content blocker that complements Pi-hole’s network-wide blocking. While Pi-hole blocks at the DNS level for all devices, uBlock Origin adds cosmetic filtering and element-level blocking inside the browser for a cleaner browsing experience.
  • Privacy Badger — Browser extension from the EFF that learns to block trackers automatically. It complements Pi-hole by catching trackers that may share domains with legitimate content, using heuristic detection rather than blocklists alone.

Licence

EUPL 1.2 (European Union Public Licence)

Explore More Categories

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.