Maintained by: NLnet Labs

[Unbound-users] Timeout and NS specification

Vladimir Levijev
Wed Jun 19 13:35:41 CEST 2013


On 19 June 2013 14:25, W.C.A. Wijngaards <wouter at nlnetlabs.nl> wrote:
> On 06/19/2013 01:00 PM, Vladimir Levijev wrote:
>> On 17 June 2013 12:56, Vladimir Levijev
>> <vladimir.levijev at gmail.com> wrote:

Hi Wouter,

>> 1). Is there a way I could specify the timeout and number of
>> retries with a query? 2). Is there a way I could specify TCP/UDP to
>> use when doing a query? 3). Is there a way I could specify a target
>> nameserver with every query I make (without reading a file
>> containing nameserver entries)?
>
> No, no and no.  Unbound picks the fastest server (or probes for
> servers).  It falls back to TCP when it receives a +TC flag.
>
> Are you looking for libldns, where you can specify this?

Thank you for the answer! Exactly, I'm looking for (and already using)
ldns. But was missing the async functionality you have in unbound. I
guess I will just have to take care of parallelization myself. :-)

Cheers,

VL