ESXi host disconnects intermittently from vCenter if there are multiple A and PTR records in DNS
search cancel

ESXi host disconnects intermittently from vCenter if there are multiple A and PTR records in DNS

book

Article ID: 314216

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

  • ESXi host gets intermittently disconnected from vCenter.
  • When running an nslookup against the hostname of the ESXi host from a third system, the IP address returned is invalid, or there are multiple IP address returned with at least one of them being invalid.
  • The vCenter service log, /var/log/vmware/vpxd/vpxd.log, contains entries similar to the following example:
    YYYY-MM-DDThh:mm:ss:uuu warning vpxd[###] [Originator@6876 sub=MoHost opID=HostSync-host-<host_id>-<opID>] host [vim.HostSystem:host-<host_id>,] connection state changed to NO_RESPONSE
    YYYY-MM-DDThh:mm:ss:uuu warning vpxd[64705] [Originator@6876 sub=MoHost opID=HostSync-host-<host_id>-<opID>] host [vim.HostSystem:host-<host_id>,] connection state changed to NO_RESPONSE
    YYYY-MM-DDThh:mm:ss:uuu warning vpxd[64784] [Originator@6876 sub=IO.Connection opID=HB-host-<host_id>@<opID>] Failed to connect; <io_obj p:0x00007f4dd49726c8, h:152, <TCP '##.###.##.##.### : (port)'>, <TCP '##.###.##.##.### : (port)'>>, e: 110(Connection timed out), duration: 31436msec

Environment

  • vCenter Server 7.0.x
  • vCenter Server 8.0.x
  • vCenter 9.x
  • vSphere ESXi 7.0.x
  • vSphere ESXi 8.0.x
  • ESX 9.x

Cause

This issue occurs when there are multiple A and PTR records configured in DNS for a specific ESXi host.
While attempting to connect to one of these records, vCenter Server encounters an unreachable IP address.

Resolution

To resolve this issue, apply the following steps:

  1. Delete any incorrect PTR records from the DNS server.
  2. Make sure that no invalid entries exist for the host FQDN in the local /etc/hosts file of the vCenter Server Appliance.
  3. Once all invalid entries have been cleared, restart the management agents (hostd and vpxa) on the affected ESXi host by following the steps described in Restarting Management Agents in ESXi