1. 11 Apr, 2011 1 commit
  2. 17 Mar, 2011 1 commit
  3. 16 Mar, 2011 1 commit
  4. 15 Mar, 2011 1 commit
    • Jelte Jansen's avatar
      [trac471] set listen on to localhost if nothing is set · 13a3fcfa
      Jelte Jansen authored
      (on the initial configuration)
      
      also added a special case for the 'version' config element in the configuration checker (this caused the configuration to be rejected, while for the purposes of validation it should either be ignored or cause a different validation path)
      13a3fcfa
  5. 02 Mar, 2011 2 commits
  6. 25 Feb, 2011 1 commit
  7. 24 Feb, 2011 3 commits
  8. 22 Feb, 2011 4 commits
  9. 17 Feb, 2011 1 commit
  10. 16 Feb, 2011 1 commit
  11. 14 Feb, 2011 1 commit
  12. 02 Feb, 2011 1 commit
    • Jelte Jansen's avatar
      [trac494] addressed review comments · 430e0e89
      Jelte Jansen authored
      Removed some dead code, added two unit tests, changed sendQuery() to the
      more descriptive resolve(), and removed a superfluous call to dlog()
      430e0e89
  13. 31 Jan, 2011 1 commit
  14. 28 Jan, 2011 1 commit
  15. 27 Jan, 2011 2 commits
  16. 26 Jan, 2011 1 commit
    • Jelte Jansen's avatar
      [trac494] initial abstraction for runningquery results · 8a175757
      Jelte Jansen authored
      Added a abstract placeholder for callbacks in asio (for now); which has
      two subclasses; one takes a DNSServer* and calls resume() on it when the
      runningquery finished its lookup (or fails), the other one is provided a
      callback as defined in isc::nsas::ResolverInterface.
      
      These are more objects that are newed while running and delete
      themselves, and they may not even be necessary, but for now this makes
      it work while doing the least amount of changes in other parts.
      
      RunnigQuery now takes one of these objects instead of a DNSServer*, and
      the objects decide what should be done once it is ready.
      
      Things to do:
      - remove the temporary MyCallback class from resolver (perhaps move it
        to a unittest)
      - move ResolverInterface out of nsas, as well as its Callback thingy,
        and merge it with the new callback holders
      - general cleanup and tests (although, as with current resolver tests,
        need framework to fake outside query handling)
      8a175757
  17. 24 Jan, 2011 1 commit
  18. 22 Jan, 2011 2 commits
  19. 21 Jan, 2011 3 commits
    • JINMEI Tatuya's avatar
      cleanup: removed $Id$, which is useless now that we've migrated to git. · e3e59cf1
      JINMEI Tatuya authored
      briefly talked about it on jabber, no one opposed to it, Jeremy explicitly
      agreed.  changes are trivial themselves, so no explicit review.
      e3e59cf1
    • Jelte Jansen's avatar
      use the three types of timeout · 8f23ba4a
      Jelte Jansen authored
      Note that client_timeout at this point has the same result as
      lookup_timeout.
      
      Changed self-deletion of RunningQuery a bit, as it
      cannot delete itselfs until we are sure there are not events coming in
      anymore. If we change the clientTimeout() callback to send an answer and
      not stop, we shall need to keep track of that fact (i.e. not send back
      an answer in the end, and update stop since it won't be called by
      clientTimeout() anymore
      
      When adding the asiolink tests for these features, added a few
      convenience functions for common code in those tests.
      8f23ba4a
    • Jelte Jansen's avatar
      enable configuration of new timeouts · b3ec8dc3
      Jelte Jansen authored
      renamed existing timeout to query_timeout, added client_timeout and
      lookup_timeout
      In the config spec, these are named timeout_XX instead of XX_timeout, so
      they will automatically be shown next to each other in ordered output
      b3ec8dc3
  20. 20 Jan, 2011 2 commits
    • Scott Mann's avatar
      First task of trac483 · ce2fead0
      Scott Mann authored
      Added support for specifying root servers in configuration.
      ce2fead0
    • Jelte Jansen's avatar
      use default timeout/retry settings · ce648a93
      Jelte Jansen authored
      resolver does not update these if these weren't set, and does not look
      at the spec's defaults. This change makes it at least use something as a
      default (using spec's default has gone to ticket #518)
      ce648a93
  21. 19 Jan, 2011 1 commit
    • Jelte Jansen's avatar
      propagate timeout/retries values · 03fddc0d
      Jelte Jansen authored
      apparently these weren't passed on to the recursivequery class
      (anymore?), resulting in the use of hardcoded defaults -1 and 0. This
      one-line change fixes that, acked by Michal on jabber.
      03fddc0d
  22. 18 Jan, 2011 6 commits
    • JINMEI Tatuya's avatar
      Revert "maintenance commit" · 901c9eed
      JINMEI Tatuya authored
      This reverts commit a669db43.
      
      The reverted commit was introduced due to misoperation possibly with
      git-new-workdir, and actually reverted previous changes made on master.
      By reverting it we now recover these lost changes.
      901c9eed
    • JINMEI Tatuya's avatar
      maintenance commit · a669db43
      JINMEI Tatuya authored
      a669db43
    • Jelte Jansen's avatar
      question section wasn't copied · c772a141
      Jelte Jansen authored
      c772a141
    • Jelte Jansen's avatar
      enable forward mode again · ee96cc04
      Jelte Jansen authored
      only do recursive if forward_addresses (variable upstream_ in the code)
      is empty
      ee96cc04
    • Jelte Jansen's avatar
      ends0 fix and message argument rename · 6e4c7c07
      Jelte Jansen authored
      renamed the original MessaPtr message argument in the various process()
      calls to query_message, to better reflect the content
      Also fixed EDNS0 responses; fill in our own value (currently hardcoded
      to 4096, we should make this configurable at some point)
      added a new constant DEFAULT_MAX_EDNS0_UDPSIZE to lib/dns/message.h for
      that purpose
      6e4c7c07
    • Jelte Jansen's avatar
      use answer_message for final answer · e9c8b140
      Jelte Jansen authored
      use the answer_message Message object instead of parsing it out of the
      buffer again when constructing the final answer
      e9c8b140
  23. 15 Jan, 2011 2 commits