mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-28 04:34:54 +02:00
- Stop unbound-checkconf from insisting that auth-zone and rpz
zonefiles have to exist. They can not exist, and download later.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
14 February 2020: Wouter
|
||||
- Fix spelling in unbound.conf.5.in.
|
||||
- Stop unbound-checkconf from insisting that auth-zone and rpz
|
||||
zonefiles have to exist. They can not exist, and download later.
|
||||
|
||||
13 February 2020: Wouter
|
||||
- tag for 1.10.0rc1 release.
|
||||
|
||||
@@ -469,7 +469,6 @@ check_modules_exist(const char* module_conf)
|
||||
static void
|
||||
morechecks(struct config_file* cfg)
|
||||
{
|
||||
struct config_auth* auth;
|
||||
warn_hosts("stub-host", cfg->stubs);
|
||||
warn_hosts("forward-host", cfg->forwards);
|
||||
interfacechecks(cfg);
|
||||
@@ -535,12 +534,6 @@ morechecks(struct config_file* cfg)
|
||||
cfg->trusted_keys_file_list, cfg->chrootdir, cfg);
|
||||
check_chroot_string("dlv-anchor-file", &cfg->dlv_anchor_file,
|
||||
cfg->chrootdir, cfg);
|
||||
for(auth = cfg->auths; auth; auth = auth->next) {
|
||||
char* az = (auth->isrpz) ? "rpz zonefile" :
|
||||
"auth-zone zonefile";
|
||||
check_chroot_string(az, &auth->zonefile,
|
||||
cfg->chrootdir, cfg);
|
||||
}
|
||||
#ifdef USE_IPSECMOD
|
||||
if(cfg->ipsecmod_enabled && strstr(cfg->module_conf, "ipsecmod")) {
|
||||
/* only check hook if enabled */
|
||||
|
||||
Reference in New Issue
Block a user