Linux Web Server Cannot Ping Localhost or Anything on the Internet
My Ubuntu 12.04 Server Was Working Fine a Few Days Ago. I Didn't Change Any Server Configurations, but Today All of a Sudden I Can't Ping Anything. What Could...
My ubuntu 12.04 server was working fine a few days ago. I didn't change any server configurations, but today all of a sudden I can't ping anything. What could be the potential issue here? I can't even ping 127.0.0.1
Below are my ifconfig stats:
What else would one look for in this scenario?
1 Answer
Look's like DNS problem. In your screen show there is output from ping command trying to ping google.com and it says: unknown host as it cannot resolve the domain name google.com to ip in order to ping it. Can you please check the contents of the following file: /etc/resolv.conf. Just type in the console: cat /etc/resolv.conf It should output something like: nameserver X.X.X.X