Allow all chars in domains but not in hostnames