NAME
|
tozone – convert ndb database to a zone file |
SYNOPSIS
|
ndb/tozone [ –dg ] [ –f dbfile ] [ zone... ] |
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 –g).
Each soa in the input file (default /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 –f flag. Arguments limit
the zones generated to the specified zones. |
FILES
|
/lib/ndb/local default datbase |
SOURCE
|
/sys/src/cmd/ndb/tozone.c |
SEE ALSO
|
ndb(2), ndb(6), ndb(8), /lib/rfc/rfc2672 |
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. |