+5266. [bug] named-checkconf failed to report dnstap-output
+ missing from named.conf when dnstap was specified.
+ [GL #1136]
+
5264. [func] New DNS Cookie algorithm - siphash24 - has been added to
BIND 9. [GL #605]
--- /dev/null
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+options {
+ dnstap { client; auth; };
+ recursion yes;
+};
}
}
}
+
+ obj = NULL;
+ (void) cfg_map_get(options, "dnstap", &obj);
+ if (obj != NULL) {
+ const cfg_obj_t *output = NULL;
+ (void) cfg_map_get(options, "dnstap-output", &output);
+ if (output == NULL) {
+ cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
+ "'dnstap-output' must be set if 'dnstap' "
+ "is set");
+ if (result == ISC_R_SUCCESS) {
+ result = ISC_R_FAILURE;
+ }
+ }
+ }
#endif
obj = NULL;
./bin/tests/system/dnstap/bad-fstrm-set-output-queue-size-min.conf CONF-C 2016,2018,2019
./bin/tests/system/dnstap/bad-fstrm-set-reopen-interval-max.conf CONF-C 2016,2018,2019
./bin/tests/system/dnstap/bad-fstrm-set-reopen-interval-min.conf CONF-C 2016,2018,2019
+./bin/tests/system/dnstap/bad-missing-dnstap-output.conf CONF-C 2019
./bin/tests/system/dnstap/clean.sh SH 2015,2016,2017,2018,2019
./bin/tests/system/dnstap/good-fstrm-set-buffer-hint.conf CONF-C 2016,2018,2019
./bin/tests/system/dnstap/good-fstrm-set-flush-timeout.conf CONF-C 2016,2018,2019