Ubuntu NetworkManager Change DNS

# connectionName can be obtain using nmcli
nmcli con mod "connectionName" ipv4.dns "8.8.8.8 8.8.4.4"
Adel Mezine