diff --git a/CHANGES b/CHANGES index f459f0ae2b..7793c31851 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3498. [bug] zone statistics for zones which matched a potential + empty zone could have their zone-statistics setting + overridden. + 3497. [func] When deleting a slave/stub zone using 'rndc delzone' report the files that were being used so they can be cleaned up if desired. [RT #27899] diff --git a/bin/named/server.c b/bin/named/server.c index 2558617d4a..7b6e4fb21a 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -3346,7 +3346,6 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig, */ (void)dns_view_findzone(view, name, &zone); if (zone != NULL) { - CHECK(setquerystats(zone, mctx, zonestats_on)); dns_zone_detach(&zone); continue; }