First check in
This commit is contained in:
50
CONFIG/etc/named.conf
Normal file
50
CONFIG/etc/named.conf
Normal file
@@ -0,0 +1,50 @@
|
||||
options {
|
||||
directory "/var/named";
|
||||
pid-file "/var/run/named.pid";
|
||||
statistics-file "/var/run/named.stats";
|
||||
};
|
||||
zone "." {
|
||||
type hint;
|
||||
file "db.root";
|
||||
};
|
||||
zone "0.0.127.in-addr.arpa" {
|
||||
type master;
|
||||
file "db.127";
|
||||
};
|
||||
|
||||
// Bind 9 now logs by default through syslog (except debug).
|
||||
// These are the default logging rules.
|
||||
|
||||
logging {
|
||||
category default { default_syslog; default_debug; };
|
||||
category unmatched { null; };
|
||||
|
||||
channel default_syslog {
|
||||
syslog daemon; // send to syslog's daemon
|
||||
// facility
|
||||
severity info; // only send priority info
|
||||
// and higher
|
||||
};
|
||||
|
||||
channel default_debug {
|
||||
file "named.run"; // write to named.run in
|
||||
// the working directory
|
||||
// Note: stderr is used instead
|
||||
// of "named.run"
|
||||
// if the server is started
|
||||
// with the '-f' option.
|
||||
severity dynamic; // log at the server's
|
||||
// current debug level
|
||||
};
|
||||
|
||||
channel default_stderr {
|
||||
stderr; // writes to stderr
|
||||
severity info; // only send priority info
|
||||
// and higher
|
||||
};
|
||||
|
||||
channel null {
|
||||
null; // toss anything sent to
|
||||
// this channel
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user