Skip to content

question about interaction between record refresh and cache flush bit #203

@keepsimple1

Description

@keepsimple1

In a recent PR #201, we started to support CACHE_FLUSH bit in a RR (resource record). I'm wondering what should happen if the RR received is a response to RR refresh.

In RFC 6762 section 5.2, it says:

The querier should plan to issue a query at 80% of the record
   lifetime, and then if no answer is received, at 85%, 90%, and 95%.
   If an answer is received, then the remaining TTL is reset to the
   value given in the answer, and this process repeats for as long as
   the Multicast DNS querier has an ongoing interest in the record.

It seems to me that it suggests that when an answer received, the existing record should be updated with TTL reset to the new value.

However, suppose rrdata is the same, what if the answer has CACHE_FLUSH bit set? Should we expire the existing record as required by CACHE_FLUSH, or update the existing record?

(I also have a similar question about interaction between record refresh and know-answer suppression, but that's a different issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions