Clients with name are not prefilled in "Advanced filtering" menu
Versions
- Pi-hole: v6.0.6
- Web: v6.1
- FTL: v6.1
Platform
- OS and version: Raspberry Pi OS (Debian Bookworm)
- Platform: Raspberry Pi
Expected behavior
Automatic selection / entry in the "Advanced filtering" menu "Client (by name)", when a client with name is selected via the "Dashboard".
Actual behavior / bug
When selecting a client with name in "Top Clients (total)" / "Top Clients (blocked only)", only the "Client (by IP)" field is prefilled in the "Advanced filtering" menu.
Steps to reproduce
Steps to reproduce the behavior:
- Select a client with name in "Dashboard"
- Open "Advanced filtering" menu
Debug Token
Imo not required.
Screenshots
Imo not required / on request.
Additional context
n/a
When selecting a client with name in "Top Clients (total)" / "Top Clients (blocked only)", only the "Client (by IP)" field is prefilled in the "Advanced filtering" menu.
This is expected. DNS works on IP level. The same client could have multiple IPs (e.g. LAN and WIFI network interface). Pi-hole only sees the IP the requests are coming from. So the top lists sometimes contain the same "client" (name) multiple times, one for each assigned IP address (this gets worse with IPv6). Clicking on one entry will only add the IP of that client to the filtering menu.
Thanks for the explanation.
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.