2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

add named.conf option root-key-sentinel

This commit is contained in:
Mark Andrews
2018-03-13 15:17:22 +11:00
committed by Ondřej Surý
parent 8fc9f64df9
commit 68e9315c7d
8 changed files with 24 additions and 1 deletions

View File

@@ -5227,7 +5227,8 @@ ns__query_start(query_ctx_t *qctx) {
/*
* Setup for root key sentinel processing.
*/
if (qctx->client->query.restarts == 0 &&
if (qctx->client->view->root_key_sentinel &&
qctx->client->query.restarts == 0 &&
(qctx->qtype == dns_rdatatype_a ||
qctx->qtype == dns_rdatatype_aaaa) &&
(qctx->client->message->flags & DNS_MESSAGEFLAG_CD) == 0)