Ubuntu 18.04 cannot ping or nslookup outside the LAN.
When I do
nslookup www.google.comit hangs for a while and returns
;; connection timed out; no servers could be reachedI cannot ping www.google.com but I can ping 10.100.10.1, my gateway. The server is using netplan. When I do a
netplan apply, I don't get errors. Here is my netplan config file.
network: version: 2 ethernets: ens160: dhcp4: no dhcp6: no addresses: [10.100.10.26/24] gateway4: 10.100.10.1 nameservers: addresses: [22.214.171.124, 126.96.36.199]
Here is my resolv.conf:
nameserver 188.8.131.52 nameserver 184.108.40.206
I can't install apps because it cannot resolve DNS.
This is an image from a ESXI implementation. Other images in the network respond to all network requests except this linux client.