White / Blacklist - Add "Reason" Field



We are using tool for our company. Its great, but occasionally we need to white or blacklist certain domains. Example:

if you try to stream foxnews video, it blocks a few domains used with part of the streaming (I assume ad-related requirements). We had to put a few white domains in there to permit that to work.

We got a phish email today to most users in our company, so in hopes to prevent users from doing anything with it, we pi-holed the domain as a precaution.

Putting the reason in might be nice for audit purposes. A year later, we may have no idea why its in there or not.

Whitelist: Differentiate "adlists sources" from user entries

Sounds reasonable. In the mean time, you can note the reasons in a separate company document if you’d like.


This might be out of scope, but I think it would be useful to have a notes text field that could be entered next to each domain in the whitelist & blacklist.

You could enter any information that proves useful to you to remember when or why a domain was added. For example, you could add the date it was added, a url or service it’s intended to fix or block, or the user or device that it was added for.


Dupe of White / Blacklist - Add "Reason" Field?


It is. I’ll merge the two posts. Thanks.


Just to give a little follow up since my post, for the time being I decided to keep a custom blacklist on github that my pihole subscribes to. That way when I add a new blocked domain, I can add notes to the entries.

For example…

baddomain.com # 06/27/2017 - malware

Of course this doesn’t fix the issue of whitelist & wildcard blacklist entries since there isn’t the ability to subscribe to those as lists, but it’s better than nothing.


Being able to have categories of white/black listed items would be nice, especially if you toggle each category on/off easily. I’m currently looking into splitting my lists into a series of text files that periodically get fed to pihole by a script, e.g.:


The blacklists I can do by just putting them on GitHub, but AFAIK there’s no way to subscribe to a whitelist, and able to do it in the UI anyway would be a definite plus.


Being able to have categories of white/black listed items would be nice

This sounds very similar to the feature request Blocklist tagging and categorization to groups.