etc/rc.d/network restart does not work in ubuntu
/etc/resolv.conf: command not found
Howto clear/Flush DNS Cache in Ubuntu
http://www.ubuntugeek.com/howto-clearflush-dns-cache-in-ubuntu.html
sudo /etc/init.d/nscd restart
* Restarting Name Service Cache Daemon nscd [ OK ]
Restart networking:
/etc/init.d/networking restart
/etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
[fail]
sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... [ OK ]