]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
5 years agoMerge branch '2349-backport-max-ixfr-ration-v9_16' into 'v9_16'
Ondřej Surý [Tue, 26 Jan 2021 12:10:22 +0000 (12:10 +0000)] 
Merge branch '2349-backport-max-ixfr-ration-v9_16' into 'v9_16'

Backport max-ixfr-ratio to BIND 9.16

See merge request isc-projects/bind9!4598

5 years agoCHANGES and release note
Evan Hunt [Mon, 24 Feb 2020 04:54:58 +0000 (20:54 -0800)] 
CHANGES and release note

5 years agoprevent ixfr/ns1 being removed
Evan Hunt [Mon, 21 Jan 2013 22:16:15 +0000 (14:16 -0800)] 
prevent ixfr/ns1 being removed

5 years agoadd serial number to "transfer ended" log messages
Evan Hunt [Thu, 27 Feb 2020 19:43:03 +0000 (11:43 -0800)] 
add serial number to "transfer ended" log messages

5 years agoadd a system test for AXFR fallback when max-ixfr-ratio is exceeded
Evan Hunt [Sat, 22 Feb 2020 06:48:34 +0000 (22:48 -0800)] 
add a system test for AXFR fallback when max-ixfr-ratio is exceeded

also cleaned up the ixfr system test:

- use retry_quiet when applicable
- use scripts to generate test zones
- improve consistency

5 years agocheck size ratio when responding to IXFR requests
Evan Hunt [Sat, 22 Feb 2020 01:22:06 +0000 (17:22 -0800)] 
check size ratio when responding to IXFR requests

5 years agoimprove calculation of database transfer size
Evan Hunt [Sat, 22 Feb 2020 08:37:05 +0000 (00:37 -0800)] 
improve calculation of database transfer size

- change name of 'bytes' to 'xfrsize' in dns_db_getsize() parameter list
  and related variables; this is a more accurate representation of what
  the function is doing
- change the size calculations in dns_db_getsize() to more accurately
  represent the space needed for a *XFR message or journal file to contain
  the data in the database. previously we returned the sizes of all
  rdataslabs, including header overhead and offset tables, which
  resulted in the database size being reported as much larger than the
  equivalent *XFR or journal.
- map files caused a particular problem here: the fullname can't be
  determined from the node while a file is being deserialized, because
  the uppernode pointers aren't set yet. so we store "full name length"
  in the dns_rbtnode structure while serializing, and clear it after
  deserialization is complete.

5 years agodns_journal_iter_init() can now return the size of the delta
Evan Hunt [Sat, 22 Feb 2020 01:05:04 +0000 (17:05 -0800)] 
dns_journal_iter_init() can now return the size of the delta

the call initailizing a journal iterator can now optionally return
to the caller the size in bytes of an IXFR message (not including
DNS header overhead, signatures etc) containing the differences from
the beginning to the ending serial number.

this is calculated by scanning the journal transaction headers to
calculate the transfer size. since journal file records contain a length
field that is not included in IXFR messages, we subtract out the length
of those fields from the overall transaction length.

this necessitated adding an "RR count" field to the journal transaction
header, so we know how many length fields to subract. NOTE: this will
make existing journal files stop working!

5 years agoadd syntax and setter/getter functions to configure max-ixfr-ratio
Evan Hunt [Fri, 21 Feb 2020 18:53:08 +0000 (10:53 -0800)] 
add syntax and setter/getter functions to configure max-ixfr-ratio

5 years agoMerge branch '2387-use--release-for-SONAME-v9.16' into 'v9_16'
Michał Kępień [Mon, 25 Jan 2021 14:45:49 +0000 (14:45 +0000)] 
Merge branch '2387-use--release-for-SONAME-v9.16' into 'v9_16'

Use -release instead of -version-info for internal library SONAMEs

See merge request isc-projects/bind9!4553

5 years agoAdd CHANGES and release note for GL #2387
Ondřej Surý [Tue, 12 Jan 2021 14:18:27 +0000 (15:18 +0100)] 
Add CHANGES and release note for GL #2387

(cherry picked from commit b30aaa3748f108fbd0f8e9b476e7cf0f51e600e0)

5 years agoUse -release instead of -version-info for internal library SONAMEs
Ondřej Surý [Tue, 12 Jan 2021 12:38:44 +0000 (13:38 +0100)] 
Use -release instead of -version-info for internal library SONAMEs

The BIND 9 libraries are considered to be internal only and hence the
API and ABI changes a lot.  Keeping track of the API/ABI changes takes
time and it's a complicated matter as the safest way to make everything
stable would be to bump any library in the dependency chain as in theory
if libns links with libdns, and a binary links with both, and we bump
the libdns SOVERSION, but not the libns SOVERSION, the old libns might
be loaded by binary pulling old libdns together with new libdns loaded
by the binary.  The situation gets even more complicated with loading
the plugins that have been compiled with few versions old BIND 9
libraries and then dynamically loaded into the named.

