recursion true;\n\
request-ixfr true;\n\
rfc2308-type1 no;\n\
+ root-key-sentinel yes;\n\
# sortlist <none>\n\
# topology <none>\n\
transfer-format many-answers;\n\
/*
* Setup for root key sentinel processing.
*/
- if (client->query.restarts == 0 &&
+ if (client->view->root_key_sentinel &&
+ client->query.restarts == 0 &&
(qtype == dns_rdatatype_a ||
qtype == dns_rdatatype_aaaa) &&
(client->message->flags & DNS_MESSAGEFLAG_CD) == 0)
else
INSIST(0);
+ obj = NULL;
+ result = ns_config_get(maps, "root-key-sentinel", &obj);
+ INSIST(result == ISC_R_SUCCESS);
+ view->root_key_sentinel = cfg_obj_asboolean(obj);
+
+ CHECK(configure_view_acl(vconfig, config, ns_g_config,
+ "allow-query-cache-on", NULL, actx,
+ ns_g_mctx, &view->cacheonacl));
+
/*
* Set sources where additional data and CNAME/DNAME
* targets for authoritative answers may be found.
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><command>root-key-sentinel</command></term>
+ <listitem>
+ <para>
+ Respond to root key sentinel probes as described in
+ draft-ietf-dnsop-kskroll-sentinel-08. The default is
+ <userinput>yes</userinput>.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><command>maintain-ixfr-base</command></term>
<listitem>
max-policy-ttl <integer> ] [ min-ns-dots <integer> ];
rfc2308-type1 <boolean>; // not yet implemented
root-delegation-only [ exclude { <quoted_string>; ... } ];
+ root-key-sentinel <boolean>;
rrset-order { [ class <string> ] [ type <string> ] [ name
<quoted_string> ] <string> <string>; ... };
secroots-file <quoted_string>;
... } [ recursive-only <boolean> ] [ break-dnssec <boolean> ] [
max-policy-ttl <integer> ] [ min-ns-dots <integer> ];
rfc2308-type1 <boolean>; // not yet implemented
+ root-key-sentinel <boolean>;
root-delegation-only [ exclude { <quoted_string>; ... } ];
rrset-order { [ class <string> ] [ type <string> ] [ name
<quoted_string> ] <string> <string>; ... };
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id$ */
-
#ifndef DNS_VIEW_H
#define DNS_VIEW_H 1
isc_boolean_t enablednssec;
isc_boolean_t enablevalidation;
isc_boolean_t acceptexpired;
+ isc_boolean_t root_key_sentinel;
dns_transfer_format_t transfer_format;
dns_acl_t * cacheacl;
dns_acl_t * cacheonacl;
view->managed_keys = NULL;
view->redirect = NULL;
#ifdef BIND9
+ view->root_key_sentinel = ISC_TRUE;
view->new_zone_file = NULL;
view->new_zone_config = NULL;
view->cfg_destroy = NULL;
{ "response-policy", &cfg_type_rpz, 0 },
{ "rfc2308-type1", &cfg_type_boolean, CFG_CLAUSEFLAG_NYI },
{ "root-delegation-only", &cfg_type_optional_exclude, 0 },
+ { "root-key-sentinel", &cfg_type_boolean, 0 },
{ "rrset-order", &cfg_type_rrsetorder, 0 },
{ "sortlist", &cfg_type_bracketed_aml, 0 },
{ "suppress-initial-notify", &cfg_type_boolean, CFG_CLAUSEFLAG_NYI },