When attempting to add additional DNS servers to the TCP/IP Stack Configuration for an ESXi host within the vCenter inventory, the changes are not saved. After navigating to the host's Configure tab > TCP/IP Configuration, editing the default stack, and clicking "OK", vCenter rejects the modification and displays a red exclamation icon next to the DNS configuration.
When attempting the same configuration directly in the ESXi web UI (Networking > TCP/IP Stacks > Default TCP/IP stack > Edit settings), the following errors are displayed:Please provide valid search domains Please provide a valid domain name
VMware vCenter
VMware ESXi
This issue occurs because the Domain name and Search Domain fields are mandatory parameters for the TCP/IP stack. If these fields are left blank when updating the DNS settings, input validation fails and prevents the new configuration from saving.
To resolve this issue, you must fully populate the DNS configuration fields:
For additional reference: How to change ESXi host DNS server IP