Skip to content

Some functions to easily expand pi-hole functionality

Notifications You must be signed in to change notification settings

keitheobrien/pi-hole-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

This will expand your blocklist to about 2.000.000 domains. Check the file to see which ones will be blocked and which ones are on a custom white list (to keep functionality).

curl -sSL https://goo.gl/HGBWsQ | 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