Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zonec(8) [mojave man page]

zonec(8)                                                            nsd 3.2.12                                                            zonec(8)

NAME
zonec - NSD zone compiler version 3.2.12. SYNOPSIS
zonec [-v] [-h] [-C] [-L] [-F] [-c configfile] [-d directory] [-o origin] [-z zonefile] [-f database] DESCRIPTION
Zonec is the nsd(8) database compiler for creating name space databases from a set of input master zone files specified in nsd.conf(5) file. It is normally invoked via nsdc(8) rebuild command. Zonec will then parse every zone in nsd.conf(5) file and add it to the name space database, /var/lib/nsd3/nsd.db by default, that is used by nsd(8) to answer incoming queries. OPTIONS
-c configfile Read specified configfile instead of the default /etc/nsd3/nsd.conf. -C No config file is read (use with -f, -o and -z). -d directory Change the working directory to directory before doing any work. Overrides zonesdir: option in config file. -f database Create the specified database instead of the file specified as database: in the config file. -o origin Use this as the first origin. Zone information is read from zonefile specified with -z. When reading zones from config file this option is ignored. -z zonefile Reads all zone information from zonefile. If zonefile equals `-`, then all zone information is read from stdin, making constructs like: # cat zones* | ./zonec -C -f nsd.db -o example.net -z - possible. When reading zones from config file this option is ignored. -v Increase the verbosity of zonec. This flag can be specified multiple times to increase the level of verbosity. The first level of verbosity will print per zone summary information. The second level of will print progress information for each 10,000 RRs pro- cessed. -F Set debug facilities. (If compiled with --enable-checking.) -L Set debug level. (If compiled with --enable-checking.) FILES
/var/lib/nsd3/nsd.db default NSD database /etc/nsd3/nsd.conf default NSD configuration file DIAGNOSTICS
Zonec will log all the problems via the standard error output and progress via stdout if the v option is specified. SEE ALSO
nsd(8), nsdc(8), nsd.conf(5), nsd-checkconf(8), nsd-notify(8), nsd-patch(8), nsd-xfer(8) AUTHORS
NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details. BUGS
Zonec has rather weak error diagnostics that will change in further versions. Zonec expects the input files to be free of syntax errors and very little fool proof checks are done. NLnet Labs jul 19, 2012 zonec(8)

Check Out this Related Man Page

nsd-checkconf(8)						    nsd 3.2.12							  nsd-checkconf(8)

NAME
nsd-checkconf - NSD configuration file checker. SYNOPSIS
nsd-checkconf [-v] [-h] [-o option] [-z zonename] [-s keyname] configfile DESCRIPTION
nsd-checkconf reads a configuration file. It prints parse errors to standard error, and performs additional checks on the contents. The configfile format is described in nsd.conf(5). The utility of this program is to check a config file for errors before using it in nsd(8) or zonec(8). This program can also be used for shell scripts to access the nsd config file, using the -o and -z options. OPTIONS
-v After reading print the options to standard output in configfile format. Without this option, only success or parse errors are reported. -h Print usage help information and exit. -o option Return only this option from the config file. This option can to be used in conjunction with the -z option. The special value zones prints out a list of configured zones. This option is primarily used by nsdc to parse the config file from the shell. If the -z option is given, but the -o option is not given, nothing is printed. -s keyname Prints the key secret (base64 blob) configured for this key in the config file. Used to help shell scripts parse the config file. -z zonename Return the option specified with -o for zone 'zonename'. If this option is not given, the server section of the config file is used. This option is primarily used by nsdc to parse the con- fig file from the shell. The -o, -s and -z option print configfile options to standard output. FILES
/etc/nsd3/nsd.conf default NSD configuration file SEE ALSO
nsd(8), nsdc(8), nsd.conf(5), nsd-notify(8), nsd-patch(8), nsd-xfer(8), zonec(8) AUTHORS
NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details. NLnet Labs jul 19, 2012 nsd-checkconf(8)
Man Page