This function exports a DNSSEC security key to a domain.
Note:
Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ export_zone_key \ domain='example.com' \ key_id='1'
{- "data": {
- "key_tag": 40481,
- "key_type": "CSK"
}, - "metadata": {
- "command": "export_zone_key",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}