Hi,
since some time (I think some weeks) my Pi-Hole installation shows all the queries from the clients that haven't custom DNS (like the Echo devices, smart plugs, etc.. where I can't change the DNS) as they're queries from my router. The clients where I'm able to change the DNS are listed correctly as separated devices.
The Pi-Hole is not acting as DHCP server, the router is doing it, but I haven't changed the DHCP setting, so I don't know exactly what is going on. Maybe there's a way to tell to the router to avoid the "router tagging" in the DHCP config?
Thanks
Here's my router DHCP config. The router IP is 192.168.1.2, the Pi-Hole IP is 192.168.1.4. Yes I haven't set the DNS in the LAN interface, but if I do it, all the clients queries appear as if they are coming from the router.
I'm not familiar with OpenWRT but your LAN behavior sounds much like mine.
I'm running AsusWRT-Merlin which has a DNSFilter feature. I use this feature to force my DHCP set DNS IP (pihole) on devices that have hard-coded DNS IPs and refuse to use my DHCP DNS IP. This DNS queries show on my pihole logs as my router (just like in your case)
This behavior does not bother me as the router is doing what I expect it to do, which is to capture all rogue DNS queries and direct them my pihole.
Now for debugging purposes, so that I may be able to see from what specific device X, Y or Z DNS query is coming from, I connect M, N or P device to a "Guess Nework" (isolated WiFi AP) This way queries show on pihole coming from a specific static IP which I've assigned to the device in question.
Perhaps OpenWRT has a feature like DNSFilter and happens to be ON and this is why you are seeing all of your devices DNS queries showing under your router's IP/hostname.
Thanks for the reply, I found the solution, something was changed when I switched from snapshot to stable OpenWrt build. I had to restart the dnsmasq service, and -most important- the echo devices, now they are correctly reported as separated clients
Anyway you have to use option 6 in your DNS in the router, to forward the names to the Pi-Hole. It should be possible because I use OpenWrt and DD-WRT and is possible on both, so it should be also in MerlinWRT.