How to reset the DNS cache under Windows 7. How to reset the DNS cache under Windows

Hello Dmitry! A few days ago I couldn’t access your site, an error came up that such a page does not exist, but what’s interesting is that after clearing the DNS cache (with the ipconfig /flushdns command) I was still able to log in to you, please tell me, the problem is mine operating system or in something else?

Clearing the DNS cache

Hello friends! Of course, I have no secrets from you and I will tell you everything in detail. I’m sure the information will be useful to you, since this could happen to any other site in similar circumstances.

A week ago, one of my friends asked me to tell me how to create my own website: register Domain name, upload the website engine to the hosting and configure it.

Since the domain name had already been purchased, I started with hosting, began to explain to the person how to upload site files to hosting and how to configure it correctly, I even explained how to change the password on hosting and, for example, changed the password in my real profile, but changed the password very simple and, forgetting about it, began to explain further.

Naturally, a few days later (at night) such a simple password was picked up by the “radishes” (bad people) and they entered the control panel of my site and tried to upload a malicious script into the site files, but did not have time, since the site has its own antivirus, and I received an SMS on my phone (at 1 am) with information about changes to the site engine files. Also, my site is monitored 24/7 by the security service "nazamok.com" and they also sent me an SMS and an email with exact information about where exactly the malicious script is located.

It didn’t even occur to me that someone else had entered the control panel of my hosting site (usually sites are hacked), so I thought that someone had hacked my site and was running it, I quickly replaced the modified files site to normal versions from the backup archive and changed the password in the admin panel, then, just in case, changed the password in the hosting control panel and the scammers flew out of there, but their very last action was a rather strange act, they changed the DNS addresses of my site to others(they were ns1.jino.ru, but they became n1.reg3.ru, why this was done remains a mystery to me, maybe they wanted to steal the site in such a simple way!?).

Transferring or selling a website to another person is a rather difficult and lengthy process, eliminating the possibility of fraud.

I noticed the substitution of DNS addresses only an hour later. Of course, I immediately started the process of returning the old DNS addresses, but for the next 24 hours some users experienced problems accessing the site. Why?

Friends, it’s all about the Domain Name System (DNS), or rather the DNS cache, but we’ll talk about everything in detail.

What is Domain Name System (DNS)?

All computers on the Internet refer to each other using numbers called IP addresses, and the Domain Name System (DNS) converts alphabetic values ​​into numbers. How this happens in reality, for example, type the ipconfig command in the command line and see the IP address of your computer on the Internet, for example the address will be like this: 2.52.232.125,

if you want to access our website from your computer and type in search bar browser - site, then press Enter on the keyboard, then first of all the Domain Name System (DNS) will turn on and convert the letter name of our site website to digital ( IP address) - 81.177.165.83 and your computer with the address2.52.232.125 will connect to the computer where our site is located 81.177.165.83. This was invented, of course, because it is easier for ordinary people to remember the name of the domain “site” than the combination of four numbers in the decimal system 81.177.165.83.

A primitive version of the Domain Name System is located on your phone in the form of “Contacts”, each contact is associated with a person’s name and his phone number. What to do, we remember names easier than phone numbers.

Naturally, when the scammers logged into the control panel of my hosting site and specified other DNS addresses, all users were unable to log into our site and received this error.

And it’s clear why, because there was no website at the specified address.

And now we come to the most important thing. The main question is this, because in control panel hosting management, I returned my site to its previous DNS addresses within one hour, and some users had problems accessing the site for as long as 24 hours. Why?

There are two reasons.

First reason. Your Windows has what is called its own DNS cache. When you visit a new site, Windows remembers it DNS address in its cache, which speeds up the process of subsequent access to it. But Windows, along with positive records, also stores negative records, that is, if you entered our site at a time when it was not accessible due to non-existent DNS addresses specified on the hosting, then in the cache A negative DNS entry appears, and if a few hours later you access the same site, then Windows will take it DNS addresses from your cache and you will not get to this site again (although at this time the site will already be working on new DNS addresses).

Friends, if you cannot get to any site for a long time, just clearDNS cache your operating system, this is very easy to do. Open a command prompt as administrator and enter the command:

ipconfig /flushdns

All, The DNS compiler cache was cleared successfully.

You can also use the TCP/IP network settings reset command netsh winsock reset, it will also reset the Windows DNS cache, but you will need to restart the computer.

The next time you try to log into a previously inaccessible site, Windows will not take it DNS address in its cache, and will contact the DNS servers of your provider (for example Beeline) and request there IP address of the site you are interested in.

The second reason. It may well be that the provider's cache will also contain incorrect DNS addresses, but the cache of any provider is updated every two to three hours (you need to wait this time) or temporarily use it to log into the site.

The provider itself updates its database of DNS addresses by making a request to the Root DNS server (there are several around the world). As I understand it, the information on the root servers is updated globally and if your site exists somewhere on the Internet, even with new DNS addresses, it will be found and information about it will be transmittedYour provider's DNS server and you will definitely get to your site, but this may also take several hours.

Friends, I think this information will help you if your favorite site is suddenly lost on the Internet! At the end of the article, I will remind you that there is a real one on the Internet that stores the most interesting sites (including ours) entirely on its servers.

When encountering errors when connecting to the Internet or a specific site, a Windows computer user may need to perform steps to reset the DNS cache. For example, such actions must be performed if an ERR_NAME_NOT_RESOLVED or other address-related error occurs DNS servers. The DNS cache is written to memory to speed up connections to sites and servers. It represents a certain route from the user’s computer to an IP address on the Internet. And if this address has changed, you may need to forget the laid path, that is, reset the DNS cache. And in this article we will look at how to do this.

Table of contents:

How to Clear DNS Cache on Windows

The easiest and most common way to quickly clear the cache on a Windows computer is to use the Command Prompt.

Please note: The steps below are independent of your Windows version. That is, in a similar way you can clear the DNS cache, both on Windows 10 and Windows 7, and on other versions of the Microsoft operating system.

To clear the DNS cache via the command line, follow these steps:

Please note: If there are any problems with the DNS service, you can restart it, also using the command line. To do this, you need to enter and execute the command net stop dnscache to stop the service, and then net start dnscache to start it again.

If the command line method does not work for some reason, you can also reset the cache in Windows using other tools:


How to clear DNS cache in browsers

Modern browsers also maintain a DNS cache, so clearing it in Windows may not always be enough. If the problem persists after resetting the operating system cache, reset the browser cache.

Please note: Cache storage is not carried out by all browsers, but only by those based on the Chromium platform. For example, the DNS cache does not store Microsoft browser Edge.

To clear the DNS cache in your browser, you need to enter a command in its address bar to go to network settings. Depending on the browser, the address will differ:

  • For Google Chrome: chrome://net-internals/#dns;
  • For Opera: opera://net-internals/#dns;
  • For Yandex browser: browser://net-internals/#dns.

Once in your browser’s network settings, you can see full list addresses that are cached in it. To completely clear the DNS cache, click on the “Clear Host Cache” button.

Important: If, after clearing the cache in Windows and the browser, problems continue to persist, you can also try clearing socket information in the browser. To do this, on the left side open menu With network settings you need to go to the Sockets section and clear them by clicking the “Flush socket pools” button.

For those who are not yet aware, in the Windows operating system there are several types of cache memory, which in some cases need to be cleared. For example, if there are problems with the system. Let's consider several cases.

How to clear DNS cache in Windows 7?

The DNS cache stores information about the computer's requests to various servers. If the cache already contains information about the computer’s access to such and such a service, then when accessing the specified resource again, its loading speed can significantly increase. However, in some cases it is necessary to clear the DNS cache if, for example, you experience some problems when accessing various resources that are not related to the cache in browsers.

To do this you need (click “Start” - “All Programs” - “Accessories” - “ Command line") and write ipconfig /flushdns.

How to clear the computer's RAM cache?

Now we will clear the computer's cache memory. This operation will take us a little longer.

On the desktop, right-click on the mouse and select “Create” - “Shortcut” from the menu.

A window will appear. It must indicate the location of the object. To do this, write one thing in the line depending on the configuration:

Windows 32 bit: %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks

Windows 64 bit: %windir%\SysWOW64\rundll32.exe advapi32.dll,ProcessIdleTasks

And click on the “Done” button.

An icon appeared on the desktop. To clear the cache memory, simply double-click on the indicated icon.

How to clear the thumbnail cache?

Thumbnails are miniatures of pictures. When you re-download an image, the latest one loads faster. In some cases, however, sketches can take up a lot of space.

Clearing the thumbnail cache is easy. Go to “Computer”, right-click on the system drive (usually drive C) and select “Properties”. a window appears. On the General tab, click Disk Cleanup.

Please wait while the system evaluates.

Select “Thumbnails” and click “Clean up system files”.

When problems of a certain nature arise with the operation of the Internet, it is necessary to clear the DNS. Actually, today we will figure out how to clear the DNS cache quickly and on our own.
First of all, this is relevant when the ERR_NAME_NOT_RESOLVED error occurs. In general, this may be necessary when changing DNS server addresses on Windows 10, 8 or Windows 7, because the cache contains correspondence between site addresses in “human format” and their actual IP address on the Internet). For example, like this: IP address - website

