
Open the Terminal and run one of these commands to edit the nsswitch.conf file:
sudo gedit /etc/nsswitch.conf
or
sudo nano /etc/nsswitch.conf
Locate this line:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
And add just below it this line:
hosts: files dns
Save now the file and close it.

You will now see an improvement in your Internet connection speed, but don't expect a major improvement. Good Luck!