wirehole icon indicating copy to clipboard operation
wirehole copied to clipboard

Unbound problem port 53

Open banphi opened this issue 3 years ago • 2 comments

Hi, i'm looking for help. I think there is an error in the unbound configuration but i have not the skills to fix it. Both unbound and pihole are listening to the same port 53 and unbound can't work. I found in pihole guide instructions to modify the unbound port to 5335 (https://docs.pi-hole.net/guides/dns/unbound/) but files and directories aren't the same so i don't know where i can change it. Can anyone help me please? Thank you :)

banphi avatar Sep 03 '21 22:09 banphi

Maybe it's not exactly the same issue as yours, but since a few Pi-Hole versions ago, Unbound would work as before, so I've made the following changes to make it work again:

docker-compose.yml:

    environment:
      PIHOLE_DNS_: 10.2.0.200#5335 # Unbound IP
      PIHOLE_DNS_: 10.2.0.200#5335 # If we don't specify two, it will auto pick google.

I've added the ports directly here, but it would probably work from Pi-Hole web GUI too.

unbound.conf: interface: 0.0.0.0@5335

Same here, adding the port Unbound should be using right in the config. I believe these are the only changes needed to make Pi-Hole and Unbound work as intended.

Jojonintendo avatar Oct 06 '21 07:10 Jojonintendo

Same problem here! Any way to fix it?

El-mou33 avatar Oct 11 '22 18:10 El-mou33