sudo vim /etc/resolv.conf And added these lines (before other nameservers): nameserver 8.8.8.8 nameserver 208.67.222.222 nameserver 4.2.2.2