runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Linux Dns.GetHostEntry doesn't work on Linux

Open denisvlah opened this issue 8 years ago • 1 comments

The Dns.GetHostEntry doesn't work at all on netcore 2.0.0 on Ubuntu. It do work on windows netcore 2.0.0

Helpfully Dns.Resolve works on Linux as expected.

System.Net.Dns.GetHostEntry("192.168.1.21"); //fails with unreachable host System.Net.Dns.Resolve("192.168.1.21"); // works on the same station on Linux.

I can see the same issue closed dotnet/runtime#20060 but I can reproduce this bug.

denisvlah avatar Dec 07 '17 15:12 denisvlah

I have checked the netcore 2.0.2 the bug described above is fixed. Closing the ticket.

denisvlah avatar Dec 12 '17 00:12 denisvlah