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

Verify before connecting to DNS servers on private IP ranges #1515

Open
soleofthesea opened this issue Apr 22, 2024 · 2 comments
Open

Verify before connecting to DNS servers on private IP ranges #1515

soleofthesea opened this issue Apr 22, 2024 · 2 comments
Labels
suggestion TYPE: idea for new feature or improvements

Comments

@soleofthesea
Copy link

soleofthesea commented Apr 22, 2024

This might be esoteric, but I was wondering if it would be possible to add a feature to the DNS resolver that, if the server IP is a private one (the ones beginning with 172.16.X.X, 10.X.X.X, and 192.168.X.X), it checks whether the machine has an IP assigned in the same range before trying to connect to it?

I'd like my laptop to not be leaking what subnet I'm using in my home when I take it outside. (Yes, I'm aware the danger this posts to network security is next to nil. But it just... feels wrong to not take every precaution. :P)

@soleofthesea soleofthesea added the suggestion TYPE: idea for new feature or improvements label Apr 22, 2024
@Raphty
Copy link
Member

Raphty commented Apr 23, 2024

I understand your request, we would be tackling this different though, and sadly not in the near future. We have plans for Portmaster "Environments" where you can create multiple "setups" that change based the setting.
So you could have a "home" environment and a remote one.

Also, do you actually need your router as DNS? why don't you activate: "Ignore System/Network Servers"

@soleofthesea
Copy link
Author

Well, it would defeat the point of having set up Pi-Hole and Unbound, so yes...

Still though, that environment idea seems a pretty good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion TYPE: idea for new feature or improvements
Projects
None yet
Development

No branches or pull requests

2 participants