Pi-hole is a network-level ad blocker that acts as a DNS sinkhole, protecting all devices on your network from ads, trackers, and malicious domains. Originally designed for Raspberry Pi, it runs on any Linux system and provides a beautiful web interface for management and statistics.
📑 Table of Contents
Key Features
- Network-Wide Protection – Blocks ads for all connected devices
- DNS Sinkhole – Blocks at DNS level, no client software needed
- Web Dashboard – Beautiful interface with real-time statistics
- Customizable – Add custom blocklists and whitelists
- DHCP Server – Optional built-in DHCP functionality
Installation
# One-line install
curl -sSL https://install.pi-hole.net | bash
# Or clone and run manually
git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole
cd Pi-hole/automated\ install/
sudo bash basic-install.sh
Management
# Access web interface
http://pi.hole/admin
# Command line management
pihole status
pihole -up # Update Pi-hole
pihole -g # Update gravity (blocklists)
pihole enable # Enable blocking
pihole disable # Disable blocking
Was this article helpful?