-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
Local pihole-unbound-docker useable as DNS would be nice #434
Comments
Hey @Broeckelmann, that's a nice idea. I got it to work by launching: And then configuring this as a DNS Server within Portmaster: Note: You will need to use a local IP address, but NOT anything in 127/8 as these are ignored by the Portmaster. I will improve on that.
The Portmaster also has a built-in cache, so I'm not sure how much added benefit you would have.
This is why you can add multiple DNS providers to the Portmaster, in case one really goes down, there are more ready to use. Ping us if you get it to work! ;) |
Sorry, was quite busy the last few weeks. Can I somehow look up the dns query log in portmaster? Because I can config pi-hole as a dns option and remove everything else, with either your line I honestly never know with portmaster which dns server is getting used, as in this case it shouldn't work if I can trust the pi-hole query log. |
You can just use Eg.
You might need to directly target the Portmaster, as WSL2 is a VM and VMs are still out of scope for the Portmaster, as in we cannot guarantee anything. Also, if you are in the Beta Release Channel, you can already use the localhost IP in the settings. That should work now. |
Sorry, the beta release just borked portmaster entirely no queries or anything happens anymore even after reverting back to stable, even after I restarted a couple of times just to see whats up. I am going to wait for localhost to be in the stable version and then try again. But it does work in dns:// mode with the docker run command, but that's not secure as you already said. I have to look more into how to set it up securely and more easily, maybe even as a direct option in portmaster later on. |
This is really interesting. I know of no other such problems with the current Beta channel. And at least switching back to Stable channel should have fixed it. Something is going on here.
Not sure how much will change until then. Releases in the Beta channel just stay there for about two weeks to see if there are any big issues and are then released st Stable channel.
I'm not sure I can follow. Can you elaborate what you mean by "dns:// mode"? |
Oh, I would open an issue but without any error log I don't think I can help much. Haven't tried since maybe it's just somehow caused by windows11, as everyone knows it's still a bit buggy.
Hm, okay then something is definitely going on but I'll still wait till then and then try it out again as I don't know if this is somehow caused by win11 and may be "magically" resolved by then. And without any error logs it's just too time consuming for me to find the cause, sorry 😅.
Sorry, I just mean dns://address:port |
For my home-network & Desktop I have now setup a pi-hole with unbound on my rasberry pi and just use And on my Laptop localhost works now so it's For most users just Adguard or one of the other default providers in portmaster seems fine, TLD: Sorry for taking so long 😅. |
What would you like to add or change?:
Would be nice if it would be possible to use pihole-unbound-docker locally in portmaster. I tried around a bunch and I just can't get it to work. (may be related to issue #166)
(Edit: I am using Windows btw, with WSL backend for docker)
Why do you and others need this?:
To make it possible to rely on a locally hosted dns server, which is much faster after having built up the cache a bit.
And also no more reliance on some DNS provider.
The text was updated successfully, but these errors were encountered: