The DNS server in our environment changed. Use following process to remove and add new DNS servers in NSX-T (3.1.2)
SSH to IP address of NSX-T Manager using the admin account
Show Current Name Servers
nsx01> get name-servers
Output:
Fri Aug 27 2021 UTC 09:25:44.265
10.0.44.3
10.0.44.4
Remove Name servers
nsx01> del name-server 10.0.44.3
nsx01> del name-server 10.0.44.4
Set New Name Servers
nsx01> set name-servers 10.0.97.3
nsx01> set name-servers 10.0.97.4