This function enables DNSSEC on the domain.
Note:
domain required | string <domain> The domain for which to enable DNSSEC. Note: To enable DNSSEC on multiple domains, duplicate or increment the parameter name. For example, to check three domains, you could:
domain=domain=example.com&domain-1=example1.com&domain-2=example2.com domain=domain=example.com&domain=example1.com&domain=example2.com domain=example.com |
active | integer Default: 1 Whether to activate the newly-created key.
Example: active=1 |
algo_num | integer Default: 8 The algorithm that the system uses to generate the security key.
Note: We recommend that you use an ECDSA Curve P-256 with SHA-256 (13) value if your registrar supports it. Example: algo_num=8 |
key_setup | string Default: "classic" The manner in which the system creates the security key.
Example: key_setup=classic |
nsec3_iterations | integer [ 1 .. 500 ] Default: 7 The number of times that the system rehashes the first resource record hash operation. Example: nsec3_iterations=7 |
nsec3_narrow | integer Default: 1 Whether NSEC3 operates in Narrow or Inclusive mode. Note: For information about these modes, read PowerDNS's DNSSEC documentation.
Example: nsec3_narrow=1 |
nsec3_opt_out | integer Default: 0 Whether the system will create records for all delegations.
Note: Only use the Example: nsec3_opt_out=1 |
nsec3_salt | string A hexadecimal string that the system appends to the domain name before it applies the hash function to the name. Note: For information about salt values, read RFC 5155. Example: nsec3_salt=1a2b3c4d5e6f |
use_nsec3 | integer Default: 1 Whether the domain will use Next Secure Record (NSEC) or NSEC3 semantics.
Note: If you use this value, the system ignores the other NSEC3 options. Example: use_nsec3=1 |
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ enable_dnssec_for_domains \ domain='example.com'
{- "data": {
- "domains": [
- {
- "domain": "example.com",
- "enabled": 1,
- "new_key_id": "2",
- "nsec_error": "Error message.",
- "nsec_version": "NSEC3"
}
]
}, - "metadata": {
- "command": "enable_dnssec_for_domains",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}