web icon indicating copy to clipboard operation
web copied to clipboard

Clients with name are not prefilled in "Advanced filtering" menu

Open AS98765 opened this issue 11 months ago • 2 comments

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:

  1. Select a client with name in "Dashboard"
  2. Open "Advanced filtering" menu

Debug Token

Imo not required.

Screenshots

Imo not required / on request.

Additional context

n/a

AS98765 avatar May 05 '25 11:05 AS98765

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.

yubiuser avatar May 05 '25 13:05 yubiuser

Thanks for the explanation.

AS98765 avatar May 05 '25 13:05 AS98765

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.

github-actions[bot] avatar Jun 05 '25 08:06 github-actions[bot]