Apparently, you're supposed to use netplan for that now. I've tried this, but I'm unsure of its success:
1.
Code: Select all
sudo touch /etc/netplan/01-netcfg.yaml
Code: Select all
xed admin:///etc/netplan/01-netcfg.yaml
Code: Select all
network:
ethernets:
enp3s0:
nameservers:
addresses: [8.8.4.4, 8.8.8.8]
Code: Select all
sudo netplan apply