add option for dot replacement in carbon hostname