I have a new Ubuntu 18.04 VM running in VirtualBox on Windows 10. I'm connected to a local network and able to resolve local addresses from Windows. However, my Ubuntu VM can only reach internet addresses.
From the command line, I see my DNS server listed as 127.0.0.53 yet NetworkManager correctly displays the 10.x.x.x address of the DNS server on my local network.
I've fiddled around a bit with various network settings but I'm not sure how to resolve this. Any help is appreciated, thanks!
EDIT1: Interestingly, my DNS servers appear to be correct but my browser and shell commands like nslookup aren't using it by default. When I run nslookup , it works perfectly fine.
EDIT2: I tried the --natdnshostresolver1 command which @Fabby recommended, no luck there.
EDIT3: this is what my resolv.conf file looks like:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run "systemd-resolve --status" to see details about the actual nameservers. nameserver 127.0.0.53