Skip to main content

Hook to unset_nsec3 for DNSSEC enabled domains

Comments

9 comments

  • cPanelLauren
    This thread on hookable events might be helpful if you end up needing to create your own:
    0
  • jacksony
    Thanks Lauren! If anyone has a script ready which we can use it will be great. We can even pay if the fee is not too much to implement this hook with the script. Since we are not too sure when this feature will be implemented at cPanel side.
    0
  • jacksony
    Seems like we are stuck here.. :(
    0
  • cPanelLauren
    Hi @jacksony I'm sorry, it does look like you've not gotten very much traction on this, I will say it's not something I've sen requested previously which may be the issue. The WHMAPI1 function here would do it Guide to Standardized Hooks - Hookable Events - Developer Documentation - cPanel Documentation If you don't have anyone in mind you may find someone here: System Administration Services
    0
  • jacksony
    Can't find any from the System Admin list. As they are mostly server support but not hook developers..
    0
  • LucasRolff
    While I don't have my dev environment available, I have a hard time cooking something up. Ideally enable debug mode before starting, that should give you pointers how the data structure of hookdata looks like - how to enable debugging for hooks can be found here:
    0
  • jacksony
    Thanks! I'm trying it out. But from the cPanel guides, perl hook script should be saved in /usr/local/cpanel/3rdparty/bin instead, is that correct? To modify nsec3, The API says this: whmapi1 unset_nsec3_for_domains domain=example.com But this is command line usage. How can I covert this to perl script, so as to run this every time DNSSEC is enabled through cPanel for each domain?
    0
  • jacksony
    Hi, Any advice for us to implement this?
    0
  • cPanelLauren
    There isn't a Perl equivalent to this listed in the WHMAPI1 docs but it odes look like it uses the following Perl module which might be helpful? /usr/local/cpanel/Whostmgr/API/1/DNS.pm
    @LucasRolff may have suggestions as well.
    0

Please sign in to leave a comment.