We are picking the safest option possible and usable for internal
libraries - instead of using -version-info that has only a weak link to
BIND 9 version number, we are using -release libtool option that will
embed the corresponding BIND 9 version number into the library name.

That means that instead of libisc.so.1608 (as an example) the library
will now be named libisc-9.16.10.so.

(cherry picked from commit c605d75ea5e1d200ea332f25d2bc303984517d9f)

5 years agoMerge branch '2415-update-coverity-scan-ci-job-to-2020-09-v9_16' into 'v9_16'
Michal Nowak [Mon, 25 Jan 2021 11:35:58 +0000 (11:35 +0000)] 
Merge branch '2415-update-coverity-scan-ci-job-to-2020-09-v9_16' into 'v9_16'

[v9_16] Update Coverity Scan CI job to 2020.09

See merge request isc-projects/bind9!4594

5 years agoUpdate Coverity Scan CI job to 2020.09
Michal Nowak [Mon, 25 Jan 2021 08:56:38 +0000 (09:56 +0100)] 
Update Coverity Scan CI job to 2020.09

(cherry picked from commit 7d428be79b5276ce31f2766a3440f2317556c281)

5 years agoMerge branch 'v9_16_11-release' into 'v9_16'
Michał Kępień [Thu, 21 Jan 2021 08:35:39 +0000 (08:35 +0000)] 
Merge branch 'v9_16_11-release' into 'v9_16'

Merge 9.16.11 release branch

See merge request isc-projects/bind9!4587

5 years agoSet up release notes for BIND 9.16.12
Michał Kępień [Thu, 21 Jan 2021 08:33:16 +0000 (09:33 +0100)] 
Set up release notes for BIND 9.16.12

5 years agoBump BIND_BASELINE_VERSION for ABI checks
Michał Kępień [Thu, 21 Jan 2021 08:33:16 +0000 (09:33 +0100)] 
Bump BIND_BASELINE_VERSION for ABI checks

5 years agoMerge branch 'prep-release' into v9_16_11-release
Tinderbox User [Mon, 11 Jan 2021 13:23:31 +0000 (13:23 +0000)] 
Merge branch 'prep-release' into v9_16_11-release

5 years agoMerge branch 'michal/prepare-documentation-for-bind-9.16.11' into 'v9_16_11-release'
Michał Kępień [Mon, 11 Jan 2021 12:51:40 +0000 (12:51 +0000)] 
Merge branch 'michal/prepare-documentation-for-bind-9.16.11' into 'v9_16_11-release'

Prepare documentation for BIND 9.16.11

See merge request isc-private/bind9!231

5 years agoprep 9.16.11
Tinderbox User [Mon, 11 Jan 2021 13:22:34 +0000 (13:22 +0000)] 
prep 9.16.11

5 years agoPrepare release notes for BIND 9.16.11
Michał Kępień [Mon, 11 Jan 2021 12:09:03 +0000 (13:09 +0100)] 
Prepare release notes for BIND 9.16.11

5 years agoAdd release note for GL #2091
Michał Kępień [Mon, 11 Jan 2021 12:09:03 +0000 (13:09 +0100)] 
Add release note for GL #2091

5 years agoReorder release notes
Michał Kępień [Mon, 11 Jan 2021 12:09:03 +0000 (13:09 +0100)] 
Reorder release notes

5 years agoTweak and reword release notes
Michał Kępień [Mon, 11 Jan 2021 12:09:03 +0000 (13:09 +0100)] 
Tweak and reword release notes

5 years agoRestore release note for GL #2245
Michał Kępień [Mon, 11 Jan 2021 12:09:03 +0000 (13:09 +0100)] 
Restore release note for GL #2245

5 years agoTweak and reword recent CHANGES entries
Michał Kępień [Mon, 11 Jan 2021 12:09:03 +0000 (13:09 +0100)] 
Tweak and reword recent CHANGES entries

5 years agoMerge branch 'each-fix-cpu-test-v9_16' into 'v9_16'
Evan Hunt [Thu, 21 Jan 2021 03:01:25 +0000 (03:01 +0000)] 
Merge branch 'each-fix-cpu-test-v9_16' into 'v9_16'

check whether taskset works before running cpu test

See merge request isc-projects/bind9!4585

5 years agocheck whether taskset works before running cpu test
Evan Hunt [Wed, 20 Jan 2021 21:37:52 +0000 (13:37 -0800)] 
check whether taskset works before running cpu test

the taskset command used for the cpu system test seems
to be failing under vmware, causing a test failure. we
can try the taskset command and skip the test if it doesn't
work.

(cherry picked from commit a8a49bb783764821e062233fa87dc2ff41bce8aa)

5 years agoMerge branch 'mnowak/drop-issue-1941-workaround-v9_16' into 'v9_16'
Michal Nowak [Tue, 19 Jan 2021 10:49:06 +0000 (10:49 +0000)] 
Merge branch 'mnowak/drop-issue-1941-workaround-v9_16' into 'v9_16'

[v9_16] Drop #1941 workaround

See merge request isc-projects/bind9!4581

