Increase the size of the DNS cache in Vista

A larger DNS cache will mean fewer trips to the nameserver and faster overall performance.

1) Open the Registry Editor.

2) Expand the branches to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters.

3) Add the following four DWORD values by going to Edit ➝ New ➝ DWORD Value.

Then, enter the numeric values specified by doubleclicking and selecting the Decimal option:
• CacheHashTableBucketSize, set to 1
• CacheHashTableSize, set tot 384
• MaxCacheEntryTtlLimit, set to 64000
• MaxSOACacheEntryTtlLimit, set to 301

Remember, these are Decimal values (not Hexadecimal values).

4) Close the Registry Editor when you're done. You’ll have to restart Windows for this change to take effect.





Tags: dword,nameserver,regedit

Related Articles