[Mono-bugs] [Bug 78990][Nor] Changed - DNS Class Fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 7 19:09:00 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.


--- shadow/78990	2006-08-07 18:44:29.000000000 -0400
+++ shadow/78990.tmp.18204	2006-08-07 19:09:00.000000000 -0400
@@ -4,18 +4,19 @@
 OS: Solaris 8
 OS Details: Sparc
 Status: NEW   
 Severity: Unknown
 Priority: Normal
-Component: System
+Component: Configuration
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: david_garcia at logitech.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
+Cc: atsushi at ximian.com,robertj at gmx.net
 Summary: DNS Class Fails
 Please fill in this template when reporting a bug, unless you know what 
 you are doing.
 Description of Problem:
@@ -308,6 +309,28 @@
   at System.Net.Dns..cctor () [0x00000] in /tmp/scratch/mono- --- End of inner 
 exception stack trace ---
+------- Additional Comments From atsushi at ximian.com  2006-08-07 19:09 -------
+As the stack trace shows, there is nothing to do with the runtime.
+When it comes to System.Configuration, what matters here is 1)your
+config file 2) how you run your code (from a standalone executable,
+web forms, web services, embedded environment etc.).
+The code below works (on my box), so Dns.GetHostEntry() should usually
+using System;
+using System.Net;
+public class Test
+        public static void Main ()
+        {
+                Dns.GetHostEntry ("");
+                Dns.GetHostEntry ("www.google.com");
+        }

More information about the mono-bugs mailing list