Create Dns Zone
Create Dns Zone on the NodeRings client API (POST /v1/dns/zones).
Authorization<token>
Bearer token
In: header
X-Organization-ID<token>
Tenant or organization identifier
In: header
name?string
records?
Records the customer kept from the live-scan review. Empty means create a blank zone.
Response Body
application/json
curl -X POST "https://api.noderings.com/v1/dns/zones" \ -H "Authorization: Bearer {your_token}" \ -H "X-Organization-ID: {your_org_id}" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "records": [ { "name": "string", "type": "string", "ttl": 0, "rdata": [ "string" ], "system": false } ]}'{
"zone": {
"id": "string",
"name": "string",
"state": "DNS_ZONE_STATE_UNSPECIFIED",
"assignedNameservers": [
"string"
],
"unicastNameservers": [
"string"
],
"delegationOk": true,
"dnssecMode": "DNSSEC_MODE_UNSPECIFIED",
"geoEnabled": true,
"organizationId": "string",
"timestamps": {
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z"
}
}
}