# Display which blocklist is responsible for a block

**URL:** <https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361>\
**Category:** Duplicate\
**Created:** [April 30, 2020, 9:31pm UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361 "2020-04-30T21:31:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyenos](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeremyenos/32/14522_2.png) [@jeremyenos](https://discourse.pi-hole.net/u/jeremyenos)\
**Post date:** [April 30, 2020, 9:31pm UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361/1 "2020-04-30T21:31:58Z")

</div>

It would be useful to know which blocklist is responsible per blocked query. For instance, if I find myself going through a lot of trouble whitelisting things, I can imagine that if they were all blocked due to a single list, I may want to consider disabling that list entirely. But I don't know that I have a way to easily identify that right now by looking at blocked queries. If they just displayed the list(s) they exist on inline, that could be very useful in identifying impact of various list inclusion.  
Thanks.

Jeremy

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [April 30, 2020, 9:50pm UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361/2 "2020-04-30T21:50:53Z")

</div>

Please consider searching existing Feature Requests before posting a new one, e.g. [Shows which blocklist the domain name is blocked from](https://discourse.pi-hole.net/t/shows-which-blocklist-the-domain-name-is-blocked-from/27614).

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [April 30, 2020, 9:52pm UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361/3 "2020-04-30T21:52:00Z")

</div>

> [@jeremyenos](#):
>
> It would be useful to know which blocklist is responsible per blocked query.

Multiple blocklists could carry the domain that is blocked. If Pi-hole were to search the individual blocklists for each query that is blocked, this would significantly hamper performance.

The ability exists to search blocklists for any domain that is blocked, via two methods.

1. From the web GUI \> Tools \> Query lists

2. From the command line (this method offers a bit more flexibility with options):

`pihole -q -adlist -exact domainnamehere`

Example of the command line output:

```auto
pihole -q -adlist -exact flurry.com
 Exact matches for flurry.com found in:
   http://sysctl.org/cameleon/hosts
   https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
   https://hosts-file.net/emd.txt
   https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts;showintro=0
   https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
   https://v.firebog.net/hosts/AdguardDNS.txt
   https://v.firebog.net/hosts/Prigent-Ads.txt

```

---

<div class="post-metadata">

**Author:** ![jeremyenos](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jeremyenos/32/14522_2.png) [@jeremyenos](https://discourse.pi-hole.net/u/jeremyenos)\
**Post date:** [April 30, 2020, 10:17pm UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361/4 "2020-04-30T22:17:53Z")

</div>

I don't think it has to happen in realtime before the DNS response is delivered, per the performance concern. In fact, it only really would need to happen when the blocked queries were viewed. If performance were still an issue even with that, then it could be an option as to whether to display it or not.  
I also realize that multiple blocklists could carry the same domain- in such an instance, the expectation would be that all lists blocking a given domain would be listed beside it.

Thanks for the suggestions, but my aim here with this feature was to make this information readily accessible, so it becomes apparent without a lot of manual effort each time for the type of reasoning I described.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [May 13, 2020, 1:14am UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361/6 "2020-05-13T01:14:20Z")

</div>

Closed to existing feature request here:

> [@Shows which blocklist the domain name is blocked from](https://discourse.pi-hole.net/t/shows-which-blocklist-the-domain-name-is-blocked-from/27614):
>
> Hi everyone! I think there is a good idea: Shows which blocklist the domain name is blocked from. So at present, we cannot see the blocked domain is blocked from which blocklist, we can only see that the domain is blocked by blocklists. By add this function, we can see which blocklist the domain name is blocked from.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [May 13, 2020, 1:14am UTC](https://discourse.pi-hole.net/t/display-which-blocklist-is-responsible-for-a-block/31361/7 "2020-05-13T01:14:24Z")

</div>


