Validate domain name