From 54a0792c5c53636f5edddaf9cc7365e0d01f1f10 Mon Sep 17 00:00:00 2001 From: ID Bot Date: Fri, 8 Nov 2024 16:31:49 +0000 Subject: [PATCH] Script updating gh-pages from b250008. [ci skip] --- name-comp-packed/draft-lenders-dns-cbor.html | 2 ++ name-comp-packed/draft-lenders-dns-cbor.txt | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/name-comp-packed/draft-lenders-dns-cbor.html b/name-comp-packed/draft-lenders-dns-cbor.html index a8cc086..53ad4fc 100644 --- a/name-comp-packed/draft-lenders-dns-cbor.html +++ b/name-comp-packed/draft-lenders-dns-cbor.html @@ -1464,6 +1464,8 @@

compression similar to that described in Section 4.1.4 of [RFC1035] but instead of using the byte index as reference within the message, text strings are counted, starting at 0, depth-first within the message and that number is used as index for the reference. +Since names are the only text strings, the end of a name can be identified when the decoder cursor +does not point to a text string or reference to another text string anymore. For the reference itself, either simple values or tag 6 are used (see Section 2.2 of [I-D.ietf-cbor-packed]).ΒΆ

diff --git a/name-comp-packed/draft-lenders-dns-cbor.txt b/name-comp-packed/draft-lenders-dns-cbor.txt index 4920dca..0f697d2 100644 --- a/name-comp-packed/draft-lenders-dns-cbor.txt +++ b/name-comp-packed/draft-lenders-dns-cbor.txt @@ -284,8 +284,11 @@ Internet-Draft dns+cbor November 2024 index as reference within the message, text strings are counted, starting at 0, depth-first within the message and that number is used - as index for the reference. For the reference itself, either simple - values or tag 6 are used (see Section 2.2 of [I-D.ietf-cbor-packed]). + as index for the reference. Since names are the only text strings, + the end of a name can be identified when the decoder cursor does not + point to a text string or reference to another text string anymore. + For the reference itself, either simple values or tag 6 are used (see + Section 2.2 of [I-D.ietf-cbor-packed]). domain-name = ( *label ) label = tstr @@ -326,9 +329,6 @@ Internet-Draft dns+cbor November 2024 4. An optional record class (as unsigned integer), and lastly - 5. A record data entry (as byte string, domain name, or array for - dedicated record data representation). - @@ -338,6 +338,9 @@ Lenders, et al. Expires 12 May 2025 [Page 6] Internet-Draft dns+cbor November 2024 + 5. A record data entry (as byte string, domain name, or array for + dedicated record data representation). + If the first item of the resource record is a text string, it is the first label of a domain name (see Section 3.1). If the name is elided, the name is derived from the question section of the message. @@ -386,9 +389,6 @@ Internet-Draft dns+cbor November 2024 - - - Lenders, et al. Expires 12 May 2025 [Page 7] Internet-Draft dns+cbor November 2024