5 years agoDrop #1941 workaround
Michal Nowak [Tue, 5 Jan 2021 10:54:13 +0000 (11:54 +0100)] 
Drop #1941 workaround

Workaround for issue #1941 is not needed anymore as the underlying
performance issue which manifested on FreeBSD was addressed.

(cherry picked from commit fe5978f5baaa1630f121cca70673d9a4dadae391)

5 years agoMerge branch '2380-doc-engine-pkcs11-v9_16' into 'v9_16'
Matthijs Mekking [Tue, 19 Jan 2021 08:58:52 +0000 (08:58 +0000)] 
Merge branch '2380-doc-engine-pkcs11-v9_16' into 'v9_16'

Resolve "Documentation  update - use of "-E pkcs11""

See merge request isc-projects/bind9!4574

5 years agoUpdate documentation on -E option
Matthijs Mekking [Mon, 18 Jan 2021 07:57:52 +0000 (08:57 +0100)] 
Update documentation on -E option

The -E option does not default to pkcs11 if --with-pkcs11 is set,
but always needs to be set explicitly.

(cherry picked from commit 0536375d4cf61c9b570a32e808dde78a7ef859bf)

5 years agoMerge branch '2364-cid314969-coverity-deadcode-zoneconf-v9_16' into 'v9_16'
Matthijs Mekking [Mon, 18 Jan 2021 15:54:48 +0000 (15:54 +0000)] 
Merge branch '2364-cid314969-coverity-deadcode-zoneconf-v9_16' into 'v9_16'

Fix control flow issue CID 314969 in zoneconf.c

See merge request isc-projects/bind9!4576

5 years agoFix control flow issue CID 314969 in zoneconf.c
Matthijs Mekking [Mon, 18 Jan 2021 08:04:19 +0000 (09:04 +0100)] 
Fix control flow issue CID 314969 in zoneconf.c

Coverity Scan identified the following issue in bin/named/zoneconf.c:

    *** CID 314969:  Control flow issues  (DEADCODE)
    /bin/named/zoneconf.c: 2212 in named_zone_inlinesigning()

    if (!inline_signing && !zone_is_dynamic &&
        cfg_map_get(zoptions, "dnssec-policy", &signing) == ISC_R_SUCCESS &&
        signing != NULL)
    {
        if (strcmp(cfg_obj_asstring(signing), "none") != 0) {
            inline_signing = true;
    >>>     CID 314969:  Control flow issues  (DEADCODE)
    >>>     Execution cannot reach the expression ""no"" inside this statement: "dns_zone_log(zone, 1, "inli...".
            dns_zone_log(
                zone, ISC_LOG_DEBUG(1), "inline-signing: %s",
                inline_signing
                ? "implicitly through dnssec-policy"
                : "no");
        } else {
                ...
        }
    }

This is because we first set 'inline_signing = true' and then check
its value in 'dns_zone_log'.

(cherry picked from commit 8df629d0b297188578d807aac03f69f1ef7c70cd)

5 years agoMerge branch 'michal/improve-danger-checks-v9_16' into 'v9_16'
Michał Kępień [Mon, 18 Jan 2021 14:15:34 +0000 (14:15 +0000)] 
Merge branch 'michal/improve-danger-checks-v9_16' into 'v9_16'

[v9_16] Improve Danger checks

See merge request isc-projects/bind9!4577

5 years agoSkip subject line length check for merge commits
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Skip subject line length check for merge commits

Some merge requests (e.g. those created for release branches) include
merge commits.  Prevent Danger from warning about excessive subject line
length for merge commits.  (While the proper way to detect a merge
commit would be to check the 'parents' attribute of a commit object,
Danger Python does not seem to populate that attribute, so a simple
string search is performed on the commit subject instead.)

(cherry picked from commit bc42690c99d0df39b20510a70d584da6c7c2ac2a)

5 years agoSkip length check for lines containing references
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Skip length check for lines containing references

The Danger GitLab CI job currently flags excessively long lines in
commit log messages.  Exclude lines containing references (i.e. starting
with "[1]", "[2]", etc.) from this check.  This allows e.g. long URLs to
be included in commit log messages without triggering Danger warnings.

(cherry picked from commit 09964e8085494bffb4f8038be30babfaafe66ea3)

5 years agoOnly warn about fixup commits once per run
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Only warn about fixup commits once per run

The Danger GitLab CI job currently generates a separate error message
about fixup commits being present in a merge request for every such
commit found.  Prevent that by making it only log that error message
once per run.

(cherry picked from commit 801d13f62fe60436db16f525231172145f8ccde5)

5 years agoFlag trailing dots in commit subject lines
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Flag trailing dots in commit subject lines

Make the Danger GitLab CI job fail when the subject line for any commit
belonging to a merge request contains a trailing dot.

(cherry picked from commit 953c810f4161f62c36fc463ce973ad8237e74b5b)

5 years agoFlag missing pairwise testing markers
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Flag missing pairwise testing markers

