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

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

November 25, 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 loaded in a specific part of the working memory so that it is 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.

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:

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