Unbound 1.13.0rc2 pre-release

Wouter Wijngaards wouter at nlnetlabs.nl
Fri Nov 27 08:10:18 UTC 2020


Hi Andreas,

On 27/11/2020 00:13, A. Schulze via Unbound-users wrote:
> 
> 
> 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

Yes that is a test client, a bit like streamtcp.

> 
> cool!
> 
> 
> and finally: a compile time warning:

Fixed!  Thanks for the report, that warning does not show up for me, but
it does for you.  Good to fix.

Best regards, Wouter

> 
> 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