# How do I clear my local DNS cache?

Canonical: https://www.namesilo.com/questions/dns-and-email/how-do-i-clear-my-local-dns-cache

Published: 2026-11-17

Last updated: 2026-11-19

Topic: DNS & email

Identify which cache is stale before using a local cache-clearing command. RFC 1034 describes resolver caching with TTL; clearing one device does not change an authoritative zone or flush an unrelated recursive resolver. Compare the published answer with the answer used by the affected application, then target the cache responsible for the difference.

Diagnose before flushing

Use the current support instructions for the actual operating system or browser rather than copying a command for another platform. A browser using DNS over HTTPS may query a resolver separately from other applications. RFC 8484 defines that HTTPS DNS transport; include the browser’s resolver configuration in the diagnosis.

Your next steps

Record authoritative and affected-client answers

Identify the application and resolver in use

Use that product’s documented cache-clearing procedure

Repeat the same query without unrelated DNS edits

Diagnose before flushing

Use the current support instructions for the actual operating system or browser rather than copying a command for another platform. A browser using DNS over HTTPS may query a resolver separately from other applications. RFC 8484 defines that HTTPS DNS transport; include the browser’s resolver configuration in the diagnosis.

Verified detail: Resolver caching and TTL.

Your next step: Repeat the same query without unrelated DNS edits.

## Sources

- [IETF RFC 1034 §5.3](https://www.rfc-editor.org/rfc/rfc1034.txt#section-5.3)

- [IETF RFC 8484 §3](https://www.rfc-editor.org/rfc/rfc8484.txt#section-3)
