On Thu, 24 Apr 2025 at 20:30, Stephane Bortzmeyer <bortzmeyer@xxxxxx> wrote:
On Thu, Apr 24, 2025 at 04:41:20PM +0200,
Petr Špaček <pspacek@xxxxxxx> wrote
a message of 53 lines which said:
> > Servers which don't support this specification might use plain
> > text in the EXTRA-TEXT field. Requestors SHOULD properly handle
> > both plaintext and JSON text in the EXTRA-TEXT field. The
> > requestor verifies that the field contains valid JSON.
>
> There is no indication in the response if an answer contains
> structured EDE or not. The client has to guess!
The way I read the draft, the algorithm is:
* parse as JSON. If it fails, treat as unstructured text,
* check the mandatory fields. If they are absent, treat as
unstructured text,
* otherwise, use it as structured error.
Yes, it is discussed in step 1 of https://www.ietf.org/archive/id/draft-ietf-dnsop-structured-dns-error-14.html#section-5.3.
-Tiru
-- last-call mailing list -- last-call@xxxxxxxx To unsubscribe send an email to last-call-leave@xxxxxxxx