Mark Andrews
981643b19a
Don't tests stats channels that haven't been configured
...
pytest was failing because it was testing features that had
not been configured. test to see if those features have been
configured before running the tests.
(cherry picked from commit 10c01cba61 )
2021-10-14 17:33:01 +11:00
Evan Hunt
9093cd8662
Merge branch 'each-cleanup-ancient-v9_16' into 'v9_16'
...
cleanup references to ancient named.conf options
See merge request isc-projects/bind9!5492
2021-10-13 16:09:34 +00:00
Evan Hunt
6836e3c071
cleanup references to ancient named.conf options
...
some removed options were still referenced in config.c or the ARM.
(cherry picked from commit 69e25f41ae )
2021-10-12 23:52:39 -07:00
Ondřej Surý
8522d97433
Merge branch '2933-bump-the-default-clang-version-to-13-v9_16' into 'v9_16'
...
Change the LLVM tools version to 13
See merge request isc-projects/bind9!5488
2021-10-12 10:00:02 +00:00
Ondřej Surý
093cd31ae2
Update the source code formatting using clang-format-13
...
clang-format-13 fixed some of the formatting that clang-format-12 got
wrong. Update the formatting.
(cherry picked from commit ed95f9fba3 )
2021-10-12 11:31:55 +02:00
Ondřej Surý
173675bbd0
Change the LLVM tools version to 13
...
LLVM 13.0.0 was released on 4. October 2021, change the default version
to the current stable.
(cherry picked from commit 16916ab3e3 )
2021-10-12 11:31:10 +02:00
Mark Andrews
64786a60b7
Merge branch '2935-cid-339035-1-of-1-explicit-null-dereferenced-forward_null-v9_16' into 'v9_16'
...
Fix cleanup of signature buffer in dns_dnssec_signmessage
See merge request isc-projects/bind9!5483
2021-10-12 00:09:22 +00:00
Mark Andrews
8a962622f2
Add CHANGES for [GL #2935 ]
...
(cherry picked from commit c48ca52851 )
2021-10-12 10:19:49 +11:00
Mark Andrews
187787c723
Fix cleanup of signature buffer in dns_dnssec_signmessage
...
A NULL pointer could be freed if error handling occured.
(cherry picked from commit 0378c05ba0 )
2021-10-12 10:19:08 +11:00
Mark Andrews
5f07ee0da3
Merge branch '2901-large-number-of-small-zones-in-map-format-cannot-be-loaded' into 'v9_16'
...
Resolve "Large number of small zones in `map` format cannot be loaded"
See merge request isc-projects/bind9!5398
2021-10-06 23:41:35 +00:00
Mark Andrews
f6e66e94f0
document 'masterfile-format map' vs 'vm.max_map_count'
2021-10-06 23:22:10 +00:00
Arаm Sаrgsyаn
092284b2a8
Merge branch '2818-catz-arm-primaries-masters-fix-v9_16' into 'v9_16'
...
[v9_16] Fix catalog zones configuration syntax in the ARM
See merge request isc-projects/bind9!5459
2021-10-05 13:11:27 +00:00
Aram Sargsyan
72d12aff56
Fix catalog zones configuration syntax in the ARM
...
The 55636ab5 commit made some changes in the reference manual
regarding catalog zones which do not actually correspond to reality
for the v9_16 branch.
This commit reverts those changes.
2021-10-05 12:46:57 +00:00
Mark Andrews
b16d52c13c
Merge branch '2900-listenlist_test-notify_test-and-query_test-failing-v9_16' into 'v9_16'
...
Increase the number of file descriptors available
See merge request isc-projects/bind9!5462
2021-10-05 09:54:32 +00:00
Mark Andrews
050e6e757a
Increase the number of file descriptors available
...
The 'listenlist_test', 'notify_test', and 'query_test' tests failed
when the descriptor limit was 256 on MacOS 11.6 with 8 cpus. On the
test platform the limit needed to be increased to ~400. Increase
the limit to at least 1024 to give some head room.
(cherry picked from commit 877f52b772 )
2021-10-05 17:46:56 +11:00
Arаm Sаrgsyаn
9298caddf4
Merge branch '2308-catz-reload-when-missing-a-zone-v9_16' into 'v9_16'
...
[v9_16] Handle a missing zone when reloading a catalog zone
See merge request isc-projects/bind9!5454
2021-09-30 20:43:24 +00:00
Aram Sargsyan
b85e92f82f
Add CHANGES and release notes for [GL #2308 ]
...
(cherry picked from commit 3edaa0bde6 )
2021-09-30 20:16:25 +00:00
Aram Sargsyan
311074f51e
Handle a missing zone when reloading a catalog zone
...
Previously a missing/deleted zone which was referenced by a catalog
zone was causing a crash when doing a reload.
This commit will make `named` to ignore the fact that the zone is
missing, and make sure to restore it later on.
(cherry picked from commit 94a5712801 )
2021-09-30 20:15:19 +00:00
Ondřej Surý
a6741da4af
Merge branch '2908-rwlock-with-reader-and-writer-both-waiting-v9_16' into 'v9_16'
...
Pause the dbiterator before calling dns_db_find
See merge request isc-projects/bind9!5450
2021-09-29 16:23:31 +00:00
Mark Andrews and Ondřej Surý
85fd9821e5
Add CHANGES note for [GL #2908 ]
...
(cherry picked from commit c04bce278f )
2021-09-29 18:04:14 +02:00
Mark Andrews and Ondřej Surý
21771f5295
Pause the dbiterator before calling dns_db_find
...
zone.c:integrity_checks() acquires a read lock while iterating the
zone database, and calls zone_check_mx() which acquires another
read lock. If another thread tries to acquire a write lock in the
meantime, it can deadlock. Calling dns_dbiterator_pause() to release
the first read lock prevents this.
(cherry picked from commit 4e1faa35d5 )
2021-09-29 18:04:14 +02:00
Mark Andrews
b166563e06
Merge branch '2911-9-16-21-regression-legacy-check-names-configuration-does-not-work-anymore-v9_16' into 'v9_16'
...
Fix "check-names master" and "check-names slave"
See merge request isc-projects/bind9!5448
2021-09-29 10:11:56 +00:00
Mark Andrews
190f71f93a
Add CHANGES note for [GL #2911 ]
...
(cherry picked from commit 14249ce9fe )
2021-09-29 19:52:31 +10:00
Mark Andrews
0a6ed417b5
Check that 'check-names {secondary|slave} ignore;' works
...
(cherry picked from commit 0b0d400d7c )
2021-09-29 19:51:53 +10:00
Mark Andrews
f72946794f
Check that 'check-names master ignore;' works
...
(cherry picked from commit 9107c8caeb )
2021-09-29 19:51:53 +10:00
Mark Andrews
7aa30aae38
Fix "check-names master" and "check-names slave"
...
check for type "master" / "slave" at the same time as checking
for "primary" / "secondary" as we step through the maps.
Checking "primary" then "master" or "master" then "primary" does
not work as the synomym is not checked for to stop the search.
Similarly with "secondary" and "slave".
(cherry picked from commit a3c6516a75 )
2021-09-29 19:51:53 +10:00
Mark Andrews
617d786713
Merge branch '2909-pointers-used-before-validation-v9_16' into 'v9_16'
...
Address use before NULL check warning of uvreq
See merge request isc-projects/bind9!5445
2021-09-29 02:02:50 +00:00
Mark Andrews
74353330cd
Address use before NULL check warning of obj
...
move deference of obj to after NULL check
(cherry picked from commit 06a69e03ac )
2021-09-29 11:43:14 +10:00
Mark Andrews
5dff412a08
Address use before NULL check warning of ievent->sock
...
Reorder REQUIRE checks to ensure ievent->sock is checked earlier
(cherry picked from commit 8fc9bb8e8e )
2021-09-29 11:43:14 +10:00
Mark Andrews
addd580b0a
Address use before NULL check warning of uvreq
...
move dereference of uvreq until the after NULL check.
(cherry picked from commit 7079829b84 )
2021-09-29 11:43:14 +10:00
Mark Andrews
3859fea828
Merge branch '2910-unknown-system-test-doesn-t-leave-forensics-v9_16' into 'v9_16'
...
Preserve dig results in case of test failure
See merge request isc-projects/bind9!5441
2021-09-24 04:19:03 +00:00
Mark Andrews
3295339391
Preserve dig results in case of test failure
...
(cherry picked from commit 96b7421f8c )
2021-09-24 13:37:43 +10:00
Matthijs Mekking
dd1454bc67
Merge branch 'matthijs-fix-arm-typos-v9_16' into 'v9_16'
...
The s stands for security (9.16)
See merge request isc-projects/bind9!5439
2021-09-23 09:56:21 +00:00
Matthijs Mekking
dff495a0d0
Remove copy paste error on zone-max-ttl
...
The "zone-max-ttl" option inside a "dnssec-policy" is not used to cap
the TTLs in a zone, only yo calculate key rollover timings.
(cherry picked from commit 4e3ba81696 )
2021-09-23 09:53:01 +02:00
Matthijs Mekking
cc8391943c
Add a note about salt length
...
Apparently it is confusing that you don't specify a specific salt,
but a salt length.
(cherry picked from commit 9ddc23b2bf )
2021-09-23 09:52:55 +02:00
Matthijs Mekking
6a5efd791e
The s stands for security
...
So "hardware security modules" not "hardware service modules"
(cherry picked from commit a73a07832e )
2021-09-23 09:52:50 +02:00
Petr Špaček
fabe4b7e6c
Merge branch 'ondrej/add-python-3.8-check-v9_16' into 'v9_16'
...
Add python3.8 to the autoconf search list
See merge request isc-projects/bind9!5434
2021-09-22 08:53:17 +00:00
Ondřej Surý
38244fdf88
Add python3.8 to the autoconf search list
...
It was discovered that FreeBSD doesn't setup alias from default
Python version neither to python3 nor python, and thus the configure
step would fail to find working python installation.
2021-09-22 10:24:16 +02:00
Ondřej Surý
eeba2e305e
Merge branch '2814-fix-has-have-typo-v9_16' into 'v9_16'
...
Fix has->have typo in DLZ drivers deprecation message
See merge request isc-projects/bind9!5433
2021-09-22 07:42:06 +00:00
Ondřej Surý
df7646785e
Fix has->have typo in DLZ drivers deprecation message
...
We fixed the CHANGES and release notes and missed this one.
2021-09-22 09:37:04 +02:00
Ondřej Surý
072c76055c
Merge branch '2814-add-deprecation-warning-when-DLZ-drivers-are-used-v9_16' into 'v9_16'
...
Add deprecation warning about DLZ drivers
See merge request isc-projects/bind9!5430
2021-09-21 12:58:11 +00:00
Ondřej Surý
489b503381
Add CHANGES and release note for [GL #2814 ]
2021-09-21 14:53:19 +02:00
Ondřej Surý
c3b3dd3229
Add deprecation warning about DLZ drivers
...
DLZ drivers are going to be removed from the next major BIND 9 release,
this commit adds a deprecation warning to inform the users about the
need to migrate to DLZ modules.
2021-09-21 10:44:41 +02:00
Ondřej Surý
8ef5ea2a38
Merge branch '2882-deprecate-masterfile-map-option-v9_16' into 'v9_16'
...
Mark the masterfile-format type 'map' as deprecated
See merge request isc-projects/bind9!5423
2021-09-17 07:36:13 +00:00
Ondřej Surý
f4b72d5646
Add CHANGES and releases notes for [GL #2882 ]
...
(cherry picked from commit c518036988 )
2021-09-17 09:16:10 +02:00
Ondřej Surý
4515523aa2
Add masterfile-format checkconf tests
...
Add tests that check that masterfile-format map generate deprecation
warning and mastefile-formats text and raw doesn't.
(cherry picked from commit f4e6348f29 )
2021-09-17 09:16:10 +02:00
Ondřej Surý
f7adef5162
Mark the masterfile-format type 'map' as deprecated
...
The map masterfile-format is very fragile and it needs API bump every
time a RBTDB data structures changes. Also while testing it, we found
out that files larger than 2GB weren't loading and nobody noticed, and
loading many map files were also failing (subject to kernel limits).
Thus we are marking the masterfile-format type 'map' as deprecated and
to be removed in the next stable BIND 9 release.
(cherry picked from commit 6b7a488cbc )
2021-09-17 09:10:29 +02:00
Michal Nowak
617411ed42
Merge branch 'mnowak/replace-centos-with-oraclelinux-v9_16' into 'v9_16'
...
[v9_16] Replace CentOS 7 & 8 with Oracle Linux
See merge request isc-projects/bind9!5419
2021-09-16 15:19:26 +00:00
Michal Nowak
76a51a4aed
Replace CentOS 7 & 8 with Oracle Linux
...
(cherry picked from commit 3085edf1a0 )
2021-09-16 16:15:48 +02:00
Michał Kępień
553c058853
Merge branch 'michal/regenerate-man-pages-with-docutils-0.17.1-v9_16' into 'v9_16'
...
[v9_16] Regenerate man pages with docutils 0.17.1
See merge request isc-projects/bind9!5416
2021-09-16 09:22:24 +00:00