How to Disable Negative DNS Caching (NAK) on Windows DNS Clients

Updated on September 16, 2016
1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5.00 out of 5)
Loading...

If Windows DNS client gets a negative response from its DNS server, then the client caches this NAK responses for 15 minutes (negative responses) by default. You can use the Ipconfig tool to view and to flush the DNS resolver cache. After you flush the cache, the computer must query DNS servers again for records. To delete the entries in the DNS resolver cache, type ipconfig /flushdns at a command prompt.

Sometimes you need to disable negative caching especially if you use unreliable Service Provider DNS Servers.

Warning: Edit the Registry at your own risk.

Steps to Disable Negative DNS Caching

  1. Start Registry Editor (Regedit.exe).
  2. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDnscacheParameters
  3. On the Edit menu, point to New , click DWORD (32-bit) Value, and then add the following registry value:
    Value: MaxNegativeCacheTtl
    Data: 0 (REG_DWORD)
Related Article  How to Uninstall Windows Internal Database

Disable Negative DNS Caching Disable Negative DNS Caching