Skip to content

Commit

Permalink
Point out extension points in prose
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Nov 7, 2024
1 parent c051e01 commit 00568ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions draft-lenders-dns-cbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ The record data of RRs with `record-type` = 64 (SVCB) and `record-type` = 65 (HT
- An optional TargetName as a domain name (see {{sec:domain-names}}), and
- SvcParams as an array of alternating pairs of SvcParamKey (as unsigned integer) and SvcParamValue
(as byte string).
The type of SvcParamValue may be extended in future specifications.

If the SvcPriority is present can be determined by checking if the record data array starts with an unsigned integer or not.
If the array does not start with an unsigned integer, the SvcPriority is elided and defaults to 0, i.e., the record is in AliasMode (see {{Section 2.4.2 of -svcb}}).
Expand Down Expand Up @@ -473,6 +474,7 @@ The UDP payload size may be the first element as an unsigned integer in the arra
It MUST be elided if its value is the default value of 512, the maximum allowable size for unextended DNS over UDP (see {{Sections 2.3.4 and 4.2.1 of -dns}}).

The next element is a map of the options, with the option code (unsigned integer) as key and the option data (byte string) as value.
The type of option data may be extended in future specifications.

After that, up to three unsigned integers are following.
The first being the extended flags as unsigned integer (implied to be 0 if elided),
Expand Down

0 comments on commit 00568ea

Please sign in to comment.