Disable Windows DNS Cache for Unresolved Names

Windows XP by default caches DNS lookups. To disable this caching behaviour, add 3 DWORD values to the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters

  • NegativeCacheTime = 0
  • NetFailureCacheTime = 0
  • NegativeSOACacheTime = 0

References: http://www.modemsite.com/56K/backbone2n2.asp

Leave a Reply