I add some a line dns-nameservers 8.8.8.8
in my /etc/network/interfaces
.
I want to reload this config without reboot.
However, when I tried:
sudo service networking restart
I got a Unit networking.service not found
error
sudo /etc/init.d/networking restart
I got /etc/init.d/networking: command not found
How can I fix this? I use Ubuntu Server 18.04.2 LTS