Configuring and Managing MPE/iX Internet Services (MPE/iX 6.0)
153
B BIND 8 Configuration File
The following is a dummy configuration file example. This explains in
brief what each configuration directive is useful for and its syntax. All
the directives are not required for a typical BIND configuration.
/*
* This is a worthless, nonrunnable example of a named.conf file that has
* every conceivable syntax element in use. We use it to test the parser.
* It could also be used as a conceptual template for users of new features.
*/
/*
* C-style comments are OK
*/
// So are C++-style comments
# So are shell-style comments
// watch out for “;” -- it’s important!
options {
directory “.”; // use current directory
named-xfer “/usr/libexec/named-xfer”; // _PATH_XFER
dump-file “named_dump.db”; // _PATH_DUMPFILE
pid-file “/var/run/named.pid”; // _PATH_PIDFILE
statistics-file “named.stats”; // _PATH_STATS
check-names master fail;
check-names slave warn;
check-names response ignore;
datasize default;
stacksize default;
coresize default;
files unlimited;
recursion yes;
fetch-glue yes;
fake-iquery no;
notify yes; // send NOTIFY messages. You can set
// notify on a zone-by-zone
// basis in the “zone” statement
// see (below)
auth-nxdomain yes; // always set AA on NXDOMAIN.
// don’t set this to ‘no’ unless
// you know what you’re doing -- older
// servers won’t like it.
multiple-cnames no; // if yes, then a name my have more
// than one CNAME RR. This use
// is non-standard and is not
// recommended, but it is available
// because previous releases supported
// it and it was used by large sites
// for load balancing.
allow-query { any; };
allow-transfer { any; };
transfers-in 10; // DEFAULT_XFERS_RUNNING, cannot be
// set > than MAX_XFERS_RUNNING (20)
transfers-per-ns 2; // DEFAULT_XFERS_PER_NS
transfers-out 0; // not implemented
max-transfer-time-in 120; // MAX_XFER_TIME; the default number
// of minutes an inbound zone transfer
// may run. May be set on a per-zone
// basis.