Windows Tweaks Logo Microsoft PC Help - 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 the 90s. 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 elsewhere, for example for PC-Praxis, Computer Bild and PCWorld in the USA. Microsoft also poached him from us. Now Sandro is back, finally sharing his tweaks here again. For a stress-free digital everyday life. 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 nerves with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

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

Subscribe to our newsletter, receive only our best tutorials & tweaks and exclusive tips for our subscribers. 
Newsletter form
Can be canceled at any time. About 1 - 2 mails per month. The consent includes the 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