the output of "Find Ad Domain In Lists" results in this (example):
Exact matches for ssl.google-analytics.com found in:
list.7.hosts-file.net.domains
list.11.raw.githubusercontent.com.domains
list.12.v.firebog.net.domains
It's not so hard to find out which block list is "behind" this sample-urls but it would be nice, if we can see the real URL. Is this possible to include in code?
Is not going to work as Pi-hole only deals with domain names and not with full URL's.
The clients only query Pi-hole for domain names eg. the full URL entered in your browser is not passed on to Pi-hole so Pi-hole doesnt know what you entered in your browser.
Yes I know how Pi-hole works regarding Domains (a bit), but all URLs are visible in Pi-hole‘s Lists used to generate Pi-hole's Gravity.
So I thought this string can be used for the output of the search results. Just a thought...
The difference between pihole -g and the dashboard is that they work on different data sets (dashboard adlists.list, pihole -q on the list files in /etc/pihole). Maybe @PromoFaux or @WaLLy3K want to comment on this as well.
I would be glad to have it like in the suggestion above (if it is easy to realize).
A few days ago I was also quering the ad lists and the output was something like
Exact matches for i1.services.social.microsoft.com found in:
list.0.raw.githubusercontent.com.domains
list.7.raw.githubusercontent.com.domains
list.8.raw.github.com.domains
So it was something fiddly to find out from wich List-URLs list.0 and list.7 had been generated.
@frankrpi3 are you satisfied by the availability of the -adlist function? If you think it should be the default output, we can use this FR for further discussions.
I marked this Feature Request for auto-close on Saturday otherwise as what you asked for is already implemented. Removed
The first type of search, the partial one, returns the file holding the "partial" string + the entries that contain the string itself (there might be several variations of it), where as the second, looks for the exact string and only tells you the file that has it.