Skip to content
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

Unbound/DNS not working for "only local request" #229

Open
joppez opened this issue Dec 15, 2023 · 1 comment
Open

Unbound/DNS not working for "only local request" #229

joppez opened this issue Dec 15, 2023 · 1 comment

Comments

@joppez
Copy link

joppez commented Dec 15, 2023

Thank you very much for this tool. I'm running the one-container version within Docker.

I have one problem. When I use the dns setting within pihole "Allow only local requests" in stead off "Respond only on interface eth0", I get a DNS-error for every external website I visit. When I choose for the eth0-option, everything works fine.

Does anyone know a reason for this?

@joppez joppez changed the title Unbound/DNS not working only for local clients Unbound/DNS not working for "only local request" Dec 15, 2023
@MaHl111
Copy link
Contributor

MaHl111 commented Dec 27, 2023

That's because Pihole and Unbound are run in docker, which means their "local network" is the virtual network provided by docker. If you use "Allow only local requests" would set Pihole to only forward request from other docker containers found on the same virtual network your Pihole is at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants