Description

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

Examples 




https://hostname.example.com:2083/cpsess##########/execute/DNSSEC/unset_nsec3?domain=example.com



$cpanel = new CPANEL(); // Connect to cPanel - only do this once.

// Unset NSEC3.
$sa_settings = $cpanel->uapi(
    'DNSSEC', 'unset_nsec3',
    array(
        'domain'     => 'example.com',
    )
);



my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.

# Unset NSEC3.
my $sa_settings = $cpliveapi->uapi(
    'DNSSEC', 'unset_nsec3',
    {
        'domain'     => 'example.com',
    }
);

 



<!-- Unset NSEC3. -->
[% SET sa_settings = execute('DNSSEC', 'unset_nsec3'{'domain'=> 'example.com',} ); %]



uapi --user=username DNSSEC unset_nsec3 domain=example.com



{  
   "metadata":{  
      "DNSSEC":{  
         "disabled":{  
            "example.com":1
         }
      }
   },
   "status":1,
   "data":null,
   "messages":null,
   "errors":null
}



Parameters

ParameterTypeDescriptionPossible valuesExample
domainstring

Required.

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

A valid domain.example.com

Returns

This function returns only metadata.