Rather than use custom functions and macros local to bin/dnssec/, use their counterparts provided by libdns.