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:

Jedesmal wenn Sie auf eine Information, sei es nun eine Seite oder eine bestimmte Datei, zugreifen werden bestimmte Daten abgerufen. Diese umfassen die direkte Adresse der jeweiligen Gegenstelle und deren Namen sowie Informationen darüber. Diese Informationen werden in einem bestimmten Teil des Arbeitsspeichers geladen damit Sie blitzschnell wieder zur Verfügung stehen. Allerdings ist dieser Teil relativ klein bemessen und deshalb müssen viele Seiteninformationen neu abgerufen werden was Zeit, Nerven und in vielen Fällen noch Geld kostet. Abhilfe verschafft die Erhöhung des sogenannten DNS Caches in welchem diese Informationen sich befinden.

Empty Windows DNS cache

1. Click on Start > Run and type regedit in the command line and confirm with OK. The program for editing the Windows registry will now open.

2. Navigate through the keys HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Dnscache\Parameters.

as described in the highlighted article.

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

4. A brand new value now appears - name this self-created entry CacheHashTableBucketSize. After you have now double-clicked on it and entered 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 name the newly created value CacheHashTableSize. Double-click on this entry and insert the number 311, which will increase the lines of DNS entries! All prime numbers are allowed, so you can also experiment with higher values, which you can find on this page.

6. You need to 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 this time you select Decimal and 172800, which will keep the cache active for 2 days before it is deleted (manual deletion, for page load problems: Start/Run and type in ipconfig /flushdns).

7. And sighing, you proceed to create a final value of the DWORD brand and enter it as MaxSOACacheEntryTtlLimit. Another click on Decimal and the entry 300 ends the lengthy procedure with a click on OK. And this is what the entire right-hand pane looks like at the end of the tedious fiddling:

Nach einem Neustart ist der Cache weit über die bekannten Windowsgrenzen erhöht worden.

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 - 2025 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu