<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hello.</p>

<p dir="auto">I’m seeing what appears to be an invalid presentation format for<br>
the HTTPS RR when using <em>drill</em> from a fresh build of <strong>ldns</strong><br>
in my local clone of the git repo.</p>

<p dir="auto">I would appreciate guidance on whether</p>

<ul>
<li><p dir="auto">this is expected, due to incomplete work to support SCVB and HTTPS;</p></li>
<li><p dir="auto">this is expected, because I have omitted a significant configuration option;</p></li>
<li><p dir="auto">this merits opening an issue in the git repo;</p></li>
<li><p dir="auto">or I am missing something.</p></li>
</ul>

<p dir="auto">I used the following configuration command:</p>

<p dir="auto"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">./configure --with-examples --with-drill --enable-rrtype-svcb-https</code></p>

<p dir="auto">I then installed the package under <em>/usr/local</em> on a system where the<br>
current Ubuntu edition of the <em>ldnsutils</em> package, without support<br>
for SVCB and HTTPS had been installed under <em>/usr</em>.</p>

<p dir="auto">Testing each instance of <em>drill</em> in turn gave the results shown below.<br>
The first test shows the unexpected results from the fresh build.<br>
The second test shows a valid result from the Ubuntu package, which<br>
treats TYPE65 as an unknown RR type and displays it accordingly.</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">vagrant@vagrant:~$ /usr/local/bin/drill -v
/usr/local/bin/drill version 1.7.1 (ldns version 1.7.1)
Written by NLnet Labs.

Copyright (c) 2004-2008 NLnet Labs.
Licensed under the revised BSD license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
vagrant@vagrant:~$ /usr/local/bin/drill type65 crypto.cloudflare.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 20533
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; crypto.cloudflare.com.    IN    HTTPS

;; ANSWER SECTION:
crypto.cloudflare.com.    107    IN    HTTPS    1

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 0 msec
;; SERVER: 127.0.0.53
;; WHEN: Tue Feb  2 20:22:06 2021
;; MSG SIZE  rcvd: 186
vagrant@vagrant:~$
</code></pre>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">vagrant@vagrant:~$ /usr/bin/drill -v
/usr/bin/drill version 1.7.0 (ldns version 1.7.0)
Written by NLnet Labs.

Copyright (c) 2004-2008 NLnet Labs.
Licensed under the revised BSD license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
vagrant@vagrant:~$ /usr/bin/drill type65 crypto.cloudflare.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 14784
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; crypto.cloudflare.com.    IN    TYPE65

;; ANSWER SECTION:
crypto.cloudflare.com.    18    IN    TYPE65    \# 135 0001000001000302683200040008a29f874fa29f884f000500490047fe0900430013636c6f7564666c6172652d65736e692e636f6d002094668fb2fa4e1b3b62a5517e62c7a8bfe5a430e0f0e05f94f428f6d6f7ad340c00200004000100010000000000060020260647000007000000000000a29f874f260647000007000000000000a29f884f

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 0 msec
;; SERVER: 127.0.0.53
;; WHEN: Tue Feb  2 20:23:35 2021
;; MSG SIZE  rcvd: 186
vagrant@vagrant:~$
</code></pre>

<p dir="auto">Best regards,<br>
Niall O’Reilly<br>
Tolerant Networks Ltd</p>
</div>
</div>
</body>
</html>