How to clear the DNS cache on your computer

In this Knowledgebase we will describes how to clear the DNS cache on your computer.

Many computer operating systems use caching to store DNS lookup results. Normally this is not a problem and accelerates network performance. However, when you are developing a website or configuring domain settings, your computer's DNS cache can get in the way, preventing you from accessing the correct site.

To clear the DNS cache, follow the appropriate procedure below for your computer's operating system or web browser.

Windows Operating Systems

To clear the DNS cache on Microsoft Windows, follow these steps:

1) Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.

2) At the command prompt, type the following command and then press Enter:

ipconfig/flushdns

3) The DNS cache is now clear.

Mac OS X Operating Systems

To clear the DNS cache on Apple Mac OS X, follow these steps:
 
1) Open a terminal window. To do this, click Applications, click Utilities, and then click Terminal.
 
2) At the command prompt, type the appropriate command for your Mac OS X version to clear the cache:
 
- For OS X Yosemite v10.10.4 or later, type the following command: sudo killall -HUP mDNSResponder
sudo killall -HUP mDNSResponder
- For OS X Yosemite v10.10 through v10.10.3, type the following command:
sudo discoveryutil mdnsflushcache
- For OS X Mavericks, Mountain Lion, and Lion, type the following command:
sudo killall -HUP mDNSResponder

- For Mac OS X Snow Leopard, type the following command:

sudo dscacheutil -flushcache

The DNS cache is now clear.

Linux Operating Systems

Many Linux distributions do not use DNS caching at the operating system level. Instead, applications (such as web browsers) maintain their own internal caches. To clear an application's DNS cache, often all you need to do is restart the application. If your Linux computer does use a DNS caching service, however, consult its documentation for instructions about how to clear the cache.
 
  • How to clear the DNS cache on your computer, clear the dns cache, dns cache, how to clear the dns cache, How to clear the DNS cache on windows, How to clear the DNS cache on linux, How to clear the DNS cache on Mac os
  • 273 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Commonly used WebHosting Port numbers

Commonly used WebHosting Port numbers   Web:HTTP (WWW-WebServer): 80SSL: 443FTP: 21SFTP:...