Querying Name Servers in a Private Zone
Function
Query name servers in a private zone.
URI
GET /v2/zones/{zone_id}/nameservers
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
zone_id |
Yes |
String |
Zone ID You can obtain the value by calling the API in Querying Private Zones. |
Request
Response
- Parameter description
Table 2 Parameter in the response Parameter
Type
Description
nameservers
Array of object
Name server list object
For details, see Table 3.
- Example response
{ "nameservers": [ { "priority": 1, "address": "100.125.0.81" }, { "priority": 2, "address": "100.125.0.82" } ] }
Returned Value
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot