GET /dns_zones/name_servers

Returns a list of name servers

Sections:

Response Parameters

Returns an array of name servers

JSON Request example

 curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url <api_url>/dns_zones/name_servers.json

JSON Response

 [
    "ns1.superbcloud.net",
    "ns2.superbcloud.net",
    "ns3.superbcloud.net",
    "ns4.superbcloud.net"
]

XML Request example

 curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url <api_url>/dns_zones/name_servers.xml

XML Response example

 <strings type="array">
    <string>ns1.superbcloud.net</string>
    <string>ns2.superbcloud.net</string>
    <string>ns3.superbcloud.net</string>
    <string>ns4.superbcloud.net</string>
</strings>