Skip to main content

Disable (KEEP DNS ZONE)

Comments

5 comments

  • cPanelMichael
    Hello, It's currently not possible to prevent this option from appearing in the WHM UI when a reseller terminates an account. I encourage you to open a feature request for the ability to exclude this option from appearing in WHM for resellers:
    0
  • sparek-3
    I've often wondered what the point of the "Keep DNS" option is in the WHM. When is deleting an account and keeping the DNS record applicable? For the 1 or 2 times out of ever 1000 times it might have an application (which I still don't know what that is), just delete everything, including the DNS, and Add the DNS entry back. The best solution we have found is to just disable the Keep DNS checkbox. Using the patch file attached, run the command: patch -p0 < disablekeepdns.patch Basically this changes line 216 of the file /usr/local/cpanel/whostmgr/docroot/templates/killacct/views/RemoveView.ptt from: to You can make a request in the feature section, but it always takes too long for things to get accomplished there for me.
    0
  • cPanelMichael
    When is deleting an account and keeping the DNS record applicable?

    Hello, It's primarily utilized when migrating an account from one server to another when both servers are part of the same DNS cluster. Thank you.
    0
  • RadWebHosting
    The best solution we have found is to just disable the Keep DNS checkbox. Using the patch file attached, run the command: patch -p0 < disablekeepdns.patch Basically this changes line 216 of the file /usr/local/cpanel/whostmgr/docroot/templates/killacct/views/RemoveView.ptt from: to You can make a request in the feature section, but it always takes too long for things to get accomplished there for me.

    Nice workaround. Any advice for the opposite (i.e. pre-selected checkbox to keep DNS)?
    0
  • sparek-3
    You would add checked="checked" to this input element
    0

Please sign in to leave a comment.