![]() |
REST API
14
REST API for Luna Network HSMs
|
Returns a list of name servers currently registered on the device.
Specifies the id of the device.
Use: Required
JSON Schema:
Object type:string
A list of all name servers on the device.
JSON Schema: Name Servers
Unexpected error
Specified interface does not exist.
GET https://1.2.3.4:8443/api/lunasa/network/devices/eth0/dns/nameServers
{ "nameServers": [ { "id": "1.2.3.10", "url": "/api/lunasa/network/devices/eth0/dns/nameServers/1.2.3.10" }, { "id": "1.2.3.14", "url": "/api/lunasa/network/devices/eth0/dns/nameServers/1.2.3.14" }, { "id": "2001:4860:4860::8888", "url": "/api/lunasa/network/devices/eth0/dns/nameServers/2001:4860:4860::8888" } ] }
GET /api/lunasa/network/devices/{deviceid}/dns/nameServers/{nameServerid}