How to set up smartphones and PCs. Informational portal
  • home
  • news
  • What is dns cache. Reset and update IP and DNS

What is dns cache. Reset and update IP and DNS

Those people who are somehow connected with the development of sites, for sure at least once, but faced the following problem. There is a site that you can easily access from some computers, but not all. For example, you work in an office on some website, but you cannot get to it from home, although everything seems to be in order with the Internet. This happens quite often with young sites or with those sites that move to other servers. I also faced such a problem, its solution turned out to be quite simple, it was just necessary to clear the DNS cache.

Let's figure out what needs to be done point by point. The first thing to do is launch the command line. To do this, press "Start - All Programs - Accessories - Command Line" or press the "Start" button and enter the query in the search bar "command line".

Now, on the command line, write the following: ipconfig / flushdns and press the Enter button.

If you are a lucky person in life, then everything may end there and the cache will be cleared. However, you might get the following error:

"Unable to clear DNS resolution cache." This error can occur because your DNS Client service is not enabled.

Turn on or restart the service. To do this, press the "Start" button and write the word "services" in the search bar.

We are looking for the "DNS-client" service and start or restart it.

Let's see if our problem has been resolved. If not, and the site is still inaccessible, then the cache must be cleared at the provider itself, and this is not an easy task, because you will have to call technical support and ask them to do it. If technical support does not help you and pretends that they do not know anything, then you will only have the last option - this is to register a site that does not open in the hosts file.

Find the file at C: -Windows-System32-drivers-etc.

We click on the file with the right mouse button and select the "Open" item from the drop-down menu.

Open with notepad:

And first enter the ip-address of the site, and then its domain name.

We check if we succeeded. But, in principle, the desired site should now be available.

Watch a video on the topic:

Rate article:

Hey! Today I will show you how very easy it is to clear the cache and dns on a Windows computer. Why clear the cache and dns? An ordinary Internet user who is just starting his journey on the Internet is unlikely to ask such a question. But a more experienced user may find this information useful. In general, it is useful to periodically clear the dns cache on your computer, since a lot of unnecessary information accumulates in the dns cache, which over time can load the computer and even cause some problems. For example, like mine, the other day I could not enter the admin panel of my site, I began to figure it out, eventually cleared the dns cache and everything was resolved.

To clear the dns cache on your computer, press the Win + R key combination on your keyboard (Win is a button with four squares). Then a window will open, enter cmd in the field and click OK. (see screenshot)

Next, you will see a command window, after the computer username, where the cursor will blink, you need to enter the command - ipconfig / flushdns and press Enter. (see screenshot). If you did everything correctly, a message will appear - DNS cache has been cleared successfully.

That's it, you can close the window, you don't need to do anything else, everything is very simple. If this is very difficult for you to understand, then you can clear the dns cache using the free CCleaner program.

Clear DNS cache using the program

Download the free CCleaner program from the Internet, install and run the program on your computer. At the top of the Windows tab, find the System section, tick the DNS cache value in it, then at the bottom right click on the button - Cleanup. Wait for the cleaning to complete, you're done!

Most Internet users access their favorite resources from a home or office computer. Thanks to synchronization, you can start reading at work and continue at home. But have you ever come across the fact that on one computer the site works great, all pages are available and open almost instantly, while on the other you cannot connect to the server at all? If you are reading this article, then you have probably come across.

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 offices in all regions of the country. If there is no reason to believe that your supplier's DNS servers are not working correctly, or the problem resumes when the server address is changed in the settings of the computer's network card or in the router itself, the problem is clearly internal. And it is caused by the incorrect operation of the DNS cache.

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

To explain in very simple terms, CSN is a kind of notebook or database of all available Internet sites. When you enter the name of the site in the address bar of the browser, the computer converts this address into a digital format, consisting of 4 groups of numbers separated by dots. The task of the DNS server is to match a normal alphabetic address with a numeric one as soon as possible. The larger the provider and the better their technical support works, the better and faster the DNS server will function.

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

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

Flushing the DNS cache

Through the command line

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

Depending on the version of Windows, the command line can be accessed as follows:

  • Windows 10. Right-click or press the Win + X key combination, then select the "Command Prompt (Administrator)" line.
  • Windows 8–8.1. Press the Win + R key combination, type cmd and click Enter.
  • Windows 7. Similar to Windows 8, press the Win + R combination, then type cmd in the search box and click the Enter key.

Each command must be used in turn, and its input 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 fix some web resource inaccessibility issues.

By restarting the DNS client

A special Windows service is used to manage the DNS cache. It can be controlled through a special computer control menu. Regardless of the version of the operating system, 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 that, also restart Windows and try to sign in to the site again. Everything should work like a clock.