Easy way

The simple method of resetting the DNS cache is also standard, but not entirely convenient for the new generation of users. Why? The whole point is that you need to launch the command line and run several commands.
We launch the command line as an administrator (right mouse button, the “Run as Administrator” option will appear). With the right mouse button you need to click on the “Command Prompt” program, which is located in the list of all programs (if you use Start, then search through Start).


  • Type the command ipconfig /flushdns and press Enter.

  • It should display: “The DNS resolver cache was cleared successfully.” If everything went OK.

  • In the case of Windows 7, you can also restart the DNS client service. On the same command line, run (sequentially) the following commands:

net stop dnscache
net start dnscache


That's it, the FNS cache is cleared. It seems that everything went badly, but it is worth considering that browsers have their own database of correspondences, which would not hurt to clean up, because conflicts may arise.

How to Clear DNS Cache in Browser

So, to clear the DNS cache in the browser, you need to insert one of the following commands into the address bar (according to the browser you are using):


  • chrome://net-internals/#dns - for Google Chrome

  • browser://net-internals/#dns - for Yandex Browser

  • opera://net-internals/#dns - for Opera

A special page will open, which is an interface for managing the DNS cache. Here you can view your saved entries and clear them. Just click on the button with your teeth: “Clear host cache”.
If there are problems with connections in a particular browser, then clear the sockets. This can be done in the Sockets section (Flush socket pools button).
If something doesn’t work out, then write about it in the comments, or contact the RuleSmart forum for free help to our specialists.

If you use the services of medium and small providers, you can often witness bugs in the operation of their DNS servers. This may be due to incorrect settings, problems with the hardware, or errors by the administrators themselves. And the users pay for it, of course. In the best case, instead of the necessary sites, it will display “Server not found”; in the worst case, it will start throwing out to all sorts of incomprehensible sites, incl. even harmful in nature. And so you changed the addresses of the DNS servers and... the same thing continues. What to do? You just need to clear the DNS cache windows client.

There are two ways to reset the DNS cache:

Method 1: Command Line

Click the “Start” button and write the phrase “Command Prompt”. It doesn’t matter - Windows 7 or Windows 8, or even Windows 10 - in all versions the search will start and in its results there will be a command line shortcut. Click on it and get a black console window. You need to write the command in it:

ipconfig /flushdns

And press the Enter button. It should look like this:

If everything went well, the result should be the message “Successfully flushed the DNS Resolver Cache”. This means that clearing the DNS cache was successful. You can also run the command to be sure:

netsh winsock reset

This will reset Winsock settings. Sometimes this helps too.

If you have any problems with the command line, or you need to frequently clear the DNS cache, then use this bat file - download.

Method 2: Restart the windows DNS client

Press the Win and R buttons and get the “Run” window:

In it we type: services.msc and click the “OK” button. Thus, we launched the Windows service management system console. Here you need to find the DNS client service:

Click on it with the mouse to highlight it and click on the “Restart” link, indicated by the arrow in the figure. After a restart, the Windows DNS cache will be reset.

set-os.ru

How to clear the cache of a Windows 7 computer

Surely you have often heard the phrase - clear the cache. Allegedly, this will increase the speed of the computer. This is true to some extent, but what is the windows cache and where can I find it? The word itself comes from the English verb cacher, that is, “to hide.”

Therefore, we are talking about files that are securely hidden from the user’s eyes. That’s right, you need to go through a lot of folders to clear the entire cache of a computer running under windows control 7, XP or other version. But there is more simple ways.

General concepts

There are at least 4 types of cache:

In addition, some programs may create their own temporary files during their operation. To remove them, just clear the RAM CACHE.

Before we begin to consider cleaning methods, it is worth answering the question - what benefits does deleting these invisible files give to Windows itself or to the work on the computer? In most cases, the browser cache, for example, is great amount small files that accumulate during computer operation.

We looked at the online video and it is already in the cache and will be there until a reboot or manual clearing. We launched the game and it took up most of the RAM. But when you leave the game, part of it may remain occupied. It's the same with some programs. In this case, the RAM may not be enough for other tasks. And on the hard drive, temporary files without cleaning begin to take up gigabytes of memory for a long time.

