barbz128
Contributor
Contributor

ESX hostname resolves incorrectly in the host UI at times.

Hi all,

I have a standalone 6.5u2 host with an ip of 192.168.1.30 and a hostname of ryzesx (ryzen based).

I am having problems where at times I am unable to connect to the console of certain vms and Ive discovered that this occurs when the host ui is resolving the incorrect IP address.

By this I mean at the top right where it has username@hostname - at times I will see root@ryzesx.local and times root@192.168.1.15 - when its the 15 address the console doesnt work.

I have tried multiple times, browsers, incognito, clearing cache and sometimes it works as it should and others not so; it appears to be in consistent.

nslookup for ryzesx.local points to 192.168.1.30; esx host and clients all share the same dns server.

Image below - in order from top to bottom:

1. chrome - no work root@192.168.1.15

2. chrome incognito - no work root@192.168.1.15

3. Firefox - working root@ryzesx.local

ESX.PNG

But a while later from the same pc no change - chrome incognito is working.

2018-07-13 16_10_37-ryzesx.local - VMware ESXi.png

Any ideas?

Thankyou

Tags (2)
0 Kudos
5 Replies
planetshoots
Contributor
Contributor

Hi ,

Check /etc/hosts file in Esxi host and correct if any wrong IP to Hostname Mapping set.

0 Kudos
johnnyknoxville
Enthusiast
Enthusiast

did you try to flush DNS cache?

ipconfig /flushdns

0 Kudos
barbz128
Contributor
Contributor

Thankyou planetshoots

Other than the two local host lines the only thing it has is

192.168.1.30 ryzesx.local ryzesx

Looks as it should.

0 Kudos
barbz128
Contributor
Contributor

Thankyou johnnyknoxville

I have flushed cache and tried on a couple of different client machines.

0 Kudos
zer0tn
Contributor
Contributor

The same problem was encountered. Have you solved it?

Edge browsers are perfectly normal, but chrome and safari are wrong.

0 Kudos