Skip to main content

Adding/Removing Servers from DNS Cluster - DNS Cleanup?

Comments

4 comments

  • cPanelMichael
    Hello :) The "Perform a DNS Cleanup" option will only remove duplicate DNS entries. You will have to manually delete the DNS Zones on a server after removing it from the cluster. The following feature request may be of interest to you: Ownership and access control of zones in the dns server Thank you.
    0
  • sneader
    Hi Michael. Hmmm... OK... do you have any tips on the process to "manually delete the DNS Zones on a server after removing it from the cluster" ? - Scott
    0
  • fi77i
    You can login to your WHM and remove the zones from the delete DNS zone section. Main >> DNS Functions >> Delete DNS zone Multiple zone selection is enable in whm and you can remove them all form there. You can also remove them by hand via console by deleting the zone file in /var/named/.db but you need to remove the entries in /etc/named.conf for each zone also. WHM way should be the easiest.
    0
  • cPanelMichael
    Hello :) You could look at the files on the server that list your domain names. EX: /etc/localdomains /etc/remotedomains Use these files to populate a list of domain names. Then, develop a custom bash script to exclude those domain names from deletion or copy the zones to another location. This will allow you to delete the DNS zones all domain names not added to the server. Thank you.
    0

Please sign in to leave a comment.