[Mono-bugs] [Bug 636517] New: System.Net.Dns doesn't resolve any IPv6 addresses

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 2 01:54:26 EDT 2010



           Summary: System.Net.Dns doesn't resolve any IPv6 addresses
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rbloom at foxular.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Description of Problem:
System.Net.Dns.GetHostAddresses only returns IPv4 addresses, and does not
return any available IPv6 addresses.

Source of small test program:
using System;
using System.Net;
class DNSTest {
    static void Main() {
        String Hostname = "www.kame.net";
        IPAddress[] IPs = Dns.GetHostAddresses(Hostname);
        Console.WriteLine("Found {0} IP addresses for {1}",
        foreach (IPAddress i in IPs) {

Actual Results:
(With Mono 2.6.4)
Found 1 IP addresses for www.kame.net

Expected Results:
(With .NET)
Found 2 IP addresses for www.kame.net

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list