2007-09-20 14:10:21 -05:00
|
|
|
options {
|
|
|
|
// Put files that named is allowed to write in the data/ directory:
|
|
|
|
directory "/var/named"; // 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};
|
|
|
|
|
2009-06-09 07:59:11 -05:00
|
|
|
tkey-gssapi-credential "DNS/$FQDN";
|
|
|
|
tkey-domain "$REALM";
|
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;
|
|
|
|
};
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
zone "." IN {
|
|
|
|
type hint;
|
|
|
|
file "named.ca";
|
|
|
|
};
|
|
|
|
|
|
|
|
include "/etc/named.rfc1912.zones";
|
|
|
|
|
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";
|
2009-11-24 18:00:26 -06: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";
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|