Bug 12016 - NameResolutionFailure for forums.xamarin.com
Summary: NameResolutionFailure for forums.xamarin.com
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.8.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-04-28 23:53 UTC by Jérémie Laval
Modified: 2013-04-30 23:56 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Jérémie Laval 2013-04-28 23:53:16 UTC
Using the following call in a Monodroid app exhibits the problem:

Dns.GetHostEntry ("forums.xamarin.com");


04-28 23:49:36.041: E/mono(29826): Unhandled Exception:
04-28 23:49:36.041: E/mono(29826): System.Net.Sockets.SocketException: No such host is known
04-28 23:49:36.041: E/mono(29826):   at System.Net.Dns.hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in <filename unknown>:0 
04-28 23:49:36.041: E/mono(29826):   at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in <filename unknown>:0 
04-28 23:49:36.041: E/mono(29826):   at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in <filename unknown>:0 
04-28 23:49:36.041: E/mono(29826):   at ResolveBug.Activity1.OnCreate (Android.OS.Bundle bundle) [0x00000] in <filename unknown>:0 
04-28 23:49:36.041: E/mono(29826):   at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) [0x00000] in <filename unknown>:0 
04-28 23:49:36.041: E/mono(29826):   at (wrapper dynamic-method) object:ee3bdc92-4aa4-4b54-9510-cdb8405b4a77 (intptr,intptr,intptr)

Browser can open the URL just fine and a ping app can reach the host too.