+3653. [func] Create delegations for all "children" of empty zones
+ except "forward first". [RT #34826]
+
3651. [tuning] Adjust when a master server is deemed unreachable.
[RT #27075]
obj = NULL;
(void)cfg_map_get(zoptions, "type", &obj);
INSIST(obj != NULL);
- if (strcasecmp(cfg_obj_asstring(obj), "forward") != 0)
- continue;
-
- obj = NULL;
- (void)cfg_map_get(zoptions, "forward", &obj);
- if (obj == NULL)
- continue;
- if (strcasecmp(cfg_obj_asstring(obj), "only") != 0)
- continue;
+ if (strcasecmp(cfg_obj_asstring(obj), "forward") == 0) {
+ obj = NULL;
+ (void)cfg_map_get(zoptions, "forward", &obj);
+ if (obj == NULL)
+ continue;
+ if (strcasecmp(cfg_obj_asstring(obj), "only") != 0)
+ continue;
+ }
if (db == NULL) {
CHECK(dns_db_create(view->mctx, "rbt", name,
dns_dbtype_zone, view->rdclass,