Use DnsEndPoint instead of IPEndPoint