[Mono-bugs] [Bug 60070][Maj] Changed - Dns.GetHostByName is generating a no such host exception
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 13 Jun 2004 11:24:52 -0400 (EDT)
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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60070
--- shadow/60070 2004-06-12 01:03:55.000000000 -0400
+++ shadow/60070.tmp.29392 2004-06-13 11:24:52.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 60070
Product: Mono: Runtime
Version: unspecified
-OS:
+OS: unknown
OS Details: Mac OS X Version 10.3.4
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: banderso@novell.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -37,6 +37,37 @@
How often does this happen?
every time
Additional Information:
this used to work in the Mono beta one
+
+------- Additional Comments From lupus@ximian.com 2004-06-13 11:24 -------
+This seems to work with the beta3/latest cvs.
+Maybe the machine is misconfigured?
+$ cat >broken-dns.cs
+using System;
+using System.Net;
+
+class T {
+
+ static void Main () {
+ Console.WriteLine (Dns.GetHostName());
+ Console.WriteLine ("Reverse lookup: {0}", Dns.GetHostByName
+(Dns.GetHostName()).HostName);
+ }
+}
+osx-mono:~ builder$ mcs broken-dns.cs
+Compilation succeeded
+osx-mono:~ builder$ mcs --version
+Mono C# compiler version 0.96.0.0
+osx-mono:~ builder$ mono --version
+Mono JIT compiler version 0.96, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+ TLS: normal
+ GC: Included Boehm (with typed GC)
+ SIGSEGV : normal
+ Globalization: none
+osx-mono:~ builder$ mono broken-dns.exe
+osx-mono.boston.ximian.com
+Reverse lookup: osx-mono.boston.ximian.com
+