Make the Danger GitLab CI job fail when a merge request adds a new
./configure switch without also adding a "# [pairwise: ...]" marker that
the relevant GitLab CI job uses for preparing the pairwise testing
model.  This helps to ensure that any newly added ./configure switches
are tested by the pairwise testing GitLab CI job.

(cherry picked from commit ff58ec8cefcb7ccf5b9a37b2f4763bb610f7cc64)

5 years agoSuggest adding release notes for customer issues
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Suggest adding release notes for customer issues

Make Danger suggest adding a release note to a merge request if the
latter is marked with the "Customer" label but not with the "Release
Notes" label.

(cherry picked from commit d81ad454cc6aef7f7cf3435847898ae17d362cab)

5 years agoHandle [placeholder] CHANGES entries
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Handle [placeholder] CHANGES entries

Make the Danger GitLab CI job fail when a merge request targeting a
branch different than "main" adds any [placeholder] entries to the
CHANGES file.  Prevent Danger from flagging missing GitLab identifiers
for [placeholder] CHANGES entries.

(cherry picked from commit 2f77c7680a14beb89b7d38007a604e38e21b1521)

5 years agoFlag missing CVE identifiers
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)] 
Flag missing CVE identifiers

Make Danger ensure that if a merge request fixes a security issue then
that merge request includes a CHANGES entry and a release note, both of
which contain a CVE identifier.

(cherry picked from commit 97364f551805210c4938faf6cd531fce1e3e0a81)

5 years agoMerge branch '2248-serve-stale-config-defaults-v9_16' into 'v9_16'
Matthijs Mekking [Fri, 15 Jan 2021 10:45:49 +0000 (10:45 +0000)] 
Merge branch '2248-serve-stale-config-defaults-v9_16' into 'v9_16'

Resolve "Update serve-stale configuration defaults"

See merge request isc-projects/bind9!4570

5 years agoUpdate serve-stale system test with new defaults
Matthijs Mekking [Wed, 9 Dec 2020 15:01:31 +0000 (16:01 +0100)] 
Update serve-stale system test with new defaults

(cherry picked from commit 3be65246f8e01fe5cbc10a07c1ea46a1017fc54f)

5 years agoUpdate serve-stale config defaults
Matthijs Mekking [Tue, 8 Dec 2020 14:58:45 +0000 (15:58 +0100)] 
Update serve-stale config defaults

Change the serve-stale configuration defaults so that they match the
recommendations from RFC 8767.

(cherry picked from commit e15a433b2317c9d69cec87cff09d9abc2dea7423)

5 years agoMerge branch 'michal/regenerate-doc-misc-options' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 15:06:08 +0000 (15:06 +0000)] 
Merge branch 'michal/regenerate-doc-misc-options' into 'v9_16'

Regenerate doc/misc/options{,.active}

See merge request isc-projects/bind9!4562

5 years agoRegenerate doc/misc/options{,.active}
Michał Kępień [Tue, 12 Jan 2021 15:00:38 +0000 (16:00 +0100)] 
Regenerate doc/misc/options{,.active}

Make the "docs" GitLab CI job pass again after backporting documentation
changes.

5 years agoMerge branch '1925-additional-text-edits-to-bind-arm-v9_16' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 14:47:02 +0000 (14:47 +0000)] 
Merge branch '1925-additional-text-edits-to-bind-arm-v9_16' into 'v9_16'

[v9_16] Resolve "Additional text edits to BIND ARM"

See merge request isc-projects/bind9!4561

5 years agoAdd missing named.conf man page
Suzanne Goldlust [Thu, 2 Jul 2020 18:58:26 +0000 (18:58 +0000)] 
Add missing named.conf man page

(cherry picked from commit 4cd6be18d3956bee361977c41a88d2258d21c741)

5 years agoFinal text edits to BIND 9 ARM in this round of updates
Suzanne Goldlust [Thu, 2 Jul 2020 16:54:57 +0000 (16:54 +0000)] 
Final text edits to BIND 9 ARM in this round of updates

(cherry picked from commit 056f12eb34e9a0b039fafe708609a33031bd8edf)

5 years agoMerge branch '1883-text-edits-in-pkcs11-rst-v9_16' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 14:44:08 +0000 (14:44 +0000)] 
Merge branch '1883-text-edits-in-pkcs11-rst-v9_16' into 'v9_16'

[v9_16] "Text edits in pkcs11.rst"

See merge request isc-projects/bind9!4560

5 years agoContent and grammar edits to pkcs11.rst
Suzanne Goldlust [Wed, 27 May 2020 15:53:44 +0000 (15:53 +0000)] 
Content and grammar edits to pkcs11.rst

(cherry picked from commit 28be579424fcf889102d397019f1a2cbd3d4983f)

5 years agoMerge branch 'ondrej/1915-update-input-files-for-manpages-v9_16' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 14:41:24 +0000 (14:41 +0000)] 
Merge branch 'ondrej/1915-update-input-files-for-manpages-v9_16' into 'v9_16'

[v9_16] Update the generated files after the source manpages update

See merge request isc-projects/bind9!4559

