Closed MaHl111 closed 6 months ago
Even though worked for me locally, using image provided in my repository still causing the issue, gonna investigate further.
Current solution is either to define --dns 127.0.0.1
during docker run
,
add dns to your compose file:
pihole:
container_name: pihole
image: cbcrowe/pihole-unbound:latest
dns:
- 127.0.0.1
or edit /etc/resolv.conf
after container is running.
This should fix incorrect IP in
/etc/resolv.conf
as described in #223, resulting in "DNS resolution is currently unavailable". Duplicate: https://github.com/chriscrowe/docker-pihole-unbound/issues/215#issuecomment-1762050892. Also contains improvement to readability by moving config files to separate folder.