it works! :D (fixed some bugs; increased len fields to 2 bytes; also, ldns_sha1() manipulates my data, using OpenSSL's SHA1() instead)