1. 29 Jul, 2020 1 commit
    • Michal Nowak's avatar
      Drop $SYSTEMTESTTOP from bin/tests/system/ · 688c3505
      Michal Nowak authored
      The $SYSTEMTESTTOP shell variable if often set to .. in various shell
      scripts inside bin/tests/system/, but most of the time it is only
      used one line later, while sourcing conf.sh. This hardly improves
      code readability.
      
      $SYSTEMTESTTOP is also used for the purpose of referencing
      scripts/files living in bin/tests/system/, but given that the
      variable is always set to a short, relative path, we can drop it and
      replace all of its occurrences with the relative path without adversely
      affecting code readability.
      688c3505
  2. 21 Apr, 2020 1 commit
    • Ondřej Surý's avatar
      Complete rewrite the BIND 9 build system · 978c7b2e
      Ondřej Surý authored
      The rewrite of BIND 9 build system is a large work and cannot be reasonable
      split into separate merge requests.  Addition of the automake has a positive
      effect on the readability and maintainability of the build system as it is more
      declarative, it allows conditional and we are able to drop all of the custom
      make code that BIND 9 developed over the years to overcome the deficiencies of
      autoconf + custom Makefile.in files.
      
      This squashed commit contains following changes:
      
      - conversion (or rather fresh rewrite) of all Makefile.in files to Makefile.am
        by using automake
      
      - the libtool is now properly integrated with automake (the way we used it
        was rather hackish as the only official way how to use libtool is via
        automake
      
      - the dynamic module loading was rewritten from a custom patchwork to libtool's
        libltdl (which includes the patchwork to support module loading on different
        systems internally)
      
      - conversion of the unit test executor from kyua to automake parallel driver
      
      - conversion of the system test executor from custom make/shell to automake
        parallel driver
      
      - The GSSAPI has been refactored, the custom SPNEGO on the basis that
        all major KRB5/GSSAPI (mit-krb5, heimdal and Windows) implementations
        support SPNEGO mechanism.
      
      - The various defunct tests from bin/tests have been removed:
        bin/tests/optional and bin/tests/pkcs11
      
      - The text files generated from the MD files have been removed, the
        MarkDown has been designed to be readable by both humans and computers
      
      - The xsl header is now generated by a simple sed command instead of
        perl helper
      
      - The <irs/platform.h> header has been removed
      
      - cleanups of configure.ac script to make it more simpler, addition of multiple
        macros (there's still work to be done though)
      
      - the tarball can now be prepared with `make dist`
      
      - the system tests are partially able to run in oot build
      
      Here's a list of unfinished work that needs to be completed in subsequent merge
      requests:
      
      - `make distcheck` doesn't yet work (because of system tests oot run is not yet
        finished)
      
      - documentation is not yet built, there's a different merge request with docbook
        to sphinx-build rst conversion that needs to be rebased and adapted on top of
        the automake
      
      - msvc build is non functional yet and we need to decide whether we will just
        cross-compile bind9 using mingw-w64 or fix the msvc build
      
      - contributed dlz modules are not included neither in the autoconf nor automake
      978c7b2e
  3. 11 Mar, 2019 1 commit
  4. 21 Feb, 2019 1 commit
  5. 19 Dec, 2018 1 commit
  6. 23 Feb, 2018 2 commits
  7. 22 Feb, 2018 1 commit
  8. 27 Jun, 2016 1 commit
  9. 14 Jun, 2016 2 commits
  10. 29 Sep, 2015 1 commit
    • Evan Hunt's avatar
      [master] merge dyndb · a00f9e2f
      Evan Hunt authored
      4224.	[func]		Added support for "dyndb", a new interface for loading
      			zone data from an external database, developed by
      			Red Hat for the FreeIPA project.
      
      			DynDB drivers fully implement the BIND database
      			API, and are capable of significantly better
      			performance and functionality than DLZ drivers,
      			while taking advantage of advanced database
      			features not available in BIND such as multi-master
      			replication.
      
      			Thanks to Adam Tkac and Petr Spacek of Red Hat.
      			[RT #35271]
      a00f9e2f
  11. 02 Aug, 2015 2 commits
  12. 01 Oct, 2014 1 commit
  13. 10 Jun, 2014 1 commit
  14. 25 Apr, 2014 1 commit
    • Evan Hunt's avatar
      [master] better DDNS in DLZ; mysqldyn · aefb3e30
      Evan Hunt authored
      3821.	[contrib]	Added a new "mysqldyn" DLZ module with dynamic
      			update and transaction support. Thanks to Marty
      			Lee for the contribution. [RT #35656]
      
      3820.	[func]		The DLZ API doesn't pass the database version to
      			the lookup() function; this can cause DLZ modules
      			that allow dynamic updates to mishandle prerequisite
      			checks. This has been corrected by adding a
      			'dbversion' field to the dns_clientinfo_t
      			structure. [RT #35656]
      aefb3e30
  15. 29 Jan, 2014 2 commits
  16. 25 Jul, 2013 1 commit
  17. 10 Apr, 2013 1 commit
  18. 11 Mar, 2013 1 commit
  19. 22 Jan, 2013 1 commit
    • Evan Hunt's avatar
      [master] DLZ fixes · cbd1fa09
      Evan Hunt authored
       - handle malformed answers from DLZ better:
       - handle dlz_lookup errors better:
         when the first lookup of a name returns an unexpected failure code,
         we return it to the caller rather than continuing on to look up
         the wildcard. we now only continue processing if the return from
         the first lookup was either ISC_R_SUCCESS or ISC_R_NOTFOUND.
      
       - improved backward-compatibility for dlz_version:
         added a DLZ_DLOPEN_AGE value indicating how many versions
         back from the current DLZ_DLOPEN_VERSION named will support
      cbd1fa09
  20. 06 Dec, 2012 3 commits
    • Evan Hunt's avatar
      [master] pass client info to DLZ findzone method · abff0f46
      Evan Hunt authored
      3434.   [bug]           Pass client info to the DLZ findzone() entry
                              point in addition to lookup().  This makes it
                              possible for a database to answer differently
                              whether it's authoritative for a name depending
                              on the address of the client.  [RT #31775]
      abff0f46
    • Evan Hunt's avatar
      [master] handle ISC_R_NOMORE correctly · 177be355
      Evan Hunt authored
      3433.	[bug]		dlz_findzone() did not correctly handle
      			ISC_R_NOMORE. [RT #31172]
      177be355
    • Evan Hunt's avatar
      [master] multiple-dlz/dlz-nxdomain · 2b8bed66
      Evan Hunt authored
      3432.	[func]		Multiple DLZ databases can now be configured.
      			DLZ databases are searched in the order configured,
      			unless set to "search no", in which case a
      			zone can be configured to be retrieved from a
      			particular DLZ database by using a "dlz <name>"
      			option in the zone statement.  DLZ databases can
      			support type "master" and "redirect" zones.
      			[RT #27597]
      2b8bed66
  21. 05 Mar, 2012 3 commits
  22. 04 Mar, 2012 1 commit
    • Evan Hunt's avatar
      checkpoint: multiple-DLZ functionality · 95450171
      Evan Hunt authored
       - multiple DLZ's can be specified, including multiple DLZ's using
         the same driver; e.g., two different back-ends both loaded by the
         dlopen driver
       - new "search" option can be specified in a DLZ indicating whether
         this DLZ database should be searched for unknown zones.  The
         default is "yes".  If "no", then the zone can only be found by
         named if it's registered in the zone table, which happens if the
         zone is configured for dynamic updates, or if "dlz <dlzname>" is
         specified in the zone statement. (The latter functionality is
         incomplete in this commit).
      95450171
  23. 22 Feb, 2012 1 commit
  24. 11 Oct, 2011 1 commit
  25. 10 Mar, 2011 1 commit
  26. 20 Dec, 2010 1 commit
  27. 18 Dec, 2010 1 commit
    • Evan Hunt's avatar
      2989. [func] Added support for writable DLZ zones. (Contributed · 71bd858d
      Evan Hunt authored
      			by Andrew Tridgell of the Samba project.) [RT #22629]
      
      2988.	[experimental]	Added a "dlopen" DLZ driver, allowing the creation
      			of external DLZ drivers that can be loaded as
      			shared objects at runtime rather than linked with
      			named.  Currently this is switched on via a
      			compile-time option, "configure --with-dlz-dlopen".
      			Note: the syntax for configuring DLZ zones
      			is likely to be refined in future releases.
      			(Contributed by Andrew Tridgell of the Samba
      			project.) [RT #22629]
      
      2987.	[func]		Improve ease of configuring TKEY/GSS updates by
      			adding a "tkey-gssapi-keytab" option.  If set,
      			updates will be allowed with any key matching
      			a principal in the specified keytab file.
      			"tkey-gssapi-credential" is no longer required
      			and is expected to be deprecated.  (Contributed
      			by Andrew Tridgell of the Samba project.)
      			[RT #22629]
      71bd858d