Explicit Search in Pi-hole Admin Console

When using the Query Log Search field, I can’t seem to search explicitly, even with quotation marks. For example I want to filter/search for IP 10.0.1.6, but instead I’m getting 10.0.1.6*, where the * is all other numbers as well.

Is there a way to do this through the admin console or must I use the terminal? Thanks.

Are you seeing all the other IP’s, or only those IPs that lead with 10.0.1.6 (i.e. 10.0.1.6, 10.0.1.61, etc.).

Just ones that lead with 10.0.1.6, so for example 10.0.1.69 and 10.0.1.6

This is normal and the same thing I see.

You can avoid this by mapping IPs to client names in either /etc/hosts or in a new configuration file in /etc/dnsmasq.d

Or, from the CLI, you can search the query log with grep "10.0.1.6" /var/log/pihole.log

It’s the current behavior but I wouldn’t say it’s normal. A search for 192.168.0.1 should return just that IP and not 192.168.0.121.

I’ll agree with that. My comment was poorly worded and I intended it to mean that the OP’s Pi-hole was not malfunctioning.

1 Like

Well take it into suggestion then, thanks. And great work anyway you look at it ;).

I converted the post to a feature request.