Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: How vClient resolves host name?

$
0
0

vSphere Client looks any way a normal .NET application looks for hostnames: it invokes gethostbyname().

This calls the following authorities in the following order: http://support.microsoft.com/kb/172218

 

  1. The client checks to see if the name queried is its own.
  2. The client then searches a local Hosts file, a list of IP address and    names stored on the local computer.

    NOTE: The Hosts file location depends on the operating system:
       Windows NT                  %Systemroot%\System32\Drivers\Etc   Windows 95                  <drive>\<Windows folder>   Windows for Workgroups      <drive>\<Windows folder>   Windows 3.1                 <drive>\<Windows folder>   MS-Client 3.0               <Boot volume>\Net   Lan Manager 2.2c Client     <Boot volume>\Net                              
    Where %Systemroot% is the folder in which Windows NT is installed,    <drive> is the drive on which the OS is installed, and <boot volume>    refers to a boot floppy disk or drive C.

    A sample hosts file, Hosts.sam, is installed with the TCP/IP protocol    showing the proper format.
  3. Domain Name System (DNS) servers are queried.
  4. If the name is still not resolved, NetBIOS name resolution sequence is    used as a backup. This order can be changed by configuring the NetBIOS    node type of the client.

 

(pasted from the link)

 

Hope that helps,

Kind regards,

Frank


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>