Flush Your DNS

 

DNS clients and operating systems store DNS results in a cache to speed up subsequent requests to the same hostname. However, cached DNS results can sometimes become stale, which can cause problems when you try to access a website, preventing you from communicating with the host correctly. To fix this, you may need to clear the DNS cache on your computer.

Here are the steps to clear the DNS cache on various operating systems:

 

Windows:

  1. Click on the Start menu and type "cmd" in the search box.
  2. Right-click on "Command Prompt" and select "Run as administrator".
  3. In the Command Prompt, type "ipconfig /flushdns" and hit Enter.
  4. You will see a message confirming that the DNS cache has been cleared.

 

Linux:

  1. Open your terminal window.
  2. Type "/etc/rc.d/init.d/nscd restart" and hit Enter.
  3. You will see a message confirming that the DNS cache has been cleared.

Mac OSX:

  1. Open the Terminal application.
  2. Type "dscacheutil -flushcache" and hit Enter.
  3. You will see a message confirming that the DNS cache has been cleared.

Mac OSX Leopard:

  1. Open the Terminal application.
  2. Type "dscacheutil -flushcache" and hit Enter.
  3. You will see a message confirming that the DNS cache has been cleared.

 

Mac OSX Yosemite:

  1. Open the Terminal application.
  2. To clear the MDNS cache, type "sudo discoveryutil mdnsflushcache" and hit Enter.
  3. Enter your admin password when requested.
  4. To clear the UDNS cache, type "sudo discoveryutil udnsflushcaches" and hit Enter.
  5. Enter your admin password when requested.
  6. You will see a message confirming that the DNS cache has been cleared.

 

By clearing your DNS cache, you can ensure that your computer is using the correct IP address for the domain you're trying to access.

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)