cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

DNS → Create domain's DNSSEC zone key

AI-generated

Summary

Create a DNSSEC zone key for a specified domain in cPanel WHM with configurable algorithm, key type, activation status, and key size.

Inputs

  • Domain (required) — The domain for which to enable DNSSEC.
  • Algo Num (required) — The algorithm number used to generate the security key. Options include 5 (RSA/SHA-1), 6 (DSA-NSEC3-SHA1), 7 (RSA SHA1-NSEC3-SHA1), 8 (RSA/SHA-256), 13 (ECDSA Curve P-256 with SHA-256), and 14 (ECDSA Curve P-384 with SHA-384).
  • Key Type (required) — The type of DNSSEC key to add: 'ksk' for Key Signing Key or 'zsk' for Zone Signing Key (must be lowercase).
  • Active — Whether to activate the new key immediately: 1 to activate, 0 to leave inactive (default is 0).
  • Key Size — The size of the security key in bits. Typical defaults depend on the algorithm and key type (e.g., 2048 for ksk with algo 5). Options include 256, 384, 1024, and 2048.

Output shape

a single API response object containing information about the created DNSSEC zone key

The output reflects the cPanel WHM API response to the create zone key request and may include details such as the status of the key creation. Errors are reported in the response object according to the WHM API conventions.

Links

Discussion