[ldns-users] SVCB and HTTPS support

Niall O'Reilly niall.oreilly at ucd.ie
Tue Feb 2 20:30:49 UTC 2021


Hello.

I’m seeing what appears to be an invalid presentation format for
the HTTPS RR when using *drill* from a fresh build of **ldns**
in my local clone of the git repo.

I would appreciate guidance on whether

- this is expected, due to incomplete work to support SCVB and HTTPS;

- this is expected, because I have omitted a significant configuration 
option;

- this merits opening an issue in the git repo;

- or I am missing something.

I used the following configuration command:

`./configure --with-examples --with-drill --enable-rrtype-svcb-https`

I then installed the package under */usr/local* on a system where the
current Ubuntu edition of the *ldnsutils* package, without support
for SVCB and HTTPS had been installed under */usr*.

Testing each instance of *drill* in turn gave the results shown below.
The first test shows the unexpected results from the fresh build.
The second test shows a valid result from the Ubuntu package, which
treats TYPE65 as an unknown RR type and displays it accordingly.

```
vagrant at 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 at 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 at vagrant:~$
```

```
vagrant at 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 at 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 at vagrant:~$
```

Best regards,
Niall O’Reilly
Tolerant Networks Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20210202/b3517392/attachment.htm>


More information about the ldns-users mailing list