-
Notifications
You must be signed in to change notification settings - Fork 822
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
/etc/resolv.conf always automatically made, and ignores /etc/wsl.conf #5527
Comments
I suspect your /etc/reslv.conf is a symlink into /run, which is tmpfs and re-created at boot. |
Ref #4285 (the de-facto hangout). |
Thanks for the reply, you are correct @benhillis I deleted the symlink, made a new |
The Fix: reading this post, I see a simple |
In
/etc/resolv.conf
it says:Environment
Steps to reproduce
/etc/wsl.conf
didnt exist for me, so create it and add the following text to it:/etc/wsl.conf
and edit the auto generated nameserver which fails to resolve, change it to something like8.8.8.8
./etc/wsl.conf
has reverted soon back to something like172.30.16.1
which cant resolve github.com or PPA's etc.Expected behavior
Not to change the nameserver as per the instructions.
Actual behavior
Windows is changing the nameserver to something that doesnt work. The fix to the fix is not working.
The text was updated successfully, but these errors were encountered: