Skip to content
Snippets Groups Projects
Forked from Knot projects / Knot DNS
Source project has a limited visibility.
  • Lubos Slovak's avatar
    97e7dcdf
    Wildcard processing in ANSWER section. · 97e7dcdf
    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().
    97e7dcdf
    History
    Wildcard processing in ANSWER section.
    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().