I have been trying to run Pihole on ROS 7.21.1 across several subnets/VLANs. Seems like setting ‘root’ as user for FTH and in dnsmsq.d is required for this but I did not mange to force it to ‘root’.
I believe this is required because this pihole container runs on 10.1.3.4 and can resolve DNS from the same subnet (other containers). It does fail to resolve DNS for other subnets, like my local LAN 192.168.88.0/24.
I have tried to run the container in the same or separate bridges as my LAN and inserted all redirect NAT and IP filter rules to ensure port 53 is redirected. I checked that the pihole container is accessible from LAN and that it also can ping LAN.
Wanted to get your input before sharing the more specific config.
Is there a known bug in Mikrotik container that prevents it from loading ENV variables even if they are properly defined and the mounted directories are empty:
Columns: LIST, KEY, VALUE
FTLCONF_dns_listeningMode set to “all” should allow you to do what you want (it’s the same as Permit All Origins” in the GUI). When you set it with the env, do you see Permit All Origins enabled in the GUI? If not, your pihole instance in the container isn’t reflecting the envs you’re setting. https://docs.pi-hole.net/docker/configuration/ is a good resource to see all envs pihole can use. I don’t think you should need to mess with DNSMASQ_USER.