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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to