curl -L https://install.pi-hole.net | bash

Our code is completely open, but piping to bash can be dangerous.

For a safer install, review the code and then run the installer locally.

NETWORK-WIDE, HARDWARE AD BLOCKING

Why spend $149 on an AdTrap, when you could spend $35 on a Raspberry Pi?


Block Over 100,000 Ad-serving Domains

Known ad-serving domains are pulled from third party sources and compiled into one list.

Block Advertisements On Any Device 

Network-level blocking allows any device to block ads, regardless of hardware or OS.

Improve Overall Network Performance

Since ads are blocked before they are downloaded, you network will perform better.

Reduce Cellular Data Usage

Pair your Pi-hole with a VPN for on-the-go ad-blocking and save on data costs.


Monitor Performance And Statistics

The Web interface shows how many ads were blocked, a query log, and more.

API


Utilize Pi-hole's API in your scripting or programing projects.

{
"domains_being_blocked": "136708",
"dns_queries_today": "18108",
"ads_blocked_today": "14648",
"ads_percentage_today": "80.89"
}
  • ​summary
  • summaryRaw
  • overTimeData
  • topItems
  • recentItems
  • getQueryTypes
  • getForwardDestinations
  • getQuerySources
  • getAllQueries

Installation

1

INSTALL RASPBIAN

Pi-hole was designed for Raspberry Pi, but also works on most Debian-based distros.

2

INSTALL PI-HOLE

Run the install command found at the top of the page

3

USE PI-HOLE AS YOUR DNS SERVER

Configure your router's DHCP options to force clients to set their DNS server as your Pi-hole

OR

Manually configure each device​ to use the Pi-hole as their DNS server

4

BLOCK ADS EVERYWHERE

Since Pi-hole works at the DNS level, ads can be blocked on any device and even in apps.


Project Updates

Pi-hole 2.8 Released With CentOS and RHEL Support, Plus More
Once again, thanks to those of you who are donating to Pi-hole.  We are happy to release Pi-hole core 2.8 with support[...]
Setbacks With Our New Logo
We suspected that the voting numbers were being skewed, which was later confirmed by a confessor.  It's partly our own fault[...]
Vote For Your Favorite New Pi-hole Logo
Vote for your favorite logo.  We'll make the final decision, but we want to know what you think![...]
How do we look?
A big Thank You! to all who submitted to our new logo contest. We're going over the submissions now and[...]