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


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, your 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

Crack Our Medical Tricorder, Win A Raspberry Pi 3
We use tricorder.pi-hole.net to store debug logs (for 24 hours) from users. Somewhere in the anti-matter containment field we've hidden[...]
Pi-hole 2.9.5 Released With Fixes And Two New Features
We're happy to announce Pi-hole Core 2.9.5.  And thank you for your continued donations. We made lot's of fixes and tweaks,[...]
A Better Place To Discuss Pi-hole
We're happy to introduce our new forums/FAQs/feature requests/general discussion platform, Discourse.  Our old forums were not very good, so this[...]
Tips For Accessing Your Pi-hole Remotely
It is possible to use your Pi-hole remotely for ad-blocking on-the-go.  We don't have a guide on this process for[...]

More...