Windows Tweaks Logo Microsoft PC-Hilfe - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Windows XP - Increase the DNS cache to speed up the Internet connection

November 26, 2013
Updated: December 6, 2021
Quick overview:

Every time you access information, be it a page or a specific file, certain data is retrieved. This includes the direct address of the respective remote site and its name as well as information about it. This information is stored in a specific part of the Working memory so that they are available again at lightning speed. However, this part is relatively small and therefore a lot of page information has to be retrieved again, which costs time, nerves and, in many cases, money. This can be remedied by increasing the so-called DNS cache in which this information is stored.

Empty Windows DNS cache

1. Click in succession on Start > Execute and type in the command line regedit and confirm with OK. Now the program for editing the Windows registration on.

2. Navigate through the keys one after the other as described in the highlighted article HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Dnscache\Parameters.

3. Now right-click in the right-hand pane and select New > DWORD Value.

4. A brand new value now appears - you name this self-created entry CacheHashTableBucketSize. Now that you have double-clicked on it and set the value 50 (decimal must be activated, as with all subsequent values), the columns in the DNS info table are expanded. You can now continue directly with the next step.

5. Repeat step 3 and this time state the newly created value CacheHashTableSize. Double-click on this entry and add the number 311 which increase the lines of DNS entries! All prime numbers are permitted, which is why you can also experiment with higher values that you enter on this page find.

6. You must create a new DWORD value for the penultimate time. This time it is called MaxCacheEntryTtlLimit. The obligatory double-click opens the equally familiar dialog window in which you can this time Decimal mark and 172800 which keeps the cache active for 2 days before it is deleted (manual deletion, in case of page load problems: Start/Execute and ipconfig /flushdns type in).

7. And sighing, you set about creating a final value of the DWORD brand and save it as a MaxSOACacheEntryTtlLimit to be entered. Click again on Decimal and the entry 300 end the lengthy procedure by clicking OK. And this is what the entire right-hand pane looks like at the end of the tedious fiddling:

After a restart, the cache has been increased far beyond the known Windows limits.

NOTE FOR NEW PUBLICATION: This article was produced by Sandro Villinger and comes from the Windows Tweaks archive, which has been built up since the late 1990s.

Founded Windows Tweaks as a teenager in 2001, his helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. You can reach Sandro via e-mail.

Leave a Reply

Your email address will not be published. Required fields are marked *

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows & software?

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2026 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu