rndc reconfig should not touch already loaded zones, some refactoring of dns_{zone,view,zt}_{async,}load

This commit is contained in:
Witold Kręcicki
2018-07-10 18:43:55 +02:00
parent c268c47c76
commit 79ce86090a
13 changed files with 137 additions and 120 deletions

View File

@@ -122,7 +122,7 @@ setup(const char *zonename, const char *filename, const char *classname) {
if (zonetype == dns_zone_slave)
dns_zone_setmasters(zone, &addr, 1);
result = dns_zone_load(zone);
result = dns_zone_load(zone, false);
ERRRET(result, "dns_zone_load");
result = dns_zonemgr_managezone(zonemgr, zone);