mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-10 18:28:43 -04:00
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:
parent
f716bd68d4
commit
a559d6fdd1
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue