search

Wednesday, January 16, 2013

Flush DNS cache in Linux / Windows / Mac

DNS (Domain Naming System) is a system of naming web sites that allows your computer to understand addresses for web sites you visit such as:

  • Valdosta State University's address is http://www.valdosta.edu.
  • Microsoft's address is http://www.microsoft.com.
  • Google's address is http://www.google.com.

As you visit web sites, these names get stored on your computer so you can access them faster in the future. However, there are cases in which abad copy of a name will get saved on your computer. When you attempt to visit the web site, you will encounter connection errors.

In relation to accounts and services offered by Valdosta State University, bad copies of stored names can often cause issues when attempting to access Hallnet (the campus wireless network) or BlazeVIEW (the university's online course system). However, you can clear out these stored names using the steps in our guides below. Please bear in mind that the steps will vary based on your operating system.

 

Flush DNS to get a new name resolution. Also flush dns cache when you can’t access a newly registered domain name. You can simply flush your dns cache anytime to get new entry. So, Flush your dns cache now.

       To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000):-

- Start -> Run -> type cmd
- in command prompt, type ipconfig /flushdns
- Done! You Window DNS cache has just been flush.

Windows Vista / Windows 7

Click the Start button on the bottom left corner of your desktop.

In the Search Bar, type cmd and wait for the icon to appear in the window above.

Type cmd in the Start Menu

Right-click the cmd icon.

Then, left-click the Run as administrator button in the pop-up menu that appears.

Run as Administrator

Click the Continue button if a User Account Control window opens.

Click Continue

Type ipconfig/flushdns and press the Enter key on your keyboard.

ipconfig/flushdns

If successful, you should see a message saying Successfully flushed the DNS Resolver Cache.

     

   To flush the DNS cache in Linux, restart the nscd daemon:-

- To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal
- Once you run the command your linux DNS cache will flush.

     To flush the DNS cache in Mac OS X Leopard:-

- type lookupd -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ lookupd -flushcache
- Once you run the command your DNS cache (in Mac OS X) will flush.

       To flush the DNS cache in Mac OS X:-

- type dscacheutil -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ dscacheutil -flushcache
- Once you run the command your DNS cache (in Mac OS X Leopard) will flush.

No comments:

Post a Comment