Dash replacement functionality for the hostname