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