Automation

 View Only
  • 1.  Add-VMHost - reverse name lookup

    Posted Mar 09, 2010 10:03 AM

    I am using Add-VMHost to add a host to vCenter.

    Add-VMHost hostnameA

    The issue is that my hostnameA gets resolved to ribHostA, and vCenter adds it as ribHostA -- which i had not asked for.

    Can we tell vCenter or Add-vmhost, NOT to do reverse name lookup ?

    Thanks in anticipation

    HK



  • 2.  RE: Add-VMHost - reverse name lookup

    Posted Mar 09, 2010 12:11 PM

    You could try

    Add-VMHost hostnameA | Set-VMHostNetwork -Hostname hostnameA -DomainName <a-domain-name>
    

    but be aware that this will change the hostname while the problem seems to be in the name resolution (I think).

    ____________

    Blog: LucD notes

    Twitter: lucd22