support truncated hashes longer that 7
support truncated hashes longer that 7

(cherry picked from commit 5b291f619e312689e25de8fd5662b0b9d4a62679)

pecharmin/bind9,each/bind9-collab,pecharmin/bind9,each/bind9-collab,pecharmin/bind9,each/bind9-collab,each/bind9-collab,pecharmin/bind9,pecharmin/bind9,pecharmin/bind9,each/bind9-collab,each/bind9-collab