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

GET /api/lunasa/network/devices/{deviceid}/dns/searchDomains/{searchDomainid}

Returns information about a particular search domain registered on the device.

Parameters

deviceid

The identifier of a network device.

Use: Required

JSON Schema:

    Object
    type: string

searchDomainid

Specifies the id of the search domain.

Use: Required

JSON Schema:

    Object
    type:string

Responses

200

Basic information about the search domain.

JSON Schema: Name Server

400

Unexpected error

404

Search domain 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/searchDomains/1.2.3.10

Example Response

{
    "domain" : "1.2.3.10"
}