Skip to content
Snippets Groups Projects
Commit 497895dc authored by Lubos Slovak's avatar Lubos Slovak
Browse files

DDNS: Fixed exceptions from 'Remove all RRSets'.

However I'm not sure we should omit all those types.
parent 41916d30
No related branches found
No related tags found
No related merge requests found
......@@ -1641,9 +1641,8 @@ static int knot_ddns_process_rem_all(knot_node_t *node,
if (is_apex &&
(knot_rrset_type(rrsets[i]) == KNOT_RRTYPE_SOA
|| knot_rrset_type(rrsets[i]) == KNOT_RRTYPE_NS
|| knot_rrset_type(rrsets[i]) == KNOT_RRTYPE_DNSKEY
|| knot_rrset_type(rrsets[i]) == KNOT_RRTYPE_NSEC
|| knot_rrset_type(rrsets[i]) == KNOT_RRTYPE_NSEC3)) {
|| knot_rrtype_is_ddns_forbidden(
knot_rrset_type(rrsets[i])))) {
/* Do not remove these RRSets, nor their RRSIGs. */
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment