These settings modify the behavior of nssync
as a whole.
At startup, check if file already exists and is owned by an existing
process. Exit if so. Use this statement to avoid accidentally
running two copies of nssync
simultaneously.
Sets the name for the temporary directory. This is a directory where
nssync
creates temporary zone files. The argument must
point to an existing directory.
If set to true
, nssync
will check the list of NS
servers prior to creating a zone file. The file will be created only
if IPv4 address of one of the servers matches one of the IP addresses
of the host on which nssync
is run.
Defines the full pathname of the named
configuration file.
Default is /etc/named.conf.
Sets include search path for include
directives found in BIND
configuration. The argument is either a single directory or a list of
directories (see list).
Defines the pattern for zone file names. The name of each zone file is created by expanding variable references in the pat argument. The following variable references are defined:
Name of the zone, without the trailing dot.
Zone synchronization tag (see Synchronization Block).
Both notations (with and without braces) are equivalent. The notation with curly braces should be used if the reference is immediately followed by a letter.
The default zone file pattern is ‘$zone.$synctag’.
Defines the pattern for zone configuration file, i.e. a file
containing zone
statements.
The handling of pat is similar to that in zonefile-pattern
,
except that only the ‘$synctag’ reference is defined.
Defines a command to be used for comparing two zone files. The
cmd must be a command taking two files as its arguments and
returning 0 if they are the same or non-zero if they differ.
Nssync
uses this command to determine whether a particular
zone has changed. The following variable references are
expanded in cmd:
Old zone file.
New zone file.
The default compare-command
value is:
cmp $oldfile $newfile > /dev/null
Defines a command to reload the nameserver. The default is ‘/usr/sbin/rndc reload’.
This document was generated on April 24, 2015 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.