dterm: remove hostname len check