This KB article provides manual steps to update DNS servers manually in each component in VCF stack
Symptoms:
Unable to update DNS in VCF environment by following the document below
curl -u 'admin:<Password>' <https://examplensxmanager/api/v1/node/network/name-servers -k>
curl -u 'admin:<Password>' -X PUT -H 'Content-type: application/json' <https://examplensxmanager/api/v1/node/network/name-servers -d>
'{"name_servers":["#.#.#.#","#.#.#.#"
]}' -k
curl -u 'admin:<Password>' <https://examplensxmanager/api/v1/node/network/name-servers -k>
$ curl localhost/inventory/system-info
{"dnsInfo":{"rootDomain":"vsphere.local","subDomain":"vrack.vsphere.local","primaryDns":"#.#.#.#
"},"ntpInfo":{"ntps":["#.#.#.#
"]}}
$ curl -H "Content-Type: application/json" -X PATCH <http://localhost/appliancemanager/dns/configuration> -d '{"primaryDnsServer": "#.#.#.#
", "secondaryDnsServer": "#.#.#.#
"}
'$ curl localhost/inventory/system-info
{"dnsInfo":{"rootDomain":"vsphere.local","subDomain":"vrack.vsphere.local","primaryDns":"#.#.#.#
","secondaryDns":"#.#.#.#
"},"ntpInfo":{"ntps":["#.#.#.#
"]}}
nslookup ip_of_SDDC ip_of_new_DNS
nslookup FQDN_of_SDDC ip_of_new_DNS