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-06-16 17:12:20 +10:00
parent f716bd68d4
commit a559d6fdd1

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: