check length of domain, and check for domains with more than one period