[getdns-users] Context reuse?

Willem Toorop willem at nlnetlabs.nl
Fri Jun 30 11:55:06 UTC 2017

Op 30-06-17 om 13:42 schreef James Royalty:
> Thanks Willem for the response!  That's the gist of what I'm currently
> doing so all good there.
> Another question along these lines:  What are the circumstances where
> you'd want (or need) multiple contexts?

Hmmm.. hard to think of any.  It might make sense in multi-threaded
Also, the upstreams configuration (i.e.recursive_upstream_resolvers)
associated with a context cannot be changed on a per query basis via an
extension dict.  So, it might be useful to have one context for stateful
connections to remote upstreams, and do some meta queries with a
separate context configured with the OS defaults (i.e. UDP queries to
the recursor in the local network).

-- Willem

More information about the Users mailing list