sthen e752a2954d isc-bind: drop most of the outdated sample config files (including a very
old root.hint, the compiled-in defaults are better). there isn't really a
"one size fits all" configuration, these files gave bad examples (combined
recursive+auth hasn't been recommended in years), and as this is not the
default nameserver on the OS any more hand-holding isn't really needed.

by way of compensation: install the docs.
2020-05-29 20:05:37 +00:00

24 lines
548 B
Plaintext

// $OpenBSD: named.conf,v 1.3 2020/05/29 20:05:37 sthen Exp $
//
// Example file for a simple configuration of BIND, processing only
// recursive queries. Consult BIND's Administration and Reference Manual
// for more information.
acl clients {
localnets;
::1;
};
options {
directory "/tmp"; // working directory, inside the /var/named chroot
// - must be writable by _bind
version ""; // remove this to allow version queries
listen-on { any; };
listen-on-v6 { any; };
empty-zones-enable yes;
allow-recursion { clients; };
};