No Internet inside of WSL

  1. Open Linux flavor (Ubuntu, Debian, etc...) and enter credentials if needed.
  2. Run sudo nano /etc/resolv.conf
  3. Remove the # from beginning of generatedResolvConf
  4. Insert # to beginning of nameserver
  5. Create a new entry with DNS server of choice: nameserver (DNSserver). I used Google: nameserver
  6. Press Ctrl+X to Exit
  7. Press Y to agree to changes
  8. Press Enter to confirm file
  9. You should now be able to utilize the network in WSL