Skip to content
Snippets Groups Projects
  1. Oct 12, 2010
  2. Sep 27, 2010
  3. Sep 23, 2010
  4. Sep 22, 2010
  5. Sep 20, 2010
    • Lubos Slovak's avatar
      DNAME support. · 9055f65f
      Lubos Slovak authored
      Changed answering algorithm so that DNAME is checked before
        wildcard and zone apex.
        (See query-processing-flowchart-200910-2.png.)
      Implemented CNAME from DNAME synthesis - quite dumb, with a lot of
        copying (because of ldns).
      9055f65f
    • Lubos Slovak's avatar
      Multiple zones support. · 80c534cd
      Lubos Slovak authored
      Changed cute_start() to take more file names + passing these
        filenames from command line.
      80c534cd
  6. Sep 17, 2010
  7. Sep 07, 2010
  8. Sep 06, 2010
  9. Sep 01, 2010
    • Lubos Slovak's avatar
      Fixed typo. · c0c8b660
      Lubos Slovak authored
      c0c8b660
    • Lubos Slovak's avatar
      Zone adjusting modifications + fixes. · 1409f160
      Lubos Slovak authored
      Delegation points are now adjusted while inserting the nodes into
        the zone data structure (zdb_insert_nodes_into_zds()) instead of
        during general adjustmen (zdb_adjust_zone()).
      In non-apex zone nodes NS is not adjusted (all NSs in such nodes
        are considered to be delegations).
      Nodes are inserted into the zone data structure before adjusting.
      Adjusting of CNAMEs and Additional data is done using the hash
        table.
      
      Note: Adjusting of the delegation points may still be too slow.
      
      Fixed nameserver answering when part of name is found.
      1409f160
    • Lubos Slovak's avatar
      Fixes in answering (RCODEs and EDNS). · b89b4a23
      Lubos Slovak authored
      Returning REFUSED to queries for non-authoritative names.
      Adding EDNS0 OPT RR only when client supports it.
      
      Slightly modified log output.
      b89b4a23
  10. Aug 30, 2010
  11. Aug 26, 2010
    • Lubos SLovak's avatar
      Fixed handling of malformed query. · dc9c1d05
      Lubos SLovak authored
      Queries with no Question entry will get FORMERR as a reply now.
      Fixed increasing the packet size to consider the OPT record
        (was increasing it for each question entry).
      dc9c1d05
    • Lubos SLovak's avatar
      Fix in packet length counting. · 63c95c94
      Lubos SLovak authored
      63c95c94
    • Lubos SLovak's avatar
      Bugfix. · 4c76f308
      Lubos SLovak authored
      zn_add_referrer_node() - bad checking of return value from
        da_reserve() (returns positive integer if successfuly resized).
      4c76f308
    • Lubos SLovak's avatar
      Saving referrer to nodes. · 2bc1c87e
      Lubos SLovak authored
      Zone node now keeps track of other nodes that hold some referrence
        to it (e.g. through CNAME or additional records).
      Added function zn_add_referrer() to set referrer for given type.
      Removed function zn_add_ref_cname() and its functionality merged to
        zn_add_ref().
      2bc1c87e
  12. Aug 25, 2010
  13. Aug 24, 2010
    • Lubos SLovak's avatar
      Fixed setting of max packet size. · 90c4733a
      Lubos SLovak authored
      If EDNS is enabled and the sender supports it, maximum packet size
        is set to minimum of the sender's and nameserver's EDNS UDP
        payload.
      
      Fixed typo in zn_add_ref_cname().
      90c4733a
    • Lubos SLovak's avatar
      Truncation & EDNS0. · 4ce5f6d0
      Lubos SLovak authored
      Counting truncation while adding RRSets into the packet.
      Some RRSets are added/omitted as a whole, some per RR (should
        change later maybe).
      Using the edns_udp_payload field of the packet to hold maximum
        allowed size for the packet. Overriding before converting to wire
        format.
      RRSets' size is counted by iterating over RRs - this is redundant,
        we may also copy the RRs in the same time (which would however
        result in having incomplete RRSets in the response).
      Setting TC bit when omitting referral NS, glue or anything from
        Answer section.
      4ce5f6d0
  14. Aug 23, 2010
    • Lubos SLovak's avatar
      Memory leaks fixed. · afbf8700
      Lubos SLovak authored
      Skip list (skip_destroy_list())  was not freeing the head.
      Dispatcher (dpt_destroy()) was not freeing routine_obj.
      Nameserver (ns_destroy()) was not freeing error response.
      Zone node (zn_destroy()) was not destroying the skip list of
        additional records.
      Zone node (zn_add_ref()) was not deleting the created
        zn_ar_rrsets structure if the value was merged in skip_insert().
      
      Zone database destroying changed to delete zone nodes (because
        not all zone nodes are in the zone data structure).
      zds_destroy() modified to have the zone node destructor as param.
      afbf8700
    • Lubos SLovak's avatar
      Fixed crash on double free when exiting. · 3293692d
      Lubos SLovak authored
      The key of hash table item was deallocated twice - once as the key
        and once in the zone node (the value). Fixed by adding parameters
        to ck_destroy_table() and ck_remove_item() which tells if the
        key and value should be deallocated (in case of value a pointer
        to destructor is passed).
      
      Changes to other files to acommodate this change.
      3293692d
  15. Aug 22, 2010