gredoctors.blogg.se

Nxfilter and pihole
Nxfilter and pihole








nxfilter and pihole

There is so much power in this new database, it’s worth it! And, we’re here to help, just open a discussion on our Discourse platform and we can assist with advice on how to use the new gravity database for your custom scripts. will need to be changed to interacting with the database. We prepared an extensive example in our official documentation showing some possible configurations once through the web interface ( ) but also how to achieve the same thing through the CLI.Ĭustom user scripts that rely on manipulating files such as gravity.list, black.list, whitelist.txt etc. If you want to manage groups from the CLI, you’ll have to directly interact with the database.

nxfilter and pihole

We added a dashboard interface (Group Management) to be able to easily use this powerful new functionality, however, there is currently no CLI interface through the pihole command. The longer run time comes due to generating an efficient B-tree index that allows fast lookups in the database. You may notice that updating gravity ( pihole -g) takes a little longer to run than previously, however this process normally happens in the background once a week in the early morning hours and should not disrupt your DNS service. This allows control over enabling and disabling items in the lists, and even the ability to add comments to remind you why you black/whitelisted something! Furthermore, the database will store when you initially added a domain and when you last changed it (or disabled it). To support this new functionality, we migrated the list storage from individual files in /etc/pihole to a new gravity database in the same directory.

nxfilter and pihole

Blocklists, blacklist and whitelist can all be individually enabled/disabled. Groups can be created and block lists, blacklist, and whitelist can be applied to groups. This is something that users have been asking for for a long time, and we are proud to be finally able to offer this awesome feature. Quite a lot, actually, but we’ll go over the bigger things briefly here. Read all the notes before you make the jump, and make a backup! What’s new? Once you move from 4.x to 5.0, there is no way to go back you will need to restore from a backup. There are many fundamental changes between Pi-hole 4.x and 5.0 – as such, this is strictly a one way operation. After a successful beta testing and development period (many thanks to the beta testers!), we are pleased to announce the release of 5.0 for general availability! Important notice










Nxfilter and pihole