Pi-hole

Pi-hole

Network-wide ad blocking via DNS sinkhole

55.2kstars
3kforks
Last commit: 1mo ago
Repo age: 12y old
Pi-hole screenshot

Pi-hole is a DNS sinkhole that blocks ads, trackers, and known malicious domains for all devices on your network by responding to unwanted DNS queries locally. It provides visibility into DNS activity and lets you enforce filtering policies centrally without requiring browser extensions.

Key Features

  • DNS-based blocking using gravity lists (blocklists) and a local “sinkhole” response
  • Web admin dashboard for query logs, client activity, and real-time statistics
  • Per-client management (group-based allow/deny rules and client identification)
  • Custom allowlist/denylist, regex filtering, and local DNS records
  • Built-in DNS forwarding and caching; works with upstream resolvers or recursive DNS setups
  • Optional DHCP server for networks where router DHCP customization is limited
  • API and CLI tooling for automation and integration (telemetry, enable/disable, list management)

Use Cases

  • Block ads/trackers across phones, TVs, consoles, and IoT devices without installing plugins
  • Reduce exposure to malware domains and improve network visibility via DNS query logging
  • Centralize DNS policy for a home lab or small office with client- or group-specific rules

Limitations and Considerations

  • DNS-level blocking cannot remove first-party ads served from the same domains as content, and does not perform cosmetic page element hiding
  • Encrypted DNS (DoH/DoT) from clients can bypass filtering unless controlled at the network/device level

Pi-hole is a widely used DNS filtering solution suited to home and small-network environments, pairing straightforward installation with strong observability and control. It is commonly combined with upstream privacy-focused resolvers or recursive DNS for tighter policy and performance.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

CyberChef

CyberChef

The Cyber Swiss Army Knife for data analysis and decoding

33.7k
3.8k
Last commit: 5mo ago

Browser-based tool for decoding, encoding, encryption, and data analysis using a drag-and-drop “recipe” workflow for security, DFIR, and engineering tasks.

Alternative to:
CrackStation (online hash cracking/lookup)
CrackStation (online hash cracking/lookup)
+4
AdGuard Home

AdGuard Home

Network-wide ads and tracker blocking via DNS

32k
2.2k
Last commit: 13d ago

Self-hosted DNS server with ad/tracker blocking, custom filtering, parental controls, encrypted DNS, and per-client statistics for home networks.

Alternative to:
NextDNS
NextDNS
+1
Nginx Proxy Manager

Nginx Proxy Manager

Web UI for Nginx reverse proxy with Let's Encrypt SSL

30.9k
3.5k
Last commit: 1mo ago

Web-based reverse proxy manager for Nginx with hosts, streams, access lists, and automatic Let's Encrypt certificates via an easy admin UI.

Alternative to:
NGINX Plus
NGINX Plus
+5
SafeLine

SafeLine

Self-hosted WAF for protecting web apps and APIs

20k
1.3k
Last commit: 2mo ago

SafeLine is an open-source web application firewall (WAF) that protects web apps and APIs from common attacks using HTTP traffic inspection, rules, and management UI.

Alternative to:
Cloudflare WAF
Cloudflare WAF
+4
Teleport

Teleport

Identity-native infrastructure access for SSH, Kubernetes, RDP and DBs

19.6k
2k
Last commit: 13h ago

Open-source platform that provides unified, audited, identity-based access to servers, Kubernetes clusters, databases, and desktops without static credentials.

Alternative to:
Okta Advanced Server Access
Okta Advanced Server Access
+2
Pangolin

Pangolin

Self-hosted secure tunneling and access gateway

17.8k
529
Last commit: 3d ago

Pangolin provides a self-hosted access gateway for securely exposing internal apps via tunnels, with identity-aware access controls and a web UI.

Alternative to:
Cloudflare SSL/TLS and reverse proxy features
Cloudflare SSL/TLS and reverse proxy features
+3