An alarm is triggered in vSAN Skyline Health: "Both DNS forward and reverse lookup are not working or incorrect".
vSAN File Service is non-functional.
When tested directly from the ESXi host command line interface, the DNS server is reachable, and both forward and reverse DNS resolutions for the FSVM are correct.
The vSAN File Service is deployed on an NSX-backed network segment.
VMware vSAN with File Service enabled
VMware NSX
vSAN File Service VMs (FSVMs) deployed on an NSX segment
vSAN File Service utilizes File Service VMs (FSVMs) that require dynamic MAC address movement and IP floating across nodes to maintain high availability. When deployed on an NSX segment, default NSX network security profiles restrict MAC address modifications. Consequently, dynamic MAC alterations are intercepted and blocked at the logical switch level, preventing outgoing DNS queries from leaving the FSVMs.
To restore network connectivity for the FSVMs, verify the current MAC Discovery profile assigned to the NSX segment. If MAC modifications are not permitted, a custom profile must be created and applied.
Follow the instructions below to verify and configure the NSX segment:
Log in to the NSX Manager UI.
Navigate to Networking > Segments and locate the segment assigned to the vSAN File Service.
Edit the segment and check the currently assigned MAC Discovery profile in the segment profiles section.
Verify if MAC Learning and MAC Change are enabled in this profile. If any of the two options is disabled, proceed to the next step.
Navigate to Networking > Segments > Segment Profiles.
Select the MAC Discovery tab and create a new profile.
Configure the following parameters within the new profile:
MAC Learning: Enabled
MAC Change: Enabled
Save the newly created MAC Discovery profile.
Return to Networking > Segments and edit the segment assigned to the vSAN File Service.
Replace the existing MAC Discovery profile with the newly created custom profile.
Save the segment configuration.
Network policies will apply immediately, allowing DNS traffic to pass and clearing the vSAN File Service alarm.