h2n tool, how to use -z and -Z options?

Barry Margolin barmar at bbnplanet.com
Fri Aug 6 20:19:40 UTC 1999


In article <37AB39A2.F3751BD5 at cisco.com>,
Michael Voight  <mvoight at cisco.com> wrote:
>I am guessing that if you have h2n, it would be nice if you had the
>documentation that comes with it :). 
>
>The doc says: (note, -Z does NOT save a copy of the data, -z does)
>
>-Z ADDRESS
>> create a boot file, ./boot.sec, for a secondary name server
>that lists ADDRESS as the master to load from.  Do not save a copy of
>the data in a backup file.  (This option is	similar to the -z option.
>
>-z ADDRESS create  a boot file, ./boot.sec.save, for a secondary name	
>server that lists ADDRESS as the master to load from.  Save		a copy of
>the domain data in a backup file.  (This option is similar to the -Z
>option.)

More precisely, the difference is that -z creates a boot file that contains
lines like:

secondary DOMAIN ADDRESS db.DOMAIN

while -Z creates a boot file that contains lines like:

secondary DOMAIN ADDRESS

You almost always want to use -z rather than -Z, so that when the secondary
server starts up it can read the zones from the DB files, rather than
having to perform new zone transfers first.

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list