-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DNS SERVFAIL #39
Comments
Hi. It looks like you're using a volume mount. Be sure you're providing the right files as briefly discussed at #21 (comment). You may also want to take a look at https://github.com/origamiofficial/docker-pihole-unbound. |
Hi. Yes, I have provided the right files (the 3 ones) inside unbound folder. unbound.conf
|
In your unbound.conf, try using chroot like this: unbound-docker-rpi/1.17.0/data/unbound.sh Line 158 in ac2a980
Alternatively, try modifying the volume mount:
|
You may also want to ensure your directory setting in unbound.conf matches: unbound-docker-rpi/1.17.0/data/unbound.sh Line 61 in ac2a980
|
Problem
I installed unbound and pihole following the instructions of the docker compose. In particular, I followed the post https://www.xfelix.com/2020/09/pihole-unbound-docker-setup-on-raspberry-pi/
Then I change the file in /etc/resolv.conf with namerserver 192.168.1.100 that is the IP of my rasp. When i ping google.com the request is being sent to pihole GUI (Query Log) but with SERVFAIL reply. The DNS is setted ad recursive DNS with Custom 1 192.168.92.35#5053
Docker compose
pihole:
hostname: pihole
image: pihole/pihole:latest
container_name: pihole
networks:
mylan:
ipv4_address: 192.168.92.34
ports:
environment:
cap_add:
volumes:
- '/homedir/pihole/etc-pihole/:/etc/pihole/'
- '/homedir/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
restart: always
unbound:
container_name: unbound
image: mvance/unbound-rpi:latest
environment:
networks:
mylan:
ipv4_address: 192.168.92.35
volumes:
ports:
healthcheck:
disable: true
restart: always
Log Unbound
Doubts
Until now I'm aware that the flow is to put pihole docker to receive all the dns request and then send them to unbound. However, in the /etc/resolve.conf I have to put 192.168.1.100 with the port 53 exposed from the pihole docker in order to make the DNS available for all my LAN devices (not the docker LAN =192.168.92.0/24 that is unreachable by them).
What I am doing wrong?
The text was updated successfully, but these errors were encountered: