I kept getting timeout errors on 18.04 Bionic Beaver, until I switched to OpenDNS using these commands
sudo rm -f /etc/resolv.conf sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf sudo nano /etc/systemd/resolved.conf # with body nameserver 18.104.22.168
Should I really be doing this OpenDNS configuration with Netplan? I tried the following but it doesn't work.
# Create a netplan file sudo vi /etc/netplan/50-cloud-init.yaml
# Put this in the body nameservers: addresses: [22.214.171.124, 126.96.36.199]
I also tried this syntax in the body to no avail, but maybe it because I'm on wifi and I called out 'ethernet'??? wlo1 is my wifi logical name when I
sudo lshw -C network.
network: ethernet: wlo1: nameservers: addresses: [188.8.131.52, 184.108.40.206]