Where is the DNS cache stored #2280
Answered
by
jedisct1
GeniusBroccoli
asked this question in
Q&A
-
Maybe this is a dumb question, but I did not find a clear explanation among other users comments, but where is the DNS cache stored, how to clear it, and are there any diagnostic commands to get information about the cache? |
Beta Was this translation helpful? Give feedback.
Answered by
jedisct1
Jan 8, 2023
Replies: 1 comment 2 replies
-
DNS records are small and ephemeral, so they are cached in memory. Restarting the proxy will clear it. And when query logging is enabled, you can see for every query whether the response came directly from the cache, or if it required a request to an upstream server. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
GeniusBroccoli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DNS records are small and ephemeral, so they are cached in memory.
Restarting the proxy will clear it.
And when query logging is enabled, you can see for every query whether the response came directly from the cache, or if it required a request to an upstream server.