From: Mark Andrews Date: Mon, 20 Jan 2003 23:51:23 +0000 (+0000) Subject: 1418. [bug] 'rndc reconfig' did not cause new slaves to load. X-Git-Tag: v9.2.3rc1~104^2~150 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c7fc6434fe5949c8e3f76bf69f5655eb3a76dfae;p=thirdparty%2Fbind9.git 1418. [bug] 'rndc reconfig' did not cause new slaves to load. --- diff --git a/CHANGES b/CHANGES index c0b486ecb3f..b8f33b3637d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1418. [bug] 'rndc reconfig' did not cause new slaves to load. + 1417. [func] ID.SERVER/CHAOS is now a built in zone. See "server-id" for how to configure. diff --git a/bin/named/server.c b/bin/named/server.c index aee520a387a..5ef855ee41e 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: server.c,v 1.393 2003/01/20 05:46:09 marka Exp $ */ +/* $Id: server.c,v 1.394 2003/01/20 23:51:23 marka Exp $ */ #include @@ -2375,6 +2375,12 @@ load_new_zones(ns_server_t *server, isc_boolean_t stop) { { CHECK(dns_view_loadnew(view, stop)); } + /* + * Force zone maintenance. Do this after loading + * so that we know when we need to force AXFR of + * slave zones whose master files are missing. + */ + CHECK(dns_zonemgr_forcemaint(server->zonemgr)); cleanup: isc_task_endexclusive(server->task); return (result);