- Resolve "connection timed out" errors when accessing certain websites
- Avoid using online proxies to open certain websites
- Prevent unauthorized users from seeing websites you visited through your DNS cache
- Get rid of wrong IP addresses in your cache, etc.
Method 1
Install first the nscd daemon with this command from the terminal:
sudo apt-get install nscd
Then clear your DNS data with this command:
sudo /etc/init.d/nscd restart
Method 2
You can also try to flush DNS cache with this command:
sudo /etc/init.d/networking restart
Method 3
Try also this command:
sudo /etc/init.d/dns-clean start
Good luck!