1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00
Go to file
mospaeda 89556f2480 Merge pull request #2 from jacobsalmela/master
Giving the README some much needed love
2015-03-21 00:31:29 +01: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
dnsmasq.conf Update dnsmasq.conf 2014-10-11 12:58:30 -05:00
gravity-adv.sh Automatic IP detection with all locale 2015-03-21 00:00:09 +01: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
LICENSE Initial commit 2014-06-08 10:02:55 -05: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
README.md Giving the README some much needed love 2015-03-20 12:50:49 -05:00
resolv.conf Update resolv.conf 2014-10-11 13:23:44 -05:00

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.

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.