One good use of Pi-Hole is to find the “leaks”.
It would be useful to then copy paste the blacklist made in Pi-Hole to the HOST file of the computer who leaks. So when I’m outside with my laptop on public wifi I’m still protected.
To do so I export the blacklist in text with the “Teleporter Export”.
Then, to add 0.0.0.0 in front of each line :
Move the cursor to the line before the first line you want to precede with 0.0.0.0. In the Search menu, select Find and Replace…. In the Find field (regex), type \n. In the Replace with field, type \n0.0.0.0\t. Press the Find button. Press the Replace button repeatedly until all the lines you wanted to add 0.0.0.0 to are complete.
You can speed things up with the Replace All button, but that will add 0.0.0.0 to the front of all lines, even if they already have 0.0.0.0; not handle the first line of the file; and add a line at the end of the file with just 0.0.0.0 in it.
Then I copy this text list to my local HOST file.
I used GasMask, (a simple hosts file manager for Mac OS X) https://github.com/2ndalpha/gasmask
You can subscribe to host list in GasMask.
I think it could be a good feature if we have a possibility to subscribe to the Pi-Hole Blacklist with 0.0.0.0