VCF Installer Validate & Deploy - DNS Error for 127.0.0.1
search cancel

VCF Installer Validate & Deploy - DNS Error for 127.0.0.1

book

Article ID: 405013

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

When deploying a new VCF environment using the VCF Installer UI wizard you encounter error on the Validate & Deploy last step

Reverse lookup of IP Address [127.0.0.1] returned [localhost] which does not match the FQDN [<VCF Installer hostname>] supplied in the deployment specification.
Remediation: Ensure a proper DNS configuration for localhost.

 

Environment

VCF 9.x

VCF Installer Appliance 9.x

Cause

When running DNS hostname checks for the FQDN from the VCF Installer VM the returned IP is loopback address [127.0.0.1] or localhost.

nslookup <fqdn>

or

hostname -f

Resolution

Ensure you are able to resolve the FQDN of the appliance properly by editing the DNS records in the environment or configuring the local DNS entries config with proper information:

Confirm the DNS config from the steps described in KB: Configure/Update DNS Server IP Address in SDDC Manager or the VCF Installer through Command Line

  1. SSH as 'root' user on VCF Installer appliance
  2. Run hostname checks locally
    nslookup <fqdn>
    hostname -f
    cat /etc/hosts
  3. Update /etc/hosts by mapping the expected hostname to local address 
    127.0.0.1 <FQDN> localhost <IP Address> 
  4. Ensure resolv.conf does not specify localhost or 127.0.0.1 as nameserver - comment out the line containing value  
    # nameserver 127.0.0.1
  5. Retry validation task from the UI