I can't figure this out allthough i searched through the whole internet..
So I have a Hap Ac with 7 different subnetworks that are connected to different VPN providers and everything works fine. I want to send DNS requests to a Raspberry Pi running Pihole (https://pi-hole.net/) but it just works in the same subnet the Raspberry is running.
What i tried so far:
First I set firewall rules for any subnet to allow communication on port 53 TCP, UDP to the Raspberry and back.
Then I set DNS in RouterOs to Pihole IP (10.1.100.2) - PiHole gets the requests but can't answer them = no internet access on the subnets
So i set DNS in RouterOs to Cloudflare DNS (220.127.116.11, 18.104.22.168) and for the DHCP Networks i set DNS for all subnets to PiHole - Pihole doesn't get the requests.
Then I tried to set upstream DNS on PiHole to the gateway of the subnet PiHole is in (10.1.100.1) - works on PiHole Subnet but not on the other subnets
I have the feeling I have to set routes for all my subnets to pihole or the gateway.. I just don't know how or if it's the right guess?
Can please someone give me a hint? I think it's just a noob problem..