Hi Guys,
I have bought hap-ax3 router especially because of the containers feature. I have installed PiHole in a container and set it to work correctly (using this video guide : https://www.youtube.com/watch?v=UMcJs4oyHDk ). Basically I configured a bridge for the container network (172.17.0.1/24 for the bridge IP and 172.17.0.2/24 for the container) and set the networking and firewall /NAT settings, so it is visible and has internet. The current solution I am using is to configure IP → DNS->Server to be the IP of the PiHole container - 172.17.0.2 and the PiHole setting is to point to the upstream DNS and 8.8.8.8 as second DNS.
Everything works, but since all the requests to the PiHole are coming through this bridge, Pihole does not “see” the network and in the statistics all the traffic are under one IP - the gateway for the bridge - 172.17.0.1 - see the Current State screenshot attached. I want PiHole to be able to resolve the hosts in my network and to show me statistics for each machine/clients in my LAN separately (see the Desired State screenshot from my current setup)
Currently in “production” I have container on a separate server(192.168.0.2) under different IP than the router(192.168.0.1) with DDWRT and with dhcp-option=6,192.168.0.2 I manage to achieve the effect I want. Can you advise how this can be achieved with a PiHole running as container on the Mikrotik router itself(with same IP)?
One of the solutions I was thinking is to stop the DNS service of Mikrotik and through port forwarding on port 53 expose the PiHole as DNS server to be used directly from LAN devices. Challenge is that I can not find a way to stop the DNS server of the router. Do you know how to do it and is it possible at all ? Probably there can be different solution ?
Thank you in advanse

