Querying Pi-Hole for a specific domain search

Is there any way to query the Pi-Hole with an IP, and retrieve the query domain that resulted this IP being returned? The idea is similar to reverse DNS, but looking for the query rather than the public hostname. Thanks for your help.

This should work from the Pi command line:

sudo grep [IP address] /var/log/pihole.log

1 Like

Awesome, thanks!

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