Monday, February 2, 2009

CleanupInterval Registry Key

This reg key is used for the purpose of cleaning dns server memory by removing timedout and staled records and also dns server updates dirty records if any in the dns memory.
Key Name:  CleanupInterval
Reg Type: REG_DWORD
Default: NoKey (Interval is one hour)
Functionality: Sets interval for dns memory cleanup
Location: "HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters"

By default, if reg key doesn't exist or zero, the dns server will do memory
cleanup/updates once on every hour. If reg key exists and has value
x > 0 seconds,
then
dns server will do clean up for every x seconds.

The following illustrates on how to change the value of this key to some value say 100 secs:

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\dns\parameters" /v CleanupInterval /t reg_dword /d 100 /f

Generally, it's suggested that in low memory environment keep the interval low,
to avoid
exhausting dns server memory. In high memory environment, keep interval higher
than hour, which improves the performance.

Note: This reg key is not available in windows 2000.

0 comments:

Design by infinityskins.blogspot