Home

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

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 allows 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

Configure your router’s DHCP options to force clients to use Pi-hole as their DNS server, or manually configure each device​ to use the Pi-hole as their DNS server.
 
 
If your router doesn’t let you change these settings, you can use Pi-hole’s built in DHCP server to achieve the same effect.
 

4. BLOCK ADS EVERYWHERE

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

Donate

One-time funding goal for developing full time, faster updates, faster bug fixes, quicker support response times, more features, more platforms natively supported…

$18,116 of $100,000 raised
$
Select Payment Method
Personal Info

Donation Total: $25.00 One Time

{amount} donation plus {fee_amount} to help cover fees.

If you’d like to support the development of Pi-hole, use the form above to send us a donation (monthly or a one-time).

You can also help us out by becoming a patron or purchasing items/services through our affiliate links below.

  • Bitcoin 33v5DGMGwYiDDJsKExksY1jhZbhGqF1SVe
  • Bitcoin Cash  qquhjgl9l5yfghu2kmw7q495m4xdgfc4q59zntpjmh
  • Ethereum 0x5Cd7f79D8D542847B2A313297037d3CAc1FeFBB4

We are all volunteers on the project and work on it in our free time.  Your donations will help support our infrastructure and keep us motivated to improve the product.

No registration is needed.

 

Blog

Pi-hole v4.0 Released With FTLDNS, Improved Blocking Modes, Regex, Docker, and More

We’re very pleased to release Pi-hole v4.0 today, which includes fixes, tweaks, and lots of new stuff, including FTLDNS (special thanks to our beta testers!)  In a sentence, FTLDNS is dnsmasq with Pi-hole’s special sauce baked in. FTLDNS does everything dnsmasq does because it is dnsmasq–just our fork of it.  So all of your existing config files …

FTLDNS and Unbound Combined For Your Own All-Around DNS Solution

How Pi-hole Works Pi-hole acts as a forwarding DNS server, which means if it doesn’t know where a domain is, it has to forward your query to another server that does.  When you install Pi-hole, it knows where the ad-serving domains are (because you tell it), so it doesn’t forward those requests.  But it doesn’t know where legitimate …