Why endure this when you can clear the cache quickly and easily?

Browser methods

In this case, there is no single recipe. Various programs offer their own variations. You can clear temporary files in your browser by going to its settings. In Google Chrome, the necessary item is called “Clear history”.

See also: How to change fonts to windows computer 7

Be careful: you can choose to clear only the CACHE or simultaneously delete saved passwords, browsing history, website settings, and so on.

U Internet Explorer This option is called “Delete browsing history”, and in Firefox it is called “Delete recent history”.

Method for clearing memory

To unload RAM from excess junk and speed up your computer, first look at: Start - Computer (right mouse button) - Properties. If your Windows is 32-bit, open Start again and run the Run program.

Copy the command into a new window:

%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks

and execute. Memory cleared! For 64-bit windows use this command:

%windir%\SysWOW64\rundll32.exe advapi32.dll,ProcessIdleTasks

Methods for DNS cache

We are talking about stored data regarding computer requests to Internet servers. If you want to completely clear this history, follow these simple steps:

  • Open Start.
  • Go to All Programs - Accessories.
  • Launch Command Prompt as Administrator (right-click).
  • In the window, type ipconfig /flushdns and press Enter. Ready!

Sometimes clearing your DNS history is enough to open a site that doesn't want to load.

Methods for thumbnail files

This type CACHE allows thumbnails of photos or videos to be loaded faster. This is especially useful when there are dozens or hundreds of files in a folder. So decide whether to clean them.

  • Open Start.
  • In the search bar, enter “Disk Cleanup.”
  • In the launched program, select required disk and click on the OK button. The application will scan the disk for temporary files.
  • In the list that appears, select “Thumbnails”.

OK and “Delete files”. Ready.

(Visited 44,248 times, 2 visits today)

windowsprofi.ru

Clearing the DNS cache on a Windows computer

Most Internet users access their favorite resources from their home or office computer. Thanks to synchronization, you can start reading at work and continue at home. But have you at least once in your life encountered the fact that on one computer a website works great, all pages are accessible and open almost instantly, while on another you cannot connect to the server at all? If you are reading this article, you have probably encountered it.

Yes, the problem very often occurs due to the fault of the Internet service provider. Especially if it is some kind of local company, and not a federal giant with representative offices in all regions of the country. If there is no reason to believe that your provider’s DNS servers are not working correctly, or the problem recurs when you change the server address in the settings network card computer or in the router itself, the problem is clearly internal. And she was called incorrect work DNS cache.

How to clear DNS cache? How does it function and why are there problems accessing certain sites? We will give answers to these questions in today's material. Please read the instructions carefully if you also encounter a similar situation.

What is DNS and why do you need to clear its cache?

If you explain very in simple words, then the DNS is a kind of notebook or database of all available Internet sites. When you enter the name of a site in the address bar of your browser, the computer converts this address into a digital format consisting of 4 groups of numbers separated by dots. The DNS server's task is to match a regular alphabetic address with a digital one as quickly as possible. The larger the provider and the better it works technical support, the better and faster the DNS server will function.

The closer the DNS is geographically located to your computer, the faster the connection to the desired page will occur. This is why almost any provider recommends using their own server instead of public ones, such as Yandex or Google DNS. To speed up work, the computer caches information about all visited sites and stores it in the system. windows section. This cache is stored both on the operator’s server and on local computer. Therefore, if on different computers the site functions differently, you need to clear the DNS cache on the problem computer.

There are several ways to reset the DNS service cache. Let's take a closer look at each of them.

Clearing the DNS cache

Via command line

It is very simple and at the same time almost the most in a reliable way. To clear the DNS cache on a computer with Windows 10 you need to run the command Windows line as administrator and apply several commands.

Depends on windows versions, you can get to the command line like this:

  • windows 10. Right click or press combination Win keys+ X, then select the line “Command Prompt (Administrator)”.
  • windows 8–8.1. Press the Win + R key combination, type cmd and press Enter.
  • windows 7. Similar to windows 8, press the Win + R combination, then type cmd in the search window and press the Enter key.
  • ipconfig /flushdns;

    Clearing the DNS cache via the command line

  • ipconfig /registerdns;
  • ipconfig /release;
  • ipconfig /renew;
  • netsh winsock reset.

Each command must be used in turn, and its entry must be confirmed with the Enter key. When finished, be sure to restart your computer. Clearing the DNS cache on your Windows 7 PC should resolve problems with some web resources being unavailable.

