Commit Graph

38430 Commits

Author SHA1 Message Date
Tom Krizek
6dc3ebe494 Handle dig timing out gracefully in allow-query
(cherry picked from commit 0d5df1fc02)
2024-01-09 10:06:52 +01:00
Mark Andrews
db00e1e913 Handle dig timing out gracefully in serve-stale
(cherry picked from commit 4351076d48)
2024-01-09 10:06:49 +01:00
Mark Andrews
3b01b47ac3 Handle dig timing out gracefully in rndc
(cherry picked from commit 02d9f2eeb9)
2024-01-09 10:04:46 +01:00
Tom Krizek
70a86c8151 Merge branch 'tkrizek/xfer-test-dnssec-validation-no-9.18' into 'bind-9.18'
[9.18] Add missing dnssec-validation to ns4 in xfer test

See merge request isc-projects/bind9!8632
2024-01-09 09:03:08 +00:00
Tom Krizek
863055767d Add missing dnssec-validation to ns4 in xfer test
This file was missing explicit dnssec-validation. Seems like it was
missed in our previous efforts, probably because of the different
filename / extension. Rename it to end with *.in to reflect that it is a
template file used by copy_setports.

(cherry picked from commit 68234372a5)
2024-01-09 10:02:12 +01:00
Tom Krizek
efd095d995 Merge branch '4402-use-our-instance-of-bind-keys-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Change system tests to not use dnssec-validation auto"

See merge request isc-projects/bind9!8510
2024-01-09 08:44:50 +00:00
Tom Krizek
d2c5a11ae8 Turn off dnssec-validation in nsec&tsig system tests
This is a followup for !8063, which backported !7999. The configuration
file layout for these files have changed (main branch has
named-fips.conf), which is probably why these bits were missed during a
backport.
2024-01-08 18:13:47 +01:00
Tom Krizek
ec3a47fc68 Turn off dnssec validation in inline test
DNSSEC validation isn't required by the inline test and would send
queries to root name servers.

(cherry picked from commit 66d6394057)
2024-01-08 17:30:50 +01:00
Mark Andrews
2c1c7ec639 Stop sending queries to the internet's root servers
Disable automatic dnssec validation.

(cherry picked from commit 15a433cb9d)
2024-01-08 17:30:42 +01:00
Michal Nowak
2e642030b7 Merge branch 'mnowak/set-up-version-and-release-notes-for-bind-9.18.23' into 'bind-9.18'
Set up version and release notes for BIND 9.18.23

See merge request isc-projects/bind9!8628
2024-01-08 12:11:31 +00:00
Michal Nowak
2b8b83cfc6 Set up release notes for BIND 9.18.23 2024-01-08 12:57:56 +01:00
Michal Nowak
52e432008e Update BIND version to 9.18.23-dev 2024-01-08 12:57:56 +01:00
Aydın Mercan
75677d375e Merge branch '4467-fix-stats-export-overflow-v9_18' into 'bind-9.18'
[9.18] Avoid overflow during statistics dump

