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

Enjoy The Rio Olympics Ad-free With Pi-hole
The NBC app (or their live stream site) for watching the olympics isn't that great to begin with, but throw[...]
Our New Logo
We really like it and we think you'll agree. Legitimacy Pi-hole has always been a community-driven project and we couldn't[...]
cURLing and Piping To Bash
...But Torres is ready. She initiates the power surge she has set up. On the bridge, Seven of Nine suddenly[...]
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[...]