RFR: 8304885: Reuse stale data to improve DNS resolver resiliency [v6]
Sergey Bylokhov
serb at openjdk.org
Wed May 3 18:05:16 UTC 2023
On Wed, 3 May 2023 13:57:25 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> It is come from the recommendation in the "RFC 8767" see the notion about "cap of 7 days":
>> https://www.rfc-editor.org/rfc/rfc8767
>> Depending on the final implementation I can document this, or delete it in the code.
>
> From what I can see RFC8767 recommends a cap of 7 days for the TTL itself - that is a maximum value for `cachePolicy` rather than `staleCachePolicy`. It seems to say the the stale timer should be configurable with the text: "The suggested value is between 1 and 3 days". Personally, I would drop this part of the change. Such suggestions can be adopted (or not) by end users in my opinion.
Sounds good, I'll update the patch.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13285#discussion_r1184077964
More information about the net-dev
mailing list