Page tree
Skip to end of metadata
Go to start of metadata

 

Description

This function disables Next Secure Record (NSEC) semantics on a domain.

Examples 


 cPanel or Webmail Session URL
https://hostname.example.com:2083/cpsess##########/execute/DNSSEC/unset_nsec3?domain=example.com

Unable to render {include} The included page could not be found.

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

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

Unable to render {include} The included page could not be found.

 LiveAPI Perl Module
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',
    }
);

Unable to render {include} The included page could not be found.

 

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

Unable to render {include} The included page could not be found.

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

Unable to render {include} The included page could not be found.

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

Unable to render {include} The included page could not be found.

Parameters

ParameterTypeDescriptionPossible valuesExample
domainstring

Required.

The domain on which to disable NSEC3. This action sets the domain to use NSEC semantics.

A valid domain.example.com

Returns

This function returns only metadata.