5 years agoUpdate the generated files after the source manpages update
Ondřej Surý [Thu, 2 Jul 2020 08:53:16 +0000 (10:53 +0200)] 
Update the generated files after the source manpages update

(cherry picked from commit 9ab86d0da20919f067368ead30fbe8ff503c6612)

5 years agoMerge branch 'sgoldlust-1915-edits-to-man-pages-for-bind-arm-patch-16656-v9_16' into...
Michał Kępień [Tue, 12 Jan 2021 14:39:13 +0000 (14:39 +0000)] 
Merge branch 'sgoldlust-1915-edits-to-man-pages-for-bind-arm-patch-16656-v9_16' into 'v9_16'

[v9_16] Edits to man pages for BIND 9 ARM

See merge request isc-projects/bind9!4558

5 years agoText edits to manual paages
Suzanne Goldlust [Thu, 4 Jun 2020 00:24:08 +0000 (00:24 +0000)] 
Text edits to manual paages

This commit updates the wording in following man pages:

* ddns-confgen.rst
* delv.rst
* dig.rst
* dnssec-dsfromkey.rst
* dnssec-importkey.rst
* dnssec-keyfromlabel.rst
* dnssec-keygen.rst
* dnssec-revoke.rst
* dnssec-settime.rst
* dnssec-signzone.rst
* dnssec-verify.rst
* dnstap-read.rst
* filter-aaaa.rst
* host.rst
* mdig.rst
* named-checkconf.rst
* named-checkzone.rst
* named-nzd2nzf.rst
* named.conf.rst
* named.rst
* nsec3hash.rst
* nsupdate.rst
* pkcs11-destroy.rst
* pkcs11-keygen.rst
* pkcs11-list.rst
* pkcs11-tokens.rst
* rndc-confgen.rst
* rndc.rst

(cherry picked from commit 78af7e54e68ea3be40853e36df258db3fb4ee920)

5 years agoMerge branch '1915-edits-to-man-pages-for-bind-arm-v9_16' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 14:36:55 +0000 (14:36 +0000)] 
Merge branch '1915-edits-to-man-pages-for-bind-arm-v9_16' into 'v9_16'

[v9_16] Resolve "Edits to man pages for BIND ARM"

See merge request isc-projects/bind9!4557

5 years agoText and formatting edits to various manual pages.
Suzanne Goldlust [Wed, 3 Jun 2020 20:01:17 +0000 (20:01 +0000)] 
Text and formatting edits to various manual pages.

Follwing manual pages have been updated: rndc.conf.rst, rndc.rst
nsec3hash.rst, dnstap-read.rst, named-nzd2nzf.rst, mdig.rst,
named-rrchecker.rst, dnssec-revoke.rst, dnssec-cds.rst,
dnssec-keyfromlabel.rst, and dnssec-keygen.rst

(cherry picked from commit 1efa88cf091bc38b938fc7d125d237b1fdd27210)

5 years agoMerge branch '1940-removing-more-references-to-master-and-slave-in-bind-arm-v9_16...
Michał Kępień [Tue, 12 Jan 2021 14:34:20 +0000 (14:34 +0000)] 
Merge branch '1940-removing-more-references-to-master-and-slave-in-bind-arm-v9_16' into 'v9_16'

[v9_16] Resolve "Removing more references to "master" and "slave" in BIND ARM"

See merge request isc-projects/bind9!4556

5 years agoUpdates to .rst files to remove more references to "master" and "slave"
Suzanne Goldlust [Mon, 15 Jun 2020 14:37:56 +0000 (14:37 +0000)] 
Updates to .rst files to remove more references to "master" and "slave"

(cherry picked from commit 42386f3d9f4010b0c9382676e85ab6bceb2ab4c2)

5 years agoMerge branch '1925-additional-text-edits-to-bind-arm-v9_16' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 14:30:46 +0000 (14:30 +0000)] 
Merge branch '1925-additional-text-edits-to-bind-arm-v9_16' into 'v9_16'

[v9_16] Resolve "Additional text edits to BIND ARM"

See merge request isc-projects/bind9!4555

5 years agoVarious text edits and fixes to the documentation
Suzanne Goldlust [Mon, 8 Jun 2020 15:33:45 +0000 (15:33 +0000)] 
Various text edits and fixes to the documentation

(cherry picked from commit 5aa5ad5abcb61bef7f2da8f619cab57485255441)

5 years agoMerge branch '1948-primaries-synonym-v9_16' into 'v9_16'
Michał Kępień [Tue, 12 Jan 2021 14:24:06 +0000 (14:24 +0000)] 
Merge branch '1948-primaries-synonym-v9_16' into 'v9_16'

[v9_16] Resolve "add synonym for "masters""

See merge request isc-projects/bind9!4554

5 years agoCHANGES, release note
Evan Hunt [Wed, 17 Jun 2020 09:39:58 +0000 (02:39 -0700)] 
CHANGES, release note

(cherry picked from commit 565f99f9e565671d7370a3309cbe156b173cd4ac)

