1zonec(8) BSD System Manager's Manual zonec(8)
2
4 zonec — NSD Zone Compiler version 3.0.6.
5
7 zonec [-v] [-h] [-C] [-L] [-F] [-c configfile] [-d directory] [-o origin]
8 [-z zonefile] [-f database]
9
11 Zonec is the nsd(8) database compiler for creating name space databases
12 from a set of input master zone files specified in nsd.conf(5) file.
13
14 It is normally invoked via nsdc(8) rebuild command. Zonec will then
15 parse every zone in nsd.conf(5) file and add it to the name space data‐
16 base, /etc/nsd/nsd.db by default, that is used by nsd(8) to answer incom‐
17 ing queries.
18
19 The available options are:
20
21 -c configfile
22 Read specified configfile instead of the default
23 /etc/nsd/nsd.conf.
24
25 -C No config file is read (use with -f, -o and -z).
26
27 -d directory
28 Change the working directory to directory before doing any work.
29 Overrides zonesdir: option in config file.
30
31 -f database
32 Create the specified database instead of the file specified as
33 database: in the config file.
34
35
36 -o origin
37 Use this as the first origin. Zone information is read from zone‐
38 file specified with -z. When reading zones from config file this
39 option is ignored.
40
41 -z zonefile
42 Reads all zone information from zonefile. If zonefile equals `-`
43 then all zone information is read from stdin. Making constructs
44 like:
45
46 cat zones* | ./zonec -C -f nsd.db -o example.net -z -
47
48 possible. When reading zones from config file this option is
49 ignored.
50
51
52 -v Increase the verbosity of zonec. This flag can be specified mul‐
53 tiple times to increase the level of verbosity. The first level
54 of verbosity will print per zone summary information. The second
55 level of will print progress information for each 10,000 RRs pro‐
56 cessed.
57
58 -F Set debug facilities. (If compiled with --enable-checking.)
59
60 -L Set debug level. (If compiled with --enable-checking.)
61
63 /etc/nsd/nsd.db
64 default NSD database
65
66 /etc/nsd/nsd.conf
67 default NSD configuration file
68
70 zonec will log all the problems via the standard error output and
71 progress via stdout if -v option is specified.
72
74 nsd(8), nsd.conf(5), nsd-checkconf(8), nsd-notify(8), nsd-patch(8),
75 nsd-xfer(8), nsdc(8)
76
78 NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS
79 file in the distribution for further details.
80
82 Zonec has rather weak error diagnostics that will change in further ver‐
83 sions. Zonec expects the input files to be free of syntax errors and
84 very little fool proof checks are done.
85
86FreeBSD Sep 7, 2007 FreeBSD