We all know pihole is only as good as the lists we use. This reddit topic indicates that pihole is doing ok with the default lists, however, some people always want to add more lists.
To check the added value of new lists, I’ve written a script that uses
gravity.sh (part of pihole) to determine if there would be any new entries in
gravity.list (the list pihole-FTL uses to block ads).
The script creates a new directory in
/etc. No way this can be changed,
gravity.sh will complain if this is not the base directory.
The new directory is
/etc/checklist. All necessary files will be copied or created by the script.
It is possible to use
tmpfs, thus saving wear and tear on your SD card. To enable this, you need to uncomment
useramdrive (line 46). To remove the ramdrive, follow the instructions in the wiki
As an example, I’m running the script with a new list, this is the result:
As you can see, in my setup, there is no added value to adding this list, there are 6510 entries in the list, but it contains 0 new hosts.
This does NOT mean this is a bad list! It only means I already have some other list(s) that contain the entries in this list.
You can always check which hosts would be added to
gravity.list (the active list, used pi pihole-FTL), by checking the file
- This script doesn’t affect pihole in any way, commands that would affect pihole have been replaced with a dummy script. This implies DNS resolution should be functional, before running this script.
- This script makes no changes to your pihole installation.
- This script creates a new directory
/etc/checklist, all writing is done in that directory.
- If you enable the
useramdrivefunction, changes will be made to