0

Setup
On a Windows Server 2008, I have a NIC with 5 IP's associated.
Four of the five IP's are listed in a DNS, the last one is for administration purpose only.
An application bind to each IP on port 80.

When browsing either of the IP's or DNS entries, I have the expected data returned in the browser.

The Problem
When browsing using the computer name (specified in Windows System), things gets weird:
The resulting data seems to be a "random" selection or one of the five applications and sometimes even a mix of data from a few of them.

I wrote "random" as it's a pretty strange kind of static random, that seems to be related to four things:

  1. The order the applications are started or restarted.
  2. Changes to the hosts file
  3. The Computer used to perform the access.
  4. The Browser used to perform the access.

So using Computer A with Chrome gives one result, and Firefox another result. Also after refresh.
And using Computer B with Chrome gives a third result, and Firefox a fourth result. Also after refresh.
If I restart any of the five applications, or touch the hosts file (whitespace change), the four results above will change.

Research
Currently the only thing I've been able to find that appear to be related, is to specify the computer name in the hosts file for the IP I want it tied to. This does not seem to work, though. (But it lead to the discovery that the hosts file can affect the output).

Question

How can I bind the computer name to one specific IP?

2
  • I Think t hase something todo wth the NetBIOS name detection. Try Disableing the LMHOSTS requests in your network settings and try again
    – Daywalker
    Jan 5, 2016 at 11:01
  • Thanks Daywalker. This does change something to a more stable response, but it's still miss-behaving. It seems the merged responses have disappeared. Similar, the usage of various browsers have stabilized. Using IE and Firefox I now always get a response from the last IP in the list. Using Chrome and Safari I always get the response from the mid IP in the list.
    – fsteff
    Jan 5, 2016 at 12:10

0

You must log in to answer this question.

Browse other questions tagged .