Enable NSEC semantics for domain

This function configures the domain to use Next Secure Record (NSEC) semantics instead of Next Secure Record 3 (NSEC3) semantics.

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.

Authorizations:
query Parameters
domain
required
string

The domain for which to disable NSEC3 semantics and use NSEC semantics.

Example: domain=example.com

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  unset_nsec3_for_domains \
  domain='example.com'

Response samples

Content type
application/json
{
  • "data": {
    • "domains": [
      • {
        • "disabled": 1,
        • "domain": "example.com",
        • "error": "Error message."
        }
      ]
    },
  • "metadata": {
    • "command": "unset_nsec3_for_domains",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}