[Mono-bugs] [Bug 79211][Nor] Changed - Hostname Resolution Broken in 1.1.17
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Aug 30 18:32:08 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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=79211
--- shadow/79211 2006-08-29 14:25:23.000000000 -0400
+++ shadow/79211.tmp.21415 2006-08-30 18:32:08.000000000 -0400
@@ -2,21 +2,20 @@
Product: Mono: Class Libraries
Version: 1.1
OS: GNU/Linux [Other]
OS Details: Ubuntu 6.06
Status: NEW
Resolution:
-Severity:
-Priority: Critical
+Severity: Unknown
+Priority: Normal
Component: System
AssignedTo: mono-bugs at ximian.com
ReportedBy: bugzilla at patearl.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: Hostname Resolution Broken in 1.1.17
Hostname resolution seems to be rather broken in 1.1.17. Npgsql uses
System.Net.Dns.GetHostByName to query for "localhost" and this causes the
following error:
@@ -24,6 +23,34 @@
In web service invocation, a similar error occurs:
System.Net.WebException: Error: NameResolutionFailure
Running 1.1.16.1 properly resolves the names.
+
+------- Additional Comments From robertj at gmx.net 2006-08-30 18:32 -------
+The following test case works on my machines:
+
+using System;
+using System.Net;
+
+class T
+{
+ static void Main ()
+ {
+ Console.WriteLine (Dns.GetHostByName
+("localhost").HostName);
+ }
+}
+
+
+It even works if I remove the "localhost" entries from /etc/hosts,
+as long a nameserver is still available. If neither /etc/hosts nor
+the nameserver are available, an exception is thrown.
+The same with 1.1.13.8, the stable release.
+
+Check your net config.
+
+Priority changed, see
+
+http://bugzilla.ximian.com/bug_status.html#priority
+
More information about the mono-bugs
mailing list