Tag: WSL


  • No Internet access in WSL

    No Internet access in WSL

    Windows might generate a /etc/resolv.conf with an incorrect nameserver while installing Windows Subsystem for Linux (WSL).

    It’s a quick fix – edit /etc/resolv.conf and change the nameserver (Google’s is 8.8.8.8).

    To prevent it being overwritten, create or edit /etc/wsl.conf adding the option generateResolvConf = false.