Dnsmasq : no upstream servers configured

Expected Behaviour:

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 :

    environment:
      TZ: 'Europe/Paris'
      WEBPASSWORD_FILE: /run/secrets/pihole-pass
      PIHOLE_DNS_: "9.9.9.9;1.1.1.1"
      FTLCONF_LOCAL_IPV4: 192.168.1.3

Is this a bug?

Debug Token:

https://tricorder.pi-hole.net/RxSUaIGy/

1 Like

Hi Mobster4175,

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.

Greetings!

I am experiencing the same issue.

Hello guys!

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.

Enjoy!

Still present with latest, * 2023.02.2.

Hi together,

I want to share my experiences as well.
For me the update to Docker Tag 2023.02.2 fixed the problem!

1 Like

A post was merged into an existing topic: Refreshing dnsmasq from CLI?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.