Skip to content

Some functions to easily expand pi-hole functionality

Notifications You must be signed in to change notification settings

EPiC-APOC/pi-hole-helpers

 
 

Repository files navigation

pi-hole-helpers [UNTOUCHED]

(all credits to: https://github.com/Kevin-De-Koninck/pi-hole-helpers)

This will install a command to add a custom DNS entry. With this, you can now reach your local devices using a readable URL (e.g. http://movie.server) instead of an IP address (http://192.168.1.50).

Install

On a clean pi-hole, install the helper with the following command:

wget -O /tmp/install.sh https://goo.gl/bwy8Yo
chmod +x /tmp/install.sh
sudo /tmp/install.sh

Usage

# add entry
sudo pihole-helper
# remove entry
sudo pihole-helper --remove-dns-entry

Uninstall

sudo rm -f /opt/pihole/whiptail.sh
sudo rm -f /opt/pihole/pihole-helper.sh
sudo rm -f /etc/pihole/custom-LAN.list
sudo rm -f /etc/dnsmasq.d/02-custom-LAN.conf
sed -i '/pihole-helper/d' ~/.bashrc
sed -i '/alias sudo=/d' ~/.bashrc
sudo service dnsmasq restart

Bonus: Expand domain list [EPiC FORK]

This will expand your blocklist to A LOT MORE domains ;-p Check the file to see which ones will be blocked and which ones are on a custom white list (to keep functionality).

curl -sSL http://bit.ly/expand-block-list | bash

This will take a while, be patient.

About

Some functions to easily expand pi-hole functionality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%