1. 31 Jan, 2019 2 commits
  2. 30 Jan, 2019 1 commit
  3. 25 Jan, 2019 2 commits
    • Evan Hunt's avatar
      complete the set of tools available in windows tests · 1bc0ab52
      Evan Hunt authored
      - dnssec-cds wasn't being built for windows
      - nsec3hash was available, but the NSEC3HASH variable wasn't
        set in conf.sh.win32
      1bc0ab52
    • Michał Kępień's avatar
      dig: return a non-zero exit code for failed TCP EOF retries · 0f168a4b
      Michał Kępień authored
      dig retries a TCP query when a server closes the connection prematurely.
      However, dig's exit code remains unaffected even if the second attempt
      to get a response also fails with the same error for the same lookup,
      which should not be the case.  Ensure the exit code is updated
      appropriately when a retry triggered by a TCP EOF condition fails.
      0f168a4b
  4. 22 Jan, 2019 1 commit
  5. 09 Jan, 2019 1 commit
  6. 08 Jan, 2019 1 commit
    • Michał Kępień's avatar
      Track forwarder timeouts in fetch contexts · 33350626
      Michał Kępień authored
      Since following a delegation resets most fetch context state, address
      marks (FCTX_ADDRINFO_MARK) set inside lib/dns/resolver.c are not
      preserved when a delegation is followed.  This is fine for full
      recursive resolution but when named is configured with "forward first;"
      and one of the specified forwarders times out, triggering a fallback to
      full recursive resolution, that forwarder should no longer be consulted
      at each delegation point subsequently reached within a given fetch
      context.
      
      Add a new badnstype_t enum value, badns_forwarder, and use it to mark a
      forwarder as bad when it times out in a "forward first;" configuration.
      Since the bad server list is not cleaned when a fetch context follows a
      delegation, this prevents a forwarder from being queried again after
      falling back to full recursive resolution.  Yet, as each fetch context
      maintains its own list of bad servers, this change does not cause a
      forwarder timeout to prevent that forwarder from being used by other
      fetch contexts.
      33350626
  7. 01 Jan, 2019 1 commit
  8. 19 Dec, 2018 3 commits
  9. 18 Dec, 2018 1 commit
  10. 11 Dec, 2018 3 commits
  11. 10 Dec, 2018 1 commit
  12. 06 Dec, 2018 3 commits
    • Evan Hunt's avatar
      add basic plugins documentation · c63ead9d
      Evan Hunt authored
      c63ead9d
    • Evan Hunt's avatar
      name change from "hook modules" to "plugins" · fd20f10d
      Evan Hunt authored
      - "hook" is now used only for hook points and hook actions
      - the "hook" statement in named.conf is now "plugin"
      - ns_module and ns_modlist are now ns_plugin and ns_plugins
      - ns_module_load is renamed ns_plugin_register
      - the mandatory functions in plugin modules (hook_register,
        hook_check, hook_version, hook_destroy) have been renamed
      fd20f10d
    • Evan Hunt's avatar
      set up hooks.c to enable setting hook points and loading modules · 70cc3f80
      Evan Hunt authored
      - move hooks.h to public include directory
      - ns_hooktable_init() initializes a hook table. if NULL is passed in, it
        initializes the global hook table
      - ns_hooktable_save() saves a pointer to the current global hook table.
      - ns_hooktable_reset() replaces the global hook table with different
        one
      - ns_hook_add() adds hooks at specified hook points in a hook table (or
        the global hook table if the specified table is NULL)
      - load and unload functions support dlopen() of hook modules (this is
        adapted from dyndb and not yet functional)
      - began adding new hook points to query.c
      70cc3f80
  13. 28 Nov, 2018 1 commit
  14. 22 Nov, 2018 1 commit
  15. 15 Nov, 2018 1 commit
  16. 14 Nov, 2018 1 commit
  17. 12 Nov, 2018 3 commits
  18. 10 Nov, 2018 1 commit
  19. 09 Nov, 2018 2 commits
  20. 07 Nov, 2018 1 commit
  21. 05 Nov, 2018 1 commit
  22. 26 Oct, 2018 2 commits
  23. 25 Oct, 2018 6 commits