This function exports a domain's DNSKEY record value.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ export_zone_dnskey \ domain='example.com' \ key_id='12345'
{- "data": {
- "dnskey": "AwEAAch8SGW4vE6PjFWA9rbUm0AfTq+gJ0HC/nLu+2axdWHBIStt9lsOzKDorAr4vlmhlJzEzA62s96xp6mZ7XHUyWnkFwLs8obo6upL2in4h1ToOxzVl3lTs8O+kWtDq5/h1nwFlPDs9zpLJhlkTCtx2OTGbvimEYeqwPolUuSQR/Yb",
- "key_id": 12345
}, - "metadata": {
- "command": "export_zone_dnskey",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}