From c7ae3ef15645f5be4279203d37380203cbd31a1d Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Fri, 14 Jan 2022 16:30:25 +0100 Subject: [PATCH] - For #602: Allow the module-config "subnetcache validator cachedb iterator". --- doc/Changelog | 2 ++ smallapp/unbound-checkconf.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index 4215ea9a6..be52208c8 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -8,6 +8,8 @@ - Add rpz: for-downstream: yesno option, where the RPZ zone is authoritatively answered for, so the RPZ zone contents can be checked with DNS queries directed at the RPZ zone. + - For #602: Allow the module-config "subnetcache validator cachedb + iterator". 11 January 2022: George - Fix prematurely terminated TCP queries when a reply has the same ID. diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index c667f8115..fe18c3c83 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -787,6 +787,10 @@ morechecks(struct config_file* cfg) && strcmp(cfg->module_conf, "validator python cachedb iterator") != 0 && strcmp(cfg->module_conf, "respip validator python cachedb iterator") != 0 #endif +#if defined(CLIENT_SUBNET) && defined(USE_CACHEDB) + && strcmp(cfg->module_conf, "respip subnetcache validator cachedb iterator") != 0 + && strcmp(cfg->module_conf, "subnetcache validator cachedb iterator") != 0 +#endif #ifdef CLIENT_SUBNET && strcmp(cfg->module_conf, "subnetcache iterator") != 0 && strcmp(cfg->module_conf, "respip subnetcache iterator") != 0