That looks like an E shell to me ... so DE-9. DB shell is much bigger, with room for 25 pins at that same pitch. Note for example the same size DE-15 used for VGA with finer pin pitch in three rows.
So you just want a 10 wire terminal block with a cover?
It might be simpler to just find the same item as in your picture, but female, and screw them together.