Skip to content
Snippets Groups Projects
Commit ca4021e2 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

server: don't follow CNAME when querying for NSEC

close #389
parent 77402c00
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,7 @@ static int name_found(knot_pkt_t *pkt, struct query_data *qdata)
if (node_rrtype_exists(qdata->node, KNOT_RRTYPE_CNAME)
&& qtype != KNOT_RRTYPE_CNAME
&& qtype != KNOT_RRTYPE_RRSIG
&& qtype != KNOT_RRTYPE_NSEC
&& qtype != KNOT_RRTYPE_ANY) {
dbg_ns("%s: solving CNAME\n", __func__);
return follow_cname(pkt, KNOT_RRTYPE_CNAME, qdata);
......
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