The information in this article applies to:
SYMPTOMSWhen gethostbyname() attempts to resolve a host name of a multihomed computer, it might fail to list all of the IP addresses that were registered with Windows Internet Name Service (WINS) by the multihomed computer. CAUSEThe gethostbyname() only reads the first address entry in the WINS response. RESOLUTIONConfigure Microsoft Windows TCP/IP to resolve host names using a Domain Name Server (DNS) and register all IP addresses of the multihomed computer in the DNS. STATUSThis behavior is by design. MORE INFORMATIONWINS is an extension of RFC 1001/1002 that provides name resolution of NETBIOS computer names. In addition to HOSTS file and DNS, you can configure Microsoft Windows TCP/IP to resolve host names using WINS. If you configure DNS, HOSTS file, and WINS, the gethostbyname() tries to resolve a host name using name services in the following order:
Additional query words:
Keywords : kbnetwork kbNTOS400 kbSDKPlatform kbWinOS95 kbWinsock kbGrpNet |
Last Reviewed: October 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |