These errors indicate that there is some problem with DNS.
- check cat
/etc/resolv.conf
for your DNS settings. - And add following name server in
/etc/resolv.conf
for temporary or in/etc/resolvconf/resolv.conf.d/head
for permanent
nameserver 8.8.8.8
nameserver 8.8.4.4
-
To add these two name server address in
resolv.conf
- run command sudo gedit
/etc/resolv.conf
- Copy above two line of nameserver paste on last line of
resolv.conf
- Ctrl+S to save.
- run command sudo gedit
-
Note: If you add name server only
/etc/resolv.conf
then when computer is restarted then/etc/resolv.conf
is in previous stage. So, to store these nameservers permanently, use following method :- run command
sudo gedit /etc/resolvconf/resolv.conf.d/head
- Copy above two lines of nameserver and paste on last line of
/etc/resolvconf/resolv.conf.d/head
- Ctrl+S to save.
- Re-connect internet connection
- run command
More Detail On https://wiki.archlinux.org/index.php/Network_Debugging#DNS_Servers