REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/network/dns/nameServers

GET /api/lunasa/network/dns/nameServers

Returns a list of name servers currently registered.

Parameters

None

Responses

200

A list of all name servers on the appliance.

JSON Schema: Name Servers

400

Unexpected error

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/network/dns/nameServers

Example Response

{
    "nameServers": [
        {
            "id": "1.2.3.4",
            "url": "/api/lunasa/network/dns/nameServers/1.2.3.4"
        },
        {
            "id": "1.2.3.4",
            "url": "/api/lunasa/network/dns/nameServers/1.2.3.4"
        },
        {
            "id": "2001:4860:4860::8888",
            "url": "/api/lunasa/network/dns/nameServers/2001:4860:4860::8888"
        }

    ]
}

See Also

GET /api/lunasa/network/dns/nameServers/{nameServerid}