Richard G
Verified User
Yes that is correct. On backup/restore that normally is also in the user backups.Otherwise wouldn't just recovering the user backups restore all the DNS.
But having a backup is good anyway. Not that long ago I deleted around 20 domains by accident, from a slave server in the multi server setup. But problem was that multiserver was not off yet. It was done because I had to move them to the master server otherwise they wouldn't be accepted because of existance already. But as said. Forgot to turn of the multiserver before.
So all dns from these domains were deleted from both slave as well as the master. And some domains have customized DNS. So I had working domains (not deleted) and non working domains and I had to find a way to rebuild them.
Because domains and accounts were still present but named info not anymore.
There is a script which only just rebuilds all to default, which I couldn't use as I had still working domains also with custom content in the DNS. And that script uses default values.
I had some older backups which I couldn't restore because sites were updated and databases had new content.
So I only used the dns stuff from that old backup and with the perl -pi command I changed some content and added them again (manually) in the named.conf and everything was working again.
Since then before I start doing moving stuff I always create a backup of the named.conf and all dns zones, just to be sure.
I wasn't aware that was in the system backup too as I never use that.
I do the same as you. I also have a few documents. Setup and a few customisations which are done every time I build a server so every server has the same setup. Just like you.