how to generate the name of a .nzf file?

Tom Mueller t.mueller at strato-rz.de
Tue Mar 20 14:26:23 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

perhaps my idea is quite stupid.

I think about following scenario:
A primary nameserver is script-managed via rdnc addzone/delzone and
nsupdate with data from a database.
I know, rndc generates nzf files, which are named by hash values of
the corresponding view names.
Now there are eg. 50.000 zones configured in that way.
At black friday the system crashes and has to be replaced by a new system.
File-based backups of the old system are of course too old and a
recovery by this way requires zone updates since last backup time, so
its rated as deprecated.

My idea:
Transfer of the the actual generated zone files to the new system and
then performing 50.000 rndc addzone commands to build the nzf files.
The rndc commands will take a lot of time, so it's faster, to generate
the nzf files at my own and transfer them to the new system, too.
Starting named - done.

The question is: how to generate the name of a nzf file?
Is there a tool or an easy way?

- --
Greetings,

Thomas Müller
Entwickler Dedicated Server
-
-------------------------------------------------------------------------------
Telefon: + 49 (0)30 - 398 02 - 0
Telefax: + 49 (0)30 - 398 02 - 0
E-Mail:    t.mueller at strato-rz.de
Website: http://www.strato.de
-
-------------------------------------------------------------------------------
STRATO AG
Pascalstraße 10
10587 Berlin
-
-------------------------------------------------------------------------------
Vorsitzender des Aufsichtsrates: Phil Zamani
Vorstand: Damian Schmidt (Vorsitz), Julien Ardisson,
Christian Müller, Christoph Steffens, René Wienholtz
Amtsgericht Berlin-Charlottenburg HRB 79450

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFPaJNkboB3gPvObwIRAocOAJ9iJ2h+LSQVAfdU1j8+xTsbJxxJSACdE+E7
HZhAzeyEdNwiPk5chtCWbyk=
=04Pm
-----END PGP SIGNATURE-----




More information about the bind-users mailing list