5 years agofurther tidying of primary/secondary terminology in system tests
Evan Hunt [Tue, 30 Jun 2020 20:10:59 +0000 (13:10 -0700)] 
further tidying of primary/secondary terminology in system tests

this changes most visble uses of master/slave terminology in tests.sh
and most uses of 'type master' or 'type slave' in named.conf files.
files in the checkconf test were not updated in order to confirm that
the old syntax still works. rpzrecurse was also left mostly unchanged
to avoid interference with DNSRPS.

(cherry picked from commit e43b3c1fa1f3f5fc8a9a93303cc87a2d7dc7da03)

5 years agouse primary/secondary terminology in 'rndc zonestatus'
Evan Hunt [Tue, 30 Jun 2020 20:03:11 +0000 (13:03 -0700)] 
use primary/secondary terminology in 'rndc zonestatus'

(cherry picked from commit 68c384e11822c2ca7f742d63bac9ce757c6296d2)

5 years agoprevent "primaries" lists from having duplicate names
Evan Hunt [Fri, 26 Jun 2020 04:59:56 +0000 (21:59 -0700)] 
prevent "primaries" lists from having duplicate names

it is now an error to have two primaries lists with the same
name. this is true regardless of whether the "primaries" or
"masters" keywords were used to define them.

(cherry picked from commit f619708bbfed238a2f12028bfc71c7ed3b35a4a8)

5 years agoadd "primary-only" as a synonym for "master-only"
Evan Hunt [Wed, 17 Jun 2020 09:45:07 +0000 (02:45 -0700)] 
add "primary-only" as a synonym for "master-only"

update the "notify" option to use RFC 8499 terminology as well.

(cherry picked from commit 424a3cf3ccb0c3b4aaf2f8e9af57432acadf2112)

5 years agoadd "primaries" as a synonym for "masters" in named.conf
Evan Hunt [Wed, 17 Jun 2020 09:02:27 +0000 (02:02 -0700)] 
add "primaries" as a synonym for "masters" in named.conf

as "type primary" is preferred over "type master" now, it makes
sense to make "primaries" available as a synonym too.

added a correctness check to ensure "primaries" and "masters"
cannot both be used in the same zone.

(cherry picked from commit 16e14353b1755111645024d06fa4225e019ba9a2)

5 years agoMerge branch '2383-kasp-sig-validity-dnskey-bug-v9_16' into 'v9_16'
Matthijs Mekking [Tue, 12 Jan 2021 12:40:47 +0000 (12:40 +0000)] 
Merge branch '2383-kasp-sig-validity-dnskey-bug-v9_16' into 'v9_16'

Fix signatures-validity config option (9.16)

See merge request isc-projects/bind9!4551

5 years agoFix signatures-validity config option
Matthijs Mekking [Thu, 7 Jan 2021 16:41:38 +0000 (17:41 +0100)] 
Fix signatures-validity config option

KASP was using 'signatures-validity-dnskey' instead of
'signatures-validity'.

(cherry picked from commit ad63e9e4f84a126fb076fdc16aff7ebf7f21db44)

5 years agoMerge branch 'mnowak/fix-copyright-date-in-man-pages-v9_16' into 'v9_16'
Michal Nowak [Mon, 11 Jan 2021 12:06:46 +0000 (12:06 +0000)] 
Merge branch 'mnowak/fix-copyright-date-in-man-pages-v9_16' into 'v9_16'

[v9_16] Update copyright date in man pages

See merge request isc-projects/bind9!4550

5 years agoUpdate copyright date in man pages
Michal Nowak [Mon, 11 Jan 2021 11:54:46 +0000 (12:54 +0100)] 
Update copyright date in man pages

(cherry picked from commit 358c133ee20e64b64569429df196d7c7767a624a)

5 years agoMerge branch '606-add-the-isc-dnssec-guide-as-a-bind-9-arm-appendix-v9_16' into ...
Michał Kępień [Fri, 8 Jan 2021 12:58:02 +0000 (12:58 +0000)] 
Merge branch '606-add-the-isc-dnssec-guide-as-a-bind-9-arm-appendix-v9_16' into 'v9_16'

[v9_16] Add the ISC DNSSEC Guide as a BIND 9 ARM appendix

See merge request isc-projects/bind9!4547

5 years agoAdd the ISC DNSSEC Guide as a BIND 9 ARM appendix
Michał Kępień [Fri, 8 Jan 2021 12:12:20 +0000 (13:12 +0100)] 
Add the ISC DNSSEC Guide as a BIND 9 ARM appendix

Add the ISC DNSSEC Guide to the BIND 9 ARM in order to include the
former in every BIND release.

(cherry picked from commit f96e6a1e1df4c6ab8480d1ceb77bf0f0e99b3033)

5 years agoMerge branch '2366-add-CHANGES-entry-v9_16' into 'v9_16'
Michał Kępień [Fri, 8 Jan 2021 11:53:20 +0000 (11:53 +0000)] 
Merge branch '2366-add-CHANGES-entry-v9_16' into 'v9_16'

