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

Option to only override DNS servers when in cellular data/whitelist WiFi? #72

Closed
parasiteoflife opened this issue Dec 9, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@parasiteoflife
Copy link

parasiteoflife commented Dec 9, 2023

I'll try to explain the better I can my scenario.

In my country ISPs only give static public IPs to enterprise/business, and NAT'd IPs to residential users so in order for me to access any of my self-hosted services I have to rely on Zerotier.

Currently I'm hosting pi-hole and adguard, in order for me to always use them as my DNS I have to enable Zerotier DNS override options, this is great when I'm not at home or using cellular data, but it's not so great when I'm actually at home on my own WiFi because ZT will still route the DNS through the ZT's IPs when I can use my local network to access them. In order to avoid this is that I'm requesting this feature.

  • Option to disable DNS override/custom DNS when we are connected on WiFi
  • Option to whitelist WiFi SSIDs in which DNS override wont be used <---- this is the ideal because connected to WiFi != being in the local network

Thanks for reading.

@kaaass
Copy link
Owner

kaaass commented Dec 11, 2023

Thanks for your detailed description!

I still do not quite understand the problem you met. When you are at home and connect to your own WiFi, the ZT should be able to connect to your device through its local IP address without further configuration. Thus, connecting to your device whether through ZT's IP or local network IP should work almost the same.

BTW, since we plan to support some automation tools (e.g., Tasker #9), would this feature solve your problem? For example, you might want to create two ZT networks, one with DNS config and the other not. When you connect to a certain WiFi, you can configure the Tasker app to send an Intent to enable the network without DNS config.

@kaaass kaaass added the enhancement New feature or request label Dec 16, 2023
@kaaass
Copy link
Owner

kaaass commented Feb 8, 2024

The issue will be closed since there's no further conversation for a while. Feel free to leave comments if this feature is still wanted.

@kaaass kaaass closed this as completed Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants