J
Jerome Lavalley, MCSE
I'm having problems getting the host name of a multi-homed machine.
My server has two IP addresses and two corresponding host names
SERVER1 =
HOST1 <-- IP1
HOST2 <-- IP2
I have an application that returns the host name given the application. If
the application is running on a second machine "WORK1" then GetHostByAddress
returns the correct host name for each ip address. However if I run the
application on SERVER1, both IP1 and IP2 return HOST1 as the hostname.
Help??
Thanks in advance...
Jerome Lavalley
My server has two IP addresses and two corresponding host names
SERVER1 =
HOST1 <-- IP1
HOST2 <-- IP2
I have an application that returns the host name given the application. If
the application is running on a second machine "WORK1" then GetHostByAddress
returns the correct host name for each ip address. However if I run the
application on SERVER1, both IP1 and IP2 return HOST1 as the hostname.
Help??
Thanks in advance...
Jerome Lavalley