Bitte beachte diese Vorlage, damit wir dir bestmöglich helfen können!
Beobachtetes und erwartetes Verhalten
*Ein neuaufgesetztes Pihole unter Docker und Portainer funktioniert erstmal scheinbar ordentlich. Webinterface ist unter der IP des Raspberrys aufrufbar.
Allerdings scheint Pihole alle anfragen meiner Clients zu ignorieren und zu verwerfen.
Z.B. einer meiner Clients* (192.168.178.20) erscheint in diesem Logeintrag:
dnsmasq: ignoring query from non-local network 192.168.178.20
Ich glaube, das ist nur eine Kleinigkeit im Bereich Netzwerk, komme aber aktuell nicht weiter.
Könnt ihr bitte helfen? Debug Log ist anbei.*
Ich sehe in den Logs folgendes:*
Debug Token:
https://tricorder.pi-hole.net/SEKYvyy5/
thats docker, not a broken pihole. the container is on a bridge so 192.168.178.20 is "non-local" to it even tho the web ui loads on the pi ip.
set FTLCONF_dns_listeningMode=ALL in the compose/portainer env and either use host network or make sure 53/udp+tcp is published. adding 192.168.178.0/24 as a local range in the dns settings also stops that ignore line.
web ui up does not mean lan dns is listening.
Hello nite_route,
many thx for your help.
I can't find the place to set FTLCONF_dns_listeningMode=ALL - the Portainer Stack Editor do not accept the syntax.**
But i found an option "Allow only local requests" in the web gui an switched it to "Respond only on interface eth0" <-- now it is working. But i dont know if it is correct and safe.
Many Thx
This is an Environment Variable.
In the "Create container" page, scroll down to the end. Select the "Env" tab and type the variables and values:
Suggestion:
Since you are using Portainer, my suggestion is to avoid the "Create container" page and use "Stacks" instead.
First stop and delete the current container.
Then go to Stacks page:
- click on the "+ Add stack" button;
- give a name to the stack and, in the editor are below, paste our compose file;
- edit the desired ports, env variables and paths;
- scroll down and click on the "Deploy the stack" button.
This will start a new container.