As I see from you comments and output you are do not understand what is DNS.
The Domain Name System (DNS) is a hierarchical distributed naming
system for computers, services, or any resource connected to the
Internet or a private network. It associates various information with
domain names assigned to each of the participating entities. Most
prominently, it translates easily memorized domain names to the
numerical IP addresses needed for the purpose of locating computer
services and devices worldwide. The Domain Name System is an essential
component of the functionality of the Internet.
Other words if you want ping google.com
, you need some service that will translate google.com
into IP address 173.194.71.139
and then use it. Almost at any time you are querying server by domain name such as google.com
DNS translates it to IP address.
Usually DHCP configure this stuff for you. But in your case it is not, because you configure your network settings manually. And you forget to add dns-nameserver
.
How to add dns-nameserver
Open NetworkManager (press Win, type "NM" and you will see Network Connection). Find your connection name, Edit Connections... | Edit... | IPv4 Settings | Additional DNS servers.
Here you can add your DNS, if you want google type 8.8.8.8, if you know your ISP DNS type it.
If you do not have GUI, read this answer
/etc/resolv.conf
? Any nameservers?ping 8.8.8.8
, andcat /etc/resolv.conf