On Tue, Apr 21, 2026 at 4:08 PM John Kristoff <jtk=
[email protected]> wrote:

> On Tue, 21 Apr 2026 15:41:04 -0400
> Shumon Huque <[email protected]> wrote:
>
> > Unless I've missed it, this does not seem to be clearly addressed
> > today anywhere in the DNS specs.
>
> In addition to the quoted bits IETF RFCs 1034 and 1035 I put in my last
> message, IETF RFC 4035 has this:
>
>   4.7 Caching BAD Data
>
>     While many validation errors will be transient, some are likely to
>     be more persistent, such as those caused by administrative error
>     (failure to re-sign a zone, clock skew, and so forth).  Since
>     requerying will not help in these cases, validating resolvers might
>     generate a significant amount of unnecessary DNS traffic as a result
>     of repeated queries for RRsets with persistent validation failures.
>
>     To prevent such unnecessary DNS traffic, security-aware resolvers MAY
>     cache data with invalid signatures, with some restrictions.
>
> It is not clear to me from this if data should be considered bad after a
> single response or if it is OK for a resolver to retry other name
> servers to be sure. I could imagine someone interpreting it either way.
>

Indeed.

I just skimmed RFC 4035, Section 5.5 just now too (which Ben Schwartz
pointed to earlier), and it suffers from similar ambiguity:

5.5.  Resolver Behavior When Signatures Do Not Validate

   If for whatever reason none of the RRSIGs can be validated, the
   response SHOULD be considered BAD.  If the validation was being done
   to service a recursive query, the name server MUST return RCODE 2 to
   the originating client.

Does that mean none of the RRSIGs from the response from a single name
server that it tried, or after it tried cycling through all the
nameservers? Hopefully, not the former as that would be a resolver easy to
inflict a denial of service on.

> Hopefully these bits are useful leads as to what specifically may need
> clarification in your proposal.

Thanks. I'm contemplating expanding the text I already have (or splitting
it out into a separate doc) and referencing some of the existing
ambiguities mentioned on this thread.

Shumon.
_______________________________________________
DNSOP mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to