Jun
How to Increase DNS (Domain name Server) Cache??
How to Increase DNS (Domain name Server) Cache??
Windows has an efficient DNS cache. You can increase DNS cache and its overall performance by increasing its size.As you type anything in the broswer in any Operating system it stores all addresses in DNS cache. This cache is referred to before a request is sent out over the Internet when the user requests a web page address. That is when you any website in broswer your computer is sent DNS -> IP resolver data from your DNS (Domain Naming System) server. The data you are entering in the browser is stored in a local data cache on your machine. Your machine does not have to ask for the location every time when you revisit that website again. Addresses will not be deleted untill we delete them.
Well , to increase DNS cache and its overall performance we have to increase its size. this can be done by small navigation in REGEDIT folder.
Open REGEDIT and navigate 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).
It is better to leave the above parameters unchanged unless you understand about TCP/IP and DNS systems function.
Related posts:
June 20th, 2008 at 8:09 pm
[...] How to Increase DNS (Domain name Server) Cache?? [...]