validate domain format