By restarting the DNS client

To manage the DNS cache, a special windows service. It can be controlled through a special computer control menu. Regardless of the operating system version, you can get into it in one of the following ways:


To clear the cache, you need to find the “DNS Client” service, click on its icon once, and then click the “Restart” button in the left column. After this, also restart Windows and try to log into the site again. Everything should work like clockwork.


Restarting the DNS Client

Conclusion

The problem with accessing some web resources due to an incorrectly working DNS cache on your computer can be solved very simply and quickly. If you use our instructions, you can get rid of difficulties in just a few minutes. If you notice that your computer often does not allow you to access certain sites, you will need to clear the cache regularly. In the comments, we ask you to write which of the two solution options helped you.

NastroyVse.ru

How to clear cache in windows 7

≡ 4 July 2015 · Category: Computer educational program · 35,863 Views

In the operating room Windows system There are several types of cache memory. When it becomes full, it creates problems in the operation of the OS. It becomes especially noticeable during prolonged computer operation.

How to clear cache memory

Right-click on the desktop “Create” - “Shortcut”.

Enter one of the following values ​​in "Specify the location of the object."

32-bit: %windir%\system32\rundll32.exe advapi32.dll, ProcessIdleTasks 64-bit: %windir%\SysWOW64\rundll32.exe advapi32.dll,ProcessIdleTasks

32-bit: %windir%\system32\rundll32.exe advapi32.dll, ProcessIdleTasks

64-bit: %windir%\SysWOW64\rundll32.exe advapi32.dll,ProcessIdleTasks

Enter any name convenient for you and click “Done”

Launch the shortcut whenever you want to free up RAM.

Or another way. Just copy the above values ​​to “Run” (WIN+R) and click “OK”

This will remove unused RAM.

Clear DNS cache windows 7

DNS cache is used to store information about what requests computers made to different servers. When a secondary request occurs to a particular server, the cache memory picks up the entry, thus eliminating the need for unnecessary requests. The user must update DNS when there is a need to update complete information on the site.

Launch the command line (Start -> All Programs -> Command Prompt). Enter the key ipconfig /flushdns.

Clearing thumbnails

This is done using the Disk Cleanup program. Go to “My Computer”, right-click on “Local Disk C”. Select “Properties” from the menu. Open the “General” tab

In the window that opens, in addition to the necessary ones, you can select additional cleaning options. Then click “OK” and “Delete files”.

If you wish, you can turn this off altogether. This is done in the local group policy editor of the operating system (Win + R, enter the command gpedit.msc and “OK”). Next, follow the picture and turn it off.

How to clear your browser cache

In any web browser, press the hotkey combination CTRL+SHIFT+DEL and select the one you need.

You can also use CCleaner.

What methods do you use?

xn--e1agaedegkgsq.xn--p1ai

How to clear windows 7 cache?

For those who don't know yet - in the operating room windows system There are several types of cache memory, which in some cases need to be cleared. For example, if there are problems with the system. Let's consider several cases.

How to clear DNS cache in Windows 7?

The DNS cache stores information about the computer's requests to various servers. If the cache already contains information about the computer’s access to such and such a service, then when accessing the specified resource again, its loading speed can significantly increase. However, in some cases it is necessary to clear the DNS cache if, for example, you experience some problems when accessing various resources that are not related to the cache in browsers.

To do this, you need to launch the command line (click “Start” - “All Programs” - “Accessories” - “Command Prompt”) and write ipconfig /flushdns.

How to clear the computer's RAM cache?

Now we will clear the computer's cache memory. This operation will take us a little longer.

On the desktop, right-click on the mouse and select “Create” - “Shortcut” from the menu.

A window will appear. It must indicate the location of the object. To do this, write one thing in the line depending on the configuration:

windows 32 bit: %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks

windows 64 bit: %windir%\SysWOW64\rundll32.exe advapi32.dll,ProcessIdleTasks

And click on the “Done” button.

An icon appeared on the desktop. To clear the cache memory, simply double-click on the indicated icon.

How to clear the thumbnail cache?

Sketches are miniatures of pictures. When you re-download an image, the latest one loads faster. In some cases, however, sketches can take up a lot of space.

Clearing the thumbnail cache is easy. Go to “Computer”, right-click on the system drive (usually drive C) and select “Properties”. a window appears. On the General tab, click Disk Cleanup.

Please wait while the system evaluates.

Select “Thumbnails” and click “Clean up system files”.

Publications on the topic