VMware Cloud Community
vmman34
Enthusiast
Enthusiast
Jump to solution

I cant access any domain joined Esxi hosts or my VCSA by using their hostnames on PCs that are not on the domain.

Hi, I cant seem to access any of my hosts, or the VCSA using their host names on machines that are not a member of my AD domain.


For example.

I can't access my VSCA using https://vcsa.mydomain.com and I cant ping it by using vcsa.mydomain.com either.

The same applies to the domain joined esxi hosts.

ping.PNG

But you can ping them by IP address ok.

What I have done so far.

I have entries for all of the devices in my AD DNS forward and reverse lookup zones.

I have also inserted the AD DNS server IP address in the list of preferfed DNS servers on the non domain PCs.

So in reality it should do the following when doing a dns lookup on a non domain joined pc. 

1. Check its lmhost file.

2. Check the primary dns server which I have set as the AD DNS Server.

3. Check the next preferred dns server in the list.

But it appears to be finally going out externally and being answered by my ISP as not being found. 

Please help.

Thanks

0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

To me this looks like a wrong name resolution to a public IP address!?

See whether nslookup returns an internal IP address.

e.g.: nslookup esxi-01.vsl.com <AD-DNS-Server-IP-Address>

If this comman returns the correct IP address, you may either change the PC's DNS-Server to internal only servers, or add the ESXi, and vCenter host names to the local hosts  (not lmhosts) file.

André

View solution in original post

0 Kudos
2 Replies
a_p_
Leadership
Leadership
Jump to solution

To me this looks like a wrong name resolution to a public IP address!?

See whether nslookup returns an internal IP address.

e.g.: nslookup esxi-01.vsl.com <AD-DNS-Server-IP-Address>

If this comman returns the correct IP address, you may either change the PC's DNS-Server to internal only servers, or add the ESXi, and vCenter host names to the local hosts  (not lmhosts) file.

André

0 Kudos
vmman34
Enthusiast
Enthusiast
Jump to solution

Hi a.p.

NSLOOKUP is returning everything correctly when I query the hosts by their name or IP address.

But I can't ping the hosts using their host names.

In the end I added the host names to my local hosts file and it worked.

I may look at it at a later date but its working for now.

Thanks

0 Kudos