How To Clear Dns Cache

Table of contents:

How To Clear Dns Cache
How To Clear Dns Cache

Video: How To Clear Dns Cache

Video: How To Clear Dns Cache
Video: How to Clear DNS Cache 2024, May
Anonim

DNS (Domain Name System) is a system that maps numeric IP addresses to plain text names. To put it simply, the system translates the site address you typed into a numerical value that a computer can understand. That is why, due to the overflow of the cache, you may have problems accessing sites. And if the problem isn't with your ISP, clearing the DNS cache might fix it.

How to clear the DNS cache
How to clear the DNS cache

Instructions

Step 1

You can clear the DNS cache through the Windows command line. To do this, click "Start", then the line "Run", type the command cmd there and press "Enter" (enter). A window with a black background will open, in which after a line starting as C: Documents and Settings, etc. you need to enter ipconfig / flushdns and press "Enter" again. If you did everything correctly, then you should see a record that the DNS resolver cache was flushed successfully.

Step 2

However, this may not happen. If an entry appears in the window: "Unable to flush the DNS Resolver cache: function failed during execution", or the same in English: "Could not flush the DNS Resolver cache: function failed during execution", then you have disabled the DNS service. client. It is she who is engaged in cleaning.

It turns on through the same line "Run", which is in the "Start" menu. Type services.msc there and hit enter. In the window, select the DNS client service from the list and click on the "Start service" button.

Step 3

In addition to cleaning the system DNS cache (that is, yours), you may also need to clear the provider's cache. This is necessary if you cannot get to your personal site. This happens especially often after moving from one hosting to another. Ideally, a call to technical support should solve this problem, but you can do without it.

Open notepad (not paper, but notepad in Start) and press ctrl + O. Do the following path: C: WindowsSystem32drivers and open the hosts file (to do this, type the word hosts in the "Filename" line). In the last line, enter the ip of the server and the domain name of the site, save the document and restart your computer.

Recommended: