Pi-hole SafeSearch (PSS)
There is a new beta version of Pi-hole which may interfere with the capabilites of this script. I will check into this and see if PSS will work! Until then, keep posted!
Barry Quiel for fixing the Python version. This may be the future of PSS!
To install Pi-hole SafeSearch (PSS), simply run the following commands in your pi-hole terminal (log into pi with ssh; pi hole should be set up and running).
Download the Pi-hole SafeSearch script:
wget https://raw.githubusercontent.com/jaykepeters/PSS/master/Pi-hole_SafeSearch.sh
Move the script.
sudo mv ./Pi-hole_SafeSearch.sh /usr/local/bin/
Make the script executable.
sudo chmod a+x /usr/local/bin/Pi-hole_SafeSearch.sh
Enable Pi-hole SafeSearch:
sudo Pi-hole_SafeSearch.sh -e
If you wish to not enforce SafeSearch on your network anymore, please follow the steps below to completely uninstall PSS
Pi-hole_SafeSearch.sh --disable
/var/log/pss.log
/etc/pss.ack
/tmp/safesearch.txt
/etc/dnsmasq.d/05-restrict.conf
(Version < 2.0)/etc/dnsmasq.d/SafeSearch.conf