SOLVED change default DNSSEC setting

May 19, 2006
6
0
151
good day

where are located the settings to change the parameters at inclusion in DNSSEC user panel zone editor.
parameters set by default:
'use_nsec3' 1,
'nsec3_opt_out' 0,
'nsec3_iterations' 7,
'nsec3_narrow' 1,
I need to change the parameter
'nsec3_narrow' 0
 
May 19, 2006
6
0
151
Ok
i have two files
template
/usr/local/cpanel/base/frontend/paper_lantern/zoneedit/dnssec.html.tt
script
/usr/local/cpanel/Cpanel/API/DNSSEC.pm

how to set the parameters in the file that they template file to be transferred to the script

What will happen to the changes that I made to the file after updating the control panel?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Ok
i have two files
template
/usr/local/cpanel/base/frontend/paper_lantern/zoneedit/dnssec.html.tt
script
/usr/local/cpanel/Cpanel/API/DNSSEC.pm

how to set the parameters in the file that they template file to be transferred to the script

What will happen to the changes that I made to the file after updating the control panel?
Could you elaborate on the purpose of these changes? Any changes to these files are overwritten during cPanel updates. It's likely better to utilize a hook that automatically runs after a specific action:

Guide to Standardized Hooks - Software Development Kit - cPanel Documentation

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello @[email protected],

I encourage you to open a feature request for the ability to modify the default DNSSEC settings configured on accounts:

Submit A Feature Request

In the meantime, you could develop a script that manually makes the changes to the zone, and then setup a hook that automatically runs in the post stage of the "DNSSEC::enable_dnssec" UAPI function:

UAPI Functions - DNSSEC::enable_dnssec - Software Development Kit - cPanel Documentation
Guide to Standardized Hooks - Software Development Kit - cPanel Documentation

Let us know if you have any questions.

Thanks!