2020-06-10 04:16:07 -05: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 10:16:04 -05:00
|
|
|
* - $NAMED_LOGGING_OPTIONS_CONF (for logging options)
|
2020-06-10 04:16:07 -05:00
|
|
|
* - $NAMED_CUSTOM_CONF (all other settings)
|
2020-04-25 11:06:45 -05:00
|
|
|
*/
|
2011-01-31 08:30:43 -06:00
|
|
|
|
2020-04-25 11:06:45 -05:00
|
|
|
options {
|
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
|
2017-03-29 10:17:28 -05: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 14:10:21 -05:00
|
|
|
|
2014-10-02 09:31:24 -05:00
|
|
|
tkey-gssapi-keytab "$NAMED_KEYTAB";
|
2020-06-10 04:16:07 -05:00
|
|
|
|
2014-10-02 09:31:24 -05:00
|
|
|
pid-file "$NAMED_PID";
|
2014-06-27 10:07:00 -05:00
|
|
|
|
2014-10-02 07:55:10 -05:00
|
|
|
managed-keys-directory "$MANAGED_KEYS_DIR";
|
2018-02-09 04:50:32 -06:00
|
|
|
|
2020-06-10 04:16:07 -05:00
|
|
|
/* user customizations of options */
|
|
|
|
include "$NAMED_CUSTOM_OPTIONS_CONF";
|
|
|
|
|
2018-02-09 04:50:32 -06:00
|
|
|
/* crypto policy snippet on platforms with system-wide policy. */
|
|
|
|
$INCLUDE_CRYPTO_POLICY
|
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 {
|
2017-03-29 10:17:28 -05:00
|
|
|
file "${NAMED_DATA_DIR}named.run";
|
2009-06-09 07:59:11 -05:00
|
|
|
severity dynamic;
|
2013-09-05 08:42:16 -05:00
|
|
|
print-time yes;
|
2009-06-09 07:59:11 -05:00
|
|
|
};
|
2021-05-13 10:16:04 -05:00
|
|
|
include "$NAMED_LOGGING_OPTIONS_CONF";
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|
|
|
|
|
2017-03-29 10:17:28 -05:00
|
|
|
${NAMED_ZONE_COMMENT}zone "." IN {
|
|
|
|
${NAMED_ZONE_COMMENT} type hint;
|
|
|
|
${NAMED_ZONE_COMMENT} file "named.ca";
|
|
|
|
${NAMED_ZONE_COMMENT}};
|
2007-09-20 14:10:21 -05:00
|
|
|
|
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
|
|
|
|
2020-06-10 04:16:07 -05:00
|
|
|
/* user customization */
|
|
|
|
include "$NAMED_CUSTOM_CONF";
|
2019-09-24 07:00:55 -05:00
|
|
|
|
2016-12-19 06:12:19 -06:00
|
|
|
dyndb "ipa" "$BIND_LDAP_SO" {
|
|
|
|
uri "ldapi://%2fvar%2frun%2fslapd-$SERVER_ID.socket";
|
2020-06-10 04:16:07 -05:00
|
|
|
base "cn=dns,$SUFFIX";
|
2016-12-19 06:12:19 -06:00
|
|
|
server_id "$FQDN";
|
|
|
|
auth_method "sasl";
|
2020-12-04 05:18:22 -06:00
|
|
|
sasl_mech "EXTERNAL";
|
2007-09-20 14:10:21 -05:00
|
|
|
};
|