DCrouch2
Contributor
Contributor

How to Remove Domain Name from ESXi 5.5 Host

Jump to solution

My ESXi 5.5 Host's management network was connected through DHCP to our corporate LAN for a time.

This caused the Host to be assigned a Name and a Domain (even though it was never joined to the domain).

I am able to change the host name BUT, I am unable to clear the Domain name via the vSphere client.

The domain name also shows up in the management network configuration (via the host console) in the "Custom DNS Suffixes".

I have tried clearing the "Custom DNS Suffixes" but,it keeps coming back with the corporate domain.

I found a similar question here Remove a domain name from Host Identification‌  but the link in the reply was dead.

This Host will not be a member of a domain.

Question: How do I thoroughly remove the remnants  of the corporate network?

Any help is appreciated..

1 Solution

Accepted Solutions
UmeshAhuja
Commander
Commander

Hi,



Run these commands to change the hostname in ESXi 5.x using the command line:

  • esxcli system hostname set --host=hostname
  • esxcli system hostname set --fqdn= fqdn
Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.

View solution in original post

2 Replies
UmeshAhuja
Commander
Commander

Hi,



Run these commands to change the hostname in ESXi 5.x using the command line:

  • esxcli system hostname set --host=hostname
  • esxcli system hostname set --fqdn= fqdn
Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.
DCrouch2
Contributor
Contributor

Thanks for the reply this seems to do the trick.

0 Kudos