[v9_16] Add CHANGES entry for GL #2366

See merge request isc-projects/bind9!4545

5 years agoAdd CHANGES entry for GL #2366
Michał Kępień [Fri, 8 Jan 2021 11:42:03 +0000 (12:42 +0100)] 
Add CHANGES entry for GL #2366

(cherry picked from commit 995b72d2b753e6b519ca5055eaa773bd0fd98450)

5 years agoMerge branch '2366-bind-9-16-10-build-fails-with-libmaxminddb-1-4-3' into 'v9_16'
Mark Andrews [Wed, 6 Jan 2021 08:04:25 +0000 (08:04 +0000)] 
Merge branch '2366-bind-9-16-10-build-fails-with-libmaxminddb-1-4-3' into 'v9_16'

Resolve "BIND 9.16.10 build fails with libmaxminddb-1.4.3"

See merge request isc-projects/bind9!4531

5 years agoFix 'configure --with-maxminddb=<path>'
Mark Andrews [Wed, 6 Jan 2021 06:53:10 +0000 (17:53 +1100)] 
Fix 'configure --with-maxminddb=<path>'

5 years agoMerge branch '2355-incorrect-increment-of-inactive-in-rbtdb-c-maybe_free_rbtdb-v9_16...
Mark Andrews [Wed, 6 Jan 2021 05:51:10 +0000 (05:51 +0000)] 
Merge branch '2355-incorrect-increment-of-inactive-in-rbtdb-c-maybe_free_rbtdb-v9_16' into 'v9_16'

Resolve "Incorrect increment of inactive in rbtdb.c:maybe_free_rbtdb()"

See merge request isc-projects/bind9!4530

5 years agoAdd release note
Mark Andrews [Fri, 18 Dec 2020 02:43:11 +0000 (13:43 +1100)] 
Add release note

(cherry picked from commit 584e589d844968362fda7d52f6d0cee7ba36b7ea)

5 years agoAdd CHANGES
Mark Andrews [Fri, 18 Dec 2020 02:40:23 +0000 (13:40 +1100)] 
Add CHANGES

(cherry picked from commit 65702896bd1c9efaee85cb2ffbb7c64c18702ae7)

5 years agoInactive incorrectly incremented
Mark Andrews [Fri, 18 Dec 2020 02:31:07 +0000 (13:31 +1100)] 
Inactive incorrectly incremented

It is possible to have two threads destroying an rbtdb at the same
time when detachnode() executes and removes the last reference to
a node between exiting being set to true for the node and testing
if the references are zero in maybe_free_rbtdb().  Move NODE_UNLOCK()
to after checking if references is zero to prevent detachnode()
changing the reference count too early.

(cherry picked from commit 859d2fdad6d1c6ff20083a4c463a929cbeb26438)

5 years agoMerge branch '2359-too-many-newlines-dnssec-signzone-verify-v9_16' into 'v9_16'
Matthijs Mekking [Tue, 5 Jan 2021 13:00:25 +0000 (13:00 +0000)] 
Merge branch '2359-too-many-newlines-dnssec-signzone-verify-v9_16' into 'v9_16'

Fix dnssec-signzone and -verify logging (again)

See merge request isc-projects/bind9!4525

5 years agoFix dnssec-signzone and -verify logging (again)
Matthijs Mekking [Tue, 5 Jan 2021 11:06:23 +0000 (12:06 +0100)] 
Fix dnssec-signzone and -verify logging (again)

While fixing #2359, 'report()' was changed so that it would print the
newline.

Newlines were missing from the output of 'dnssec-signzone'
and 'dnssec-verify' because change
664b8f04f5f2322086138f5eda5899a62bcc019b moved the printing from
newlines to the library.

This had to be reverted because this also would print redundant
newlines in logfiles.

While doing the revert, some newlines in 'lib/dns/zoneverify.c'
were left in place, now making 'dnssec-signzone' and 'dnssec-verify'
print too many newlines.

This commit removes those newlines, so that the output looks nice
again.

(cherry picked from commit 18c62a077ec0f7f1c56564dc2bd45b0c80e5b2f7)

5 years agoMerge branch '2359-missing-newlines-in-log-messages-dnssec-signzone-dnssec-verify...
Mark Andrews [Tue, 5 Jan 2021 01:47:26 +0000 (01:47 +0000)] 
Merge branch '2359-missing-newlines-in-log-messages-dnssec-signzone-dnssec-verify-c-v9_16' into 'v9_16'

Resolve "missing newlines in log messages dnssec-signzone/dnssec-verify"

See merge request isc-projects/bind9!4522

5 years agoAdd CHANGES
Mark Andrews [Wed, 23 Dec 2020 02:20:57 +0000 (13:20 +1100)] 
Add CHANGES

(cherry picked from commit 244525a303be6fcce4ef9a33a58c3978b11ce545)

5 years agoFix dnssec-signzone and dnssec-verify logging
Mark Andrews [Wed, 23 Dec 2020 01:21:24 +0000 (12:21 +1100)] 
Fix dnssec-signzone and dnssec-verify logging

