2020-06-10 11:16:07 +02:00
|
|
|
/* WARNING: This config file is managed by IPA.
|
|
|
|
|
*
|
|
|
|
|
* DO NOT MODIFY! Any modification will be overwritten by upgrades.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* - $NAMED_CUSTOM_OPTIONS_CONF (for options)
|
2021-05-13 18:16:04 +03:00
|
|
|
* - $NAMED_LOGGING_OPTIONS_CONF (for logging options)
|
2020-06-10 11:16:07 +02:00
|
|
|
* - $NAMED_CUSTOM_CONF (all other settings)
|
2020-04-25 18:06:45 +02:00
|
|
|
*/
|
2011-01-31 15:30:43 +01:00
|
|
|
|
2020-04-25 18:06:45 +02:00
|
|
|
options {
|
2007-09-20 15:10:21 -04:00
|
|
|
// Put files that named is allowed to write in the data/ directory:
|
2014-10-02 16:31:24 +02:00
|
|
|
directory "$NAMED_VAR_DIR"; // the default
|
2017-03-29 18:17:28 +03:00
|
|
|
dump-file "${NAMED_DATA_DIR}cache_dump.db";
|
|
|
|
|
statistics-file "${NAMED_DATA_DIR}named_stats.txt";
|
|
|
|
|
memstatistics-file "${NAMED_DATA_DIR}named_mem_stats.txt";
|
2007-09-20 15:10:21 -04:00
|
|
|
|
2014-10-02 16:31:24 +02:00
|
|
|
tkey-gssapi-keytab "$NAMED_KEYTAB";
|
2020-06-10 11:16:07 +02:00
|
|
|
|
2014-10-02 16:31:24 +02:00
|
|
|
pid-file "$NAMED_PID";
|
2014-06-27 17:07:00 +02:00
|
|
|
|
2014-10-02 14:55:10 +02:00
|
|
|
managed-keys-directory "$MANAGED_KEYS_DIR";
|
2018-02-09 11:50:32 +01:00
|
|
|
|
2020-06-10 11:16:07 +02:00
|
|
|
/* user customizations of options */
|
|
|
|
|
include "$NAMED_CUSTOM_OPTIONS_CONF";
|
|
|
|
|
|
2018-02-09 11:50:32 +01:00
|
|
|
/* crypto policy snippet on platforms with system-wide policy. */
|
|
|
|
|
$INCLUDE_CRYPTO_POLICY
|
2007-09-20 15:10:21 -04:00
|
|
|
};
|
|
|
|
|
|
2009-06-09 14:59:11 +02: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 15:10:21 -04:00
|
|
|
*/
|
2009-06-09 14:59:11 +02:00
|
|
|
logging {
|
|
|
|
|
channel default_debug {
|
2017-03-29 18:17:28 +03:00
|
|
|
file "${NAMED_DATA_DIR}named.run";
|
2009-06-09 14:59:11 +02:00
|
|
|
severity dynamic;
|
2013-09-05 15:42:16 +02:00
|
|
|
print-time yes;
|
2009-06-09 14:59:11 +02:00
|
|
|
};
|
2021-05-13 18:16:04 +03:00
|
|
|
include "$NAMED_LOGGING_OPTIONS_CONF";
|
2007-09-20 15:10:21 -04:00
|
|
|
};
|
|
|
|
|
|
2017-03-29 18:17:28 +03:00
|
|
|
${NAMED_ZONE_COMMENT}zone "." IN {
|
|
|
|
|
${NAMED_ZONE_COMMENT} type hint;
|
|
|
|
|
${NAMED_ZONE_COMMENT} file "named.ca";
|
|
|
|
|
${NAMED_ZONE_COMMENT}};
|
2007-09-20 15:10:21 -04:00
|
|
|
|
2014-10-02 16:31:24 +02:00
|
|
|
include "$RFC1912_ZONES";
|
2014-10-02 14:55:10 +02:00
|
|
|
include "$ROOT_KEY";
|
2007-09-20 15:10:21 -04:00
|
|
|
|
2020-06-10 11:16:07 +02:00
|
|
|
/* user customization */
|
|
|
|
|
include "$NAMED_CUSTOM_CONF";
|
2019-09-24 14:00:55 +02:00
|
|
|
|
2016-12-19 13:12:19 +01:00
|
|
|
dyndb "ipa" "$BIND_LDAP_SO" {
|
|
|
|
|
uri "ldapi://%2fvar%2frun%2fslapd-$SERVER_ID.socket";
|
2020-06-10 11:16:07 +02:00
|
|
|
base "cn=dns,$SUFFIX";
|
2016-12-19 13:12:19 +01:00
|
|
|
server_id "$FQDN";
|
|
|
|
|
auth_method "sasl";
|
2020-12-04 12:18:22 +01:00
|
|
|
sasl_mech "EXTERNAL";
|
2007-09-20 15:10:21 -04:00
|
|
|
};
|