[Mono-bugs] [Bug 676260] New: Dns.GetHostEntry(Dns.GetHostName()).HostName is different from Dns.GetHostName()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 2 07:18:53 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=676260

https://bugzilla.novell.com/show_bug.cgi?id=676260#c0


           Summary: Dns.GetHostEntry(Dns.GetHostName()).HostName is
                    different from Dns.GetHostName()
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: x86-64
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andre.raabe at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=417053)
 --> (http://bugzilla.novell.com/attachment.cgi?id=417053)
Testcase to show the empty Dns.GetHostEntry(Dns.GetHostName()).HostName

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.13
(KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13

The output of Dns.GetHostEntry(Dns.GetHostName()).HostName is empty or
different from Dns.GetHostName().


Reproducible: Always

Steps to Reproduce:
1. mcs IPHostEntryBug.cs
2. mono IPHostEntryBug.exe
3. Compare the output.
Actual Results:  
$ mono IPHostEntryBug.exe
hp85

$ 

Expected Results:  
$ mono IPHostEntryBug.exe
hp85
hp85
$

-- 
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