All Projects ā†’ amitizle ā†’ Pihole_config

amitizle / Pihole_config

Licence: mit
My personal configuration for pihole

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Pihole config

My Pihole Blocklists
Create custom pi-hole blocklists
Stars: āœ­ 269 (+1069.57%)
Mutual labels:  raspberry-pi, dns
Pihole Unbound
Guide to setup Unbound recursive DNS resolver with Pi-Hole. With additional configs for speed and security!! šŸš€šŸ”’
Stars: āœ­ 165 (+617.39%)
Mutual labels:  raspberry-pi, dns
Nogo
A cross-platform network-wide ad/site blocker with a simple web control panel.
Stars: āœ­ 143 (+521.74%)
Mutual labels:  raspberry-pi, dns
Gravity Sync
An easy way to synchronize the blocklist and local DNS configurations of multiple Pi-hole 5.x instances.
Stars: āœ­ 406 (+1665.22%)
Mutual labels:  raspberry-pi, dns
Ulnoiot Upy
retired version of ulnoiot based on micropython
Stars: āœ­ 17 (-26.09%)
Mutual labels:  raspberry-pi
Rpi Debian Builder
Build your own Debian image for Raspberry Pi
Stars: āœ­ 6 (-73.91%)
Mutual labels:  raspberry-pi
Traypingapp
šŸ“” OSX tray application showing DNS and ping latency
Stars: āœ­ 5 (-78.26%)
Mutual labels:  dns
Pi Pwnbox Rogueap
Homemade Pwnbox šŸš€ / Rogue AP šŸ“” based on Raspberry Pi ā€” WiFi Hacking Cheatsheets + MindMap šŸ’”
Stars: āœ­ 798 (+3369.57%)
Mutual labels:  raspberry-pi
Fotobox
Python based photo-booth script for Raspberry Pi and RPi Camera
Stars: āœ­ 22 (-4.35%)
Mutual labels:  raspberry-pi
Floating Elephants
Docker containers for Hadoop.
Stars: āœ­ 19 (-17.39%)
Mutual labels:  dns
Tensorrider self driving car
åŸŗäŗŽBPē„žē»ē½‘ē»œēš„č‡ŖåŠØ驾驶ęØ”åž‹č½¦ć€‚åŒ…å«ę”¶é›†ę•°ę®ć€ęŽ§åˆ¶ęؔ型ē”ŸęˆäøŽåœØēŗæ/ē¦»ēŗæč‡ŖåŠØčæč”Œę‰€éœ€ēš„ē؋åŗć€‚
Stars: āœ­ 17 (-26.09%)
Mutual labels:  raspberry-pi
Gentoo On Rpi 64bit
Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
Stars: āœ­ 831 (+3513.04%)
Mutual labels:  raspberry-pi
Woa Deployer Rpi
WOA Deployer for Raspberry Pi
Stars: āœ­ 898 (+3804.35%)
Mutual labels:  raspberry-pi
Fprime
F' - A flight software and embedded systems framework
Stars: āœ­ 8,642 (+37473.91%)
Mutual labels:  raspberry-pi
Dreamcatcher
DNS Monitoring Suite
Stars: āœ­ 19 (-17.39%)
Mutual labels:  dns
Circle
A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)
Stars: āœ­ 816 (+3447.83%)
Mutual labels:  raspberry-pi
Rpi Dashboard Ansible
Ansible provisioning for our RPI dashboards
Stars: āœ­ 16 (-30.43%)
Mutual labels:  raspberry-pi
Whour
Tool for information gathering, IPReverse, AdminFInder, DNS, WHOIS, SQLi Scanner with google.
Stars: āœ­ 18 (-21.74%)
Mutual labels:  dns
H264 Live Player
A live h264 player for the browser (ideal for raspberrypi / raspicam )
Stars: āœ­ 886 (+3752.17%)
Mutual labels:  raspberry-pi
Tensorflow On Arm
TensorFlow for Arm
Stars: āœ­ 837 (+3539.13%)
Mutual labels:  raspberry-pi

Pihole config

This is my personal configuration, including:

I'm running pi-hole on a Raspberry Pi 3 Model B+ and a Mikrotik hAP ac, setting pi-hole as the upstream DNS provider for the Mikrotik.

I've setup the pihole_conf.sh script to be running every hour as a cronjob.

Setup cron

This is just a personal preference, it's way easier for me rather than setup some redundant bootstrapping tool, thus involve manual steps. I'm also assuming that all permissions (i.e. to /var/log) already setup the way you like to.

  1. Clone the repo, assuming to /opt/pihole_config: git clone https://github.com/amitizle/pihole_config.git opt/pihole_config.
  2. Setup the cronjob (using crontab -e): 0 */1 * * * bash -c "cd /opt/pihole_config && git pull && ./pihole_conf.sh &>> /var/log/pihole_config.log"

Configuration / environment variables

Here's a list of some environment variables you can setup in order to customize your experience using this script. All variables have got sane defaults so no need to change those usually.

Variable name Description
FIREBOG_LIST_TYPE There are three types in Wally3k's list: tick, nocross and all.
WHITELIST_FILE The full path to the whitelist input file
DRY_RUN Set to 1 to do everything but running the pihole commands (i.e pihole -w and pihole -g)
PIHOLE_BIN A full path to the bin file pihole to run command with (i.e pihole -w and pihole -g)
ADLIST_LIST_DEST The destination file to write the adlist.list file to (change it for testing)

NOTE: The Whitelist file is parsed at the moment with the following rules:

  • Every line starts with # is treated as a comment.
  • Empty lines are ignored.
  • Every line can only contain one domain.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].