Pihole should works without having to click on "Save" on every start.
Actual Behaviour:
I have an error when pihole in docker, every time the container restarts :
DNSMASQ_WARN / Warning in dnsmasq core: no upstream servers configured
And every DNS queries time out.
The upstream ARE configured (extract from debug log):
PIHOLE_DNS_1=9.9.9.9
PIHOLE_DNS_2=1.1.1.1
To get it work, I have to click in the UI -> Settings -> DNS -> Save, without changing anything, and then everything works, and the warning disappears.
The container is deployed with Compose, and here is the environment part :
I have exactly the same problem, by running pi hole in docker.
After each restart of the container, the DNSMASQ_WARN is shwon. Saving the dns settings on ui without any changes solves the problem, but it is really annoying to do this after each restart.
I would be very thankful for any suggestions on this topic.
I have fixed this behaviour by updating to the newest pihole image (2023.01). There is no mention in the release notes about any bug fixing but it fixed mine.