No DNS Forwarding or DHCP responses

Hello everybody.

I hope someone can help me with this.

I installed an pihole docker image (https://hub.docker.com/r/diginc/pi-hole/) on a bridged adapter with a different IP Address than my server.

Everytime I setup pihole for testing as a dns on my workstation it cannot resolve any domains. The direct ip access works properly.

There are no other dns servers inside my network. I even check the services listening on my nic with this command:
netstat -tulpn

I event tried out the dhcp Server but I cannot find where to set which dns server should be "shipped" with the dhcp settings. Or is it by default the pihole address? On wireshark there where only DHCP Discovery and Request Packets. No ACK Packets from the server.

I use the docker container on an unraid server but I think that this should not be a problem. Every other service inside docker works properly.

My debug token is: 25pc168fb0

I hope someone can help me with this.
I'm here if you need more information on this.

Thanks in advance.

UPDATE:
I reinstalled the pi hole docker image and in the first minutes it worked good. After visiting few sites it stopped working.

Here are the outputs of the following commands:

head /var/log/pihole.log
head /etc/pihole/gravity.list
lsof -i -P -n | awk -F' ' '/LISTEN/ {print $9, $1}' | sort -n | uniq | cut -d':' -f2
netstat -tulpn

Pihole.log

Gravity.list

Lsof

Netstat -tulpn

Here's also a new debug token: n2396frwid

Ok I got it working after I selected the first option on the DNS Tab under "interterface listening behavior" "listening on all interfaces".

Before I changed the setting the second option was selected. Only listen on interface br0.

Anybody have an idea why it doesn't work on the second option?

Since it's in a docker container, it was listening to the internal docker network instead of your local network.

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