Path Parameters
Response
ItemZoneResponse
Complete zone info with all records included
curl --request GET \
--url https://api.___serverhost___/dns/v2/zones/{name}
{
"Zone": {
"client_id": 123,
"contact": "<string>",
"dnssec_enabled": true,
"expiry": 123,
"id": 123,
"meta": {},
"name": "<string>",
"nx_ttl": 123,
"primary_server": "<string>",
"records": [
{
"name": "<string>",
"short_answers": [
"<string>"
],
"ttl": 123,
"type": "<string>"
}
],
"refresh": 123,
"retry": 123,
"rrsets_amount": {
"dynamic": {
"healthcheck": 123,
"total": 123
},
"static": 123,
"total": 123
},
"serial": 123,
"status": "<string>"
}
}
Zone info by zone name.
curl --request GET \
--url https://api.___serverhost___/dns/v2/zones/{name}
{
"Zone": {
"client_id": 123,
"contact": "<string>",
"dnssec_enabled": true,
"expiry": 123,
"id": 123,
"meta": {},
"name": "<string>",
"nx_ttl": 123,
"primary_server": "<string>",
"records": [
{
"name": "<string>",
"short_answers": [
"<string>"
],
"ttl": 123,
"type": "<string>"
}
],
"refresh": 123,
"retry": 123,
"rrsets_amount": {
"dynamic": {
"healthcheck": 123,
"total": 123
},
"static": 123,
"total": 123
},
"serial": 123,
"status": "<string>"
}
}
ItemZoneResponse
Complete zone info with all records included
Was this page helpful?