How do i load whitelists in 5.0?

I cannot figure out how to load whitelists in Pi-Hole 5.0
Can someone help me?

Since v5.0. whitelist is part of the domain database.

You can add whitelist domains by using sql and directly add them to gravity.db

I wrote a BASH script that can do this. I know it's crud, I just needed something myself to export/import from my old version 4 setup.

I'm running Debian 10. Just put your domains in "whitelist_domains_list.txt" file. Run at your own risk. :slightly_smiling_face:

1 Like