From GitHub:
I realize this will be prioritized below bug fixes etc. but it would be really nice to be able to tell which block list is blocking a query in the query log in the web interface. This is especially true for someone who's added a lot of other block lists in addition to the default pi-hole block lists. I believe it would be best to first add the ability to give custom "common" names to each block list URL in pi-hole settings under "Pi-Hole's Block Lists", those "common" names of each block list you can manually define would then be pulled into the Query Log as a new column for easy reference of which block list is creating issues or blocking things that, for instance, you would not suspect it should be blocking.
Perhaps by default the filename at the end of the block list URL such as "examplelist.txt" would be what the common name is set to minus the file extension (e.g. "examplelist") however you could then change it manually to what you desire to call it which would then appear in the Query Log as a new column.
[Update] After thinking about this a bit further I believe this would require more effort or might not be "doable" without some changes unlike I had originally thought. Since all the ad/block lists are aggregated and de-duped we would have to probably create some type of lookup table/database prior to list aggregation and de-duplication for the Query Log in the web GUI to reference. Additionally since there could be lists that have the same domains in them the feature would have to support multiple columns in the query log for all the lists that had the domain within them prior to aggregation and de-duplication....just more thoughts, curious to hear back on feasibility.
Thank you!