fatal: unable to access Could not resolve host wsl

Shell
#on WSL:
sudo rm /etc/resolv.conf
#restart WSL
Source

Also in Shell: