Commit Graph

35563 Commits

Author SHA1 Message Date
Tom Krizek
ec0a756f6c Merge branch '4421-deprecate-AES-based-DNS-cookies-9.16' into 'bind-9.16'
[9.16] Deprecate AES algorithm for DNS cookies

See merge request isc-projects/bind9!8487
2023-12-05 12:35:39 +00:00
Ondřej Surý
f2a2ec92b9 Add CHANGES and release note for [GL #4421]
(cherry picked from commit 2a3b3beaf1)
2023-12-05 10:57:00 +01:00
Ondřej Surý
62cf6b2e7f Deprecate AES algorithm for DNS cookies
The AES algorithm for DNS cookies was being kept for legacy reasons,
and it can be safely removed in the next major release.  Mark is as
deprecated, so the `named-checkconf` prints a warning when in use.

(cherry picked from commit 67d14b0ee5)
2023-12-05 10:56:19 +01:00
Michal Nowak
6111f27669 Merge branch '3198-add-rr-record-9.16' into 'bind-9.16'
[9.16] Add support for recording named with rr

See merge request isc-projects/bind9!8537
2023-12-04 21:14:14 +00:00
Michał Kępień
57f7abdd9f Do not daemonize named instances with custom args
This enables the "logfileconfig" and "rpzextra" system tests to pass
when named is started under the supervision of rr (USE_RR=1).

(cherry picked from commit 422286e9c2)
2023-12-04 20:10:17 +01:00
Michal Nowak
5bcce417b7 Add support for recording named runtime with rr
The traces of the named process are stored in the directory
$system_test/nsX/named-Y/.

(cherry picked from commit e088e8a992)
2023-12-04 20:08:18 +01:00
Ondřej Surý
7099e60b1d Remove support for running system tests under Valgrind
Valgrind support has been scarcely used.

(cherry picked from commit 658d62a6f4)
2023-12-04 20:05:19 +01:00
Michal Nowak
17428c63f8 Merge branch 'mnowak/freebsd-14.0-9.16' into 'bind-9.16'
[9.16] Add FreeBSD 14.0

See merge request isc-projects/bind9!8534
2023-12-04 16:03:51 +00:00
Michal Nowak
f8f6a98faf Add FreeBSD 14.0
(cherry picked from commit 9152fc40a8)
2023-12-04 16:29:23 +01:00
Michał Kępień
161d69aba3 Merge branch 'michal/minor-gitlab-ci-cleanup-9.16' into 'bind-9.16'
[9.16] Minor GitLab CI cleanup

See merge request isc-projects/bind9!8513
2023-11-21 09:34:07 +00:00
Michał Kępień
d876d2a61d Move job definition to the proper place
The definition of the "cross-version-config-tests" GitLab CI job was
accidentally added in the .gitlab-ci.yml section that claims to only
contain job templates.  Move the definition of that job to a more
appropriate location in .gitlab-ci.yml, without changing the job
definition itself.

(cherry picked from commit 192cceba5a)
2023-11-21 10:31:39 +01:00
Michał Kępień
3a147a6e96 Drop the TARBALL_{COMPRESSOR,EXTENSION} variables
All currently supported BIND 9 branches use xz-packed tarballs for
source code distribution.  Having variables with lengthy names that only
hold two characters does not improve readability - it was only useful
for maintaining .gitlab-ci.yml consistency between BIND 9.11 and all the
newer branches, but that era has come to an end a while ago.

Replace all occurrences of the TARBALL_COMPRESSOR and TARBALL_EXTENSION
variables in .gitlab-ci.yml with a fixed string ("xz") to simplify the
contents of that file.

(cherry picked from commit 832c7d4396)
2023-11-21 10:31:39 +01:00
Evan Hunt
7b820b3967 Merge branch '3983-secondary-loadtime-bind-9.16' into 'bind-9.16'
[9.16] set loadtime during initial transfer of a secondary zone

See merge request isc-projects/bind9!8507
2023-11-20 18:46:44 +00:00
Evan Hunt
12c60e9a26 set loadtime during initial transfer of a secondary zone
when transferring in a non-inline-signing secondary for the first time,
we previously never set the value of zone->loadtime, so it remained
zero. this caused a test failure in the statschannel system test,
and that test case was temporarily disabled.  the value is now set
correctly and the test case has been reinstated.

(cherry picked from commit 9643281453)
2023-11-20 09:56:50 -08:00
Michał Kępień
6e32e189f0 Merge tag 'v9.16.45' into bind-9.16 2023-11-15 15:00:44 +01:00
Michal Nowak
2620f54ad3 Merge branch 'mnowak/fedora-39-9.16' into 'bind-9.16'
[9.16] Add Fedora 39

See merge request isc-projects/bind9!8492
2023-11-15 06:41:56 +00:00
Michal Nowak
a8a62cc38c Add Fedora 39
(cherry picked from commit cdb4b97b28)
2023-11-14 19:45:50 +01:00
Ondřej Surý
ca52906070 Merge branch 'ondrej-clang-format-17-bind-9.16' into 'bind-9.16'
[9.16] Reformat sources with up-to-date clang-format-17

See merge request isc-projects/bind9!8490
2023-11-13 16:22:31 +00:00
Ondřej Surý
35630c9210 Reformat sources with up-to-date clang-format-17 2023-11-13 17:15:55 +01:00
Petr Špaček
6fe6e34e31 Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.16.46' into 'bind-9.16'
Set up version and release notes for BIND 9.16.46

See merge request isc-projects/bind9!8484
2023-11-10 13:27:04 +00:00
Petr Špaček
5bd6ce99ff Set up release notes for BIND 9.16.46 2023-11-10 14:05:53 +01:00
Petr Špaček
a1c92efc53 Update BIND version to 9.16.46-dev 2023-11-10 14:05:53 +01:00
Michał Kępień
353fb4b9d3 Merge branch 'prep-release' into v9.16.45-release v9.16.45 2023-11-09 13:48:58 +01:00
Michał Kępień
22c3b0fb67 prep 9.16.45 2023-11-09 13:48:43 +01:00
Michał Kępień
d178925c84 Merge branch 'michal/prepare-documentation-for-bind-9.16.45' into 'v9.16.45-release'
Prepare documentation for BIND 9.16.45

See merge request isc-private/bind9!593
2023-11-09 12:47:11 +00:00
Michał Kępień
c620a36dcc Tweak and reword release notes 2023-11-09 13:22:37 +01:00
Michał Kępień
ac42de7af7 Prepare release notes for BIND 9.16.45 2023-11-09 13:22:37 +01:00
Mark Andrews
70a99fa770 Merge branch '4101-update-b-root-server-net-addresses-bind-9.16' into 'bind-9.16'
[9.16] Resolve "Update b.root-server.net addresses"

See merge request isc-projects/bind9!8463
2023-11-02 17:18:06 +00:00
Mark Andrews
eda6bbc6cf Add release note for [GL #4101]
(cherry picked from commit c7a06b1fa1)
2023-11-03 03:45:25 +11:00
Mark Andrews
1448a2c321 Add CHANGES note for [GL #4101]
(cherry picked from commit b9bba29c5e)
2023-11-03 03:45:24 +11:00
Mark Andrews
066de399bd Suppress reporting upcoming changes in root hints
To reduce the amount of log spam when root servers change their
addresses keep a table of upcoming changes by expected date and time
and suppress reporting differences for them until then.

Add initial entry for B.ROOT-SERVERS.NET, Nov 27, 2023.

(cherry picked from commit b69100b747)
2023-11-03 03:44:43 +11:00
Mark Andrews
8924adca61 Update b.root-servers.net IP addresses
This covers both root hints and the default primaries for the root
zone mirror.  The official change date is Nov 27, 2023.

(cherry picked from commit 2ca2f7e985)
2023-11-03 03:44:43 +11:00
Michał Kępień
535d8e820e Merge branch 'michal/add-a-release-signing-job-to-gitlab-ci-9.16' into 'bind-9.16'
[9.16] Add a release signing job to GitLab CI

See merge request isc-projects/bind9!8458
2023-11-02 06:59:11 +00:00
Michał Kępień
402d8363fc Add a release signing job to GitLab CI
Add a GitLab CI job that is only run for tags and makes signing BIND 9
releases more convenient by utilizing a signing VM that is registered as
a GitLab CI runner.  This pulls the signing process into the release
pipelines in GitLab CI, resulting in job artifacts containing the
signatures for BIND 9 releases, which in turns simplifies the subsequent
release publication steps.

(cherry picked from commit a3a91a1557)
2023-11-02 07:29:31 +01:00
Michał Kępień
1ddcb5d6c2 Merge branch '4355-revert-9.16' into 'bind-9.16'
Revert GL !8447

See merge request isc-projects/bind9!8456
2023-11-01 17:31:03 +00:00
Michał Kępień
4d4b209abd Revert GL !8447
This reverts commit bd572bb5af
(c02925763e,
3aeac8e2a9, and
57d8e2949d), reversing changes made to
28c92c9b26.
2023-11-01 18:26:33 +01:00
Matthijs Mekking
bd572bb5af Merge branch '4355-serve-stale-unexpected-recursion-v9_16' into 'bind-9.16'
[9.16] Don't ignore authoritative local zones when in serve-stale mode

See merge request isc-projects/bind9!8447
2023-10-31 15:08:58 +00:00
Matthijs Mekking
57d8e2949d Add release note and CHANGES for #4355
(cherry picked from commit ac19d43a32)
2023-10-31 15:05:02 +01:00
Matthijs Mekking
3aeac8e2a9 Don't ignore auth zones when in serve-stale mode
When serve-stale is enabled and recursive resolution fails, the fallback
to lookup stale data always happens in the cache database. Any
authoritative data is ignored, and only information learned through
recursive resolution is examined.

If there is data in the cache that could lead to an answer, and this can
be just the root delegation, the resolver will iterate further, getting
closer to the answer that can be found by recursing down the root, and
eventually puts the final response in the cache.

Change the fallback to serve-stale to use 'query_getdb()', that finds
out the best matching database for the given query.

(cherry picked from commit 2322425016)
2023-10-31 15:04:55 +01:00
Matthijs Mekking
c02925763e Test case for issue #4355
Add a test case where serve-stale is enabled on a server that also
servers a local authoritative zone.

The particular case tests a lame delegation and checks if falling
back to serving stale data does not attempt to retrieve the query
by recursing from the root down.

(cherry picked from commit e196ba6168)
2023-10-31 15:04:28 +01:00
Mark Andrews
28c92c9b26 Merge branch '4397-util-checklibs-sh-script-doesn-t-work' into 'bind-9.16'
Resolve "util/checklibs.sh script doesn't work"

See merge request isc-projects/bind9!8441
2023-10-31 04:20:25 +00:00
Mark Andrews
d151b570cc Work around broken Bash implementation on MacOS 13.6.1
The bash implementation on MacOS 13.6.1 is:

% /bin/sh --version
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin22)
Copyright (C) 2007 Free Software Foundation, Inc.

This fails to handle 'case' inside of $().  Reimplement using
if/elif/fi.
2023-10-31 03:15:59 +00:00
Michal Nowak
7ace49ac75 Merge branch 'mnowak/openbsd-7.4-9.16' into 'bind-9.16'
[9.16] Add OpenBSD 7.4

See merge request isc-projects/bind9!8435
2023-10-30 11:11:04 +00:00
Michal Nowak
6899db8f7d Add OpenBSD 7.4
(cherry picked from commit f8733fc051)
2023-10-30 11:37:25 +01:00
Mark Andrews
8df01f29f4 Merge branch '4393-only-declare-engine-when-used-bind-9.16' into 'bind-9.16'
[9.16] Resolve "error: variable 'engine' set but not used on OpenBSD 7.4"

See merge request isc-projects/bind9!8440
2023-10-27 23:43:18 +00:00
Mark Andrews
5f8ac682c9 Only declare 'engine' if it is used
Move the declaration of 'engine' within the appropriate #if/#endif
block.  Remove the UNUSED(engine) from the #else block.

(cherry picked from commit 8b11061b91)
2023-10-28 09:01:51 +11:00
Tom Krizek
d040a2d178 Merge branch 'tkrizek/shfmt-9.16' into 'bind-9.16'
[9.16] Enforce shell script codestyle with shfmt

See merge request isc-projects/bind9!8431
2023-10-26 14:02:46 +00:00
Tom Krizek
794c99f4c8 Fix incorrect conversion in rpz system test
Backslashes weren't handled properly when formatting the code with
shfmt.

Related https://github.com/mvdan/sh/issues/1041
2023-10-26 15:25:38 +02:00
Tom Krizek
bc638105bc Add editorconfig file for shell style
(cherry picked from commit bebdfa13be)
2023-10-26 14:08:02 +02:00
Tom Krizek
5e369523e1 Run shfmt in CI
Ensure our shell script format stays consistent in the future.

(manually picked from commit b6505ff573)
2023-10-26 14:08:01 +02:00