REST API  14
REST API for Luna Network HSMs
GET /api/lunasa/network/devices/{deviceid}/dns/nameServers/{nameServerid}

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

This resource returns information about a particular name server registered on the device.

Parameters

deviceid

The identifier of a network device.

Use: Required

JSON Schema:

    Object
    type: string

nameServerid

Specifies the id of the name server

Use: Required

JSON Schema:

    Object
    type:string

Responses

200

Basic information about the name server.

JSON Schema: Name Server

400

Unexpected error

404

Name server does not exist.

404

APPLIANCE_INTERFACE_DOES_NOT_EXIST

Specified interface does not exist.

Example Request

    GET
    https://1.2.3.4:8443/api/lunasa/network/devices/eth0/dns/nameServers/1.2.3.10

Example Response

{
    "address" : "1.2.3.10"
}