Cleanup of abandoned zones in DNS cluster

ttremain

Well-Known Member
Feb 16, 2003
216
0
166
cPanel Access Level
Root Administrator
I'm doing some DNS work. I have discovered there are a lot of DNS zones in my cluster that have not been serviced for years.

There are multiple servers with domains in use. All sorts of uses.. Hosted domains, add-on domains, zones belonging to resellers.

What I would like to do, is make a list of all the zones that SHOULD be in the cluster. I will have to collect this list from each server so it is complete, then I should be able to remove any zones not in the list.

Can anyone offer me a starting direction for collecting the domains?
 

ttremain

Well-Known Member
Feb 16, 2003
216
0
166
cPanel Access Level
Root Administrator
Additional related question:

is `/scripts/killdns <domainname.com>` the correct way to delete a zone from all servers in the cluster in SSH?
 

ttremain

Well-Known Member
Feb 16, 2003
216
0
166
cPanel Access Level
Root Administrator
I do see that MOST of the domains are listed in the files within:
/var/cpanel/users
as:
DNS=domain name
DNS2=another domain.name

But where do the resellers "additional" domain zones get listed? (I.E. created in WHM with no hosting attached)