Microsoft KB Archive/265017

= Gethostbyaddr May Return Node Name Instead of Virtual Name =

Article ID: 265017

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q265017



SYMPTOMS
If your program uses the gethostbyaddr function on a cluster to retrieve the host name for a local online virtual IP address, the HOSTENT structure that is returned may contain the node name instead of the virtual server name.



CAUSE
The Domain Name System (DNS) client cache reports the virtual IP address as local; the node name is therefore returned.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:   Date        Time   Version         Size    File name -  09/20/2001  15:56  5.0.2195.4379   36,112  Rnr20.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
This hotfix requires a working DNS Reverse Lookup configuration. Alternatively, you may use a local HOSTS file and enter the host there manually.

For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

257577 gethostbyname Does Not Return Cluster Virtual IP Addresses Consistently

Additional query words: kbNetworking sap r/3

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbnetwork kbhotfixserver KB265017

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.