Hi, I have installed Pihole as container on RaspberryPi. The context is a home network (192.168.0.0/24 behind a Fritzbox).
I tried to configure it to answer DNS requests from clients in the local network.
This failed, because Pihole does not consider e.g. client IP 192.168.0.139 as „local“ and rejected the query. (It works fine with „all requests fron en0“).
Is there a setting to teach Pihole in the container which is the local network?
What networking mode are you using for docker? If it's a bridge network then the container won't know what the LAN network is, only what it's docker network subnet is.
Easiest solution is to Permit All Origins in the Settings page of the Admin panel.
Not with the existing environment variables. If you want to pihole-FTL (dnsmasq) to have that information you'd need to use host mode networking and eliminate the docker bridge isolation.