Fix domains with dashes not being recognized.