Ping returns unknown host
If your server returns unknow host errors when you try to ping some website, or wget returns unable to resolve host address, it’s most probably that you don’t have a valid DNS settings in /etc/resolv.conf
wget: unable to resolve host address downloads.sourceforge.net ping: unknown host downloads.sourceforge.net
If you’r host didn’t provided their nameservers that you can use – you can use one provided by OpenDNS.net.
All you need to do is edit file /etc/resolv.comf and add their nemeservers into the file:
nameserver 188.8.131.52 nameserver 184.108.40.206
Save the changes and you’re ready to go!
(No need to restart anything)