Why the worker's hostname is read from /etc/hosts file when there are two NICs
When there are two NICs on OO central Server, navigate to System configuration/Topology/Workers, you will see the hostname is read from C:\Windows\System32\drivers\etc\hosts
1. The customer add two NIC on OO server:
2. The output of command [hostname] is :WIN-IQAYOX4TS40
the computer name is :WIN-IQAYOX4TS40
3. The customer edit C:\Windows\System32\drivers\etc\hosts：
on host file.
As we expected, the worker name should be WIN-IQAYOX4TS40, but it's turn to DUMMYHOST
So where does the worker's hostname is got from? From hosts file or from command [hostname]?
Anyone can answer me?
The hostname is computed upon RASes installation.
I suggest you open a support ticket with all the relevant details you have already captured so that it can be properly investigated.
What I can tell you is that the canonnical hostname is computed using java's InetAddress - maybe there are some situations like the one you described which make sense to be further investigated.
Hope it helps,