ldns 1.7.0 introduced support for OpenSSL 1.1: https://git.nlnetlabs.nl/ldns/tree/Changelog?id=release-1.7.0