anonymizePublicHost

anonymize for a TCP host, host:port or [ipv6]:port, except that a host which can only name a machine on the user's own network is returned whole: loopback, RFC 1918, IPv4 and IPv6 link-local, IPv6 unique local, or an mDNS .local name. A public address or DNS name, DDNS and MagicDNS included, can identify the user, so it is anonymized.