Skip to content
Snippets Groups Projects
Commit 4625680f authored by Karel Slaný's avatar Karel Slaný
Browse files

layer/validate: excluding authority NS records from validation

parent 3638f234
No related branches found
No related tags found
No related merge requests found
......@@ -510,6 +510,9 @@ static int validate_section(struct kr_query *qry, knot_pkt_t *answer,
if (rr->type == KNOT_RRTYPE_RRSIG) {
continue;
}
if ((rr->type == KNOT_RRTYPE_NS) && (section_id == KNOT_AUTHORITY)) {
continue;
}
ret = rrtypes_add(&stored, rr);
if (ret != 0) {
goto fail;
......
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