ldns 1.8.3 quickfix release

Published: Mon 15 August 2022
Last updated: Thu 21 November 2024

Version 1.8.2 of ldns had a crash bug when creating packets with an EDNS OPT resource record without options. For example when just setting the DO bit (DNSSEC OK) or when specifying a larger UDP payload size.

This quick fix release has this resolved. Also the unit tests have been reviewed and updated to catch this in the future before release.

Compared to the 1.8.1 release, this release has some bugfixes and a few new features, most notably:

  • Since draft-ietf-dnsop-svcb-https will become RFC now anytime soon, SVCB and HTTPS RR types are now compiled by default.

  • Functionality for parsing and printing of EDNS0 Options.

    The list of options in a packet can be accessed via a new function: ldns_pkt_edns_get_option_list(ldns_pkt *packet). The list can be further manipulated with functions as described in edns.h. Finally the options can be converted to presentation format with ldns_edns_option_list2buffer_str() from host2str.h.

    drill will now also print EDNS0 options in a parsed format.

Related links:

software update