wadearnold

Well-Known Member
Jan 13, 2002
111
0
316
Is it possible to rebuild default local zones from the users on the server?

I did a fantastic job of deleting accounts and DNS records from an old server. I had the DNS servers clusetered so the new server lost the zone entries.

Or even show what local domains do not have zone files so that I can manually create the zones. This was a server consolidation so their are hundreds of domains with only a dozen or so missing.

Thanks for your help
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
31
473
Go on, have a guess
The following may help:

/scrtips/rebuildnamedconf

However, I believe that only works on rebuilding named.conf as long as the zone file is actually present in /var/named. If not, then you're most likely going to need to either readd them individually through WHM or script something yourself.