lib/serviceDiscovery/engines/mdns/index.js
function normalizeHost(host) {
	if (!host) {
		return host;
	}

	if (host[host.length - 1] === '.') {
		host = host.substring(0, host.length - 1);
	}

	return host;
}
function normalizeHost(host) {
	if (!host) {
		return host;
	}

	if (host[host.length - 1] === '.') {
		host = host.substring(0, host.length - 1);
	}

	return host;
}
function normalizeHost ( host ) { if ( ! host ) { return host ; } if ( host [ host . length - 1 ] === '.' ) { host = host . substring ( 0 , host . length - 1 ) ; } return host ; }
Hosts in mDNS are announced with a trailing dot, remove it

@param {string} host
@returns {string}
Hosts in mDNS are announced with a trailing dot remove it