Feature Request: Whitelist Lists

Blacklist lists are named Adlists, but there is no equivalent for whitelist lists.

I have some whitelist lists I would like to add, one of them is https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt.
The current way to use it is by running the author's script to add each domain, but that would be a nightmare later for me to manage.

Can you add a way to have whitelist lists if you have time?
If you feel it doesn't deserve a spot on the webpage, could you at least add it as an option by command line?

Many thanks :slight_smile:

It's there, here are two options:

1.)

pihole -w domain1 [domain2...]

instead of typing domain1 and domain2 and the other 337 you can just paste the list into the command.

2.) you copy that list directly (append existing whitelist):

curl -sS https://raw.githubusercontent.com/anudeepND/whitelist/master/whitelist.txt >> /etc/pihole/whitelist.txt

I might be wrong, it's been a long time since I've done anything with the .txt files, but I'm pretty sure they are no longer in use - as everything is stored in a database now...

In that case, option 1.) would be the preferred option.

Thanks heis2201 and PromoFaux (I can't mention users yet ^^), this will do! :slight_smile:

Ideally, a proper list of whitelists would be better so that it can be updated automatically (like with Gravity), and so that removing them becomes trivial, but this will do for now.
I'll keep a record of the lists myself, and a cronjob adding the lists should keep them updated.

Have a good day, and keep safe!

1 Like

There is an open feature request:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.