Network-wide ad blocking via your own Linux hardware
No client-side software required
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.
Pi-hole is free, but powered by your donations.
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 you to block ads in non-traditional placed such as mobile apps and smart TVs, 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":243038, "dns_queries_today":2385, "ads_blocked_today":414, "ads_percentage_today":17.35849, "unique_domains":429, "queries_forwarded":1537, "queries_cached":434, "clients_ever_seen":5, "unique_clients":5, "status":"enabled" }
type & version summaryRaw summary overTimeData10mins topItems getQuerySources getForwardDestinations getQueryTypes getAllQueries enable disable recentBlocked
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


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