[getdns-api] getdns 0.1.7 released
Willem Toorop
willem at nlnetlabs.nl
Wed Apr 8 23:20:50 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear all,
We have a new release, version 0.1.7 of our getdns API implementation.
This release contains bug fixes. A notable fix is that
getdns_address() now schedules AAAA query before the A query. They
were and are queried for simultaneously, but before, the request for
the A was put on the wire before the request for the AAAA. Now this
order is flipped.
Besides bug fixes, this release contains the results of a rework
shortening the path from wire format to the response dictionary,
dramatically decreasing the number of memory allocations and
deallocations with each request.
The release also has some improvement functions that are not part of
the official API (yet), such as:
- - getter functions for all the context properties
(the API has only setter functions for these properties)
- - output to JSON printer functions
getdns_print_json_dict() and getdns_print_json_list()
- - snprintf style printer functions
getdns_pretty_snprint_dict(), getdns_pretty_snprint_list(),
getdns_snprint_json_dict() and getdns_snprint_json_list()
- - a function to register a context update callback function
including a user defined argument:
getdns_context_set_update_callback()
- - a better method to get the associated text with an getdns error
or response code: getdns_get_errorstr_by_id()
These new non-API functions are all documented in doxygen style
comments in the getdns_extra.h header file.
Besides these improvement functions, the release also includes a draft
implementation of the section 6 and 7 version of
draft-ietf-dnsop-cookies-01.txt (
http://datatracker.ietf.org/doc/draft-ietf-dnsop-cookies/ ). This
implementation is compatible with (uses the same opcode as) bind's
9.10's implementation. You need to specify the
- --enable-draft-edns-cookies option to compile with this feature.
Using it involves setting a "edns_cookies" extension.
link : https://getdnsapi.net/dist/getdns-0.1.7.tar.gz
md5 : edaee48f967c8b05b9d3b8eeab99a039
sha1 : 3e323b9b1217a2b2e20948b50b008e739b7cd01e
pgp sig: https://getdnsapi.net/dist/getdns-0.1.7.tar.gz.asc
ChangeLog
=========
* 2015-04-08: Version 0.1.7
* Individual getter functions for context settings
* Fix: --with-current-date function to make build deterministically
reproducible (i.e. the GETDNS_COMPILATION_COMMENT define from
getdns.h contains a date value). Thanks Ondřej Surý
* Fix: Include m4 dir in distribution tarball
* Fix: Link build requirements in tests too. Thanks Ondřej Surý
* Fix: Remove executable flags on source files. Thanks Paul Wouters
* Fix: Return "just_address_answers" only when queried for addresses
* Eliminate ldns intermediate wireformat parsing
* The CSYNC RR type
* Fix: canonical_name in response dict returns the canonical name
found after following all CNAMEs
* Implementation of the section 6 and 7 version of
draft-ietf-dnsop-cookies-01.txt for stub resolution. Enable with
the --enable-draft-edns-cookies option to configure. Use it by
setting the edns_cookies extension to GETDNS_EXTENSION_TRUE.
* Pretty printing of lists with:
char *getdns_pretty_print_list(getdns_list *list)
* Output to json format with:
char * getdns_print_json_dict(const getdns_dict *dict, int pretty);
char * getdns_print_json_list(const getdns_list *list, int pretty);
* snprintf style versions of the dict, list and json print functions.
* Better random number generation with OpenBSD's arc4random
* Let getdns_address schedule the AAAA query first. This results in
AAAA being the first in the just_address_answers sections of the
response dict.
* New context update callback function to also return a user given
argument along with the context and which item was changed.
Thanks Scott Hollenbeck.
* Demotivate use of getdns_strerror and expose
getdns_get_errorstr_by_id.
Thanks Scott Hollenbeck.
* A getter for context update callback, to allow for chaining update
callbacks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJVJZuyAAoJEOX4+CEvd6SYl/wP/isSORzCxI2rhKfZwgcP+x18
9ukc3iBnjQqZYDU+2325WYweUvVTFjcBfADYlXHHFjOfN7KVhr8jsZg0FcrQhXRy
gaNubVciQYJnifKJVMTTCCs6lQ1IFOTnpe8R0jdH/rmbHwo1BFtMB8nzfzHI65UQ
77k+mpKqFjXGAcY/hDV5FqgTdrLK0hnFofiLrtLAr1fkZWg+czy2EtjKrQNVC2uN
TyUCXn/4iBVGMlcIm5dNv0b9bLFHZTHLwbDhNnxQkeTrTix240mqLdjY0BniRDL+
/oxM2HFKzMD1YRphZHNbE32cZXwLxocA+LCB08YPO1Liu3AkUtj+2JDG+ERUYH3/
nhsspMJIm4hrHN+7N0/0rV8hJeJPvLDVq/4IfSewqJvk3yUmyY9QSnvdKLxXxDIV
67wsEVvnJxLNqMpS6Db9vYC++BfP+IfMAPgtNMves7vJOlIXMKNLpmS06RxSgiLE
p7Z534RDCzMefQ40fv7v1oxqoWh9MPmN6X87hDKtGvT3U48DdgUiDAwcEHra2s32
at6e2rrnV9tsOy+MWrbvFiJD612H29EnOj4O3aKU6vBSXpWH3/agt0vIMvW/Z1Ii
h9BeMiMx0tsNc+dqUXjnadMfdVxnw2EjVT9c4c79pNuB2qtY+ejyP17PGnwluKh3
S90GoBIc+d74B9o9oY5t
=zwwc
-----END PGP SIGNATURE-----
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org
More information about the spec
mailing list