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

Keep forced DNS on Windows #1249

Open
alejandroed opened this issue Aug 25, 2020 · 9 comments
Open

Keep forced DNS on Windows #1249

alejandroed opened this issue Aug 25, 2020 · 9 comments
Labels
Central & Network Management ZeroTier Central & networking management Type: Bug Bug to be resolved Windows Windows-related issue

Comments

@alejandroed
Copy link

Every time you forcibly establish a DNS server in windows, the Zerotier client deletes it when you enter and exit the network causing all clients to lose internal name resolution. It would be great if entering and leaving the network did not replace the existing DNS configuration.

Maybe it can be forced in the peer configuration on my.zerotier.com...

@unquietwiki unquietwiki added Type: Bug Bug to be resolved Central & Network Management ZeroTier Central & networking management Windows Windows-related issue labels Aug 25, 2020
@laduke
Copy link
Contributor

laduke commented Aug 25, 2020

What do you mean by "establish a DNS server in Windows"? Please provide steps to reproduce.

@alejandroed
Copy link
Author

alejandroed commented Aug 25, 2020 via email

@laduke
Copy link
Contributor

laduke commented Aug 25, 2020

Thanks! The images didn't work.

@alejandroed
Copy link
Author

Re-uploaded

@laduke
Copy link
Contributor

laduke commented Aug 25, 2020

I see. The Windows client deletes the adapter when it leaves a network, so all that config gets lost. See #659 for more info.

For now, maybe we can find a work-around. Don't leave the network? Uncheck Allow Managed to just remove the address?

@alejandroed
Copy link
Author

alejandroed commented Aug 25, 2020 via email

@laduke
Copy link
Contributor

laduke commented Aug 25, 2020

We're working on making the DNS automatic!

@glimberg
Copy link
Contributor

glimberg commented Oct 13, 2020

1.5.0 (1.6.0 Beta) is now available here: https://download.zerotier.com/PRERELEASES/1.5.0/dist/
Release notes here: fe1ce88

This allows you to configure a DNS server for a specific search domain (eg. mycompany.local) on macOS and Windows endpoints joined to the network. Unfortunately there's no "standard" way of doing this on Linux yet, so those will be up to the administrator to implement. Data can be retrieved from zerotier-cli listnetworks -j.

You can set enable DNS settings in central by going to https://my.zerotier.com/network/$NETWORK_ID?dns=1. (Note the query arg). You'll also have to enable DNS configuration on the nodes you wish to configure via zerotier-cli set $NETWORK_ID allowDNS 1 because we don't want to open up ZeroTier clients to DNS hijacking just by joining a network. It is an explicit choice by the user/administrator of the machine running ZeroTier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central & Network Management ZeroTier Central & networking management Type: Bug Bug to be resolved Windows Windows-related issue
Projects
None yet
Development

No branches or pull requests

4 participants