127.0.0.11 in /etc/resolv.conf

Please follow the below template, it will help us to help you!

Expected Behaviour:

No errors in log

Actual Behaviour:

Errors in log

Debug Token:

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

I installed Pi Hole using this command

docker run -d
--restart=always
--name pihole
-h pihole
-e PUID=1001 -e PGID=1001
-e TZ=Europe/Nicosia
--net=network
-p 53:53/tcp -p 53:53/udp
-p 80:80
-p 443:443
-v /var/lib/docker/volumes/pihole/_data/etc/pihole:/etc/pihole/
-v /var/lib/docker/volumes/pihole/_data/etc/dnsmasq.d:/etc/dnsmasq.d/
--dns=127.0.0.1 --dns=8.8.8.8
pihole/pihole

In the logs I can see the following two warnings

WARNING Misconfigured DNS in /etc/resolv.conf: Two DNS servers are recommended, 127.0.0.1 and any backup server,
WARNING Misconfigured DNS in /etc/resolv.conf: Primary DNS should be 127.0.0.1 (found 127.0.0.11)

In the container, I get this

root@pihole:/etc# more resolv.conf
nameserver 127.0.0.11
options ndots:0

Doesn't make sense for that IP to be there, right?

Obviously I could change the IP in /etc/resolv.conf to 127.0.0.1, but why was it there in the first place? Is this s bug?

Take a look at DNS resolution unavailable - unless local.list is deleted - #14 by diginc and see if that helps with the issue.