Pi-hole

Pi-hole

Network-wide DNS sinkhole for ad and tracker blocking

55.9kstars
3kforks
Last commit: 8d ago
Repo age: 12y old
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 Services

AdGuard Home

AdGuard Home

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

32.8k
2.3k
Last commit: 7h ago

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.

Alternative to:
AdGuard
AdGuard
+5
MyIP (IPCheck.ing)

MyIP (IPCheck.ing)

Open-source IP toolbox for IP, DNS, WebRTC and network diagnostics

9.8k
1.1k
Last commit: 15d ago

MyIP (IPCheck.ing) is an open-source web IP toolbox that detects local/public IPs, runs DNS leak and WebRTC checks, speed/latency/MTR tests, availability and whois lookup...

Alternative to:
WhatIsMyIPAddress.com
WhatIsMyIPAddress.com
+10
Technitium DNS Server

Technitium DNS Server

Authoritative and recursive DNS server with web console

7.6k
634
Last commit: 2mo ago

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.

Alternative to:
Cloudflare DNS
Cloudflare DNS
+10
Blocky

Blocky

Fast, lightweight DNS proxy and ad-blocker in Go

6.1k
267
Last commit: 5d ago

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 H...

Alternative to:
NextDNS
NextDNS
+7
Unbound

Unbound

Validating, recursive, caching DNS resolver

4.3k
424
Last commit: 13h ago

Standards-based validating recursive DNS resolver with DNSSEC validation, DNS-over-TLS/HTTPS support and configurable caching for privacy and performance.

Alternative to:
Cloudflare DNS
Cloudflare DNS
+9
OPNsense

OPNsense

Open source firewall and routing platform for network security

4.3k
911
Last commit: 15h ago

OPNsense is an open source FreeBSD-based firewall and routing platform with a web GUI, API, VPN, traffic shaping, and security features for networks and homelabs.

Alternative to:
Fortinet FortiGate
Fortinet FortiGate
+12