Plan 9 from Bell Labs’s /usr/web/sources/contrib/quanstro/root/sys/man/8/ndbtozone

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH NDBTOZONE 8
.SH NAME
tozone \- convert ndb database to a zone file
.SH SYNOPSIS
.B ndb/tozone
[
.B -dg
] [
.B -f
.I dbfile
] [
.I zone...
]
.SH DESCRIPTION
Convert a network database file to a zone file
for bind interoperability.  Standard name compression
is applied and glue for subordinate zones is automaticly
generated.  (Glue may be supressed with
.BR -g ).
Each soa in the input file (default
.BR /lib/ndb/local )
is converted into a zone.  Reverse zones (including
classless RFC2317-style zones) are automaticly generated
given an soa record.  The databases may be specified
with the
.B -f
flag.  Arguments limit the zones generated to 
the specified zones.
.SH FILES
.TF /lib/ndb/localxxx
.TP
.B /lib/ndb/local
default datbase
.SH SOURCE
.B /sys/src/cmd/ndb/tozone.c
.SH "SEE ALSO"
.IR ndb (2),
.IR ndb (6),
.IR ndb (8),
/lib/rfc/rfc2672
.SH BUGS
Ndb's structure makes it difficult to be precise about which
records belong to which zones.  In contrast to a `/' in a path,
a `.' in a dns name is not always a zone boundary.
Zones are greedy; a single soa with a dom of `.' would include
all names.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].