NSX-T Data Center REST API
Update the Node's Search Domains
Modifies the list of domain names that the node uses to completeunqualified host names. If DHCP is configured, this method returns
a 409 CONFLICT error, because DHCP manages the list of name servers.
Request:
Method:
              PUT
            URI Path(s):
              
              
                  
                  /api/v1/cluster/<cluster-node-id>/node/network/search-domains
                  
/api/v1/node/network/search-domains
/api/v1/transport-nodes/<transport-node-id>/node/network/search-domains
              
            /api/v1/node/network/search-domains
/api/v1/transport-nodes/<transport-node-id>/node/network/search-domains
Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    NodeSearchDomainsProperties+
  Example Request:
PUT https://<nsx-mgr>/api/v1/node/network/search-domains { "search_domains": [ "eng.company.com", "company.com", "eng-backup.company.com" ] }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    NodeSearchDomainsProperties+