Files
bind9/contrib/zkt-1.1.3/examples/views/named.conf
2014-11-21 08:47:06 -08:00

98 lines
2.4 KiB
Plaintext

/*****************************************************************
**
** #(@) named.conf (c) 6. May 2004 (hoz)
*****************************************************************/
/*****************************************************************
** logging options
*****************************************************************/
logging {
channel "named-log" {
file "named.log";
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
category "dnssec" { "named-log"; };
category "edns-disabled" { "named-log"; };
category "default" { "named-log"; };
};
/*****************************************************************
** name server options
*****************************************************************/
options {
directory ".";
pid-file "named.pid";
listen-on-v6 port 1053 { any; };
listen-on port 1053 { any; };
empty-zones-enable no;
port 1053;
query-source address * port 1053;
query-source-v6 address * port 1053;
transfer-source * port 53;
transfer-source-v6 * port 53;
use-alt-transfer-source no;
notify-source * port 53;
notify-source-v6 * port 53;
recursion yes;
dnssec-enable yes;
dnssec-validation yes; /* required by BIND 9.4.0 */
dnssec-accept-expired false; /* added since BIND 9.5.0 */
edns-udp-size 1460; /* (M4) */
max-udp-size 1460; /* (M5) */
# allow-query { localhost; }; /* default in 9.4.0 */
# allow-query-cache { localhost; }; /* default in 9.4.0 */
dnssec-must-be-secure "." no;
querylog yes;
stats-server 127.0.0.1 port 8881; /* added since BIND 9.5.0 */
};
/*****************************************************************
** view intern
*****************************************************************/
view "intern" {
match-clients { 127.0.0.1; ::1; };
recursion yes;
zone "." in {
type hint;
file "root.hint";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "example.net" in {
type master;
file "intern/example.net/zone.db.signed";
};
};
/*****************************************************************
** view extern
*****************************************************************/
view "extern" {
match-clients { any; };
recursion no;
zone "." in {
type hint;
file "root.hint";
};
zone "example.net" in {
type master;
file "extern/example.net/zone.db.signed";
};
};