System Administration > Configuration > Fabric > Nodes > DNS

Read the Node's Search Domains

Returns the domain list that the node uses to complete
unqualified host names. When a host name does not include a fully
qualified domain name (FQDN), the NSX Management node appends the
first-listed domain name to the host name before the host name is looked
up. The NSX Management node continues this for each entry in the domain
list until it finds a match.

Request:

Method:
GET
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
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/network/search-domains

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeSearchDomainsProperties+

Example Response:

{ "search_domains": [ "eng.company.com", "company.com" ] }

Required Permissions:

read

Feature:

system_administration

Additional Errors: