minix/external/bsd/bind/dist/contrib/zkt-1.1.3/examples/views/named.conf
David van Moolenbroek 00b67f09dd Import NetBSD named(8)
Also known as ISC bind.  This import adds utilities such as host(1),
dig(1), and nslookup(1), as well as many other tools and libraries.

Change-Id: I035ca46e64f1965d57019e773f4ff0ef035e4aa3
2017-03-21 22:00:06 +00: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";
};
};