# Update domain to use NSEC3 This function configures the domain to use Next Secure Record 3 (NSEC3) semantics. When you disable the DNS role, the system this function. Endpoint: GET /DNSSEC/set_nsec3 Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `domain` (string, required) The domain on which to enable NSEC3 semantics. Example: "example.com" - `nsec3_iterations` (integer, required) The number of times that the system re-executes the first resource record hash operation. Example: 7 - `nsec3_narrow` (integer, required) Whether NSEC3 will operate in Narrow mode or Inclusive mode. In Narrow mode, PowerDNS sends out white lies about the next secure record. Rather than query the resource record in the database, PowerDNS sends the hash plus 1 as the next secure record. - Inclusive mode. Enum: 0, 1 - `nsec3_opt_out` (integer, required) Whether the system will create records for all delegations. * - Create records for all delegations. * - Create records for secure delegations. select if you create records for all delegations. Enum: 0, 1 - `nsec3_salt` (string, required) The salt value that PowerDNS uses in the hashes. For more information about the salt value, read the RFC 5155 documentation. Beginning with cPanel version 132, this parameter also accepts the literal value to indicate that no salt should be used. Example: "1A2B3C4D5E6F" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "set_nsec3" - `module` (string) The name of the module called. Example: "DNSSEC" - `result` (object) - `result.data` (object) - `result.data.enabled` (object) Contains the domains for which the system enabled NSEC3. This return's name is the parameter's value. Example: {"example1.com":1} - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.status` (integer) - 1 - Success - 0 - Failed: Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.