Go to file
Jacob Salmela 33692df4a9 featured on tech blogs 2015-03-27 19:20:39 -05:00
advanced initial commit 2014-12-20 13:09:52 -06:00
automated install working copy (I think) 2015-02-08 17:17:45 -06:00
block hulu ads hulu ad config file and fewer domains 2014-11-14 17:03:06 -06:00
LICENSE Initial commit 2014-06-08 10:02:55 -05:00
README.md featured on tech blogs 2015-03-27 19:20:39 -05:00
dnsmasq.conf Update dnsmasq.conf 2014-10-11 12:58:30 -05:00
gravity-adv.sh Fixes #6 whitelist not found when using sudo 2015-03-10 12:27:57 -05:00
gravity.sh initial commit 2014-09-26 09:28:44 -05:00
index.html index for original pi-hole 2014-11-18 13:10:49 -06:00
lighttpd.conf added file path 2014-06-10 20:22:59 -05:00
pihole.png 1x1 png for ads instead of blank space 2015-02-18 08:25:31 -06:00
resolv.conf Update resolv.conf 2014-10-11 13:23:44 -05:00

README.md

Raspberry Pi Ad Blocker

A black hole for ads, hence Pi-hole

Pi-hole

The Pi-hole is a DNS/Web server that will block ads for any device.

Coverage

Featured on MakeUseOf and Lifehacker!

Automated Install

On a clean installation of Raspbian, you can run this command to auto-install the Pi-hole. Once installed, configure any device to use the Raspberry Pi as your DNS server and the ads will be blocked.

curl -s "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/automated%20install/basic-install.sh" | bash

Gravity

The gravity-adv.sh does most of the magic. The script pulls in ad domains from many sources and compiles them into a single list of over 120,000 entries.

Whitelist and blacklist

You can add a whitelist or blacklist in /etc/pihole/ and the script will apply those files automatically.

Other Operating Systems

This script will work for other UNIX-like systems with some slight modifications. As long as you can install dnsmasq and a Webserver, it should work OK. The automated install only works for a clean install of Raspiban right now since that is how the project originated.

Optimizations

I am working on some great optimizations to allow the script to run much faster. I also have a bunch of new sources for ad domains but I still need to see if the lists are OK.