-
Notifications
You must be signed in to change notification settings - Fork 401
fix(gui-client): don't fail DNS control on nameservers #7972
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
I am a bit hesitant on this "fix" because I'd like to first understand, why the registry key doesn't exist but the adapter is supposedly up? That seems like a state we should never get ourselves into. |
|
I tested this in my VM and regular DNS still works (as expected). Might be worth merging as a hotfix. I also tested with the code commented out and it also works, i.e. on machines where this is failing, not executing it should still give you access to DNS resources (at least in the browser etc). |
|
I also tested this with WSL and it seems to work so I am not even sure why we are setting these nameservers at all? |
To confirm: I tested with the code commented out! So something else must have changed because that would mean #6777 was never an issue? |
Perhaps a recent Windows / WSL update changed the behavior here (or fixed it). I do remember in that issue specifically the patch fixed the issue for the particular customer(s). |
81d259f to
789f1de
Compare
jamilbk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As part of fixing #6777, we added a code path to explicitly set nameservers on the tunnel interface. This was necessary to make DNS resources work under WSL. Exactly this code also seems to be causing issues where this particular registry key is not available on a users machine.
DNS resources outside of WSL will also work without this, therefore we make this part optional to at least have something working on the users machine.
Related: #7962.