This function exports a domain's DNSKEY record value.
Important:
When you disable the DNS role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ DNSSEC \ export_zone_dnskey \ domain='example.com' \ key_id='12345'
{- "apiversion": 3,
- "func": "export_zone_dnskey",
- "module": "DNSSEC",
- "result": {
- "data": {
- "dnskey": "AwEAAch8SGW4vE6PjFWA9rbUm0AfTq+gJ0HC/nLu+2axdWHBIStt9lsOzKDorAr4vlmhlJzEzA62s96xp6mZ7XHUyWnkFwLs8obo6upL2in4h1ToOxzVl3lTs8O+kWtDq5/h1nwFlPDs9zpLJhlkTCtx2OTGbvimEYeqwPolUuSQR/Yb",
- "key_id": 12345,
- "success": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}