See merge request isc-projects/bind9!8574
2024-01-03 18:20:17 +00:00
Aydın Mercan
a83c749115 Use <isc/atomic.h> instead of <stdatomic.h> directly in <isc/types.h> 2024-01-03 20:36:35 +03:00
Aydın Mercan
6c0ae4ef6e Move atomic statscounter next to the non-atomic definition
(cherry picked from commit 9c4dd863a6)
2024-01-03 20:36:35 +03:00
Aydın Mercan
9601763943 Use a non-atomic counter when passing to stats dumper
(cherry picked from commit bb96142a17)
2024-01-03 20:36:35 +03:00
Petr Špaček
b913d44ce6 Add CHANGES and release note for [GL #4467]
(cherry picked from commit b57c37d8c5)
2024-01-03 20:36:27 +03:00
Petr Špaček
d33b0f9ddb Avoid overflow during statistics dump
Related: !1493
Fixes: #4467
(cherry picked from commit 7b0115e331)
2024-01-03 20:10:27 +03:00
Mark Andrews
0c49507b1b Merge branch '4513-system-tests-fail-with-net-dns-1-42-bind-9.18' into 'bind-9.18'
[9.18] Resolve "System tests fail with Net::DNS 1.42"

See merge request isc-projects/bind9!8618
2024-01-03 02:24:43 +00:00
Mark Andrews
b831223b3e Support Net::DNS::Nameserver 1.42
In Net::DNS 1.42 $ns->main_loop no longer loops.  Use current methods
for starting the server, wait for SIGTERM then cleanup child processes
using $ns->stop_server(), then remove the pid file.

(cherry picked from commit c2c59dea60)
2024-01-03 11:57:59 +11:00
Mark Andrews
8f4e5f51fd Merge branch '4495-conversion-from-nsec3-to-nsec-removes-the-nsec3param-too-early-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Conversion from NSEC3 to NSEC removes the NSEC3PARAM too early" !8578

See merge request isc-projects/bind9!8610
2024-01-03 00:04:53 +00:00
Mark Andrews
1a52dccd32 Handle multiple NSEC3PARAM records in tests
When transitioning from one NSEC3 chain to another it is legal for
there to be multiple complete chains in the zone with multiple
NSEC3PARAM records.  Handle this intermediate state by checking
for the expected length in the loop.
2024-01-03 09:25:43 +11:00
Mark Andrews
d5aa22ec74 Add CHANGES for [GL #1794] and [GL #4459]
(cherry picked from commit 9b5ed853d0)
2024-01-03 09:25:43 +11:00
Matthijs Mekking
b9fc29cb95 Regression check for NSEC3 to NSEC3 conversion
When changing the NSEC3 chain, the new NSEC3 chain must be built before
the old NSEC3PARAM is removed.  Check each delta in the conversion to
ensure this ordering is met.

(cherry picked from commit 1d6b892e04)
2024-01-03 09:25:43 +11:00
Mark Andrews
7e24befc2a Regression check for NSEC3 to NSEC conversion
When transitioning from NSEC3 to NSEC the NSEC3 must be built before
the NSEC3PARAM is removed.  Check each delta in the conversion to
ensure this ordering is met.

(cherry picked from commit 7d90c056b0)
2024-01-03 09:25:43 +11:00
Mark Andrews
d78df5f96d Don't delete the NSEC3PARAM immediately
Wait until the new NSEC or NSEC3 chain is generated then it should
be deleted.

(cherry picked from commit f3ae88d84e)
2023-12-21 22:07:53 +11:00
Tom Krizek
52770b05d3 Merge branch 'tkrizek/update-sphinx_rtd_theme-9.18' into 'bind-9.18'
[9.18] Update sphinx_rtd_theme and docutils

See merge request isc-projects/bind9!8604
2023-12-21 10:08:50 +00:00
Tom Krizek
916b121e42 Update sphinx_rtd_theme and docutils
(cherry picked from commit 4156fa09d9)
2023-12-21 10:33:26 +01:00
Mark Andrews
b072bf612f Merge branch '4488-memory-reference-leak-in-lib-dns-zone-c-zone_sign-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Memory/reference leak in lib/dns/zone.c:zone_sign" !8570

See merge request isc-projects/bind9!8607
2023-12-20 23:48:28 +00:00
Mark Andrews
7b10f5f154 Add CHANGES note for [GL #4488]
(cherry picked from commit 4e4200ee2e)
2023-12-21 10:06:29 +11:00
Mark Andrews
0ceb01386c Don't look for KSK status here and squash memory leak
Just remove the key from  consideration as it is being removed.

The old code could leak a key reference as dst_free_key was not
called every time we continued. This simplification will address
this as well.

(cherry picked from commit a3d0476d17)
2023-12-21 10:05:54 +11:00
Tom Krizek
b04849c46a Merge tag 'v9.18.21' into bind-9.18 2023-12-20 16:07:25 +01:00
Mark Andrews
8f34392979 Merge branch '4498-gl-4495-followup-regression-test-was-too-strict-bind-9.18' into 'bind-9.18'
[9.18] Resolve "[GL #4494] followup: regression test was too strict"

See merge request isc-projects/bind9!8598
2023-12-20 00:46:40 +00:00
Mark Andrews
38babba214 The NSEC3 -> NSEC private record may be added later
Check each delta for the NSEC3 -> NSEC private record addition
as it may be added in the second delta.

(cherry picked from commit 80a4dff986)
2023-12-20 11:11:12 +11:00
Mark Andrews
a26693e987 Merge branch '4500-log-the-change-that-generated-not-exact-when-applying-a-diff-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Log the change that generated "not exact" when applying a diff."

See merge request isc-projects/bind9!8596
2023-12-19 22:04:20 +00:00
Mark Andrews
39f2fe0c7a Add CHANGES entry for [GL #4500]
(cherry picked from commit 71d67b6fdf)
2023-12-20 02:48:13 +11:00
Mark Andrews
a2bcd4fc0e Log what change generated a 'not exact' error
(cherry picked from commit c896e07277)
2023-12-20 02:47:42 +11:00
Mark Andrews
c5fee06ff9 Merge branch '4494-add_sigs-was-using-the-wrong-time-in-kasp-mode-bind-9.18' into 'bind-9.18'
[9.18] Resolve "add_sigs was using the wrong time in kasp mode"

See merge request isc-projects/bind9!8588
2023-12-19 02:27:53 +00:00
Mark Andrews
74d61641e1 Add CHANGES note for [GL #4494]
(cherry picked from commit 94b00f44ae)
2023-12-19 12:44:49 +11:00
Mark Andrews
15601cca43 Regression check for missing RRSIGs
When transitioning from NSEC3 to NSEC the added records where not
being signed because the wrong time was being used to determine if
a key should be used or not.  Check that these records are actually
signed.

(cherry picked from commit bdb42d3838)
2023-12-19 12:44:27 +11:00
Mark Andrews
65fdc892eb Use 'now' rather than 'inception' in 'add_sigs'
When kasp support was added 'inception' was used as a proxy for
'now' and resulted in signatures not being generated or the wrong
signatures being generated.  'inception' is the time to be set
in the signatures being generated and is usually in the past to
allow for clock skew.  'now' determines what keys are to be used
for signing.

(cherry picked from commit 6066e41948)
2023-12-19 12:39:16 +11:00
Michał Kępień
3713d6c909 Merge branch '4497-trust-anchor-telemetry-is-no-longer-experimental-9.18' into 'bind-9.18'
[9.18] "trust-anchor-telemetry" is no longer experimental

See merge request isc-projects/bind9!8587
2023-12-18 14:50:16 +00:00
Michał Kępień
6961509039 Add CHANGES entry for GL #4497
(cherry picked from commit 693fee4836)
2023-12-18 15:13:34 +01:00
Michał Kępień
8882d88731 "trust-anchor-telemetry" is no longer experimental
Remove the CFG_CLAUSEFLAG_EXPERIMENTAL flag from the
"trust-anchor-telemetry" statement as the behavior of the latter has not
been changed since its initial implementation and there are currently no
plans to do so.  This silences a relevant log message that was emitted
even when the feature was explicitly disabled.

(cherry picked from commit b1baf7af3a)
2023-12-18 15:13:34 +01:00
Arаm Sаrgsyаn
8f9c0eb284 Merge branch '4477-tests-statschannel-loadtime-bugfix-9.18' into 'bind-9.18'
[9.18] Resolve "statschannel test intermittently fails with incorrect zone loadtime"

See merge request isc-projects/bind9!8583
2023-12-18 10:24:49 +00:00
Aram Sargsyan
ba923834b2 Fix a statschannel system test zone loadtime issue
The check_loaded() function compares the zone's loadtime value and
an expected loadtime value, which is based on the zone file's mtime
extracted from the filesystem.

For the secondary zones there may be cases, when the zone file isn't
ready yet before the zone transfer is complete and the zone file is
dumped to the disk, so a so zero value mtime is retrieved.

In such cases wait one second and retry until timeout. Also modify
the affected check to allow a possible difference of the same amount
of seconds as the chosen timeout value.

(cherry picked from commit 4e94ff2541)
2023-12-18 09:34:31 +00:00
Mark Andrews
418a1ad762 Merge branch '4478-redefinition-of-hmac-as-different-kind-of-symbol-on-netbsd-bind-9.18' into 'bind-9.18'
[9.18] Resolve "Redefinition of 'hmac' as different kind of symbol on NetBSD"

See merge request isc-projects/bind9!8573
2023-12-14 01:29:27 +00:00
Mark Andrews
c705fee830 Add CHANGES note for [GL #4478]
(cherry picked from commit 648fa635f8)
2023-12-14 11:14:04 +11:00
Mark Andrews
adfb365602 NetBSD has added 'hmac' to libc so rename our uses of hmac
(cherry picked from commit fd077c2661)
2023-12-14 11:14:04 +11:00
Michal Nowak
c54c268c4c Merge branch 'mnowak/alpine-3.19-9.18' into 'bind-9.18'
[9.18] Add Alpine Linux 3.19

See merge request isc-projects/bind9!8566
2023-12-12 10:42:39 +00:00