[getdns-users] getdns 0.1.7 released

Willem Toorop willem at nlnetlabs.nl
Wed Apr 8 21:20:45 UTC 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

iQIcBAEBAgAGBQJVJZutAAoJEOX4+CEvd6SYZvwP/RbACid5/Ui5cn88Uli0u36p
MQdQxbpvo2xkb157oNl0Fp/IndNEF0u2p0gOmuTPsjT9K7/+9aQ8sWC/oLaO/Wa+
PylIp426dlSKvPVp1/wTBe1MBpByvCoBZ0kqftGFEyaIhbOmy7Pya+j0kVfuwPNo
NVv7X4p0CUjLaKfVwts7qnsb/dl5KKPv4Y1wszbre7jDClate4C/N1MN/vWR2SPY
ISFcOZXXzY3a9dWsNnkL3bBbIXVxsqqZu2Z1ONA2sOZM5e6F+LY00OAzsvn0PgKD
6s0oJqglKxoxcjrwgQKsIo4ZysAGhawH9FmPAgfNbbjptrEfk5PAEh/WFgPjFLdL
H1SsxYlpOJsDOp0hkx75dGlRmKZPZkUP3CaNdG020wNH35rkG0ioixOr3/D4dMdk
Fgw+SPZZOAKk838ylZfcD0HJnk0zZ00/WjmGVrnHJpephb5fsXbwlK8pWCQwnU9e
xSDbwgViBWOsxwV6Z8qtVio5AP8hM8QAuUo8d8hwHcxvkKocl6vVANshO0p/0Zp0
7r0uFx9EUoCUSbWxf2/pmAly4nyWPzi6VP/qaLDUUKGP6itIxiOP4GLr0wS4Vq2m
cVKPL6iYJDhUbW4pcsX0ZMuGL6AMpWSydXePSe4vUMETzKClGV/Mjk5CO/6oqnoY
AIj6ucJFiVgoUo+h2XTZ
=bKuj
-----END PGP SIGNATURE-----



More information about the Users mailing list