The original post: /r/pihole by /u/mariolein0 on 2024-11-01 12:17:20.
Hey guys,
I’ve set up a Raspberry Pi 5 running Docker with Portainer and Pi-hole. Pi-hole is configured to use a macvlan network, while Portainer is using the default bridge mode. After configuring my internet router to use the Pi-hole IP address as the DNS server, everything seemed to work fine.
However, since making this change, I can no longer pull Docker images or resolve domain names from within Docker containers (via SSH into the Docker environment). Pinging an IP address like 8.8.8.8
works, but DNS name resolution fails.
Does anyone know how to fix this? All other devices on my network are working correctly, but Docker/Portainer no longer have DNS functionality.
You must log in or register to comment.