The newlines need to be appended to the messages generated by report
in a atomic manner.

(cherry picked from commit c36bd83822582fcd0084a36d2eebc555f5e1c2d9)

5 years agoMerge branch '2361-the-additional-system-test-fails-on-system-gcc-mutexatomics' into...
Mark Andrews [Tue, 5 Jan 2021 00:32:03 +0000 (00:32 +0000)] 
Merge branch '2361-the-additional-system-test-fails-on-system-gcc-mutexatomics' into 'v9_16'

Resolve "The additional system test fails on system:gcc:mutexatomics"

See merge request isc-projects/bind9!4520

5 years agoadd CHANGES
Mark Andrews [Mon, 4 Jan 2021 05:15:21 +0000 (16:15 +1100)] 
add CHANGES

5 years agoUse atomic_init when initalising server->reload_status
Mark Andrews [Mon, 4 Jan 2021 05:03:08 +0000 (16:03 +1100)] 
Use atomic_init when initalising server->reload_status

5 years agoMerge branch 'marka-copyrights' into 'v9_16'
Mark Andrews [Mon, 4 Jan 2021 04:35:20 +0000 (04:35 +0000)] 
Merge branch 'marka-copyrights' into 'v9_16'

update for 2021

See merge request isc-projects/bind9!4519

5 years agoupdate for 2021
Mark Andrews [Mon, 4 Jan 2021 04:14:44 +0000 (15:14 +1100)] 
update for 2021

5 years agoMerge branch '1750-dnssec-policy-none-v9_16' into 'v9_16'
Matthijs Mekking [Wed, 23 Dec 2020 12:25:06 +0000 (12:25 +0000)] 
Merge branch '1750-dnssec-policy-none-v9_16' into 'v9_16'

Resolve "dnssec-policy graceful transition to insecure"

See merge request isc-projects/bind9!4513

5 years agoAdd notes for [#2341]
Matthijs Mekking [Tue, 8 Dec 2020 08:55:36 +0000 (09:55 +0100)] 
Add notes for [#2341]

Mention the bugfix in the release.

(cherry picked from commit 08b6e8c2c9218928537a6b6a4f72cccc5e1faea6)

5 years agoAdd documentation and notes for [#1750]
Matthijs Mekking [Tue, 8 Dec 2020 08:42:51 +0000 (09:42 +0100)] 
Add documentation and notes for [#1750]

(cherry picked from commit 7825d8f916bcfb0e725f0db5402035fd5c48a432)

5 years agoFix a quirky mkeys test failure
Matthijs Mekking [Mon, 7 Dec 2020 13:37:23 +0000 (14:37 +0100)] 
Fix a quirky mkeys test failure

The mkeys system test started to fail after introducing support for
zones transitioning to unsigned without going bogus. This is because
there was actually a bug in the code: if you reconfigure a zone and
remove the "auto-dnssec" option, the zone is actually still DNSSEC
maintained. This is because in zoneconf.c there is no call
to 'dns_zone_setkeyopt()' if the configuration option is not used
(cfg_map_get(zoptions, "auto-dnssec", &obj) will return an error).

The mkeys system test implicitly relied on this bug: initially the
root zone is being DNSSEC maintained, then at some point it needs to
reset the root zone in order to prepare for some tests with bad
signatures. Because it needs to inject a bad signature, 'auto-dnssec'
is removed from the configuration.

The test pass but for the wrong reasons:

I:mkeys:reset the root server
I:mkeys:reinitialize trust anchors
I:mkeys:check positive validation (18)

The 'check positive validation' test works because the zone is still
DNSSEC maintained: The DNSSEC records in the signed root zone file on
disk are being ignored.

After fixing the bug/introducing graceful transition to insecure,
the root zone is no longer DNSSEC maintained after the reconfig.

The zone now explicitly needs to be reloaded because otherwise the
'check positive validation' test works against an old version of the
zone (the one with all the revoked keys), and the test will obviously
fail.

(cherry picked from commit 2fc42b598b954f8cbd8a5fc99cc990b15b235b40)

5 years agoUpdate keymgr to allow transition to insecure mode
Matthijs Mekking [Thu, 3 Dec 2020 15:04:28 +0000 (16:04 +0100)] 
Update keymgr to allow transition to insecure mode

The keymgr prevented zones from going to insecure mode. If we
have a policy with an empty key list this is a signal that the zone
wants to go back to insecure mode. In this case allow one extra state
transition to be valid when checking for DNSSEC safety.

(cherry picked from commit 913410006912984b49f9e8efa74e7c1f274cbe4d)

5 years agoPublish CDS/CDNSKEY Delete Records
Matthijs Mekking [Thu, 3 Dec 2020 14:33:45 +0000 (15:33 +0100)] 
Publish CDS/CDNSKEY Delete Records

Check if zone is transitioning from secure to insecure. If so,
delete the CDS/CDNSKEY records, otherwise make sure they are not
part of the RRset.

(cherry picked from commit 68d715a229c586ba427fed9ec3af87770a647509)