Hostnames might contain a dash: example-h.com. So this fixed.