From c7fc6434fe5949c8e3f76bf69f5655eb3a76dfae Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 20 Jan 2003 23:51:23 +0000 Subject: [PATCH] 1418. [bug] 'rndc reconfig' did not cause new slaves to load. --- CHANGES | 2 ++ bin/named/server.c | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index c0b486ecb3..b8f33b3637 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 aee520a387..5ef855ee41 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);