2007-09-20 14:10:21 -05:00
|
|
|
options {
|
2011-01-31 08:30:43 -06:00
|
|
|
// turns on IPv6 for port 53, IPv4 is on by default for all ifaces
|
|
|
|
listen-on-v6 {any;};
|
|
|
|
|
2007-09-20 14:10:21 -05:00
|
|
|
// Put files that named is allowed to write in the data/ directory:
|
2014-10-02 09:31:24 -05:00
|
|
|
directory "$NAMED_VAR_DIR"; // the default
|
2009-06-09 07:59:11 -05:00
|
|
|
dump-file "data/cache_dump.db";
|
|
|
|
statistics-file "data/named_stats.txt";
|
|
|
|
memstatistics-file "data/named_mem_stats.txt";
|
2007-09-20 14:10:21 -05:00
|
|
|
|
2009-09-01 16:28:52 -05:00
|
|
|
forward first;
|
|
|
|
forwarders {$FORWARDERS};
|
|
|
|
|
2011-06-22 01:35:50 -05:00
|
|
|
// Any host is permitted to issue recursive queries
|
|
|
|
allow-recursion { any; };
|
|
|
|
|
2014-10-02 09:31:24 -05:00
|
|
|
tkey-gssapi-keytab "$NAMED_KEYTAB";
|
|
|
|
pid-file "$NAMED_PID";
|
2014-06-27 10:07:00 -05:00
|
|
|
|
|
|
|
dnssec-enable yes;
|
2014-10-16 09:27:00 -05:00
|
|
|
dnssec-validation yes;
|
2014-10-02 07:55:10 -05:00
|
|
|
|
|
|
|
/* Path to ISC DLV key */
|
|
|
|
bindkeys-file "$BINDKEYS_FILE";
|
|
|
|
|
|
|
|
managed-keys-directory "$MANAGED_KEYS_DIR";
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|
|
|
|
|
2009-06-09 07:59:11 -05:00
|
|
|
/* If you want to enable debugging, eg. using the 'rndc trace' command,
|
|
|
|
* By default, SELinux policy does not allow named to modify the /var/named directory,
|
|
|
|
* so put the default debug log file in data/ :
|
2007-09-20 14:10:21 -05:00
|
|
|
*/
|
2009-06-09 07:59:11 -05:00
|
|
|
logging {
|
|
|
|
channel default_debug {
|
|
|
|
file "data/named.run";
|
|
|
|
severity dynamic;
|
2013-09-05 08:42:16 -05:00
|
|
|
print-time yes;
|
2009-06-09 07:59:11 -05:00
|
|
|
};
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
zone "." IN {
|
|
|
|
type hint;
|
|
|
|
file "named.ca";
|
|
|
|
};
|
|
|
|
|
2014-10-02 09:31:24 -05:00
|
|
|
include "$RFC1912_ZONES";
|
2014-10-02 07:55:10 -05:00
|
|
|
include "$ROOT_KEY";
|
2007-09-20 14:10:21 -05:00
|
|
|
|
2009-05-12 08:20:24 -05:00
|
|
|
dynamic-db "ipa" {
|
|
|
|
library "ldap.so";
|
2009-11-24 18:00:26 -06:00
|
|
|
arg "uri ldapi://%2fvar%2frun%2fslapd-$SERVER_ID.socket";
|
2009-05-12 08:20:24 -05:00
|
|
|
arg "base cn=dns, $SUFFIX";
|
2010-05-01 14:21:19 -05:00
|
|
|
arg "fake_mname $FQDN.";
|
2009-06-09 07:59:11 -05:00
|
|
|
arg "auth_method sasl";
|
|
|
|
arg "sasl_mech GSSAPI";
|
|
|
|
arg "sasl_user DNS/$FQDN";
|
2013-10-09 09:13:19 -05:00
|
|
|
arg "serial_autoincrement yes";
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|