A script that works perfectly is posted here: Making a DANE TLSA to work with LE - #8 by ietf-dane
It will give you all combinations of '3' and '2' TLSA records.
Just put it in a file and make it executable. It is from [ ietf-dane ] aka Viktor Dukhovni