Conclusion

The problem with access to some web resources due to the incorrectly working DNS cache on your computer can be solved very quickly and easily. If you follow 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 visit some sites, you will need to clear the cache regularly. In the comments, we ask you to write which of the two solutions helped you.

Surely you have encountered a problem when, while working on the Internet and trying to load some pages, a message appeared in front of you stating that the server was not found. Or your browser was telling you that it was unable to display the page. Most of these problems are really related to interruptions in the work of the server, hoster or your provider. However, it often happens that the problem lies in your car. In this case, it is necessary. This is done using the ipconfig / flushdns command.

To perform this procedure, you must call the start menu, then select "Run" and from there call the command line. Please note that your keyboard layout must be in English. When you see the system prompt to the folder with the username, enter the above command and confirm this action with the enter key. After that it will be executed. You will be informed by the system about it.

DNS itself is a system that maps text names to numeric IP addresses. So that you understand what is at stake, imagine how you enter the address of a website into your browser. At this point, the DNS system translates this address from characters to ip, for example, 111.111.111.111.

In order to successfully clear the DNS cache, you must have a service called the DNS client running. It allows a given computer to understand DNS names as addresses by placing them in the cache. If this service is stopped for some reason, the system will not be able to resolve DNS names, and the directory service, which is called Active Directory for domain controllers, will not be located.

So, if this service is prohibited, the computer will not launch any program that is clearly dependent on it. By default, the startup type is set to "auto". The executable file itself is located in the Windows system folder, namely in the System32 directory. You cannot clear the DNS cache when the service is not running. If you try to do this, the system will display a message stating that it cannot clean up.

It follows that in order to clear the DNS cache, you need to start the DNS client. To do this, call the start menu, then go to the settings, where you will need to start the control panel. In its window, find the administration icon, which will contain the services section. When this window opens, you will need to select the DNS client service and start it.

In order to determine the automatic startup type of the DNS client, open the start menu again, in which the services window must be launched using the above method. There you will have to select and start the client's DNS service again. Next, you need to use the right button of your manipulator to go to properties. Find the tab called "General". In it is necessary to select the automatic start type. After that, just confirm this setting with the "Ok" button.

Now you have an idea about DNS. I hope you can do this on your own. If not, then it is better to contact a specialist who will help you in any case.

If you use the services of medium and small providers, you can often witness bugs in their DNS servers. This is due to the curve setting, and problems in the hardware, and the mistakes of the administrators themselves. And users are paying for it, of course. In the best case, instead of the necessary sites, "Server not found" will be displayed; even of a malicious nature. And now you have changed the addresses of DNS servers and ... everything is the same and continues. What to do? You just need to clear the windows client DNS cache.

There are two ways to reset the DNS cache:

Method 1. Command line

Press the "Start" button and write the phrase "Command line". It makes no difference - windows 7 or windows 8, or even windows 10 - in all versions the search will start and its results will contain a shortcut to the command line. Click on it and get a black console window. In it you need to write the command:

ipconfig / flushdns

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

If everything went well, then as a result you should get the inscription "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 your Winsock settings. Sometimes it 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 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 select it and click on the "Restart" link indicated by the arrow in the figure. After restarting, the windows DNS cache will be reset.

set-os.ru

How to clean 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 at work. To some extent, this is true, but what is 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 safely hidden from the user's eyes. So it is, you need to shove a lot of folders to clean the entire cache of a computer running windows 7, XP or another version. But there are also simpler ways.

General concepts

There are at least 4 types of cache:

  • browser;
  • file thumbnails;
  • RAM (random access memory).

In addition, some programs in the course of their work can create their own temporary files. To remove them, it is enough to clear the RAM CACHE.

Before proceeding with the consideration of cleaning methods, it is worth answering the question - what gives the windows itself or the work on the computer the removal of these invisible files? In most cases, the cache, browser for example, is a huge amount of small files that accumulate during the operation of the computer.

We watched the online video and it is already in the cache and will be there until a reboot or manual cleaning. We started the game and it took up most of the RAM. But when you are out of the game, some of it may remain occupied. It's the same with some programs. At the same time, the RAM may not be enough for other tasks. And on the hard disk, temporary files without cleansing begin to take up gigabytes of memory for a long time.

Why put up with this when you can clear the cache quickly and easily?

Ways for the browser

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

See also: How to change fonts on a windows 7 computer

Be careful: you can choose to clear only the cache, or at the same time delete saved passwords, browsing history, settings for sites, and so on.

Internet Explorer refers to this option as “Delete Browsing History”, while Firefox refers to it as “Delete Recent History”.

