Hi, I’m trying to set up the PiHole docker container on a laptop running Debian buster and I would like to have the laptop itself also use the PiHole dns, but I am unsure of how to do that.
I am using the stock docker-compose.yml listed here: https://github.com/pi-hole/docker-pi-hole#quick-start (except with the timezone set to my own timezone)
Here is what my /etc/network/interfaces file looks like on the debian host machine:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eno1 iface eno1 inet static address 192.168.1.105 netmask 255.255.255.0 gateway 192.168.1.1 network 192.168.1.0 broadcast 192.168.1.255 dns-nameservers 127.0.0.1
Note: I also tried not listing a dns-nameserver in the /etc/network/interfaces file but that didnt seem to work either.
PiHole itself is running fine, I can access the web admin and if I point another device to the laptop, it blocks sites on the device, but how do I get the PiHole host machine to use the PiHole docker dns?
Any help would be appreciated,