talira

Network-wide ad blocking

open sourceEUPL-1.2self-hostablefree

Pi-hole is a DNS sinkhole you run on your own network, on a Raspberry Pi, an old PC, a VM, a NAS or in Docker, that blocks ads and trackers for every device that uses it as its DNS server, including phones, smart TVs and IoT devices where browser extensions can't reach. Its FTL resolver caches DNS answers, and a built-in web interface shows queries per client, blocked domains and a long-term query log. It has group management for per-device rules, regex allow and deny lists, an optional DHCP server, a REST API and Teleporter backups. Free and open source under the EUPL, developed by volunteers.

Ways to install

Problems it solves

  • block ads on every device in my house without installing an ad blocker on each one
  • stop my smart TV and IoT gadgets from phoning home to trackers
  • block ads inside mobile apps that a browser extension can't reach
  • see which device on my network is making all these DNS requests and to which domains
  • give the kids' tablets stricter filtering than the work laptop
  • run my own DNS server on a Raspberry Pi so pages load faster with a local cache
  • subscribe to community blocklists and keep them updated automatically
  • block or allow whole families of domains with a regex
  • hand out IP addresses from the same box that filters DNS when my router's DHCP is poor
  • keep ads blocked on my phone on mobile data by pairing my home DNS filter with a VPN
  • script DNS blocking from Home Assistant through an API

Features

  • network-wide DNS-level blocking of ads and trackers
  • FTL DNS resolver with caching
  • web interface with statistics per client, query types, upstreams and top domains
  • long-term query log database with filtering by time range
  • group management: different lists and domains per group of clients
  • allow and deny lists with regex support and automatically updated subscribed blocklists
  • built-in DHCP server with optional IPv6
  • four privacy modes
  • REST API with built-in interactive documentation and app passwords
  • Teleporter backup and restore of the whole configuration
View 1 more
  • automated installer for supported Linux distributions, and a Docker image

Limitations

  • Doesn't run natively on Windows or macOS: it supports Linux distributions or a Docker container78

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Pi-hole does.

  1. AdGuard Home Network-wide ads & trackers blocking DNS server
  2. Maza ad blocking Simple, native and efficient local ad blocker. Only Bash.
  3. Numa Portable DNS resolver: ad blocking, local .numa names and private upstream queries
  4. Blocky Fast and lightweight DNS proxy as ad-blocker for local network with many features
  5. Technitium DNS Server Self host a DNS server for privacy & security

Compare Pi-hole with the top 3