This is a little more involved than using Network Manager GUI but ensures your custom DNS servers are hard-coded into the Linux config.
CODE:
network:
version: 2
renderer: NetworkManager
ethernets:
[DEVICE_NAME]:
dhcp4: false
addresses: [IP_ADDRESS/NETMASK]
gateway4: GATEWAY_IP
nameservers:
addresses: [NAMESERVER_1, NAMESERVER_2]
To reset your connection see this guide: • Reset Ethernet or Wi-Fi connection to...
I also have this guide on my website in text form: https://www.ricmedia.com/set-custom-d...
Free DNS Server List:
GOOGLE
Primary IPv4: 8.8.8.8
Secondary IPv4: 8.8.4.4
Preferred IPv6: 2001:4860:4860::8888
Alternate IPv6: 2001:4860:4860::8844
OPENDNS
Primary: 208.67.222.222
Secondary: 208.67.220.220
Preferred IPv6: 2620:0:ccc::2
Alternate IPv6: 2620:0:ccd::2
DNS.WATCH
Primary: 84.200.69.80
Secondary: 84.200.70.40
LEVEL3
Primary: 209.244.0.3
Secondary: 209.244.0.4
NORTON
Primary: 199.85.126.10
Secondary: 199.85.127.10
COMMODO
Primary: 8.26.56.26
Secondary: 8.20.247.20
VERISIGN
Primary: 64.6.64.6
Secondary: 64.6.65.6
MORE SERVERS…
See: https://www.lifewire.com/free-and-pub...
See: http://public-dns.info/
Facebook: / ricmedia.pchelp
Twitter: / ricmediapchelp
YouTube: / ricmediapchelp
Watch video Set custom DNS servers on Ubuntu 20.04 with Netplan, Network Manager & static IP online without registration, duration hours minute second in high quality. This video was added by user Ricmedia 21 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,790 once and liked it like people.