So this was totally a WSL issue. It turns out that I couldn’t even do an apt-get since it couldn’t connect out. Restarting didn’t seem to do anything.
The fix for me, taken from the discussion in a bug report (https://github.com/microsoft/WSL/issues/4285), was to simply remove /etc/resolv.conf (in Ubuntu terminal: “sudo rm /etc/resolve.conf”) then shutdown the ubuntu server (in cmd: “wsl -t Ubuntu”). For good measure I restarted the workstation.
It regenerates the resolv.conf file on startup and we’re off to the races.
Thanks for the help!
Ah, interesting. I cannot. I changed the DNS in Windows, which I would think would also take effect in WSL, but I’m not positive on that. Good thinking!