checking domain length