Add synth-from-dnssec namespace entries for forward only namespaces

Currently forward entries are only removed on view destruction so
there is no matching dns_view_sfd_del call.
This commit is contained in:
Mark Andrews
2022-07-05 12:29:01 +10:00
parent f716bd68d4
commit a559d6fdd1
+4
View File
@@ -6321,6 +6321,10 @@ configure_forward(const cfg_obj_t *config, dns_view_t *view,
goto cleanup;
}
if (fwdpolicy == dns_fwdpolicy_only) {
dns_view_sfd_add(view, origin);
}
result = ISC_R_SUCCESS;
cleanup: