Introduction
There may be occasions when you would like to retain an account's DNS zones when removing it from a server. One reason would be after transferring the account to another server that uses the same DNS cluster members. If the DNS zones are removed when terminating the account on the source server, they will also be removed from the DNS cluster members that are also in use on the destination server. It is important to retain DNS zones when terminating accounts in this scenario.
Procedure
When terminating accounts via WHM "Terminate Accounts", check the 'Keep DNS Zone' box:
When removing accounts with the removeacct
script, pass the--keepdns
flag:
/usr/local/cpanel/scripts/removeacct $user --keepdns
Comments
0 comments
Article is closed for comments.