Forked from
Knot projects / Knot DNS
Source project has a limited visibility.
-
Lubos Slovak authored
Query processing changed to accomodate proper wildcard processing (see the new flowchart). Used one ugly goto, but cannot think about any workaround right now. If a wildcard is encountered when getting answers (or resolving CNAME chain), the corresponding RRs are now copied into the response packet and saved to a list of copied RRs for further deallocation. Removed ns_put_rrset(), as in case of answers we needed to perform the wildcard checks. Fix: Freeing of the copied qname in ns_answer().
Lubos Slovak authoredQuery processing changed to accomodate proper wildcard processing (see the new flowchart). Used one ugly goto, but cannot think about any workaround right now. If a wildcard is encountered when getting answers (or resolving CNAME chain), the corresponding RRs are now copied into the response packet and saved to a list of copied RRs for further deallocation. Removed ns_put_rrset(), as in case of answers we needed to perform the wildcard checks. Fix: Freeing of the copied qname in ns_answer().