Connected: An Internet Encyclopedia
7.4. Using the cache

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1035
Up: 7. RESOLVER IMPLEMENTATION
Prev: 7.3. Processing responses
Next: 8. MAIL SUPPORT

7.4. Using the cache

7.4. Using the cache

In general, we expect a resolver to cache all data which it receives in responses since it may be useful in answering future client requests. However, there are several types of data which should not be cached:

In a similar vein, when a resolver has a set of RRs for some name in a response, and wants to cache the RRs, it should check its cache for already existing RRs. Depending on the circumstances, either the data in the response or the cache is preferred, but the two should never be combined. If the data in the response is from authoritative data in the answer section, it is always preferred.


Next: 8. MAIL SUPPORT

Connected: An Internet Encyclopedia
7.4. Using the cache