Validation Steps :
VMware vSphere ESXI 7.x
VMware vSphere ESXI 8.x
When the NFS server is specified using an IP address:
DNS resolution is not required. The mount operation is expected to succeed as long as the following conditions are met:
When the NFS server is specified using a hostname or Fully Qualified Domain Name (FQDN):
DNS resolution is required for the ESXi host to resolve the NFS server name. If DNS resolution fails, the mount operation will not complete successfully. In such cases, errors similar to the following may be observed
Cause Validation
Log path : less /var/run/log/hostd.log reports Failed DNS lookup: hostname
2025-03-30T06:15:44.771Z info hostd[2101314] [Originator@6876 sub=Vimsvc.TaskManager opID=esxui-53e-6752 user=root] Task Completed : haTask-ha-host-vim.host.DatastoreSystem.createNasDatastore-8125 Status error2025-03-30T06:15:44.771Z info hostd[2101314] [Originator@6876 sub=Solo.Vmomi opID=esxui-####-####user=root] Activation finished; <<####-71b0-####-5de2-########, , >, ha-datastoresystem, vim.host.DatastoreSystem.createNasDatastore>2025-03-30T06:15:44.771Z verbose hostd[2101314] [Originator@6876 sub=Solo.Vmomi opID=####-53e-###user=root] Arg spec:--> (vim.host.NasVolume.Specification) {--> remoteHost = "#######-esx.ops.#####.net",--> remotePath = "/EsxHkg########",--> localPath = "Esx#######_hkh#####",--> accessMode = "readWrite",--> type = "NFS",--> userName = "",--> password = (not shown),--> remoteHostNames = (string) [--> "########-esx.ops.#####.net"--> ],--> securityType = "AUTH_SYS"--> }2025-03-30T06:15:44.771Z info hostd[2101314] [Originator@6876 sub=Solo.Vmomi opID=####-53e-####user=root] Throw vim.fault.PlatformConfigFault2025-03-30T06:15:44.771Z info hostd[2101314] [Originator@6876 sub=Solo.Vmomi opID=esxui-####-####user=root] Result:--> (vim.fault.PlatformConfigFault) {--> faultMessage = (vmodl.LocalizableMessage) [--> (vmodl.LocalizableMessage) {--> key = "com.vmware.esx.hostctl.default",--> arg = (vmodl.KeyAnyValue) [--> (vmodl.KeyAnyValue) {--> key = "reason",--> value = "Failed DNS lookup: hostname: #####-esx.###.#####.###, error: -3"--> }--> ],--> }--> ],--> text = "",
nslookup failed for FQDN of NFS server
[root@####:/var/log] nslookup NFS server FQDN (esx01.####.com) ;; connection timed out; no servers could be reached >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Unable to reach NFS server with FQDN [root@######:/var/log]
Workaround :
Add IP address and FQDN of NFS server details in /etc/hosts file of esxi host.
Enable SSH on the ESXi host (if not already enabled).
SSH into the ESXi host using an SSH client (e.g., PuTTY).
Open the /etc/hosts file with a text editor such as vi:
Add the IP address, FQDN, and short hostname of the NFS server in the following format:
This entry allows the ESXi host to resolve
nfs01.example.localandnfs01to the IP address192.####.####.50without querying DNS.
Save and exit the file (Esc → :wq in vi).
Resolution :
When the NFS server is specified by hostname rather than IP address, successful name resolution is a prerequisite for establishing the NFS connection. Validate and add DNS entries for NFS server to avoid this issues.