We are please to announce an alpha release of getdns 1.1.0 is being made available for early testing of a subset of features planned for this release.
getdns_query is promoted to be a a first class citizen of the getdns suite and it is relocated to
src/tools and built by default.
(Note that the expected input is similar, but not precisely JSON)
getdns_context_config() function that configures a context with settings provided in a getdns_dict.
This can reduce the amount of code needed to setup a context in a C program dramatically.
It also provides default values for extensions and allows the trust anchor files to be directly specified.
getdns_context_set_listen_addresses() function, that allows the user to register a request handler function and list of addresses that will be listened on when the eventloop is run.
The request handler function will be called when a DNS requests arrives, with the request in getdns reply dict format.
The request handler may construct a response to the request and eventually has to call
getdns_reply() with that response (or
NULL to cancel) to answer the request.
Documentation is available at:
* 2016-07-14: Version 1.1.0a1 * Conversion functions from text strings to getdns native types: getdns_str2dict(), getdns_str2list(), getdns_str2bindata() and getdns_str2int() * A getdns_context_config() function that configures a context with settings given in a getdns_dict * A a getdns_context_set_listen_addresses() function and companion getdns_reply() function to construct simple name servers. * Relocate getdns_query to src/tools and build by default * Enhancements to the logic used to select connection based upstream transports (TCP, TLS) to improve robustness and re-use of connections/upstreams.