Which blocklist contains a certain domain?

Hi,
I added some 150 blocklist to gravity, and now I get Facebook blocked. Instead of adding whitelist entries one by one, I want remove the culprit blocklist. The issue is I don't know which blocklist contains the Facebook-related domain list. Is there any way to somehow reverse lookup? Don't ask me why I want to unblock Facebook, it's a request of other family members :slight_smile:
Thanks in advance.

Pi-hole web interface > Tools > Query Lists

Enter (parts of) the domain and use the buttons on the right.

You can also do this from the command line with the pihole -q command:

Usage: pihole -q [option]
Example: 'pihole -q -exact domain.com'
Query the adlists for a specified domain

Options:
-adlist Print the name of the block list URL
-exact Search the block lists for exact domain matches
-all Return all query matches within a block list
-h, --help Show this help dialog

Thanks a lot, it works.

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