DNS entry for the ESXi host changed from Management IP to NSX VTEP IP.
DHCP server was configured with "Dynamically update DNS records only if requested by the DHCP clients"
ESXi host advance setting's configured with PreferredHostName indicates the ESXi host will participate in DDNS. (Dynamic DNS)
By default, the Advance Settings of ESXi host for PreferredHostName is set to blank: Path: /Misc/PreferredHostName Type: string Int Value: 0 Default Int Value: 0 Min Value: 0 Max Value: 0 String Value: Default String Value: Valid Characters: ** Description: Preferred Host name Host Specific: false Impact: none
Validate if PreferredHostName is configured in ESXi Advanced Settings:esxcli system settings advanced list | grep -i PreferredHostName -A 11
To set the PreferredHostName settings back to default use the below command:esxcli system settings advanced set -o /Misc/PreferredHostName -d
output: Path: /Misc/PreferredHostName Type: string Int Value: 0 Default Int Value: 0 Min Value: 0 Max Value: 0 String Value: Default String Value: Valid Characters: ** Description: Preferred Host name Host Specific: false Impact: none
To set the PreferredHostName settings use the below command:esxcli system settings advanced set -o /Misc/PreferredHostName -s esxhostname.example.com
output: Path: /Misc/PreferredHostName Type: string Int Value: 0 Default Int Value: 0 Min Value: 0 Max Value: 0 String Value: esxhostname.example.com Default String Value: Valid Characters: ** Description: Preferred Host name Host Specific: false Impact: none
NSX-HOST-TEP