VMware NSX
Access to the NSX-T Manager command line with admin user
Get the list of IP addresses for the existing DNS server using the following command:get name-servers
Update the new DNS server IP address using the following command:set name-servers <new-dns-server>
Delete the old DNS server in case it is not in use by using the following command:del name-server <new-dns-server>
Note: This configuration must be applied to all NSX-T Manager nodes.