On Wed, 14 Sept 2022 at 16:54, Petr Špaček <pspa...@isc.org> wrote:
> >8 > I agree that full structured JSON is lots of work, and honestly I don't > see the need for it. > > From my perspective more useful is to standardize unambiguous > presentation formats for all EDNS options first. Maybe we will find out > that it is enough. Or maybe not, but the presentation formats could be a > corner stone, and are useful by itself. > FWIW: Perl Net::DNS makes a stab at a presentation form for OPT in a pseudo-perl sort of way: ;; HEADER SECTION ;; id = 38542 ;; qr = 0 aa = 0 tc = 0 rd = 0 opcode = QUERY ;; ra = 0 z = 0 ad = 0 cd = 0 rcode = NOERROR ;; qdcount = 1 ancount = 0 nscount = 0 arcount = 0 ;; do = 0 ;; EDNS version 0 ;; flags: 0000 ;; rcode: NOERROR ;; size: 512 ;; option: LLQ => ( 7261776279746573 ) ;; UL => ( 7261776279746573 ) ;; NSID => ( 7261776279746573 ) ;; 4 => ( ) ;; DAU => ( 8, 10, 13, 14, 15, 16 ) ;; DHU => ( 1, 2, 4 ) ;; N3U => ( 1 ) ;; CLIENT-SUBNET => ( FAMILY => 1, SOURCE-PREFIX-LENGTH => 23, ;; SCOPE-PREFIX-LENGTH => 0, ADDRESS => 123.123.122.0 ) ;; EXPIRE => ( EXPIRE-TIMER => 604800 ) ;; COOKIE => ( VERSION => 1, RESERVED => 000000, TIMESTAMP => 1589785412, ;; HASH => 1122334455667788 ) ;; TCP-KEEPALIVE => ( TIMEOUT => 200 ) ;; PADDING => ( OPTION-LENGTH => 100 ) ;; CHAIN => ( CLOSEST-TRUST-POINT => com. ) ;; KEY-TAG => ( 29281, 30562, 31092, 25971 ) ;; EXTENDED-ERROR => ( INFO-CODE => 123, EXTRA-TEXT => "" ) ;; CLIENT-TAG => ( 7261776279746573 ) ;; SERVER-TAG => ( 7261776279746573 ) ;; UMBRELLA-IDENT => ( 7261776279746573 ) ;; DEVICEID => ( 7261776279746573 ) Dick Franks
_______________________________________________ DNSOP mailing list DNSOP@ietf.org https://www.ietf.org/mailman/listinfo/dnsop