Skip navigation

JSI Tip 1964. How do I prevent DNS from caching records from recursive queries?

DNS will cache of copy of the data from a name query until:

1. The Time To Live (TTL) has expired.

2. DNS has been shutdown.

3. The MaxCacheTtl value on the DNS server has expired.

To prevent DNS from caching records from recursive queries, use Regedt32 to navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters

On the Edit menu, Add Value name MaxCacheTtl, as a type REG_DWORD. In the DWORD Editor, set the data value to 0.

You must shutdown and restart the DNS server.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish