From: W.C.A. Wijngaards Date: Fri, 14 Jan 2022 15:30:25 +0000 (+0100) Subject: - For #602: Allow the module-config "subnetcache validator cachedb X-Git-Tag: release-1.15.0rc1~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7ae3ef15645f5be4279203d37380203cbd31a1d;p=thirdparty%2Funbound.git - For #602: Allow the module-config "subnetcache validator cachedb iterator". --- 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