Pi-hole logo

Pi-hole

Website

Network-wide DNS sinkhole for ad and tracker blocking

60.6k stars 3.3k forks last commit first released

Actively maintained

Last commit 6 Jul 2026.

Pi-hole screenshot

Pi-hole is a network-wide DNS sinkhole that blocks advertisements and other unwanted domains for all devices without installing client-side software. It runs on Linux hardware (including Raspberry Pi), providing faster browsing by blocking and caching DNS queries.

Key Features

  • DNS-based blocking for ads, trackers, and other unwanted domains across the entire network
  • Web admin dashboard with statistics, top domains/clients, and management controls
  • Query log with filtering and auditing of DNS activity
  • Allowlist/denylist management with support for regex-based rules
  • Optional built-in DHCP server when router DHCP options are limited
  • Privacy modes to limit or adjust stored/queryable client information
  • Command-line interface for full administration and troubleshooting
  • Local caching of DNS queries to improve perceived browsing performance

Use Cases

  • Network-wide ad and tracker blocking for home networks, offices, or homelabs
  • Improving visibility into DNS traffic to troubleshoot devices and unwanted connections
  • Enforcing DNS policy for IoT devices, smart TVs, and mobile apps

Limitations and Considerations

  • DNS-level blocking cannot remove ads served from the same domains as desired content
  • HTTPS and app-level hardcoded DNS or encrypted DNS may require additional network controls to enforce Pi-hole usage

Pi-hole is a lightweight, centralized way to reduce unwanted content and improve privacy across diverse devices. With its dashboard, logs, and flexible allow/deny controls, it provides both protection and insight into network DNS activity.

Categories:

Tags:

Tech Stack:

Share:

Similar to Pi-hole

GoAway logo

GoAway

Lightweight DNS sinkhole with a web admin dashboard

732
35
Last commit

Self-hosted DNS sinkhole written in Go that blocks ads, trackers and malicious domains; provides a modern web dashboard, Docker support, DoT/DoH options and realtime stats.

MITActively maintained
Alternative to:
AdGuard logo
AdGuard
+5
AdGuard Home logo

AdGuard Home

Network-wide DNS server that blocks ads, trackers, phishing and malware

36.4k
2.5k
Last commit

Open-source DNS-based ad & tracker blocking server for networks. Offers per-device rules, parental controls, encrypted upstream DNS (DoH/DoT/DNSCrypt), web UI and API.

GPL-3.0Actively maintained
Alternative to:
AdGuard logo
AdGuard
+5
Blocky logo

Blocky

Fast, lightweight DNS proxy and ad-blocker in Go

6.9k
298
Last commit

Open-source DNS proxy and network-wide ad-blocker for local networks. Supports DoH/DoT, per-client rules, caching, deep CNAME inspection, Prometheus metrics, Docker and Helm.

Apache-2.0Actively maintained
Alternative to:
NextDNS logo
NextDNS
+7
Gravity logo

Gravity

Replicated DNS, DHCP & TFTP server with ad-blocking

927
30
Last commit

Fully-replicated DNS, DHCP and TFTP server with ad‑blocking, web UI, API, Prometheus metrics and multi-site replication for small to medium networks.

GPL-3.0Actively maintained
Alternative to:
Cisco OpenDNS (Umbrella) logo
Cisco OpenDNS (Umbrella)
+10
Technitium DNS Server logo

Technitium DNS Server

Authoritative and recursive DNS server with web console

9.7k
773
Last commit

Cross-platform DNS server with authoritative/recursive modes, encrypted DNS (DoH/DoT/DoQ), DNSSEC, ad/malware blocking, DHCP, and an HTTP API with web admin UI.

GPL-3.0Actively maintained
Alternative to:
Cloudflare DNS logo
Cloudflare DNS
+10
Maza ad blocking logo

Maza ad blocking

Local DNS-based ad blocker using your operating system

1.9k
73
Last commit

Simple local ad blocker that updates your system hosts or dnsmasq rules to block ad and tracking domains across any browser or application.

Apache-2.0Actively maintained
Alternative to:
AdGuard logo
AdGuard
+5