DNSSEC fixes
Two fixes in this MR:
- Continuation of fix merged in !176 (merged). Knot was still generating RRSIGs for the old (wrong) NSEC3s, as it did not know that they would be removed. Fixed by marking nodes from which NSEC3s are to be removed, so that these are not signed in the next step. (Commit 38aeecc3)
- Function for saving removed NSEC/NSEC3 records into changeset (
knot_nsec_changeset_remove()
) was ignoring NSEC3 RRSIGs. (Commit 8b5f08ac). This probably manifested after UPDATE - a test should be added for this case.
Merge request reports
Activity
131 knot_node_set_removed_nsec(node); 132 } 133 } 134 135 return KNOT_EOK; 136 } 137 138 static int mark_removed_nsec3(knot_changeset_t *out_ch, 139 const knot_zone_contents_t *zone) 140 { 141 if (zone->nsec3_nodes == NULL) { 142 return KNOT_EOK; 143 } 144 145 int ret = knot_changeset_apply(out_ch, KNOT_CHANGESET_REMOVE, 146 mark_nsec3, (void *)zone->nsec3_nodes);
Please register or sign in to reply