Unbound 1.13.0rc2 pre-release

A. Schulze sca at andreasschulze.de
Thu Nov 26 23:13:53 UTC 2020



Am 26.11.20 um 23:25 schrieb Yuri via Unbound-users:
> I've uses Firefox as DoH client on my infrastructure ;)
I'm focused on automated testing...

just found ~unbound-source/testcode/dohclient.c
looks like I found what I was looking for :-)

# make dohlient
# ./dohclient -s 9.9.9.9 -p 443 -P -e /dns-query nlnetlabs.nl. A IN

cool!


and finally: a compile time warning:

services/listen_dnsport.c: In function 'http2_submit_dns_response':
services/listen_dnsport.c:2211:41: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
 2211 |  snprintf(rlen_str, sizeof(rlen_str), "%u", rlen);
      |                                        ~^   ~~~~
      |                                         |   |
      |                                         |   size_t {aka long unsigned int}
      |                                         unsigned int
      |                                        %lu

Andreas


More information about the Unbound-users mailing list