Is there a way to know if the internal cache was used? #191
Answered
by
MichaCo
ryanm1-digital
asked this question in
Q&A
-
When UseCache is set (Default = True), is there a way to know if the DNSQueryResponse comes from the cache or a lookup has taken place? Thanks, Ryan. https://dnsclient.michaco.net/docs/DnsClient.DnsQueryOptions.html |
Beta Was this translation helpful? Give feedback.
Answered by
MichaCo
May 11, 2023
Replies: 1 comment
-
The response currently does not have an indicator if the result was cached or not, no. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ryanm1-digital
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The response currently does not have an indicator if the result was cached or not, no.
There will be a line item in the audit trail "log" though; and, if you attach a logger you should also get a debug log message.