Commit Graph

33509 Commits

Author SHA1 Message Date
Michał Kępień
36906b1bb2 Reorder release notes 2021-07-23 09:43:45 +02:00
Michal Nowak
f122497c72 Tweak and reword release notes 2021-07-23 09:43:45 +02:00
Michal Nowak
17e5161dea Tweak and reword recent CHANGES entries 2021-07-23 09:43:45 +02:00
Michał Kępień
e7b1d49b76 Restore release note for GL #2780 2021-07-23 09:43:45 +02:00
Mark Andrews
e2733fe401 Merge branch '2735-bind-9-16-must-stop-named-delete-jnl-files-for-signed-zones-to-be-updated-v9_16' into 'v9_16'
Remove spurious early exit

See merge request isc-projects/bind9!5301
2021-07-22 23:39:17 +00:00
Mark Andrews
af13320917 Add CHANGES note for [GL #2735]
(cherry picked from commit ba950cf193)
2021-07-23 09:20:26 +10:00
Mark Andrews
18fc3319bc Check that reload with deleted journal works
(cherry picked from commit cf8aadfeb6)
2021-07-23 09:20:26 +10:00
Mark Andrews
d51b8f7228 Check that restart with zone changes and deleted journal works
(cherry picked from commit 163fb0b825)
2021-07-23 09:20:25 +10:00
Mark Andrews
da13526669 Order the diff from dns_db_diffx so that deletes proceed adds
for the same rdataset.  This allows the diff when passed to
dns_diff_apply to succeed.

(cherry picked from commit 76453961bd)
2021-07-23 09:20:25 +10:00
Mark Andrews
8a81830001 Check reload of dnssec-policy zone works
(cherry picked from commit c7fc13a9fa)
2021-07-23 09:20:25 +10:00
Mark Andrews
d50a1ade1c Remove spurious early exit
(cherry picked from commit 9c9ee59fa7)
2021-07-23 09:20:25 +10:00
Mark Andrews
1dab5a0cde Merge branch '2542-inline-loadtime-not-recorded-v9_16' into 'v9_16'
Record load time when a inline zone file has been touched

See merge request isc-projects/bind9!5300
2021-07-22 22:23:30 +00:00
Mark Andrews
c539da031f Add CHANGES for [GL #2542]
(cherry picked from commit 10d3a48e2f)
2021-07-23 07:49:21 +10:00
Mark Andrews
0ffdca4e83 Check that load time was recorded for unchanged inline zone
subsequent reloads should not report 'ixfr-from-differences: unchanged'

(cherry picked from commit b84c057130)
2021-07-23 07:49:21 +10:00
Mark Andrews
37f6b31017 Record load time when a inline zone file has been touched
(cherry picked from commit 194e47cb0d)
2021-07-23 07:49:21 +10:00
Michal Nowak
b201b97dbf Merge branch '2473-run-respdiff-as-part-of-daily-runs-v9_16' into 'v9_16'
[v9_16] Run respdiff also for scheduled and web pipelines

See merge request isc-projects/bind9!5297
2021-07-22 13:01:08 +00:00
Michal Nowak
7e59abc76d Run respdiff also for scheduled and web pipelines
respdiff needs to be run regularly to identify problems with query
responses discrepancies sooner than after tagging a release.

Contrary to the main branch, which hosts the BIND 9 Development Version
and thus sets MAX_DISAGREEMENTS_PERCENTAGE variable to 0.5, branches
hosting BIND 9 Stable Versions have it set to 0.1, which provides only
tiny room for non-timeout response disagreements between the baseline
version and version under test.

(cherry picked from commit 561b58196b)
2021-07-22 13:41:15 +02:00
Evan Hunt
c8ad282d01 Merge branch '2833-notify-delay-doc-v9_16' into 'v9_16'
clarify 'notify-delay' documentation

See merge request isc-projects/bind9!5294
2021-07-22 03:01:45 +00:00
Evan Hunt
b8074dce94 clarify 'notify-delay' documentation
- the explanation was unclear
- the reference to 'serial-query-rate' was outdated
2021-07-21 20:00:09 -07:00
Ondřej Surý
4e70480444 Merge branch 'ondrej/reduce-the-node-lock-count-v9_16' into 'v9_16'
Reduce the nodelock count for both cache and regular rbtdb

See merge request isc-projects/bind9!5283
2021-07-21 15:35:01 +00:00
Ondřej Surý
19a33ce72d Add CHANGES note for [GL #2829] 2021-07-21 17:03:52 +02:00
Ondřej Surý
bceda720e4 Reduce the nodelock count for both cache and regular rbtdb
Increasing the nodelock count had major impact on the memory footprint
in scenarios where multiple rbtdb structure would be created like
hosting many zones in a single server.

This reverts commit 0344684385 and sets
the nodelock count to previously used values.
2021-07-21 17:03:33 +02:00
Michal Nowak
fc0dd7191c Merge branch 'mnowak/support-cross-compilation-on-buster-v9_16' into 'v9_16'
[v9_16] Add 32-bit cross-compiled CI jobs on Debian Buster

See merge request isc-projects/bind9!5291
2021-07-21 10:02:08 +00:00
Michal Nowak
5729bfe7b3 Drop FreeBSD 13 EXTRA_CONFIGURE variable
The FreeBSD 13 EXTRA_CONFIGURE variable contains only the invalid
WITH_READLINE_LIBEDIT variable, which slipped in ddf03e while
backporting and should not be present at all.
2021-07-21 11:39:10 +02:00
Michal Nowak
4e091cc19c Drop gcc:sid:i386
With gcc:buster:amd64cross32, the unmaintained gcc:sid:i386 is not
needed anymore.
2021-07-21 11:39:02 +02:00
Michal Nowak
d6d91bac09 Add 32-bit cross-compiled CI jobs on Debian Buster
Since the forced removal of gcc:sid:i386 in 0aacabc6, we lacked a 32-bit
environment to build and test BIND 9 in the CI. gcc:buster:amd64cross32
adds an environment to cross-compile BIND 9 to 32-bits on Debian Buster
amd64 image with 32-bit BIND 9 dependencies. Commit also adds sanity
checks to ensure that compiled objects are not of the build platform
triplet type.

(cherry picked from commit bfcaa2a8f1)
2021-07-21 11:38:27 +02:00
Mark Andrews
e3da1507b0 Merge branch '2762-check-opcode-v9_16' into 'v9_16'
Check opcode of messages returned by dns_request_getresponse

See merge request isc-projects/bind9!5287
2021-07-21 03:00:30 +00:00
Mark Andrews
72e2c6e4b8 add release note for [GL #2762]
(cherry picked from commit 36720fb4a6)
2021-07-21 12:41:19 +10:00
Mark Andrews
697016d6c1 Add CHANGES for [GL #2762]
(cherry picked from commit 466db0f49e)
2021-07-21 12:41:17 +10:00
Mark Andrews
17a65b2443 check nsupdate handles UPDATE response to QUERY
(cherry picked from commit 0bba0ab10d)
2021-07-21 12:40:47 +10:00
Mark Andrews
350605a3cc dns_rdata_tostruct() should reject rdata with DNS_RDATA_UPDATE set
(cherry picked from commit e97249e012)
2021-07-21 12:40:47 +10:00
Mark Andrews
498de906fa Check opcode of messages returned by dns_request_getresponse
(cherry picked from commit ed4e00713f)
2021-07-21 12:40:47 +10:00
Michal Nowak
7f25f79afd Merge branch 'mnowak/process-core-dumps-when-named-fails-to-start-v9_16' into 'v9_16'
[v9_16] Process core dump from named which failed to start

See merge request isc-projects/bind9!5281
2021-07-16 16:35:16 +00:00
Michal Nowak
195b88cb22 Fix handling of restart option in run.sh
The support for stat.pl's --restart option was incomplete in run.sh.
This change makes sure it's handled properly and that named.run file is
not being removed by clean.sh when the --restart option is used.

(cherry picked from commit a39697635b)
2021-07-16 17:37:58 +02:00
Michal Nowak
3e0f3e1d57 Process core dump from named which failed to start
When named failed to start and produced core dump, the core file wasn't
processed by GDB because of run.sh script exiting immediately. This
remedies the limitation, simplifies the surrounding code, and makes the
script shellcheck clean.

(cherry picked from commit bc097d3358)
2021-07-16 17:27:24 +02:00
Michal Nowak
f81887f8ae Merge branch 'mnowak/replace-literal-blocks-with-anchors-v9_16' into 'v9_16'
[v9_16] Use anchors instead of literal blocks in .gitlab-ci.yml

See merge request isc-projects/bind9!5279
2021-07-16 14:33:13 +00:00
Michal Nowak
77eb928b79 Use anchors instead of literal blocks in .gitlab-ci.yml
Anchor lets the user see the full command logged in GitLab CI:

    ${CONFIGURE} --disable-maintainer-mode --enable-developer ...

Instead of a folded multi-line when literal block is used:

    ${CONFIGURE} \ # collapsed multi-line command

(cherry picked from commit c22008629e)
2021-07-16 15:52:28 +02:00
Michał Kępień
ddd8b166bf Merge branch '2759-extend-tests-for-signed-cname-sourced-delegations-v9_16' into 'v9_16'
[v9_16] Extend tests for signed, CNAME-sourced delegations

See merge request isc-projects/bind9!5277
2021-07-16 05:45:04 +00:00
Michał Kępień
5c8f3463d5 Extend tests for signed, CNAME-sourced delegations
Extend the "chain" system test with AUTHORITY section checks for signed,
secure delegations.  This complements the checks for signed, insecure
delegations added by commit 82b7e6ccef.

Extend the existing AUTHORITY section checks for signed, insecure
delegations to ensure nonexistence of DS RRsets in such responses.
Adjust comments accordingly.

Ensure dig failures cause the "chain" system test to fail.

(cherry picked from commit a14efdf54c)
2021-07-16 07:24:34 +02:00
Michał Kępień
f81c8e3e73 Tweak query_addds() comments to avoid confusion
It has been noticed that commit f88c90f47f
did not only fix NSEC record handling in signed, insecure delegations
prepared using both wildcard expansion and CNAME chaining - it also
inadvertently fixed DS record handling in signed, secure delegations
of that flavor.  This is because the 'rdataset' variable in the relevant
location in query_addds() can be either a DS RRset or an NSEC RRset.
Update a code comment in query_addds() to avoid confusion.

Update the comments describing the purpose of query_addds() so that they
also mention NSEC(3) records.

(cherry picked from commit 29d8d35869)
2021-07-16 07:24:34 +02:00
Mark Andrews
0bf3553d5a Merge branch '2820-rndc-reconfig-does-not-act-on-change-to-zone-statistics-v9_16' into 'v9_16'
Test that 'zone-statistics full;' is properly processed

See merge request isc-projects/bind9!5276
2021-07-16 04:34:01 +00:00
Mark Andrews
64beb36f73 Add CHANGES for [GL #2820]
(cherry picked from commit f2461afff7)
2021-07-16 14:13:49 +10:00
Mark Andrews
5d9dced395 zone->requeststats_on was not being set at the correct point
(cherry picked from commit 616896d735)
2021-07-16 14:13:49 +10:00
Mark Andrews
5e4f22aa83 Test that 'zone-statistics full;' is properly processed
(cherry picked from commit 592f9ff6bc)
2021-07-16 14:13:49 +10:00
Matthijs Mekking
ec66f8ff35 Merge branch '2710-multisigner-cds-v9_16' into 'v9_16'
Allow update CDS/CDNSKEY records that do not match DNSKEY (9.16)

See merge request isc-projects/bind9!5275
2021-07-15 08:21:44 +00:00
Matthijs Mekking
4415688d44 Add change and release notes [#2710]
(cherry picked from commit ba5869943d)
2021-07-15 09:26:40 +02:00
Matthijs Mekking
65f58d68f0 Relax zone_cdscheck function
If we have a CDS or CDNSKEY we at least need to have a DNSKEY with the
same algorithm published and signing the CDS RRset. Same for CDNSKEY
of course.

This relaxes the zone_cdscheck function, because before the CDS or
CDNSKEY had to match a DNSKEY, now only the algorithm has to match.

This allows a provider in a multisigner model to update the CDS/CDNSKEY
RRset in the zone that is served by the other provider.

(cherry picked from commit 577bf913b9)
2021-07-15 09:26:16 +02:00
Matthijs Mekking
9aeadf31f0 Add test for allowing update CDS/CDNSKEY
Add tests to the nsupdate system test to make sure that CDS and/or
CDNSKEY that match an algorithm in the DNSKEY RRset are allowed. Also
add tests that updates are rejected if the algorithm does not match.

Remove the now redundant test cases from the dnssec system test.

Update the checkzone system test: Change the algorithm of the CDS and
CDNSKEY records so that the zone is still rejected.

(cherry picked from commit 6b79db1fdd)
2021-07-15 09:26:11 +02:00
Evan Hunt
e2606d1ccb Merge branch 'each-doc-trampoline-v9_16' into 'v9_16'
document isc__trampoline

See merge request isc-projects/bind9!5274
2021-07-14 18:00:52 +00:00
Evan Hunt
312c78809a document isc__trampoline
Added some header file documentation to the isc__trampoline
implementation in trampoline_p.h.
2021-07-14 10:56:42 -07:00