HomeTweaks › Network

Don't cache failed DNS lookups

NetworkSafe riskReversible

Sets MaxNegativeCacheTtl = 0 under Dnscache\Parameters. By default Windows remembers a failed DNS lookup for ~5 minutes (negative caching), so a site/server that JUST came online keeps appearing dead until the cache expires. Setting 0 means failed lookups aren't cached — the next attempt re-queries immediately. Handy for flaky connections, just-provisioned domains, and dev work. Reversible.

How MaxTweaks applies this

MaxTweaks applies this tweak with one click and snapshots your original setting first, so you can revert it cleanly at any time. A System Restore point is offered before batch changes, and every tweak links to its official source.

Get MaxTweaks

Official documentation: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-client-resolution-timeouts

Part of MaxTweaks — 300+ verified, reversible Windows tweaks in one app. Get it →