Ubuntu 20 reset network settings code example
Example: how to reset network on ubuntu 20.04
#**Flush dns
sudo /etc/init.d/networking restart
#**Or
sudo /etc/init.d/nscd restart
#**Reset IP
sudo service network-manager restart
#**Flush dns
sudo /etc/init.d/networking restart
#**Or
sudo /etc/init.d/nscd restart
#**Reset IP
sudo service network-manager restart