I'm using pi-hole. In the web UI there is a query log that allows you to view DNS…
- User
I'm using pi-hole. In the web UI there is a query log that allows you to view DNS requests from the various clients, including an indication of whether the request was allowed or denied. How can I filter the list on allowed or denied requests?
Assistant
Yes, you can easily filter the Pi-hole Query Log by allowed or blocked requests directly within the web interface.
Here's how:
- Access the Pi-hole Web UI: Open your web browser and navigate to your Pi-hole's admin interface (usually
http://pi.hole/adminorhttp://<Your-Pi-hole-IP-Address>/admin). - Navigate to Query Log: Click on "Query Log" in the left-hand navigation menu.
- Use the Filter Bar: At the top of the Query Log list, you'll see a filter/search bar.
- To see Allowed requests: Type
allowedinto the filter bar and press Enter or click the search icon. - To see Denied (or rather, Blocked) requests: Type
blockedinto the filter bar and press Enter or click the search icon. Pi-hole typically uses the term "Blocked" for requests that hit a blocklist.
- To see Allowed requests: Type
The log will then update dynamically to show only the queries matching your filter term.
To clear the filter: Simply delete the text from the filter bar and press Enter, or refresh the page.
Additional Tips:
- You can combine filters. For example, to see allowed requests from a specific client, you could type
allowed 192.168.1.100(replace192.168.1.100with the client's actual IP address). - You might also see entries filtered by
cached.
- Access the Pi-hole Web UI: Open your web browser and navigate to your Pi-hole's admin interface (usually
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.