Grokking System Design Fundamentals
Ask Author
Back to course home

0% completed

Vote For New Content
Ricardo Franco
Negative Caching

Ricardo Franco

Nov 23, 2023

Negative caching is the process of caching the non-existence of a DNS record. When a resolver receives a query for a non-existent domain or record, it caches this information as a negative response, preventing repeated queries for the same non-existent resource. This reduces the load on DNS servers and improves overall performance.

How a resolver can prevent a query from arriving on it?

I think the resolver uses negative caching to prevent querying DNS servers for non-existent domains. In this case, the text should be "When a resolver receives a response for a non-existent domain". Am I correct?

0

0

Comments
Comments
Daniel
Daniel 2 years ago

Yeah I think that's correct and a good point. There is no way to stop that query from coming in and no way to know what the query actually is until they get it.

On this page