Method for clearing memory

To unload RAM from unnecessary trash and speed up your computer, first look at: Start - Computer (right-click) - Properties. If your windows is 32-bit, open Start again and start Run.

In a new window, copy the command:

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

and execute. The memory is cleared! For 64-bit windows use this command:

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

Methods for DNS Cache

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

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

Sometimes it is enough to clear the DNS history to open a site that does not want to load.

Methods for thumbnail files

This type of cache allows faster loading of thumbnails of photos or videos. This is especially useful when there are tens or hundreds of files in a folder. So decide if it's worth cleaning them.

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

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 a home or office computer. Thanks to synchronization, you can start reading at work and continue at home. But have you ever come across the fact that on one computer the site works great, all pages are available and open almost instantly, while on the other you cannot connect to the server at all? If you are reading this article, then you have probably come across.

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 offices in all regions of the country. If there is no reason to believe that your supplier's DNS servers are not working correctly, or the problem resumes when the server address is changed in the settings of the computer's network card or in the router itself, the problem is clearly internal. And it is caused by the incorrect operation of the DNS cache.

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

What is DNS and why do I need to clear its cache

To explain in very simple terms, CSN is a kind of notebook or database of all available Internet sites. When you enter the name of the site in the address bar of the browser, the computer converts this address into a digital format, consisting of 4 groups of numbers separated by dots. The task of the DNS server is to match a normal alphabetic address with a numeric one as soon as possible. The larger the provider and the better their technical support works, the better and faster the DNS server will function.

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

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

Flushing the DNS cache

Through the command line

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

Depending on the version of windows, the command line can be accessed as follows:

  • windows 10. Right-click or press the Win + X key combination, then select the "Command line (administrator)" line.
  • windows 8–8.1. Press the Win + R key combination, type cmd and click Enter.
  • windows 7. Similar to windows 8, press the Win + R combination, then type cmd in the search box and click the Enter key.
  • ipconfig / flushdns;

    Clearing DNS cache via command line

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

Each command must be used in turn, and its input 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 fix some web resource inaccessibility issues.

By restarting the DNS client

A special windows service is used to manage the DNS cache. It can be controlled through a special computer control menu. Regardless of the version of the operating system, 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 that, also restart windows and try to sign in to the site again. Everything should work like a clock.


Restarting the DNS client

Conclusion

The problem with access to some web resources due to the incorrectly working DNS cache on your computer can be solved very quickly and easily. If you follow 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 visit some sites, you will need to clear the cache regularly. In the comments, we ask you to write which of the two solutions helped you.

NastroyVse.ru

How to clear cache in windows 7

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

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

How to clear cache memory

Right-click on the desktop "Create" - "Shortcut".

Enter one of the following values ​​in "Specify Object Location".

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 "Finish"

Run 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 windows 7 DNS cache

DNS cache is used to store information about which queries were made by computers to different servers. When there is a secondary call to a particular server, the cache memory raises the record, thus eliminating the need for unnecessary requests. The user should update the DNS when there is a need to update the complete information on the site.

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

Cleaning up sketches

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

In the window that opens, in addition to the necessary, you can select additional cleaning parameters. Then click "OK" and "Delete files".

If desired, this case can be turned off altogether. This is done in the editor of the local group policy of the operating system (Win + R enter the command gpedit.msc and "OK"). Further on the picture and turn it off.

How to clear browser cache

In any web browser, press the keyboard shortcut CTRL + SHIFT + DEL and select the desired one.

And you can also use the CCleaner program.

What methods do you use?

xn - e1agaedegkgsq.xn - p1ai

How to clear windows 7 cache?

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

How to clear DNS cache in windows 7?

The DNS cache stores information about computer requests to various servers. If the cache already contains information about the computer's access to such and such a service, then when the specified resource is accessed again, its download speed can significantly increase. In this case, in some cases, it is necessary to clear the DNS cache if, for example, you have any problems when accessing various resources, which is not related to the cache in browsers.

To do this, you need to run the command line (click "Start" - "All Programs" - "Accessories" - "Command Line") and write ipconfig / flushdns.

How do I clear my computer's RAM cache?

We will now clear the computer's cache. This operation will take us a little longer.

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

A window will appear. In it you need to specify 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 "Finish" button.

An icon appeared on the desktop. In order to clear the cache memory, just double-click on the indicated icon.

How do I clear the thumbnail cache?

Thumbnails are thumbnails of pictures. When you reload the image, the latter loads faster. In some cases, however, sketches can take up a lot of space.

Clearing your 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.

Wait while the system evaluates.

Select "Sketches" and click "Clean up system files".

Top related articles