We help IT Professionals succeed at work.

DNS configuration for ESX hostname

jskfan
jskfan asked
on
DNS configuration for ESX hostname

I have configuration ESX hostname and DNS suffix in DCUI, but when I ping it by name it does not resolve.

aaaa
Thanks
Comment
Watch Question

Seth SimmonsSr. Systems Administrator
BRONZE EXPERT
Commented:
is the esx server in your dns or local hosts file?
Senior SysAdmin
BRONZE EXPERT
Commented:

You have a DNS Suffix ending with local, that Usually means you have an AD domain, which also means the one of your domain controllers has the DNS role installed and is in charge or resolving anything inside your domain.

Have you added the hostname and IP address of your ESXi host into the DNS?

If so, please run the following command in your CMD screen to refresh your DNS cache

ipconfig /flushdns

That should set you on the right track

Hello ThereSystem Administrator
BRONZE EXPERT
Distinguished Expert 2018

Commented:
You need to create a static entry in DNS.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
GOLD EXPERT
Fellow
Expert of the Year 2017

Commented:
You must always have good working DNS resolution for VMware vSphere.

Author

Commented:
David
Have you added the hostname and IP address of your ESXi host into the DNS?

I have not added it in DNS... I just added it now and it works

Thank you Guys!

Author

Commented:
Thank you All Guys!
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
GOLD EXPERT
Fellow
Expert of the Year 2017

Commented:
You always need to ensure tha VMware vSphere is only as god as your DNS resolution, forward and reverse, get into the habit of using FQDNs everywhere with VMware vSphere and NOT IP Addresses.

In later versions of vSphere, you will NOT be able to install if you do not have forward and reverse DNS setup before you install!