System Administration > Configuration > Fabric > Nodes > DNS

Read the Node's Name Servers

Returns the list of servers that the node uses to look up IP
addresses associated with given domain names.

Request:

Method:
GET
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/network/name-servers
/api/v1/cluster/{cluster-node-id}/node/network/name-servers
/api/v1/node/network/name-servers
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/network/name-servers

Successful Response:

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

Example Response:

{ "name_servers": [ "10.33.38.1", "10.33.38.2" ] }

Required Permissions:

read

Feature:

system_administration

Additional Errors: