1. 30 Jun, 2017 1 commit
  2. 26 Jun, 2017 1 commit
  3. 23 Jun, 2017 1 commit
  4. 19 Jun, 2017 1 commit
  5. 16 Jun, 2017 1 commit
  6. 13 Jun, 2017 1 commit
  7. 01 Jun, 2017 2 commits
    • Vladimír Čunát's avatar
      1e5618fc
    • Vladimír Čunát's avatar
      kr_ranked_rrarray*: avoid duplicate RRsets on wire · 8d79b517
      Vladimír Čunát authored
      Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/198.
      We can't let multiple "matching RRsets" to the wire, and we can't just
      merge the sets from multiple queries either.  The only way is to choose
      either of the sets and put it on the wire.  ATM the last one wins.
      
      Common ocurrence of the bug: if www.example.cz was a CNAME for example.cz
      and we ask for a non-existent type, we would get the SOA record twice
      in the final answer.
      
      A few related changes:
       - don't just assert, also return error code if -DNDEBUG
       - kr_ranked_rrarray_set_wire: don't do full-content comparison anymore;
         see the first paragraph in this commit message for the reasons
       - minor refactoring of that code, more comments, etc.
      8d79b517
  8. 26 May, 2017 1 commit
  9. 23 May, 2017 1 commit
    • Vladimír Čunát's avatar
      Revert "iterator: don't retry if REFUSED" · dea87430
      Vladimír Čunát authored
      This reverts commit bc2a2670 (almost).
      It would be best to avoid retrying with the same NS and keep trying with
      others (if any), but that would require larger changes if it should work
      well, so let's err on the side of sending more queries.
      dea87430
  10. 22 May, 2017 1 commit
    • Vladimír Čunát's avatar
      validate: avoid keeping KR_RANK_MISSING · d8cd33f8
      Vladimír Čunát authored
      If a sub-query transitions the state to QUERY_DNSSEC_INSECURE,
      we didn't set correct rank.  This lead to caching with _MISSING rank
      which is too low to be utilized on re-queries.  Example: nix.mx query.
      d8cd33f8
  11. 18 May, 2017 1 commit
  12. 17 May, 2017 1 commit
  13. 27 Apr, 2017 1 commit
    • Vladimír Čunát's avatar
      caches: improvements to STUB and future FORWARD modes · f25bba6a
      Vladimír Čunát authored
      Fixes #122, mostly.  CNAME chains aren't answered from cache in STUB
      mode so far, because the current iterator would be unable to follow them.
      
      Previously the caches avoided repeated lookups by checking if it has
      a NS address for the query, which disabled any lookup in forwarding modes.
      Now it sets the QUERY_NO_CACHE flag instead to stop repeating.
      
      Also those more expensive kr_ta_covers_qry checks are deferred, so that
      they're not done when not needed, e.g. in STUB or +cd mode.
      f25bba6a
  14. 26 Apr, 2017 1 commit
  15. 24 Apr, 2017 1 commit
  16. 05 Apr, 2017 2 commits
  17. 04 Apr, 2017 3 commits
  18. 09 Mar, 2017 1 commit
  19. 08 Mar, 2017 1 commit
  20. 06 Mar, 2017 3 commits
  21. 01 Mar, 2017 1 commit
  22. 28 Feb, 2017 1 commit
  23. 23 Feb, 2017 1 commit
  24. 10 Feb, 2017 2 commits
  25. 01 Feb, 2017 2 commits
  26. 25 Jan, 2017 1 commit
  27. 24 Jan, 2017 1 commit
  28. 20 Jan, 2017 1 commit
  29. 17 Jan, 2017 4 commits