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

Better solution? #28

Closed
lainisourgod opened this issue Jun 11, 2021 · 1 comment
Closed

Better solution? #28

lainisourgod opened this issue Jun 11, 2021 · 1 comment

Comments

@lainisourgod
Copy link

lainisourgod commented Jun 11, 2021

Hi! Thanks for your great job!

I was able to use this project but for some reason I had very slow dns lookups. ping 8.8.8.8 goes ok (50ms), but git clone github.com/some/repo takes 10 second to just start cloning.

So I looked at other solutions and found this that helped me. Basically it gets DNS server addresses from VPN internet adapter and writes it to /etc/resolv.conf (and restores original dns providers when out of vpn).

Are the vpn wsl problems solved by yours and theirs solutions exact same problems?

If so, yours is monstreously more hard to use. Shouldn't we redirect new users to more lightweight solutions?

@sakai135
Copy link
Owner

If switching DNS servers alone fixes your issue, your network connection in WSL 2 is not truly blocked, and you should use simpler solutions. VPNKit here is more of a last-resort solution that handles all kinds of cases. Docker created it for a reason.

I would add that using wsl-vpnkit does not cause any perceptible performance degradation in my situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants