1zonec(8)                           nsd 3.2.8                          zonec(8)
2
3
4

NAME

6       zonec - NSD zone compiler version 3.2.8.
7

SYNOPSIS

9       zonec  [-v] [-h] [-C] [-L] [-F] [-c configfile] [-d directory] [-o ori‐
10       gin] [-z zonefile] [-f database]
11

DESCRIPTION

13       Zonec is the nsd(8) database compiler for creating name space databases
14       from a set of input master zone files specified in nsd.conf(5) file.
15
16       It  is  normally  invoked via nsdc(8) rebuild command.  Zonec will then
17       parse every zone in nsd.conf(5) file and add it to the name space data‐
18       base,  /var/lib/nsd/nsd.db by default, that is used by nsd(8) to answer
19       incoming queries.
20

OPTIONS

22       -c configfile
23              Read   specified   configfile    instead    of    the    default
24              /etc/nsd/nsd.conf.
25
26       -C     No config file is read (use with -f, -o and -z).
27
28       -d directory
29              Change the working directory to directory before doing any work.
30              Overrides zonesdir: option in config file.
31
32       -f database
33              Create the specified database instead of the file  specified  as
34              database: in the config file.
35
36       -o origin
37              Use  this  as  the  first  origin. Zone information is read from
38              zonefile specified with -z. When reading zones from config  file
39              this 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  con‐
44              structs 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       -v     Increase the verbosity of zonec. This flag can be specified mul‐
52              tiple  times to increase the level of verbosity. The first level
53              of verbosity will print per zone summary information. The second
54              level  of  will  print  progress information for each 10,000 RRs
55              processed.
56
57       -F     Set debug facilities. (If compiled with --enable-checking.)
58
59       -L     Set debug level. (If compiled with --enable-checking.)
60

FILES

62       /var/lib/nsd/nsd.db
63              default NSD database
64
65       /etc/nsd/nsd.conf
66              default NSD configuration file
67

DIAGNOSTICS

69       Zonec will log all the problems  via  the  standard  error  output  and
70       progress via stdout if the v option is specified.
71

SEE ALSO

73       nsd(8),  nsdc(8),  nsd.conf(5),  nsd-checkconf(8),  nsd-notify(8), nsd-
74       patch(8), nsd-xfer(8)
75

AUTHORS

77       NSD was written by NLnet Labs and RIPE NCC joint team. Please see CRED‐
78       ITS file in the distribution for further details.
79

BUGS

81       Zonec  has  rather  weak  error diagnostics that will change in further
82       versions.  Zonec expects the input files to be free  of  syntax  errors
83       and very little fool proof checks are done.
84
85
86
87NLnet Labs                       Mar 22, 2011                         zonec(8)
Impressum