-
Notifications
You must be signed in to change notification settings - Fork 847
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 empty when "Obtain DNS server address automatically" is enabled. #35
Comments
(I posted a longer version of this in issue #5. I hope the repetition isn't considered abusive, but I thought a summary here might be useful to someone.) This problem is compounded by the fact that common DNS tools that you might use in diagnosing this, like In fact, all the BIND DNS tools that are installed by default don't currently seem to function here, but the equivalent Knot DNS tools do, and you can install them once you have working DNS, using |
I finally got apt-get to work with the above steps. However i needed to change 'etc/resolv.conf` to
Thanks for the help! |
Assuming you are behind a router that serves as a DNS proxy, you can also add the router's IPv4 IP address, usually 192.168.0.1 or 192.168.1.1. Do an |
@mjansen1028
This is another issue, please open it separately. Thanks 😄 |
@DenzoNL, are you still getting this error on 14334? We did a lot of work in this build to make the resolv.conf more reliable. |
@russalex Did a fresh install on 14334 using |
When I installed the update, I noticed apt-get and other applications reaching anything outside of the local network, didn't work. After some fiddling around, I changed my DNS settings to use the Google DNS, and after a reboot it worked. After reproducing the bug, I noticed that the internet connection broke due to an empty
resolv.conf
Steps to reproduce
Obtain DNS server address automatically
is enabled.lxrun.exe /uninstall /full
andlxrun.exe /install
Temporary Fix
As I want to keep using the DNS servers provided by DHCP for Windows, I simply added the following lines to
/etc/resolv.conf
, so that only LXSS uses the Google DNS.I believe this is the cause of most networking issues most people are currently experiencing with LXSS, so it would be nice to get this fixed asap.
The text was updated successfully, but these errors were encountered: