Replaced uses of DnsEndPoint with EndPoint.