News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

windows XP - increasing DNS Cache

Started by ben2ong2, September 26, 2006, 01:01:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ben2ong2

This Registry hack applies to all Windows 2000, XP and 2003 releases.
"When you connect to a web site, your computer is sent DNS -> IP resolver data from your DNS (Domain Naming System) server. This data is stored in a local data cache on your machine so that when you go to a web site more than once, your machine doesn't have to ask for that location every time. Although Windows has a pretty efficient DNS cache, you may want to increase its overall performance by increasing its size. To do this, run Regedit and go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
In the right hand pane create (if not present) or modify (if present) these DWORD [REG_DWORD] values (no quotes): "CacheHashTableBucketSize", "CacheHashTableSize", "MaxCacheEntryTtlLimit", "MaxSOACacheEntryTtlLimit", "NegativeCacheTime", "NetFailureCacheTime" and "NegativeSOACacheTime".
The Decimal values that seem to work well are (consecutively): 40 (default: 10 ; range: 0 - 50), 307 (default: 211 ; range: use ONLY prime numbers except 0!), 43200 (default: 86400 seconds = 24 hours ; range: 0 - 4294967295) and 90 (default: 120 seconds = 2 minutes ; range: 0 - 4294967295), 0 (default: 300 seconds = 5 minutes ; range: 0 - 4294967295), 0 (default: 30 seconds ; range: 0 - 4294967295) and 0 (default: 120 seconds = 2 minutes ; range: 0 - 4294967295).
There are other parameters within this key, but unless you fully understand how the TCP/IP and DNS systems function, you should leave them unchanged."
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login