Home

 Pi-hole is free, but powered by your donations.


Network-wide ad blocking

Install by running one command:

curl -sSL 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.


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 A SUPPORTED OPERATING SYSTEM

Pi-hole works on many Linux distros.

2. INSTALL PI-HOLE

Run the install command.

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.

Blog