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

POST /api/lunasa/network/dns/nameServers

Creates a new name server.

Parameters

address

The address of the name server to be added.

Use: Required

JSON Schema:

    Object
    type:string

Responses

204

Success

Location

"Location" is the URL to the newly created nameServer.

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

400

Unexpected error

Example Request

IPV4

    POST
    https://1.2.3.4:8443/api/lunasa/network/dns/nameServers
    {
      "address" : "1.2.3.4"
    }

OR

IPV6

    POST
    https://1.2.3.4:8443/api/lunasa/network/dns/nameServers
    {
      "address" : "2001:4860:4860::8888"
    }

Example Response

{}