1998-05-03 04:11:49 +00:00
|
|
|
// This is a configuration file for named (from BIND 8.1 or later).
|
|
|
|
// It would normally be installed as /etc/named.conf.
|
|
|
|
|
|
|
|
options {
|
|
|
|
// directory "/var/named";
|
|
|
|
check-names master warn; /* default. */
|
|
|
|
datasize 20M;
|
1999-11-30 02:43:11 +00:00
|
|
|
deallocate-on-exit yes;
|
|
|
|
listen-on { 10.0.0.53; };
|
1998-05-03 04:11:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
zone "localhost" IN {
|
|
|
|
type master;
|
|
|
|
file "localhost.zone";
|
|
|
|
check-names fail;
|
|
|
|
allow-update { none; };
|
|
|
|
allow-transfer { any; };
|
|
|
|
};
|
|
|
|
|
|
|
|
zone "0.0.127.in-addr.arpa" IN {
|
|
|
|
type master;
|
|
|
|
file "127.0.0.zone";
|
|
|
|
check-names fail;
|
|
|
|
allow-update { none; };
|
|
|
|
allow-transfer { any; };
|
|
|
|
};
|
|
|
|
|
|
|
|
zone "." IN {
|
|
|
|
type hint;
|
|
|
|
file "root.hint";
|
|
|
|
};
|
1999-11-30 02:43:11 +00:00
|
|
|
|
|
|
|
logging {
|
|
|
|
channel xfer-log {
|
|
|
|
file "/var/tmp/bind-xfer.log" versions unlimited size 10m;
|
|
|
|
print-category yes;
|
|
|
|
print-severity yes;
|
|
|
|
print-time yes;
|
|
|
|
severity info;
|
|
|
|
};
|
|
|
|
category xfer-in { xfer-log; };
|
|
|
|
category xfer-out { xfer-log; };
|
|
|
|
category notify { xfer-log; };
|
|
|
|
category load { xfer-log; };
|
|
|
|
};
|